/* Totalpac Restaurantutstyr – stylesheet
   One system: light grey page, white objects, near-black type, charcoal for dark surfaces, the bright green of the
   logo for actions, lime for small highlights, and one soft colour per department (data/site.json → departmentColors).
   Typeface: Plus Jakarta Sans (variable, self-hosted). Corners are square (2 px); only filter chips are pills.
   Contents: tokens · base · buttons · forms · header · menu · search · listing · product card · product page ·
   cart · home · content pages · footer · overlays · print */

@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 400 800; src: url("/assets/fonts/archivo-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 400 800; src: url("/assets/fonts/archivo-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ---------- tokens ---------- */
:root {
  --ink: #111613; --muted: #555e58; --faint: #666e68;
  --paper: #f4f4f1; --surface: #fff; --line: #e2e4df; --line-strong: #c6cac3; --chip: #e8e9e5;
  /* green from the logo mark: --brand fills (dark text on it), --brand-deep for green text, lines and focus on light */
  --brand: #1fc46c; --brand-hover: #18b161; --on-brand: #0c1410; --brand-deep: #0a6e3f; --brand-tint: #e1f7ea;
  /* --navy is the dark surface (top bar, hero, footer): charcoal, not green */
  --navy: #171b21; --on-dark-muted: #c9ced4; --sun: #c9f53b; --hot: #d23a14; --wa: #25d366; --wa-hover: #1fb857;
  --danger: #b3261e; --warn-bg: #fbeedd; --warn-ink: #6b3d06;
  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  /* type scale: 12 · 14 · 15 · 16 · 18 · 22, then three fluid display sizes. Weights: 400 · 500 · 650 · 800. */
  --fs-xs: .75rem; --fs-s: .875rem; --fs-b: .9375rem; --fs-m: 1rem; --fs-l: 1.125rem; --fs-h: 1.375rem;
  --fs-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --fs-2xl: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
  --fs-3xl: clamp(2.5rem, 1.2rem + 5vw, 4.75rem);
  --max: 1480px; --gutter: clamp(16px, 2.2vw, 32px);
  --r: 2px; --sticky: 124px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pop: 0 18px 44px -18px rgba(17, 22, 19, .4);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--fs-m)/1.55 var(--font); letter-spacing: 0; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
svg { width: 22px; height: 22px; flex: none; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand-deep); outline-offset: 2px; }
.site-footer :focus-visible, .hero :focus-visible, .hm-help :focus-visible, .cta-band :focus-visible, .topbar :focus-visible { outline-color: var(--sun); }
::selection { background: var(--sun); color: var(--ink); }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hide { display: none !important; }
.m-only { display: none; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.mt-0 { margin-top: 0; } .mt-s { margin-top: 8px; } .mt-m { margin-top: 16px; } .mt-l { margin-top: 28px; }
.stack > * + * { margin-top: var(--s, 16px); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; font-weight: 650; }
.skip:focus { left: 8px; }
.section { padding-block: clamp(40px, 6vw, 84px); }
.section-tight { padding-block: clamp(20px, 3vw, 36px); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 24px; flex-wrap: wrap; margin-bottom: clamp(16px, 2.2vw, 28px); }
.section-head h2 { font-size: var(--fs-xl); }
.section-head p { color: var(--muted); margin: 6px 0 0; max-width: 70ch; }
.home .section-head h2, .hm-help h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); letter-spacing: -.02em; }
.link-more { font-weight: 650; font-size: var(--fs-s); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 4px; color: var(--ink); }
.link-more:hover { color: var(--brand-deep); }
.badge { display: inline-block; background: var(--hot); color: #fff; font-size: var(--fs-xs); font-weight: 800; padding: 3px 8px; line-height: 1.3; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }

/* ---------- buttons ---------- */
.btn { --b: var(--brand); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; max-width: 100%; padding: 0 22px; background: var(--b); color: var(--on-brand); border: 1.5px solid transparent; border-radius: var(--r); font: 650 var(--fs-b)/1.15 var(--font); letter-spacing: 0; text-decoration: none; text-align: center; transition: background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease); }
.btn:hover { --b: var(--brand-hover); }
.btn svg { width: 18px; height: 18px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: var(--fs-m); }
.btn-s { min-height: 40px; padding: 0 14px; font-size: var(--fs-s); }
.btn-block { width: 100%; }
.btn-ghost { --b: transparent; color: var(--ink); border-color: var(--ink); }
@media (hover: hover) { .btn-ghost:hover { --b: var(--ink); color: #fff; } }
.btn-dark, .btn-ink { --b: var(--ink); color: #fff; }
.btn-dark:hover, .btn-ink:hover { --b: #000; }
.btn-light { --b: #fff; color: var(--ink); }
.btn-light:hover { --b: var(--sun); }
.btn-line { --b: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
@media (hover: hover) { .btn-line:hover { --b: #fff; color: var(--ink); border-color: #fff; } }
.btn-wa { --b: var(--wa); color: var(--navy); }
.btn-wa:hover { --b: var(--wa-hover); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; padding: 0; }

/* ---------- forms ---------- */
.input, .select, .textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--r); background: #fff; font-size: var(--fs-m); }
.textarea { resize: vertical; line-height: 1.5; }
.select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111613' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--ink); outline: 3px solid var(--brand-deep); outline-offset: 0; }
fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
legend { padding: 0; margin-bottom: 14px; font-weight: 800; font-size: var(--fs-h); letter-spacing: -.01em; }
.field { display: grid; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field > label, .field > .label { font-weight: 650; font-size: var(--fs-s); }
.hint { font-size: var(--fs-s); color: var(--muted); }
p.hint { margin: 0 0 14px; }
.req { color: var(--danger); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-b); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand-deep); flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--chip); font-weight: 650; font-size: var(--fs-s); }
.chip input:checked + span { background: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--brand-deep); outline-offset: 2px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid-2 { grid-template-columns: 120px minmax(0, 1fr); }
.form-shell { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 12px; align-items: start; padding-bottom: 72px; }
.form-shell > *, .pdp > *, .pdp-sections > *, .two-col > *, .grid-2 > *, .cart-shell > * { min-width: 0; }
.form-card { background: #fff; padding: clamp(18px, 3vw, 36px); }
.form-note { font-size: var(--fs-s); color: var(--muted); margin: 0; }
.status-result { margin-top: 18px; padding: clamp(18px, 3vw, 32px); background: var(--surface); border-top: 4px solid var(--brand); }
.status-result:focus { outline: none; }
.status-result h2 { font-size: var(--fs-l); letter-spacing: -.01em; margin: 0 0 6px; }
.status-now { font-size: var(--fs-l); font-weight: 650; margin: 0 0 18px; }
.status-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 0 18px; padding: 0; }
.status-steps li { padding-top: 10px; border-top: 4px solid var(--line); font-size: var(--fs-s); color: var(--muted); }
.status-steps .is-done { border-color: var(--ink); color: var(--ink); }
.status-steps .is-now { border-color: var(--brand); color: var(--ink); font-weight: 650; }
.status-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; font-size: var(--fs-b); }
.status-facts dt { color: var(--muted); }
.status-facts dd { margin: 0; overflow-wrap: anywhere; }
.form-error { margin: 0 0 12px; padding: 12px 14px; border-left: 4px solid var(--danger); background: #fdf1f0; color: #7d1a14; font-size: var(--fs-s); font-weight: 650; }
/* ---------- customer account (only present when accounts are switched on) ----------
   The sign-in pages follow the shop. Min side is a dashboard with its own softer cards (--ar) inside .acct-shell. */
.form-ok { margin: 0 0 12px; padding: 12px 14px; border-left: 4px solid var(--brand); background: var(--brand-tint); color: #0b4a27; font-size: var(--fs-s); font-weight: 650; }
.or { display: flex; align-items: center; gap: 12px; margin: 20px 0 14px; color: var(--muted); font-size: var(--fs-s); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.prov { display: grid; gap: 10px; }
.btn-prov { --b: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-prov:hover { --b: var(--paper); border-color: var(--ink); }
.btn-prov img { width: 20px; height: 20px; }
.btn-danger { --b: var(--danger); color: #fff; border-color: transparent; }
.btn-danger.is-busy::after { border-color: #fff; border-right-color: transparent; }
.btn-danger:hover { --b: #8c1d17; }
.btn.is-busy { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-busy::after { content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border: 2.5px solid var(--on-brand); border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn-ghost.is-busy::after { border-color: var(--ink); border-right-color: transparent; }
@keyframes spin { to { transform: rotate(1turn); } }
.pw { position: relative; }
.pw .input { padding-right: 72px; }
.pw-show { position: absolute; right: 2px; top: 2px; bottom: 2px; min-width: 64px; border: 0; background: none; font-size: var(--fs-s); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.acct-hint { margin: 0 0 14px; padding: 10px 12px; background: var(--brand-tint); font-size: var(--fs-s); }
.acct-pick { margin-bottom: 14px; }
.thanks-ref { margin: 14px 0 0; padding: 12px 14px; background: #fff; font-size: var(--fs-b); }
.acct-confirm { margin-top: 14px; padding: 16px; border: 1px solid var(--danger); border-radius: 12px; }

/* sign-in, sign-up, forgotten password: one calm card in the middle (owner, 24 November 2026).
   Apple, Google or e-mail with a 6-digit code; the steps change inside the card. */
.auth-page { --ac: 12px; display: grid; justify-items: center; gap: 18px; padding: clamp(20px, 5vh, 56px) var(--gutter) clamp(28px, 6vh, 64px); background: var(--paper); }
.auth-card { width: 100%; max-width: 460px; padding: 36px 36px 22px; background: #fff; border-radius: 20px; box-shadow: 0 1px 2px rgba(17, 22, 19, .06), 0 24px 48px -28px rgba(17, 22, 19, .32); }
.auth-card .btn, .auth-card .input { border-radius: var(--ac); }
.auth-card .btn-lg { min-height: 52px; font-size: var(--fs-m); }
.auth-card .input { min-height: 52px; font-size: 1rem; }
.auth-card .field { margin-bottom: 14px; }
.auth-card .req { display: none; }
.auth-card h1, .auth-card h2 { margin: 0; font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); line-height: 1.15; letter-spacing: -.025em; }
.auth-card h1:focus, .auth-card h2:focus { outline: none; }
.auth-intro { margin: 10px 0 24px; font-size: var(--fs-b); line-height: 1.5; color: var(--muted); }
.auth-intro strong { color: var(--ink); overflow-wrap: anywhere; }
.auth-step { animation: auth-in .22s var(--ease); }
@keyframes auth-in { from { opacity: 0; transform: translateY(6px); } }
.auth-card .prov { gap: 10px; }
.auth-card .btn-prov { position: relative; min-height: 52px; font-size: var(--fs-m); font-weight: 650; }
.auth-card .btn-prov img { position: absolute; left: 18px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); }
.auth-card .or { margin: 22px 0 18px; font-size: var(--fs-s); }
.auth-alt { margin: 16px 0 0; text-align: center; }
.auth-link { padding: 6px 2px; border: 0; background: none; color: var(--ink); font: inherit; font-size: var(--fs-s); font-weight: 650; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; cursor: pointer; }
.auth-link:hover { text-decoration-color: currentColor; }
.auth-link:disabled { color: var(--muted); cursor: default; text-decoration: none; }
.auth-back { display: inline-flex; align-items: center; gap: 6px; margin: -8px 0 18px -6px; padding: 6px; border: 0; background: none; color: var(--muted); font: inherit; font-size: var(--fs-s); font-weight: 650; text-decoration: none; cursor: pointer; border-radius: 8px; }
.auth-back:hover { color: var(--ink); background: var(--paper); }
.auth-back svg { width: 16px; height: 16px; }
.auth-ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 16px; background: var(--brand-tint); color: var(--brand-deep); }
.auth-ic svg { width: 24px; height: 24px; }
.auth-fine { margin: 16px 0 0; font-size: var(--fs-s); line-height: 1.5; color: var(--muted); }
.auth-fine .auth-link { padding: 0; }
.auth-legal { margin: 26px -36px 0; padding: 16px 36px 0; border-top: 1px solid var(--line); font-size: .78125rem; line-height: 1.5; color: var(--muted); text-align: center; }
.auth-legal a { color: inherit; }
.auth-perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 0; padding: 0; list-style: none; font-size: var(--fs-s); color: var(--muted); }
.auth-perks li { display: inline-flex; align-items: center; gap: 6px; }
.auth-perks svg { width: 16px; height: 16px; color: var(--brand-deep); stroke-width: 2.6; }
.auth-page .auth-free { margin: -6px 0 0; padding: 0; border: 0; font-size: var(--fs-s); color: var(--muted); }
/* the code: one real field over six drawn boxes */
.otp { position: relative; margin-bottom: 16px; }
.otp-cells { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.otp-cells span { display: grid; place-items: center; height: 60px; border: 1.5px solid var(--line-strong); border-radius: var(--ac); background: #fff; font-size: 1.625rem; font-weight: 700; font-variant-numeric: tabular-nums; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.otp-cells span.is-full { border-color: var(--ink); }
.otp-cells span.is-on { border-color: var(--brand-deep); box-shadow: 0 0 0 3px var(--brand-tint); }
.otp-cells span.is-on:empty::after { content: ""; width: 2px; height: 26px; background: var(--ink); animation: otp-caret 1s steps(1) infinite; }
@keyframes otp-caret { 50% { opacity: 0; } }
.otp-input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; color: transparent; caret-color: transparent; font-size: 16px; letter-spacing: 2em; outline: none; }
.otp-input::selection { background: transparent; }
.otp:has(.otp-input:focus-visible) .otp-cells { outline: 0; }
.is-bad .otp-cells span { border-color: var(--danger); }
.is-bad .otp-cells { animation: otp-shake .32s var(--ease); }
@keyframes otp-shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) { .auth-step, .is-bad .otp-cells, .otp-cells span.is-on:empty::after { animation: none; } }
@media (max-width: 560px) {
  .auth-page { padding: 8px 0 28px; background: #fff; gap: 14px; }
  .auth-card { padding: 22px 20px 16px; border-radius: 0; box-shadow: none; }
  .auth-legal { margin-inline: -20px; padding-inline: 20px; }
  .otp-cells { gap: 6px; }
  .otp-cells span { height: 54px; }
  .auth-perks, .auth-page .auth-free { padding: 0 20px; text-align: center; }
}
/* low windows (the owner's PC is about 1280 × 585): the e-mail button stays on the first screen */
@media (min-width: 561px) and (max-height: 800px) {
  .auth-page { padding-top: 12px; }
  .auth-card { padding-top: 24px; }
  .auth-intro { margin: 8px 0 16px; }
  .auth-card .prov { gap: 8px; }
  .auth-card .btn-prov, .auth-card .input { min-height: 46px; }
  .auth-card .btn-lg { min-height: 48px; }
  .auth-card .or { margin: 14px 0 10px; }
  .auth-card .field { margin-bottom: 10px; }
}

/* Min side */
.acct-shell { --ar: 18px; --soft: 0 1px 2px rgba(17, 22, 19, .05), 0 14px 30px -20px rgba(17, 22, 19, .28); display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: clamp(16px, 2.4vw, 36px); align-items: start; padding-block: 28px 0; }
.acct-shell > * { min-width: 0; }
.acct-shell .btn { border-radius: 12px; }
.acct-shell .input, .acct-shell .select, .acct-shell .textarea { border-radius: 12px; }
.acct-shell .form-card, .dash-card, .tile, .acct-empty { background: #fff; border-radius: var(--ar); box-shadow: var(--soft); }
.acct-shell .form-card h2, .acct-empty h2 { margin-bottom: 12px; font-size: var(--fs-h); letter-spacing: -.01em; }
.acct-shell .form-grid { align-items: start; }
.acct-nav { position: sticky; top: calc(var(--sticky) + 14px); display: grid; justify-items: center; gap: 12px; padding: 14px 8px; background: #fff; border-radius: var(--ar); box-shadow: var(--soft); }
.avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--sun); color: var(--navy); font-weight: 800; font-size: var(--fs-m); }
.avatar:empty::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--navy); opacity: .2; }
.acct-nav ul { display: grid; gap: 4px; width: 100%; list-style: none; margin: 0; padding: 0; }
.acct-nav a, .acct-out { display: grid; justify-items: center; gap: 4px; width: 100%; padding: 10px 2px 9px; border: 0; border-radius: 12px; background: none; color: var(--muted); font-size: var(--fs-xs); font-weight: 650; text-decoration: none; }
.acct-nav a svg, .acct-out svg { width: 24px; height: 24px; }
.acct-nav a:hover, .acct-out:hover { background: var(--paper); color: var(--ink); }
.acct-nav a[aria-current="page"] { background: var(--brand); color: var(--on-brand); }
.acct-out { padding-top: 14px; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; }
.dash-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: 26px; }
.dash-head h1 { font-size: clamp(2rem, 1.4rem + 2vw, 2.875rem); letter-spacing: -.03em; overflow-wrap: anywhere; }
.dash-sub { margin: 8px 0 0; font-size: var(--fs-m); color: var(--muted); }
.dash-who { margin: 28px 0 0; font-size: var(--fs-s); color: var(--muted); overflow-wrap: anywhere; }
.dash-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; display: grid; grid-template-rows: auto 1fr; min-height: 152px; padding: 20px 22px 18px; overflow: hidden; text-decoration: none; transition: transform .16s var(--ease), box-shadow .16s var(--ease); }
.tile:hover, .dash-card[href]:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(17, 22, 19, .06), 0 20px 36px -20px rgba(17, 22, 19, .38); }
.tile-l { position: relative; z-index: 1; font-weight: 650; font-size: var(--fs-b); }
.tile:hover .tile-l { text-decoration: underline; text-underline-offset: 3px; }
.tile-n { position: relative; z-index: 1; align-self: end; font-size: 3.25rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.tile-n small { margin-left: 3px; font-size: var(--fs-h); font-weight: 650; letter-spacing: -.01em; color: var(--muted); }
.tile .art { position: absolute; right: 12px; bottom: 0; width: 100px; height: 88px; color: var(--brand-deep); }
.tile:nth-child(2) .art { color: #1d5fd1; }
.tile:nth-child(3) .art { color: #a8275a; }
.tile:nth-child(4) .art { color: #a35200; }
.acct-shell .dash-sec { margin-top: 34px; min-width: 0; }
.dash-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 28px; margin-bottom: 12px; }
.dash-sec-head h2 { font-size: var(--fs-m); font-weight: 650; letter-spacing: 0; }
.dash-sec-head a { font-size: var(--fs-b); white-space: nowrap; }
.dash-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dash-card { display: block; padding: 22px; text-decoration: none; transition: transform .16s var(--ease), box-shadow .16s var(--ease); }
.rq { display: flex; flex-direction: column; }
.rq .rq-foot { margin-top: auto; }
.rq-top { padding-left: 12px; border-left: 3px solid var(--brand); }
.rq-tilbud .rq-top { border-left-color: #a8c92a; }
.rq-tilbudsforesporsel .rq-top { border-left-color: var(--navy); }
.rq-top h3 { font-size: var(--fs-h); letter-spacing: -.02em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.tags span { padding: 3px 8px; border-radius: 6px; background: var(--paper); font-size: var(--fs-xs); font-weight: 650; }
.rq-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.rq-facts dt { font-size: var(--fs-s); color: var(--muted); }
.rq-facts dd { margin: 2px 0 0; font-size: var(--fs-b); font-weight: 650; overflow-wrap: anywhere; }
.rq-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; }
.rq-what { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fs-s); color: var(--muted); }
.chip-ok { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 8px; background: #c8efd6; color: #0b4a27; font-size: var(--fs-xs); font-weight: 650; white-space: nowrap; }
.chip-ok svg { width: 14px; height: 14px; stroke-width: 2.6; }
.dash-two { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 0 24px; }
.dash-seen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.seen { display: grid; grid-template-columns: 132px minmax(0, 1fr); padding: 0; overflow: hidden; }
.seen img { width: 132px; height: 100%; min-height: 136px; padding: 12px; object-fit: contain; border-right: 1px solid var(--line); }
.seen > i { background: var(--paper); border-right: 1px solid var(--line); }
.seen div { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; min-width: 0; }
.seen h3 { font-size: var(--fs-m); letter-spacing: -.01em; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.seen .b { margin: 0; font-size: var(--fs-s); color: var(--muted); }
.seen .p { margin: auto 0 0; padding-top: 10px; font-size: var(--fs-l); font-weight: 800; text-align: right; }
.seen .p small { font-size: var(--fs-xs); font-weight: 500; color: var(--muted); }
.dash-check p { margin: 0 0 6px; }
.dash-check ul { list-style: none; margin: 0 0 14px; padding: 0; }
.dash-check li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-b); }
.dash-check li svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--brand); color: var(--on-brand); stroke-width: 3; }
.dash-check li.todo::before { content: ""; flex: none; width: 20px; height: 20px; border: 2px solid var(--line-strong); border-radius: 50%; }
.dash-check li.todo a { font-weight: 650; }
.dash-help { margin-top: 16px; }
.dash-help h3 { font-size: var(--fs-m); letter-spacing: 0; }
.dash-help p { margin: 6px 0 0; color: var(--muted); font-size: var(--fs-b); }
.dash-help .btn-row { margin-top: 14px; }
.dash-addr { display: grid; gap: 2px; margin: 0; font-size: var(--fs-b); overflow-wrap: anywhere; }
.dash-addr span { color: var(--muted); }
.acct-empty { display: grid; justify-items: center; gap: 4px; padding: clamp(26px, 4vw, 44px) 20px; text-align: center; }
.acct-empty > svg { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--brand-tint); color: var(--brand-deep); }
.acct-empty h2, .acct-empty h3 { margin: 10px 0 0; font-size: var(--fs-l); letter-spacing: -.01em; }
.acct-empty p { margin: 4px 0 0; max-width: 46ch; color: var(--muted); }
.acct-empty .btn-row { justify-content: center; margin-top: 14px; }
.acct-skel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.acct-skel i { height: 150px; border-radius: var(--ar); background: linear-gradient(100deg, #ebece8 30%, #f7f7f5 50%, #ebece8 70%) 0 0 / 300% 100%; animation: skel 1.3s linear infinite; }
@keyframes skel { to { background-position: -150% 0; } }
.acct-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0 0 14px; padding: 0; counter-reset: flow; }
.acct-flow li { counter-increment: flow; display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; background: var(--paper); font-size: var(--fs-s); }
.acct-flow li::before { content: counter(flow); display: grid; place-items: center; width: 26px; height: 26px; margin-bottom: 6px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-size: var(--fs-xs); }
.acct-flow li:first-child { background: #c8efd6; }
.acct-flow li:first-child::before { background: var(--brand); color: var(--on-brand); }
.acct-flow strong { font-size: var(--fs-b); }
.acct-flow span { color: var(--muted); }
.acct-flow li:first-child span { color: #0b4a27; }
.acct-note { margin: 0; font-size: var(--fs-s); color: var(--muted); }
.sent { scroll-margin-top: calc(var(--sticky) + 16px); }
.req-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-bottom: 14px; }
.req-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.req-head h2 { margin: 0 !important; }
.req-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; font-size: var(--fs-s); color: var(--muted); }
.req-meta strong { color: var(--ink); }
.req-scroll { overflow-x: auto; margin-bottom: 14px; }
.req-items { width: 100%; border-collapse: collapse; font-size: var(--fs-b); }
.req-items th, .req-items td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.req-items th:not(:first-child), .req-items td:not(:first-child) { padding-right: 0; padding-left: 12px; text-align: right; white-space: nowrap; }
.req-items thead th { font-size: var(--fs-s); font-weight: 650; color: var(--muted); }
.req-items .it { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: center; }
.req-items .it img, .req-items .it i { width: 52px; height: 52px; border-radius: 10px; background: var(--paper); object-fit: contain; }
.req-items td small { display: block; font-size: var(--fs-xs); color: var(--muted); }
.req-items tfoot th, .req-items tfoot td { border-bottom: 0; font-weight: 800; }
.req-items tfoot th { text-align: left; }
.req-text { padding: 12px 14px; border-radius: 12px; background: var(--paper); font-size: var(--fs-b); white-space: pre-line; overflow-wrap: anywhere; }
.acct-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.acct-bar p { margin: 0; max-width: 62ch; }
.acct-items { list-style: none; margin: 0 0 16px; padding: 0; }
.acct-items li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-b); }
.acct-items img, .acct-items li > span:first-child { width: 56px; height: 56px; border-radius: 10px; background: var(--paper); object-fit: contain; }
.acct-items a { font-weight: 650; }
.acct-items li > span:last-child { font-size: var(--fs-s); color: var(--muted); white-space: nowrap; }
.acct-addrs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.acct-addrs:empty { display: none; }
.acct-addrs > .acct-empty { grid-column: 1 / -1; }
.addr h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-height: 28px; }
.addr p { overflow-wrap: anywhere; }
.tag { display: inline-block; padding: 3px 9px; border-radius: 8px; background: #c8efd6; color: #0b4a27; font-size: var(--fs-xs); font-weight: 650; letter-spacing: 0; vertical-align: middle; }
.acct-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.acct-pair .form-card { margin: 0; }
.acct-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 18px; margin: 0 0 18px; font-size: var(--fs-b); }
.acct-facts dt { color: var(--muted); }
.acct-facts dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.acct-shell [data-auth=email], .acct-shell [data-auth=password] { max-width: 520px; }
@media (max-width: 1160px) {
  .dash-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .acct-shell { grid-template-columns: minmax(0, 1fr); padding-top: 14px; }
  .acct-nav { position: static; display: flex; align-items: stretch; justify-items: stretch; gap: 4px; padding: 6px; overflow-x: auto; scrollbar-width: none; }
  .acct-nav::-webkit-scrollbar { display: none; }
  .acct-nav .avatar { display: none; }
  .acct-nav ul { display: flex; gap: 4px; width: auto; }
  .acct-nav a, .acct-out { min-width: 74px; padding: 9px 6px 8px; }
  .acct-out { width: auto; padding-top: 9px; border-top: 0; border-left: 1px solid var(--line); border-radius: 0 12px 12px 0; }
}
@media (max-width: 760px) {
  .dash-head { margin-bottom: 18px; }
  .dash-head .btn { width: 100%; }
  .dash-tiles { gap: 12px; }
  .tile { min-height: 128px; padding: 16px 16px 14px; }
  .tile-n { font-size: 2.5rem; }
  .tile .art { right: 4px; width: 74px; height: 66px; opacity: .9; }
  .dash-cards, .dash-seen, .acct-addrs, .acct-pair, .acct-flow, .acct-skel { grid-template-columns: minmax(0, 1fr); }
  .seen { grid-template-columns: 104px minmax(0, 1fr); }
  .seen img { width: 104px; min-height: 112px; }
  .req-items thead th { white-space: normal; }
  .req-items .it { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; }
  .req-items .it img, .req-items .it i { width: 40px; height: 40px; }
  .acct-items li { grid-template-columns: 48px minmax(0, 1fr); }
  .acct-items li > span:last-child { grid-column: 2; }
  .acct-items img, .acct-items li > span:first-child { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) { .acct-skel i, .btn.is-busy::after { animation: none; } .tile, .dash-card { transition: none; } }
.file-drop { border: 1px dashed var(--line-strong); background: var(--paper); padding: 14px; display: grid; gap: 8px; }
.file-drop { min-width: 0; }
.file-drop input { width: 100%; min-width: 0; max-width: 100%; font-size: var(--fs-s); }
.aside-card { background: #fff; padding: 22px; }
.aside-card h2 { font-size: var(--fs-m); letter-spacing: -.01em; margin-bottom: 8px; }
.aside-card p { font-size: var(--fs-b); color: var(--muted); }
.aside-card .btn { margin-top: 6px; }
.aside-links { display: grid; gap: 8px; }
.aside-links a { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; text-decoration: none; color: var(--ink); }
.aside-links a:hover { text-decoration: underline; }
.cart-hint { margin: 0 0 18px; padding: 12px 14px; background: var(--brand-tint); font-size: var(--fs-s); }

/* ---------- header ---------- */
.topbar { background: #0e1114; color: #fff; font-size: var(--fs-s); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar a { text-decoration: none; color: #d9dce0; display: inline-flex; align-items: center; gap: 5px; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar svg { width: 14px; height: 14px; }
.topbar .tb-promo { color: var(--sun); font-weight: 650; }
.topbar .tb-promo:hover { color: var(--sun); }
.topbar .tb-wa, .topbar .tb-tel { color: #fff; font-weight: 650; }
@media (max-width: 480px) { .topbar .wrap { gap: 10px; } .topbar-right { gap: 10px; } .topbar .vat-toggle { gap: 12px; } .topbar .tb-tel > span { display: none; } .topbar .tb-tel svg { width: 17px; height: 17px; } .topbar .tb-tel { min-width: 26px; min-height: 36px; justify-content: center; } }
.topbar .tb-wa svg { width: 16px; height: 16px; color: var(--wa); }
@media (max-width: 340px) { .topbar .tb-tel { display: none; } }
.vat-toggle { display: flex; gap: 20px; }
.vat-toggle button { border: 0; background: none; padding: 0; min-height: 36px; color: #c6cad0; font-weight: 500; white-space: nowrap; }
.vat-toggle button small { font-size: var(--fs-xs); color: inherit; margin-left: 2px; }
.vat-toggle button[aria-pressed="true"] { color: #fff; font-weight: 800; box-shadow: inset 0 -2px 0 var(--sun); }
.vat-toggle button:hover { color: #fff; }

/* two rows: a dark one with logo, search and shortcuts, and a white one with the departments in their colours */
.site-header { --row: 74px; position: sticky; top: 0; z-index: 60; background: linear-gradient(to bottom, var(--navy) var(--row), #fff var(--row)); border-bottom: 1px solid var(--line); }
.site-header .logo:focus-visible, .hdr-actions :focus-visible, .search-go:focus-visible, .m-search :focus-visible { outline-color: var(--sun); }
.site-header.scrolled { box-shadow: 0 6px 18px -14px rgba(17, 22, 19, .5); }
.hdr { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo search actions" "nav nav nav"; column-gap: clamp(20px, 3vw, 44px); align-items: center; }
.logo { grid-area: logo; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.site-header .logo { height: var(--row); }
.logo img.lm { width: 52px; height: 52px; border-radius: 22%; }
.logo img.lw { height: 43px; width: auto; }
.site-header .logo img.lm { width: 44px; height: 44px; }
.site-header .logo img.lw { height: 38px; }
.search { grid-area: search; position: relative; width: 100%; max-width: 780px; justify-self: center; }
.search input { width: 100%; height: 48px; padding: 0 64px 0 18px; border: 0; border-radius: var(--r); background: #fff; color: var(--ink); font-size: var(--fs-m); font-weight: 500; }
.search input::placeholder { color: var(--muted); opacity: 1; }
.search input:focus { outline: 3px solid var(--sun); outline-offset: 0; }
.search input::-webkit-search-cancel-button { display: none; }
.search-go { position: absolute; right: 4px; top: 4px; width: 52px; height: 40px; display: grid; place-items: center; border: 0; border-radius: var(--r); background: var(--brand); color: var(--on-brand); padding: 0; }
.search-go:hover { background: var(--brand-hover); }
.search-go svg { width: 22px; height: 22px; stroke-width: 2.4; }
.hdr-actions { grid-area: actions; display: flex; align-items: center; gap: clamp(8px, 1.6vw, 24px); }
.hdr-link { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 44px; min-height: 46px; border: 0; background: none; padding: 0; text-decoration: none; font-size: var(--fs-xs); font-weight: 650; color: #fff; }
.hdr-link svg { width: 26px; height: 26px; }
.hdr-link:hover { color: var(--sun); }
.hdr-link .count { position: absolute; top: -2px; left: calc(50% + 6px); min-width: 19px; height: 19px; padding: 0 5px; display: grid; place-items: center; border-radius: 10px; background: var(--brand); color: var(--on-brand); font-size: var(--fs-xs); font-weight: 800; }
.hdr-link .count:empty { display: none; }
.nav { grid-area: nav; display: flex; align-items: center; min-height: 50px; min-width: 0; }
.nav-all { display: inline-flex; align-items: center; gap: 10px; min-height: 38px; margin-right: 14px; padding: 0 18px 0 12px; border: 0; border-radius: var(--r); background: var(--chip); color: var(--ink); font-weight: 800; font-size: var(--fs-b); letter-spacing: 0; white-space: nowrap; }
.nav-all:hover, .nav-all[aria-expanded="true"] { background: var(--line-strong); }
.nav-burger { display: grid; }
.nav-burger svg { grid-area: 1 / 1; width: 26px; height: 26px; }
.nav-burger svg:last-child, .nav-all[aria-expanded="true"] .nav-burger svg:first-child { visibility: hidden; }
.nav-all[aria-expanded="true"] .nav-burger svg:last-child { visibility: visible; }
.nav-list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; min-width: 0; }
.nav-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.nav-dept a { font-weight: 650; font-size: var(--fs-b); }
.nav-sec a { font-weight: 500; font-size: var(--fs-b); }
.nav-list a:hover { color: var(--da, var(--brand-deep)); border-bottom-color: var(--da, transparent); }
.nav-list a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--da, var(--brand-deep)); }
.nav-cta { margin-left: auto; display: inline-flex; align-items: center; min-height: 38px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--ink); color: #fff; font-weight: 650; font-size: var(--fs-s); text-decoration: none; white-space: nowrap; }
.nav-cta:hover, .nav-cta[aria-current="page"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.hdr-link.m-only { display: none; }
@media (max-width: 1639px) { .nav-dept:nth-child(8) { display: none; } }
@media (max-width: 1499px) { .nav-sec:last-child { display: none; } }
@media (max-width: 1400px) { .nav-dept:nth-child(7) { display: none; } }
@media (max-width: 1300px) { .hdr-link .lbl { display: none; } }
@media (max-width: 1240px) { .nav-sec { display: none; } }
@media (max-width: 1200px) { .nav-dept:nth-child(6) { display: none; } }
@media (max-width: 1080px) { .nav-dept:nth-child(5) { display: none; } }
.m-search { display: none; }

/* ---------- menu: columns on desktop, drill-down panel on phones ---------- */
.drawer { position: fixed; inset: 0; z-index: 58; display: none; }
.drawer.open { display: block; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(17, 22, 19, .5); }
.drawer-panel { position: absolute; background: #fff; }
.drow { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 6px 18px; border: 0; background: none; text-align: left; text-decoration: none; color: var(--ink); font-size: var(--fs-b); }
.drow svg { width: 18px; height: 18px; margin-left: auto; }
.drow small { margin-left: auto; color: var(--faint); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
.drow-t { min-width: 0; }
@media (hover: hover) { .drow:hover .drow-t { text-decoration: underline; } }
.drow[aria-expanded="true"] { color: var(--brand-deep); }
.drow-top { font-weight: 800; letter-spacing: 0; }
.drow-all { font-weight: 800; }
.drow-all .drow-t { text-decoration: underline; }
.drow-img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.dlinks { display: grid; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.dlinks a { display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 18px; text-decoration: none; font-size: var(--fs-b); color: var(--ink); }
.dlinks a:hover { text-decoration: underline; }
.dlinks svg { width: 14px; height: 14px; }
.drawer-cta { padding: 18px; }
@media (min-width: 981px) {
  .drawer { top: var(--drawer-top, 170px); }
  .drawer-panel { left: 0; top: 0; bottom: 0; background: none; max-width: 100%; }
  .drawer-head, .drawer-cta { display: none; }
  .dviews { display: flex; height: 100%; }
  .dviews > [data-dview-slot] { display: none; }
  .dview { display: none; width: 300px; height: 100%; overflow-y: auto; overscroll-behavior: contain; background: #fff; border-right: 1px solid var(--line); padding: 18px 0 28px; }
  .dview.is-path { display: block; }
  .dview[data-view="root"] { width: calc(280px + max(var(--gutter), (100vw - var(--max)) / 2 + var(--gutter)) - 18px); padding-left: calc(max(var(--gutter), (100vw - var(--max)) / 2 + var(--gutter)) - 18px); }
  .drow-img { display: none; }
}
@media (max-width: 980px) {
  .drawer { z-index: 90; }
  .drawer-panel { inset: 0; display: flex; flex-direction: column; }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 60px; padding: 0 8px 0 16px; border-bottom: 1px solid var(--line); }
  .d-title { font-weight: 800; font-size: var(--fs-m); letter-spacing: -.01em; margin-right: auto; }
  .d-back { width: auto; gap: 4px; display: inline-flex; align-items: center; padding: 0 12px 0 0; margin-left: -6px; font-weight: 650; font-size: var(--fs-b); }
  .d-back:not([hidden]) + .d-title { display: none; }
  .d-close { margin-left: auto; }
  .dviews { position: relative; flex: 1; overflow: hidden; }
  .dview { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 40px; background: #fff; transform: translateX(100%); visibility: hidden; transition: transform .26s var(--ease), visibility 0s .26s; }
  .dview.is-active { transform: none; visibility: visible; transition: transform .26s var(--ease); }
  .dview.is-left { transform: translateX(-30%); }
  .drow { min-height: 60px; padding: 8px 16px; border-bottom: 1px solid var(--line); font-size: var(--fs-m); }
  .drow svg { width: 20px; height: 20px; }
  .drow-top { font-size: var(--fs-m); }
  .drow.dsub, .dview:not([data-view="root"]) .drow { min-height: 54px; }
  .dlinks { margin: 0; padding: 0; border: 0; background: var(--brand); }
  .dlinks a { min-height: 50px; padding: 0 20px; color: var(--on-brand); border-bottom: 1px solid rgba(12, 20, 16, .18); font-weight: 650; }
}

/* ---------- search suggestions and the phone search sheet ---------- */
.search-panel { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 70; max-height: 72vh; overflow: auto; background: #fff; box-shadow: var(--pop); }
.search-panel.open { display: block; }
.sr-group { padding: 8px 0; }
.sr-title { padding: 8px 16px 4px; font-size: var(--fs-xs); font-weight: 650; color: var(--muted); }
.sr-note { margin: 0; padding: 12px 16px; background: var(--brand-tint); font-size: var(--fs-s); font-weight: 650; }
.msearch .sr-note { margin: 12px 0 0; }
.search-note { margin: 14px 0 0; padding: 12px 16px; background: var(--brand-tint); font-weight: 650; max-width: 70ch; }
.sr-item { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 16px; text-decoration: none; }
.sr-item img { width: 48px; height: 48px; object-fit: contain; }
.sr-item:hover, .sr-item[aria-selected="true"], .sr-cat:hover, .sr-cat[aria-selected="true"] { background: var(--paper); }
.sr-item .t { font-weight: 650; font-size: var(--fs-s); }
.sr-item .m { font-size: var(--fs-xs); color: var(--muted); }
.sr-item .p { font-weight: 800; font-size: var(--fs-s); white-space: nowrap; }
.sr-cat { display: block; padding: 8px 16px; text-decoration: none; font-weight: 650; font-size: var(--fs-s); }
.sr-all { display: block; padding: 14px 16px; border-top: 1px solid var(--line); font-weight: 800; font-size: var(--fs-s); }
.msearch { display: none; position: fixed; inset: 0; z-index: 95; background: #fff; flex-direction: column; }
.msearch.open { display: flex; }
.msearch-bar { display: flex; align-items: center; gap: 2px; padding: 6px 8px; border-bottom: 1.5px solid var(--ink); }
.msearch-bar input { flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: none; font-size: var(--fs-m); font-weight: 500; }
.msearch-bar input::-webkit-search-cancel-button { display: none; }
.msearch-body { flex: 1; overflow-y: auto; padding: 4px 16px 40px; }
.ms-sec { padding: 16px 0; border-bottom: 1px solid var(--line); }
.ms-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.ms-head h2 { font-size: var(--fs-b); letter-spacing: 0; }
.ms-head button { border: 0; background: none; text-decoration: underline; font-size: var(--fs-s); color: var(--muted); min-height: 32px; }
.ms-recent a { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.ms-recent svg { width: 18px; height: 18px; color: var(--faint); }
.ms-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 8px; }
.ms-cats a { display: grid; gap: 6px; justify-items: center; text-align: center; text-decoration: none; font-size: var(--fs-xs); font-weight: 650; line-height: 1.25; }
.ms-cats img { width: 56px; height: 56px; object-fit: contain; }
.ms-res-title { padding: 14px 0 6px; font-size: var(--fs-xs); font-weight: 650; color: var(--muted); }
.ms-cat { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.ms-cat span { color: var(--faint); font-size: var(--fs-s); }
.ms-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.ms-item img { width: 56px; height: 56px; object-fit: contain; }
.ms-item .t { font-weight: 650; font-size: var(--fs-b); }
.ms-item .m { font-size: var(--fs-xs); color: var(--muted); }
.ms-item .p { font-weight: 800; font-size: var(--fs-s); white-space: nowrap; }
.ms-item mark, .ms-cat mark { background: var(--sun); color: inherit; }
.ms-all { margin-top: 18px; }
.ms-empty { padding: 28px 0; }

/* ---------- listing pages ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 6px; margin: 0 0 18px; padding: 0; font-size: var(--fs-s); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--faint); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); font-weight: 650; }
.cat-hero { padding-block: 22px 10px; }
.list-head h1 { font-size: var(--fs-2xl); letter-spacing: -.03em; max-width: 24ch; }
.dept-head { margin-top: 4px; padding: clamp(18px, 2.4vw, 34px) clamp(16px, 2.4vw, 36px); background: var(--dt); border-left: 6px solid var(--da); }
.list-n { margin: 10px 0 0; color: var(--muted); font-size: var(--fs-s); font-variant-numeric: tabular-nums; }
.list-intro { margin: 12px 0 0; max-width: 72ch; font-size: var(--fs-m); }
.subnav, .chiprow, .subcat-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.subnav a, .chiprow a, .subcat-list a { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 999px; background: var(--chip); text-decoration: none; font-weight: 650; font-size: var(--fs-s); white-space: nowrap; }
.subnav a span, .chiprow a span, .subcat-list a .n { font-weight: 500; font-size: var(--fs-xs); color: var(--muted); }
.subnav a:hover, .chiprow a:hover, .subcat-list a:hover { background: var(--line-strong); }
.subnav a[aria-current], .chiprow a[aria-current] { background: var(--ink); color: #fff; }
.subnav a[aria-current] span, .chiprow a[aria-current] span { color: #d0d3d7; }
.subnav-l { font-weight: 800; font-size: var(--fs-s); margin-right: 4px; }
.chiprow { margin-top: 10px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; padding-bottom: 6px; }
.chiprow a { background: none; box-shadow: inset 0 0 0 1px var(--line-strong); }
.chiprow a:hover { background: #fff; }
.catalog { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; padding-block: 18px 72px; scroll-margin-top: var(--sticky); }
.filters { position: sticky; top: calc(var(--sticky) + 8px); max-height: calc(100vh - var(--sticky) - 24px); overflow-y: auto; padding-right: 6px; }
.f-close, .f-apply { display: none; }
.f-group { border-top: 1px solid var(--line-strong); padding: 13px 0; }
.f-group summary { display: flex; justify-content: space-between; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-weight: 800; font-size: var(--fs-b); letter-spacing: 0; }
.f-group summary::-webkit-details-marker { display: none; }
.f-group summary svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.f-group[open] summary svg { transform: rotate(180deg); }
.f-opts { display: grid; gap: 9px; padding-top: 12px; max-height: 270px; overflow-y: auto; }
.f-opts .check { font-size: var(--fs-s); align-items: center; }
.f-opts .check input { width: 18px; height: 18px; margin: 0; }
.f-opts .n { margin-left: auto; color: var(--faint); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
.f-opts .is-zero > span:not(.n) { font-weight: 400; }
.f-opts .check:not(.is-zero) > span:not(.n) { font-weight: 500; }
.f-range { display: flex; align-items: center; gap: 8px; padding-top: 12px; }
.f-range .input { min-height: 42px; padding: 6px 10px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar > div { display: flex; align-items: center; gap: 8px; }
.toolbar .count { color: var(--muted); font-size: var(--fs-s); font-variant-numeric: tabular-nums; }
.toolbar .select { width: auto; min-height: 44px; border-color: transparent; background-color: #fff; font-weight: 650; font-size: var(--fs-s); }
.filter-open { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.active-filters:empty { display: none; }
.active-filters button { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 650; font-size: var(--fs-s); }
.active-filters .clear-all { background: none; color: var(--muted); text-decoration: underline; padding: 0 4px; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 32px; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 12px; display: grid; place-items: center; background: #fff; text-decoration: none; font-weight: 650; font-size: var(--fs-s); }
.pager a:hover { background: var(--line-strong); }
.pager [aria-current] { background: var(--ink); color: #fff; }
.empty { background: #fff; text-align: center; padding: clamp(28px, 5vw, 60px) 20px; }
.empty h2 { font-size: var(--fs-xl); }
.empty p { color: var(--muted); margin: 10px auto 18px; max-width: 54ch; }
.empty .btn-row { justify-content: center; }
.cat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.cat-tile { display: flex; flex-direction: column; background: #fff; padding: 16px; text-decoration: none; }
.cat-tile .img { aspect-ratio: 4 / 3; display: grid; place-items: center; margin-bottom: 12px; }
.cat-tile h3 { font-size: var(--fs-m); letter-spacing: -.01em; line-height: 1.2; }
.cat-tile:hover h3 { text-decoration: underline; }
.cat-tile .n { font-size: var(--fs-s); color: var(--muted); margin-top: 3px; }
.cat-cell { display: flex; flex-direction: column; background: #fff; }
.cat-cell .cat-tile { padding-bottom: 8px; }
.cat-subs { list-style: none; margin: 0; padding: 0 16px 16px; display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: var(--fs-s); }
.cat-subs a { color: var(--muted); text-decoration: none; }
.cat-subs a:hover { color: var(--ink); text-decoration: underline; }
.seo-text { max-width: 76ch; }
.seo-text h2 { font-size: var(--fs-l); letter-spacing: -.01em; margin: 20px 0 6px; }
.seo-text p { color: var(--muted); }
.search-inline { max-width: 720px; margin-top: 18px; }
.search-bar { margin-top: 22px; }
.search-bar .chips { margin: 0; }
.search-bar .chip small { color: var(--muted); font-weight: 500; }
.search-bar .chip input:checked + span small { color: #d0d3d7; }
.search-bar .sb-right { margin-left: auto; gap: 16px; }
.cat-banner { position: relative; min-height: clamp(240px, 28vw, 380px); display: flex; align-items: flex-end; background: var(--navy); color: #fff; overflow: hidden; }
.cat-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 22, 16, .85), rgba(10, 22, 16, 0) 70%); }
.cat-banner-t { position: relative; z-index: 1; padding: clamp(18px, 3vw, 36px); max-width: 60ch; }
.cat-banner-t h1 { font-size: var(--fs-2xl); letter-spacing: -.03em; }
.cat-banner-t p { margin: 10px 0 0; color: #e8eaed; }

/* ---------- product card ---------- */
.p-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.p-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.p-card { position: relative; display: flex; flex-direction: column; background: #fff; padding: 14px; min-width: 0; }
.p-card .img { position: relative; aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 12px; }
.p-card .img img, .dept-img img, .cat-tile .img img, .cross-tile .ci img, .c12 .ci img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.dept-img, .cat-tile .img, .cross-tile .ci, .c12 .ci { position: relative; }
.p-card .badge { position: absolute; left: 0; top: 0; }
.p-card .p-cmp { position: absolute; right: -6px; top: -6px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; color: var(--faint); }
.p-card .p-cmp svg { width: 20px; height: 20px; }
.p-card .p-cmp:hover { color: var(--ink); }
.p-card .p-cmp[aria-pressed="true"] { color: var(--brand-deep); }
.p-card .body { display: flex; flex-direction: column; flex: 1; gap: 4px; min-width: 0; }
.p-card .brand { display: flex; justify-content: space-between; gap: 8px; font-size: var(--fs-xs); color: var(--muted); }
.p-card h3 { font-size: var(--fs-b); font-weight: 650; letter-spacing: 0; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.p-card h3 a { text-decoration: none; }
.p-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.p-card:hover h3 a { text-decoration: underline; }
.p-card .keyspecs { display: flex; flex-wrap: wrap; gap: 0 10px; font-size: var(--fs-xs); color: var(--muted); }
.p-card .foot { display: grid; gap: 10px; margin-top: auto; padding-top: 12px; }
.p-card .foot .add { position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 44px; padding: 0 8px; border: 1.5px solid var(--ink); border-radius: var(--r); background: #fff; color: var(--ink); font: 650 var(--fs-s)/1.1 var(--font); letter-spacing: 0; transition: background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease); }
@media (hover: hover) { .p-card .foot .add:hover { background: var(--brand); border-color: var(--brand); color: var(--on-brand); } }
.p-card .foot .add.add-ask { border-color: var(--line-strong); }
@media (hover: hover) { .p-card .foot .add.add-ask:hover { background: var(--ink); border-color: var(--ink); } }
.p-card .foot .add.added { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.p-card .foot .add svg { width: 16px; height: 16px; }
.p-card.sk { min-height: 320px; }
.p-card.sk .img { background: var(--paper); }
.price { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 6px; align-items: baseline; }
.price [data-amt] { font-size: var(--fs-h); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.price small { font-size: var(--fs-xs); color: var(--muted); }
.price .price-alt { grid-column: 1 / -1; margin-top: 2px; font-variant-numeric: tabular-nums; }
.price-ask { font-weight: 800; font-size: var(--fs-b); letter-spacing: 0; }
.p-card .price-ask { min-height: 2.55em; display: flex; align-items: center; }
.price-lg [data-amt] { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); letter-spacing: -.03em; line-height: 1; }
.price-lg small[data-vatlbl] { font-size: var(--fs-s); }
.price-lg .price-alt { font-size: var(--fs-s); margin-top: 8px; }
.price-ask.price-lg { display: block; font-size: var(--fs-xl); letter-spacing: -.02em; }
.price-note { margin: 8px 0 18px; font-size: var(--fs-s); color: var(--muted); max-width: 48ch; }
.rail-sec .section-head { align-items: center; }
.rail-ctl { display: flex; align-items: center; gap: 8px; }
.rail-ctl .link-more { margin-right: 8px; }
.rail-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px solid var(--ink); background: #fff; padding: 0; }
@media (hover: hover) { .rail-btn:hover { background: var(--ink); color: #fff; } }
.rail-btn[disabled] { opacity: .3; cursor: default; background: #fff; color: var(--ink); }
.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.rail::-webkit-scrollbar { display: none; }
.rail > .p-card { flex: 0 0 calc((100% - 48px) / 5); scroll-snap-align: start; }

/* ---------- product page ---------- */
.pdp-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 20px; padding-top: 22px; }
.back-results { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 14px; font-weight: 650; font-size: var(--fs-s); text-decoration: none; }
.back-results:hover span { text-decoration: underline; }
.back-results svg { width: 18px; height: 18px; }
.pdp { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 12px clamp(20px, 3vw, 44px); align-items: start; }
.gallery-main { position: relative; background: #fff; aspect-ratio: 1.08; width: 100%; cursor: zoom-in; }
.gallery-main img { position: absolute; inset: clamp(16px, 3vw, 44px); width: calc(100% - 2 * clamp(16px, 3vw, 44px)); height: calc(100% - 2 * clamp(16px, 3vw, 44px)); object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; scrollbar-width: none; }
.thumbs button { flex: none; width: 78px; height: 78px; padding: 6px; border: 1.5px solid transparent; background: #fff; }
.thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.pdp-ids { display: flex; flex-wrap: wrap; gap: 2px 16px; margin: 0 0 8px; font-size: var(--fs-s); color: var(--muted); }
.pdp-ids a { font-weight: 800; color: var(--ink); text-decoration: none; }
.pdp-ids a:hover { text-decoration: underline; }
.buy h1 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.5rem); letter-spacing: -.02em; }
.buy .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 12px 0 18px; font-size: var(--fs-s); color: var(--muted); }
.b-stor { display: inline-block; width: fit-content; margin: 2px 0; padding: 1px 6px; background: var(--warn-bg); color: var(--warn-ink); font-size: var(--fs-xs); font-weight: 650; }
.tag-req { display: inline-flex; padding: 3px 8px; background: var(--warn-bg); color: var(--warn-ink); font-size: var(--fs-xs); font-weight: 650; }
.buy-box { background: #fff; padding: clamp(18px, 2.4vw, 28px); }
.qty-row { display: flex; gap: 10px; }
.qty { display: flex; align-items: stretch; height: 54px; border: 1px solid var(--line-strong); background: #fff; flex: none; }
.qty button { width: 44px; border: 0; background: none; font-size: var(--fs-h); padding: 0; }
.qty button:hover { background: var(--paper); }
.qty input { width: 46px; border: 0; padding: 0; text-align: center; font-weight: 800; background: none; appearance: textfield; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.btn-buy { flex: 1; min-height: 54px; font-size: var(--fs-m); }
.avail { margin: 14px 0 0; font-size: var(--fs-s); color: var(--muted); }
.pay-line { margin: 6px 0 0; font-size: var(--fs-s); color: var(--ink); font-weight: 600; }
.buy-sub { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.buy-sub button, .buy-sub a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0; border: 0; background: none; font-weight: 650; font-size: var(--fs-s); text-decoration: none; color: var(--ink); }
.buy-sub button:hover, .buy-sub a:hover { text-decoration: underline; }
.buy-sub svg { width: 18px; height: 18px; }
.buy-sub [aria-pressed="true"] { color: var(--brand-deep); }
.pdp-wa svg { color: var(--brand-deep); }
.variants { margin-top: 12px; background: #fff; padding: 18px clamp(18px, 2.4vw, 28px); }
.variants h2, .key-facts .kf-head { font-size: var(--fs-b); letter-spacing: 0; }
.variants .opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.variants .opts a { display: grid; gap: 1px; padding: 8px 12px; border: 1.5px solid var(--line-strong); text-decoration: none; font-weight: 650; font-size: var(--fs-s); }
.variants .opts a small { font-weight: 500; font-size: var(--fs-xs); color: var(--muted); }
.variants .opts a:hover { border-color: var(--ink); }
.variants .opts a[aria-current="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.variants .opts a[aria-current="true"] small { color: #d0d3d7; }
.key-facts { margin-top: 12px; background: #fff; padding: 18px clamp(18px, 2.4vw, 28px); }
.key-facts dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 8px 0 0; }
.key-facts dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-s); }
.key-facts dt { color: var(--muted); }
.key-facts dd { margin: 0; font-weight: 650; text-align: right; }
.key-facts .kf-more { display: inline-block; margin-top: 12px; font-weight: 650; font-size: var(--fs-s); }
.advice { display: block; margin-top: 12px; padding: 18px clamp(18px, 2.4vw, 28px); background: var(--navy); color: #fff; text-decoration: none; }
.advice span { display: block; font-size: var(--fs-xs); font-weight: 650; color: var(--sun); margin-bottom: 2px; }
.advice b { font-weight: 800; letter-spacing: -.01em; }
.advice:hover b { text-decoration: underline; }
.pdp-jump { margin-top: 32px; background: #fff; border-block: 1px solid var(--line); }
.pdp-jump .wrap { display: flex; gap: 0 28px; overflow-x: auto; scrollbar-width: none; }
.pdp-jump .wrap::-webkit-scrollbar { display: none; }
.pdp-jump a { padding: 15px 0; font-weight: 650; font-size: var(--fs-s); text-decoration: none; white-space: nowrap; }
.pdp-jump a:hover { text-decoration: underline; text-underline-offset: 5px; }
.pdp-sections { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 12px clamp(20px, 3vw, 44px); align-items: start; padding-block: 36px 24px; }
.pdp-sections section { margin-bottom: 40px; }
.pdp-sections section[id], #lignende, #tilbehor { scroll-margin-top: calc(var(--sticky) + 12px); }
.pdp-sections h2 { font-size: var(--fs-xl); margin-bottom: 16px; }
.pdp-sections .side { display: grid; gap: 12px; }
.pdp-sections .side h2 { font-size: var(--fs-m); margin-bottom: 8px; }
.spec-tables { display: grid; gap: 12px; }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; font-size: var(--fs-b); }
.spec-table caption { text-align: left; padding: 14px 18px 10px; background: #fff; font-weight: 800; letter-spacing: 0; }
.spec-table th, .spec-table td { padding: 10px 18px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 46%; font-weight: 500; color: var(--muted); }
.spec-table td { font-weight: 650; }
.pdp-sections .f-group { background: #fff; border: 0; padding: 16px 18px; }
.pdp-sections .f-group summary { font-weight: 650; }
.desc ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--muted); font-size: var(--fs-b); }
.desc-own { display: grid; gap: .75em; max-width: 68ch; }
.desc-own p { margin: 0; line-height: 1.6; overflow-wrap: anywhere; }
.docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.docs a { display: flex; align-items: center; gap: 14px; background: #fff; padding: 14px 18px; text-decoration: none; font-weight: 650; }
.docs a:hover span { text-decoration: underline; }
.docs small { font-weight: 400; }
.source-note { font-size: var(--fs-s); color: var(--muted); max-width: 80ch; }
.how { margin: 0 0 10px; padding-left: 1.25em; display: grid; gap: 5px; font-size: var(--fs-b); }
.cross-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.cross-tile { display: flex; flex-direction: column; gap: 10px; background: #fff; padding: 14px; text-decoration: none; }
.cross-tile .ci { aspect-ratio: 1; display: grid; place-items: center; }
.cross-tile .ct { font-weight: 800; font-size: var(--fs-s); letter-spacing: 0; line-height: 1.25; }
.cross-tile .ct small { display: block; font-weight: 500; font-size: var(--fs-xs); color: var(--muted); margin-top: 2px; }
.cross-tile:hover .ct { text-decoration: underline; }
.cross.section, .rail-sec.section { padding-block: clamp(24px, 3.4vw, 44px); }
.lightbox { position: fixed; inset: 0; z-index: 110; display: none; place-items: center; background: rgba(17, 22, 19, .94); }
.lightbox.open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 88vh; background: #fff; }
.lb-close, .lb-nav { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border: 0; background: #fff; padding: 0; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-size: var(--fs-s); font-weight: 650; }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: #fff; border-top: 1px solid var(--line); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); visibility: hidden; transition: transform .25s var(--ease), visibility 0s .25s; }
.buybar.show { transform: none; visibility: visible; transition: transform .25s var(--ease); }
.buybar .wrap { display: flex; align-items: center; gap: 24px; padding-inline: 0; max-width: calc(var(--max) - var(--gutter) * 2); }
.buybar .bb-name { flex: 1; min-width: 0; margin: 0; line-height: 1.25; }
.buybar .bb-name b { display: block; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar .bb-name span { font-size: var(--fs-s); color: var(--muted); }
.buybar .btn { flex: none; min-width: 200px; }
body:has(.buybar.show) .wa-fab { bottom: calc(88px + env(safe-area-inset-bottom)); }
.pack-note { margin: 10px 0 0; padding: 10px 12px; background: var(--paper); font-size: var(--fs-s); line-height: 1.4; }
.keyspecs .ks-pack { color: var(--ink); font-weight: 650; }

/* ---------- cart, compare, lists ---------- */
.cart-shell { display: grid; grid-template-columns: minmax(0, 1fr) 420px; grid-template-rows: auto 1fr; gap: 12px clamp(20px, 3vw, 44px); align-items: start; margin-top: 22px; padding-bottom: 72px; }
.cart-main { grid-column: 1; grid-row: 1; }
.cart-side { grid-column: 2; grid-row: 1 / span 2; display: grid; gap: 12px; }
.cart-shell > .quick-order { grid-column: 1; grid-row: 2; }
.basket-row { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto 110px 44px; gap: 16px; align-items: center; background: #fff; padding: 14px 16px; margin-bottom: 8px; }
.basket-row .b-img img { width: 88px; height: 88px; object-fit: contain; }
.basket-row .t a { font-weight: 800; letter-spacing: 0; text-decoration: none; line-height: 1.25; }
.basket-row .t a:hover { text-decoration: underline; }
.basket-row .t small { display: block; font-size: var(--fs-s); color: var(--muted); margin-top: 3px; }
.basket-row .t .b-unit { color: var(--ink); }
.basket-row .qty { height: 46px; width: 132px; }
.basket-row .qty input { flex: 1; min-width: 0; }
.basket-row .lt { text-align: right; font-weight: 800; white-space: nowrap; }
.basket-row .rm { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); padding: 0; }
.basket-row .rm:hover { color: var(--danger); }
.cart-tools { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 24px; margin: 6px 0 18px; }
.cart-tools button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; border: 0; background: none; padding: 0; font-weight: 650; font-size: var(--fs-s); color: var(--muted); }
.cart-tools button:hover { color: var(--ink); text-decoration: underline; }
.cart-tools svg { width: 18px; height: 18px; }
.cart-sum { background: var(--navy); color: #fff; padding: 24px; }
.cart-sum h2 { font-size: var(--fs-h); margin-bottom: 14px; }
.sum { margin: 0; display: grid; gap: 8px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; color: #d9dce0; }
.sum dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum .grand { margin-top: 4px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .25); color: #fff; font-weight: 800; font-size: var(--fs-h); letter-spacing: -.01em; }
.sum-note { margin: 14px 0 0; font-size: var(--fs-s); font-weight: 650; color: var(--sun); }
.cart-sum .form-note { margin-top: 10px; color: #bfc4ca; }
.quick-order { background: #fff; padding: 22px; scroll-margin-top: calc(var(--sticky) + 12px); }
.quick-order h2 { font-size: var(--fs-h); }
.quick-order > p { margin: 4px 0 14px; color: var(--muted); font-size: var(--fs-b); }
.qo-row { display: grid; grid-template-columns: minmax(0, 1fr) 96px auto; gap: 10px; align-items: end; }
.qo-row .field { margin: 0; }
.qo-row .btn { min-height: 48px; }
.quick-order .qo-msg { margin: 10px 0 0; min-height: 1.5em; font-weight: 650; color: var(--brand-deep); }
.quick-order .qo-msg.is-error { color: var(--danger); }
.cmp-wrap { overflow-x: auto; background: #fff; }
.cmp { width: 100%; min-width: 720px; border-collapse: collapse; font-size: var(--fs-s); }
.cmp th, .cmp td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp thead th { min-width: 210px; font-weight: 400; }
.cmp thead img { width: 120px; height: 120px; object-fit: contain; }
.cmp tbody th { width: 210px; font-weight: 500; color: var(--muted); }
.cmp tr.diff td { font-weight: 650; }
.new-list { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.new-list .input { width: auto; min-width: min(260px, 100%); flex: 0 1 320px; }
#lists section h2 { font-size: var(--fs-xl); }

/* ---------- home ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 15, 19, .94) 0%, rgba(13, 15, 19, .82) 38%, rgba(13, 15, 19, .6) 100%), linear-gradient(0deg, rgba(13, 15, 19, .6), rgba(13, 15, 19, 0) 46%); }
/* the film fades in over the photo once it can play; the photo is what loads first and what stays without motion */
.hero-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease); }
.hero-vid.on { opacity: 1; }
/* with the film the dark veil is lighter, so the film shows; it stays dark behind the text */
.hero.has-vid::after { background: linear-gradient(90deg, rgba(13, 15, 19, .88) 0%, rgba(13, 15, 19, .62) 32%, rgba(13, 15, 19, .14) 66%, rgba(13, 15, 19, .06) 100%), linear-gradient(0deg, rgba(13, 15, 19, .5), rgba(13, 15, 19, 0) 36%); }
.hero.has-vid .hero-in { min-height: clamp(440px, 42vw, 660px); }
.hero.has-vid .hero-txt { max-width: 620px; }
.hero-vid-ctl { position: absolute; z-index: 2; top: 14px; right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1.5px solid rgba(255, 255, 255, .6); background: rgba(13, 15, 19, .45); color: #fff; }
.hero-vid-ctl svg { width: 20px; height: 20px; }
.hero-vid-ctl .i-play, .hero-vid-ctl[aria-pressed="true"] .i-pause { display: none; }
.hero-vid-ctl[aria-pressed="true"] .i-play { display: block; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; min-height: clamp(440px, 40vw, 620px); padding-block: clamp(28px, 4vw, 56px); }
.hero-in.has-ring { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(16px, 2vw, 40px); }
.hero h1 { font-size: var(--fs-3xl); line-height: .96; letter-spacing: -.03em; max-width: 12ch; }
.hero p { font-size: clamp(1rem, .9rem + .5vw, 1.25rem); line-height: 1.45; max-width: 44ch; margin: 22px 0 30px; color: #eef0f2; }
.has-ring h1 { font-size: clamp(2.5rem, 1.1rem + 3.7vw, 4.25rem); }

/* 3D-ring: one card per department on a slowly turning ring. The geometry is pure CSS (--f and --step come from the
   build); app.js only turns the ring, dims cards by angle and handles drag, buttons and keyboard focus. */
.hero-stage { --cw: 252px; --ch: 326px; --gap: 22px; --rr: calc((var(--cw) + var(--gap)) * var(--f)); --drop: calc(var(--rr) * .122); position: relative; height: calc(var(--ch) + var(--drop) * 2 + 66px); perspective: 1700px; perspective-origin: 50% 34%; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.hero-stage.is-drag { cursor: grabbing; }
.ring-pos, .ring-par, .ring { position: absolute; top: 0; left: 0; width: 0; height: var(--ch); transform-style: preserve-3d; }
.ring-pos { left: 50%; top: var(--drop); transform: translateZ(calc(var(--rr) * -1)); }
.ring-par { transform: rotateX(-7deg); }
.ring { margin: 0; padding: 0; list-style: none; }
.ring-card { position: absolute; top: 0; left: calc(var(--cw) / -2); width: var(--cw); height: var(--ch); transform: rotateY(calc(var(--i) * var(--step))) translateZ(var(--rr)); transform-style: preserve-3d; animation: ring-bloom 1.15s var(--ease) backwards; animation-delay: calc(var(--i) * 36ms); }
.ring-card.is-back { pointer-events: none; }
.ring-card a { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; color: var(--ink); text-decoration: none; border-radius: var(--r); overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.rc-back { position: absolute; inset: 0; border-radius: var(--r); background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .07)); border: 1px solid rgba(255, 255, 255, .22); transform: rotateY(180deg); backface-visibility: hidden; -webkit-backface-visibility: hidden; pointer-events: none; }
.rc-img { position: relative; flex: 1; min-height: 0; margin: 16px 16px 0; }
.rc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.rc-t { display: block; padding: 12px 16px 18px; }
.rc-t b { display: block; font-size: var(--fs-m); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
.rc-t small { display: block; margin-top: 4px; font-size: var(--fs-s); color: var(--muted); }
.ring-card a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--da, var(--brand)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease); }
.ring-card.is-front a::after { transform: none; }
.ring-floor { position: absolute; left: 0; top: calc(var(--ch) + 22px); width: 0; height: 0; transform: rotateX(90deg); transform-style: preserve-3d; }
.ring-floor::before { content: ""; position: absolute; width: calc(var(--rr) * 2 + var(--cw) * .5); aspect-ratio: 1; left: 0; top: 0; translate: -50% -50%; border-radius: 50%; border: 1.5px solid rgba(201, 245, 59, .55); background: radial-gradient(closest-side, rgba(15, 122, 63, .34) 0%, rgba(15, 122, 63, .1) 52%, rgba(0, 0, 0, .46) 84%, rgba(0, 0, 0, 0) 100%); }
.ring-ctl { position: absolute; left: 50%; bottom: 0; z-index: 2; display: none; gap: 6px; transform: translateX(-50%); }
.is-live .ring-ctl { display: flex; }
.ring-ctl button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: var(--r); background: rgba(13, 15, 19, .55); color: #fff; }
.ring-ctl svg { width: 20px; height: 20px; }
.ring-ctl .i-play, .ring-ctl .is-paused .i-pause { display: none; }
.ring-ctl .is-paused .i-play { display: block; }
@media (hover: hover) {
  .ring-ctl button:hover { background: #fff; border-color: #fff; color: var(--ink); }
  .ring-card a { transition: transform .3s var(--ease); }
  .ring-card a:hover { transform: translateZ(24px); }
}
@keyframes ring-bloom { from { transform: rotateY(calc(var(--i) * var(--step))) translateZ(0); } }
.hm-acts { display: flex; flex-wrap: wrap; gap: 12px; }
/* supplier logos: used as supplied, each on its own background (white unless the brand sets another in data/brands.json) */
.brand-logo { display: grid; place-items: center; background: #fff; border-radius: var(--r); }
.brand-logo img { width: auto; height: auto; max-width: min(100%, var(--lw, 150px)); max-height: var(--lh, 44px); }
.hm-brandbar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-block: 16px 0; }
.hm-brandbar .bb-l { margin-right: clamp(8px, 2vw, 32px); font-size: var(--fs-s); font-weight: 650; color: var(--muted); }
.hm-brandbar a { flex: 1 1 0; min-width: 150px; text-decoration: none; }
.hm-brandbar .brand-logo, .hm-brandbar .wordmark { display: grid; place-items: center; height: 76px; padding: 12px 20px; background: #fff; border-radius: var(--r); }
.hm-brandbar .wordmark { font-size: clamp(1.1rem, .9rem + .8vw, 1.5rem); font-weight: 800; letter-spacing: -.02em; }
@media (hover: hover) { .hm-brandbar a:hover .brand-logo, .hm-brandbar a:hover .wordmark { box-shadow: inset 0 0 0 2px var(--brand); } }
.dept-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.dept { display: flex; flex-direction: column; background: var(--dt, #fff); padding: 16px; text-decoration: none; min-width: 0; }
.dept[style] .dept-img img { mix-blend-mode: multiply; }
.dept-img { aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 12px; overflow: hidden; }
.dept-img img { transition: transform .35s var(--ease); }
.dept:hover .dept-img img { transform: scale(1.04); }
.dept b { font-weight: 800; font-size: var(--fs-m); letter-spacing: -.01em; line-height: 1.2; }
.dept:hover b { text-decoration: underline; }
.dept small { margin-top: 4px; font-size: var(--fs-s); color: var(--muted); }
.dept-brands .dept-img { background: var(--navy); color: #fff; font-weight: 800; font-size: clamp(.95rem, .7rem + .6vw, 1.2rem); line-height: 1.6; letter-spacing: -.01em; text-align: center; }
.biz-rail { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.bz { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy); color: #fff; text-decoration: none; isolation: isolate; }
.bz img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.bz:hover img { transform: scale(1.04); }
.bz::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8, 20, 13, 0) 44%, rgba(8, 20, 13, .88) 100%); }
.bz-t { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; display: grid; gap: 4px; }
.bz-t b { font-size: clamp(1.15rem, .95rem + .7vw, 1.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.bz-t small { font-size: var(--fs-s); color: rgba(255, 255, 255, .9); line-height: 1.3; }
.hm-help { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--navy); color: #fff; }
.hm-help-img { position: relative; min-height: 420px; }
.hm-help-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hm-help-txt { align-self: center; padding: clamp(32px, 6vw, 96px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) clamp(32px, 6vw, 96px) clamp(24px, 5vw, 80px); }
.hm-help h2 { max-width: 16ch; }
.hm-help p { color: #d9dce0; max-width: 50ch; margin: 18px 0 28px; font-size: var(--fs-m); }
.hm-help-wa { margin: 24px 0 0 !important; font-size: var(--fs-s) !important; }
.hm-help-wa a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 650; }
.hm-help-wa svg { width: 20px; height: 20px; color: var(--wa); }
.guide-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.guide-list a { display: block; background: #fff; padding: 22px; text-decoration: none; }
.guide-list b { display: block; font-size: var(--fs-l); font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.guide-list span { display: block; margin-top: 8px; color: var(--muted); font-size: var(--fs-b); }
.guide-list a:hover b { text-decoration: underline; }
.hm-finn { padding-top: 0; }
.finn-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; background: var(--sun); color: var(--ink); padding: clamp(22px, 3.4vw, 44px); }
.finn-card h2 { font-size: var(--fs-xl); }
.finn-card p { margin: 8px 0 0; max-width: 56ch; }
.finn-card .btn { --b: var(--ink); color: #fff; }
.finn-card .btn:hover { --b: #000; }
.cta-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; background: var(--navy); color: #fff; padding: clamp(24px, 4vw, 48px); }
.cta-band h2 { font-size: var(--fs-xl); }
.cta-band p { color: #d9dce0; margin: 8px 0 0; max-width: 54ch; }
.cta-band .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-band .btn-dark { --b: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
@media (hover: hover) { .cta-band .btn-dark:hover { --b: #fff; color: var(--ink); border-color: #fff; } }

/* ---------- brands and content pages ---------- */
.brand-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.brand-strip .bs { display: grid; gap: 6px; background: #fff; padding: 26px 24px; text-decoration: none; }
.brand-strip .wordmark { font-size: var(--fs-xl); font-weight: 800; letter-spacing: -.02em; }
.brand-strip .brand-logo { justify-self: start; height: 68px; min-width: 176px; padding: 10px 16px; margin: -10px 0 4px -16px; }
.brand-strip .bs span:last-child { font-size: var(--fs-s); color: var(--muted); }
.brand-strip .bs:hover .wordmark { text-decoration: underline; }
.brand-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.brand-card { background: #fff; padding: 26px 24px; }
.brand-card h2 { font-size: var(--fs-h); margin-bottom: 10px; }
.brand-card h2 a { text-decoration: none; }
.brand-card h2 a:hover { text-decoration: underline; }
.brand-card p { color: var(--muted); }
.auth { display: inline-block; padding: 3px 8px; background: var(--brand-tint); color: var(--brand-deep); font-size: var(--fs-xs); font-weight: 800; }
.brand-head { display: flex; gap: 28px; align-items: flex-start; }
.brand-head .wordmark, .brand-head .brand-logo { flex: none; min-width: 170px; padding: 26px 22px; background: #fff; font-size: var(--fs-h); font-weight: 800; letter-spacing: -.02em; text-align: center; }
.brand-head .brand-logo { --lw: 180px; --lh: 56px; min-width: 224px; }
.brand-head h1 { font-size: var(--fs-2xl); letter-spacing: -.03em; }
.brand-head .auth { margin-left: 8px; }
.brand-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 12px clamp(20px, 3vw, 44px); align-items: start; padding-block: 18px; }
.cat12 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.c12 { display: flex; flex-direction: column; gap: 10px; background: #fff; padding: 14px; text-decoration: none; min-width: 0; }
.c12 .ci { aspect-ratio: 1; display: grid; place-items: center; }
.c12 .ct { font-weight: 800; font-size: var(--fs-s); letter-spacing: 0; line-height: 1.25; }
.c12 .ct small { display: block; font-weight: 500; font-size: var(--fs-xs); color: var(--muted); margin-top: 2px; }
.c12:hover .ct { text-decoration: underline; }
.article { max-width: 72ch; font-size: var(--fs-m); }
.article h2 { font-size: var(--fs-h); margin: 34px 0 10px; }
.article h2:first-child { margin-top: 0; }
.article ul, .article ol { padding-left: 1.25em; display: grid; gap: 8px; margin: 0 0 1em; }
.article a { font-weight: 650; }
.two-col { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 12px 44px; }
.two-col > h2 { font-size: var(--fs-xl); }
.two-col .article { background: #fff; padding: clamp(18px, 3vw, 32px); max-width: none; }
.two-col .article p { max-width: 70ch; }
.grid-2-wide { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 12px clamp(20px, 3vw, 44px); align-items: start; }
.grid-2-wide .article { background: #fff; padding: clamp(20px, 3.4vw, 44px); max-width: none; }
.grid-2-wide .article > * { max-width: 70ch; }

/* ---------- footer ---------- */
.site-footer { margin-top: clamp(40px, 6vw, 84px); background: var(--navy); color: #cdd1d6; }
.hm-finn + .site-footer, main > :last-child.hm-finn { margin-top: 0; }
.foot-top { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: clamp(36px, 5vw, 64px) 36px; }
.foot-top h2 { font-size: var(--fs-b); letter-spacing: 0; color: #fff; margin-bottom: 14px; }
.foot-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: var(--fs-b); }
.foot-top a { text-decoration: none; }
.foot-top a:hover { color: #fff; text-decoration: underline; }
.foot-brand .logo { padding: 0; }
.foot-brand .logo img.lw { height: 50px; }
.foot-brand p { margin: 18px 0; max-width: 34ch; }
.foot-wa { display: inline-flex; align-items: center; gap: 8px; color: #8dedba; font-weight: 650; }
.foot-wa svg { width: 20px; height: 20px; }
.foot-social { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .16); }
.foot-social .fs-l { font-weight: 800; color: #fff; }
.fs-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.fs-btns a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1.5px solid rgba(255, 255, 255, .35); color: #fff; text-decoration: none; font-weight: 650; font-size: var(--fs-s); }
.fs-btns a:hover { border-color: #fff; }
.fs-btns svg { width: 18px; height: 18px; }
.fs-btns .fs-wa svg { color: var(--wa); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px 30px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: var(--fs-s); color: #aab0b7; }

/* ---------- overlays ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; max-width: min(92vw, 540px); transform: translate(-50%, 16px); background: var(--ink); color: #fff; padding: 13px 18px; font-size: var(--fs-s); font-weight: 650; opacity: 0; pointer-events: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: var(--sun); margin-left: 6px; white-space: nowrap; }
.added { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: flex-end; background: rgba(17, 22, 19, .5); }
.added-panel { width: min(440px, 100%); height: 100%; overflow: auto; background: #fff; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.added-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.added-head h2 { font-size: var(--fs-h); }
.added-item { display: flex; gap: 14px; align-items: center; padding: 14px; background: var(--paper); }
.added-item img { width: 76px; height: 76px; object-fit: contain; background: #fff; flex: none; }
.added-item b { display: block; font-size: var(--fs-b); font-weight: 800; letter-spacing: 0; line-height: 1.3; }
.added-item small { color: var(--muted); font-size: var(--fs-s); }
.added-sum { margin: 0; display: grid; gap: 4px; }
.added-sum div { display: flex; justify-content: space-between; gap: 12px; font-weight: 800; }
.added-sum dd { margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.added-sum .note { font-weight: 400; font-size: var(--fs-xs); color: var(--muted); }
.added-acts { display: grid; gap: 10px; }
.added-free { margin: 0; font-size: var(--fs-s); }
.added-free p { margin: 0 0 8px; }
.wa-fab { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 54; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--wa); color: var(--navy); box-shadow: 0 6px 18px -6px rgba(10, 38, 24, .55); transition: bottom .25s var(--ease); }
.wa-fab svg { width: 30px; height: 30px; }
.wa-fab .wa-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wa-fab:hover { background: var(--wa-hover); }
/* out of the way while the visitor scrolls down (app.js → fab-away), back on the first scroll up */
.wa-fab, .tpc-launch { transition: transform .2s var(--ease), opacity .2s var(--ease), background-color .18s, bottom .25s var(--ease); }
html.fab-away .wa-fab, html.fab-away .tpc-launch { transform: translateY(calc(100% + 32px)); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .wa-fab, .tpc-launch { transition: opacity .15s linear; } html.fab-away .wa-fab, html.fab-away .tpc-launch { transform: none; } }
body:has(.drawer.open) .wa-fab, body:has(.msearch.open) .wa-fab, body:has(.lightbox.open) .wa-fab, body:has(.filters.open) .wa-fab, body:has(.added:not([hidden])) .wa-fab { display: none; }

/* ---------- tablet and phone ---------- */
@media (max-width: 1280px) {
  .p-grid-5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rail > .p-card { flex-basis: calc((100% - 36px) / 4); }
  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cross-grid, .cat12 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .p-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .p-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dept-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .foot-top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 1500px) { .hero-stage { --cw: 232px; --ch: 300px; --gap: 20px; } }
@media (max-width: 1380px) { .hero-stage { --cw: 208px; --ch: 272px; --gap: 18px; } }
@media (max-width: 1240px) { .topbar .tb-promo { display: none; } }
@media (max-width: 1160px) { .hero-stage { --cw: 184px; --ch: 244px; --gap: 16px; } .rc-t b { font-size: var(--fs-m); } }
@media (max-width: 980px) {
  :root { --sticky: 62px; }
  #search-page .search-inline { display: none; }
  .hero-in.has-ring { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero.has-vid .hero-in { min-height: min(74svh, 600px); align-items: end; padding-block: 72px 30px; }
  .hero.has-vid::after { background: linear-gradient(0deg, rgba(13, 15, 19, .92) 0%, rgba(13, 15, 19, .62) 46%, rgba(13, 15, 19, .18) 100%); }
  .hero-stage { margin: 28px calc(var(--gutter) * -1) 0; }
  .m-only, .hdr-link.m-only { display: inline-flex; }
  .hide-m { display: none !important; }
  .topbar .wrap { min-height: 34px; }
  .hdr { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "logo actions"; padding-top: 0; min-height: 60px; }
  .hdr .search, .hdr .nav { display: none; }
  .site-header { background: var(--navy); border-bottom: 0; }
  .site-header .logo { height: 60px; }
  .site-header .logo img.lm { width: 38px; height: 38px; }
  .site-header .logo img.lw { height: 33px; }
  .hdr-actions { gap: 4px; }
  .hdr-link { min-width: 46px; }
  .hdr-link .lbl { display: none; }
  .m-search { display: block; background: var(--navy); padding: 0 var(--gutter) 12px; }
  .m-search button { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 46px; padding: 0 14px; border: 0; border-radius: var(--r); background: #fff; color: var(--muted); font-size: var(--fs-m); font-weight: 500; text-align: left; }
  .m-search svg { width: 24px; height: 24px; color: var(--ink); }
  .crumbs li { display: none; }
  .crumbs li:nth-last-child(2) { display: block; }
  .crumbs li:nth-last-child(2)::before { content: "‹"; margin-right: 6px; font-size: 1.1em; color: var(--ink); }
  .crumbs li:nth-last-child(2) a { color: var(--ink); font-weight: 650; font-size: var(--fs-s); }
  .crumbs ol { margin-bottom: 14px; }
  .form-shell, .pdp, .pdp-sections, .cart-shell, .brand-body, .grid-2-wide, .two-col { grid-template-columns: minmax(0, 1fr); }
  .cart-main, .cart-side, .cart-shell > .quick-order { grid-column: 1; grid-row: auto; }
  .catalog { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 6px; }
  .filters { position: fixed; inset: 0; z-index: 96; max-height: none; background: #fff; padding: 0 16px 96px; transform: translateX(-102%); visibility: hidden; transition: transform .26s var(--ease), visibility 0s .26s; }
  .filters.open { transform: none; visibility: visible; transition: transform .26s var(--ease); }
  .f-close { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 1; background: #fff; min-height: 60px; }
  .f-close h2 { font-size: var(--fs-h); }
  .f-apply { display: block; position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .f-opts { max-height: none; }
  .f-opts .check { min-height: 40px; }
  .filter-open { display: inline-flex; }
  .catalog .toolbar { position: sticky; top: 60px; z-index: 30; margin: 0 calc(var(--gutter) * -1) 10px; padding: 8px var(--gutter); background: var(--paper); flex-wrap: nowrap; }
  .catalog .toolbar .count { font-size: var(--fs-xs); line-height: 1.2; max-width: 74px; }
  .catalog .toolbar > div { flex: 1; min-width: 0; }
  .catalog .toolbar > div > * { flex: 1 1 0; min-width: 0; width: auto; }
  .subnav, .chiprow, .subcat-list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .subnav::-webkit-scrollbar, .chiprow::-webkit-scrollbar, .subcat-list::-webkit-scrollbar { display: none; }
  .subcat-list a { flex: none; }
  .subnav ~ .chiprow { display: none; }
  .list-intro { font-size: var(--fs-m); margin-top: 8px; }
  .subnav, .chiprow { margin-top: 14px; }
  .subnav a, .chiprow a { min-height: 44px; }
  .buybar .wrap { padding-inline: 0; gap: 12px; }
  .buybar .bb-name { display: none; }
  .buybar .bb-price { margin-right: auto; }
  .buybar .btn { min-width: 0; }
  .hm-help { grid-template-columns: minmax(0, 1fr); }
  .hm-help-img { min-height: 0; aspect-ratio: 16 / 10; }
  .hm-help-txt { padding: 32px var(--gutter) 40px; }
  .biz-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .biz-rail::-webkit-scrollbar { display: none; }
  .bz { flex: 0 0 62%; max-width: 300px; scroll-snap-align: start; }
  .guide-list, .brand-cards { grid-template-columns: minmax(0, 1fr); }
  .brand-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-grid, .cross-grid, .cat12 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail > .p-card { flex-basis: calc((100% - 24px) / 3); }
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .added { align-items: flex-end; }
  .added-panel { width: 100%; height: auto; max-height: 90vh; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}
@media (max-width: 760px) {
  .p-grid, .p-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .p-card { padding: 10px; }
  .p-card h3 { font-size: var(--fs-s); }
  .price [data-amt] { font-size: var(--fs-l); }
  .rail { gap: 8px; }
  .rail > .p-card { flex-basis: 46%; }
  .rail-btn { display: none; }
  .dept-grid, .cat-grid, .cross-grid, .cat12 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .dept { padding: 12px; }
  .hero > img { object-position: 68% 50%; }
  .hero-in { min-height: 0; padding-block: 22px 20px; }
  .hero h1 { font-size: clamp(2.125rem, 9.4vw, 2.75rem); }
  .hero p { font-size: var(--fs-m); margin: 12px 0 18px; }
  .hm-acts .btn { flex: 1 1 100%; }
  .hero .hm-acts { flex-wrap: nowrap; gap: 8px; }
  .hero .hm-acts .btn { flex: 1 1 auto; min-height: 50px; padding: 0 12px; font-size: var(--fs-s); }
  .hero .hm-acts .btn:first-child { flex: 0 0 auto; padding: 0 16px; }
  .hero-stage { --cw: 172px; --ch: 222px; --gap: 14px; margin-top: 14px; perspective: 1000px; }
  .rc-img { margin: 12px 12px 0; }
  .rc-t { padding: 10px 12px 14px; }
  .rc-t b { font-size: var(--fs-b); }
  .rc-t small { font-size: var(--fs-xs); }
  .hm-brandbar .bb-l { flex: 1 1 100%; margin: 0 0 2px; }
  .hm-brandbar a { flex: 1 1 calc(50% - 4px); min-width: 0; }
  .hm-brandbar .brand-logo, .hm-brandbar .wordmark { height: 64px; padding: 10px 16px; }
  .hm-brandbar .brand-logo { --lw: 124px; --lh: 38px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .key-facts dl { grid-template-columns: minmax(0, 1fr); }
  .spec-table th, .spec-table td { padding: 10px 14px; }
  .basket-row { grid-template-columns: 64px minmax(0, 1fr) 44px; grid-template-areas: "img t rm" "img qty lt"; gap: 8px 12px; align-items: start; padding: 12px; }
  .basket-row .b-img { grid-area: img; } .basket-row .b-img img { width: 64px; height: 64px; }
  .basket-row .t { grid-area: t; } .basket-row .qty { grid-area: qty; } .basket-row .rm { grid-area: rm; }
  .basket-row .lt { grid-area: lt; align-self: center; }
  .qo-row { grid-template-columns: minmax(0, 1fr) 84px; } .qo-row .btn { grid-column: 1 / -1; }
  .cart-tools { justify-content: flex-start; }
  .brand-head { flex-direction: column; gap: 14px; }
  .brand-head .wordmark { min-width: 0; padding: 12px 16px; font-size: var(--fs-h); }
  .brand-head .brand-logo { min-width: 0; padding: 16px 20px; align-self: flex-start; }
  .finn-card { grid-template-columns: minmax(0, 1fr); }
  .search-bar .sb-right { margin-left: 0; width: 100%; justify-content: space-between; }
  .foot-social { flex-direction: column; align-items: flex-start; }
  .fs-btns { width: 100%; } .fs-btns a { flex: 1 1 100%; justify-content: center; }
  .btn-buy svg { display: none; }
  .lb-nav { top: auto; bottom: 14px; transform: none; }
}
@media (max-width: 350px) { .topbar { font-size: var(--fs-xs); } .vat-toggle { gap: 12px; } .topbar .wrap { gap: 8px; } }
@media (max-width: 420px) { .brand-strip { grid-template-columns: minmax(0, 1fr); } .foot-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .no-print, .topbar, .site-header, .site-footer, .drawer, .msearch, .wa-fab, .toast, .buybar, .filters, .toolbar { display: none !important; }
  body { background: #fff; }
}
@media (max-width: 760px) {
  .dept-img { aspect-ratio: 3 / 2; margin-bottom: 8px; }
  .dept b { font-size: var(--fs-b); }
  /* featured products become one swipeable row on phones */
  .hm-feat .p-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .hm-feat .p-grid::-webkit-scrollbar { display: none; }
  .hm-feat .p-grid > .p-card { flex: 0 0 62%; max-width: 260px; scroll-snap-align: start; }
}

/* ---------- PC: tetthet ----------
   En PC med skalering i Windows (125–150 %) har 1280–1536 px i bredden og 720–864 px i høyden. Der skal ikke siden
   virke zoomet inn: topplinjen holder seg på én linje, hovedbildet er lavere, og overskriftene er mindre.
   Selve toppen (logo, søk og avdelingsrad) styres ikke her.
   Gjelder bare bredder over 980 px. Telefon og nettbrett er som før. */
@media (min-width: 981px) {
  :root {
    --fs-xl: clamp(1.375rem, 1.05rem + .75vw, 1.75rem);
    --fs-2xl: clamp(1.75rem, 1.1rem + 1.6vw, 2.5rem);
    --fs-3xl: clamp(2.375rem, 1rem + 2.7vw, 3.5rem);
  }
  .topbar .wrap { min-height: 32px; flex-wrap: nowrap; }
  .topbar a, .topbar-right { white-space: nowrap; }
  .section { padding-block: clamp(36px, 4vw, 64px); }
  .hero-in { min-height: clamp(340px, 30vw, 500px); padding-block: clamp(20px, 2.6vw, 40px); }
  .hero.has-vid .hero-in { min-height: clamp(340px, 30vw, 520px); }
  .hero p { font-size: clamp(1rem, .92rem + .3vw, 1.125rem); margin: 16px 0 22px; }
  .has-ring h1 { font-size: clamp(2.25rem, 1rem + 2.4vw, 3.25rem); }
}
@media (min-width: 981px) and (max-width: 1340px) { .topbar .tb-promo { display: none; } }
@media (min-width: 1161px) and (max-width: 1600px) { .hero-stage { --cw: 196px; --ch: 252px; --gap: 16px; } }
@media (min-width: 981px) and (max-width: 1160px) { .hero-stage { --cw: 172px; --ch: 226px; --gap: 14px; } }

/* PC med lav skjerm: 1920 × 1080 med 150 % skalering gir et vindu på omtrent 1280 × 585 px (målt hos eieren).
   Der tar toppen for mye av høyden, og alt virker for stort. Under 800 px høyde: lavere topp, litt mindre skrift
   (15 px), lavere knapper og et lavere hovedbilde. Må stå etter breddereglene over. */
@media (min-width: 981px) and (max-height: 800px) {
  html { font-size: 93.75%; }
  :root { --sticky: 100px; }
  .topbar .wrap { min-height: 30px; }
  .vat-toggle button { min-height: 30px; }
  .site-header { --row: 56px; }
  .logo img.lm { width: 40px; height: 40px; }
  .logo img.lw { height: 33px; }
  .search input { height: 40px; }
  .search-go { top: 4px; width: 46px; height: 32px; }
  .hdr-link { min-height: 40px; }
  .hdr-link svg { width: 22px; height: 22px; }
  .nav { min-height: 42px; }
  .nav-all { min-height: 32px; }
  .btn { min-height: 40px; }
  .btn-lg { min-height: 46px; }
  .section { padding-block: clamp(28px, 3vw, 48px); }
  .hero-in { min-height: 0; padding-block: 14px 12px; }
  .hero.has-vid .hero-in { min-height: clamp(280px, 56vh, 400px); padding-block: 20px 18px; }
  .hero p { margin: 12px 0 16px; }
  .hero h1, .has-ring h1 { font-size: clamp(2rem, 1rem + 2vw, 2.75rem); }
  .hero-stage { --cw: 168px; --ch: 214px; --gap: 14px; }
  .cat-hero { padding-block: 10px 4px; }
  .crumbs ol { margin-bottom: 10px; }
  .list-head h1 { font-size: var(--fs-xl); }
  .dept-head { padding: 14px 20px; }
  .list-n { margin-top: 4px; }
  .list-intro { margin-top: 6px; font-size: var(--fs-m); }
  .subnav, .chiprow, .subcat-list { gap: 6px; margin-top: 10px; }
  .subnav a, .chiprow a, .subcat-list a { min-height: 32px; padding: 0 12px; }
  .toolbar { margin-bottom: 10px; }
  .catalog { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding-top: 10px; }
  .p-card { padding: 10px; }
}

/* spørsmål og svar på produktsiden (skrives i admin) */
.qa { display: grid; gap: 14px; margin: 0; max-width: 72ch; }
.qa dt { font-weight: 800; }
.qa dd { margin: 4px 0 0; line-height: 1.6; overflow-wrap: anywhere; }
.pdp-sections #sporsmal { scroll-margin-top: calc(var(--sticky) + 12px); }
/* Under 1300 px skjules teksten under ikonene i toppen. Den må fortsatt finnes for skjermlesere: uten den har
   lenkene (Sammenlign, Bedriftskunde, Logg inn, Handlekurv) ikke noe navn. */
@media (min-width: 981px) and (max-width: 1300px) {
  .hdr-link .lbl { display: block; position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* ---------- Forsiden på PC: tekst og film side om side ----------
   Teksten står på den mørke flaten til venstre, filmen fyller høyre del med rett kant. Nederst til høyre i filmen
   ligger en liten indeks med snarveier til kategorier som finnes, med ekte antall. Ingen fargeovergang i
   overskriften og ingen bevegelse ved lasting eller rulling: det eneste som beveger seg er filmen, og den kan settes
   på pause. Telefon og nettbrett har filmen i full bredde med teksten over. */
.hero-go { display: none; }
.hero p b { color: #fff; font-weight: 650; }
@media (min-width: 981px) {
  .hero.has-vid { --cut: 46%; }
  .hero.has-vid > img, .hero.has-vid .hero-vid { left: var(--cut); right: 0; width: calc(100% - var(--cut)); }
  .hero.has-vid::after { display: none; }
  .hero.has-vid .hero-txt { max-width: min(520px, 36vw); }
  .hero.has-vid h1 { max-width: 19ch; }
  .hero.has-vid p { color: var(--on-dark-muted); }
  .hero.has-vid .hm-acts .btn-light { --b: var(--brand); color: var(--on-brand); }
  .hero.has-vid .hm-acts .btn-light:hover { --b: var(--brand-hover); }
  .hero-go { position: absolute; z-index: 2; right: 0; bottom: 0; display: flex; align-items: stretch; max-width: calc(100% - var(--cut)); background: var(--navy); }
  .hero-go-l { display: flex; align-items: center; padding: 0 14px 0 18px; color: var(--on-dark-muted); font-size: var(--fs-xs); font-weight: 650; white-space: nowrap; }
  .hero-go a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px; border-left: 1px solid rgba(255, 255, 255, .14); color: #fff; text-decoration: none; font-weight: 650; font-size: var(--fs-s); white-space: nowrap; }
  .hero-go a:hover, .hero-go a:focus-visible { background: #fff; color: var(--ink); }
  .hero-go a:hover small, .hero-go a:focus-visible small { color: var(--muted); }
  .hero-go i { display: none; }
  .hero-go small { color: var(--on-dark-muted); font-weight: 500; font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
}
@media (min-width: 981px) and (min-height: 801px) { .hero.has-vid .hero-in { min-height: clamp(460px, 36vw, 640px); } }
@media (min-width: 981px) and (max-width: 1500px) { .hero-go a:nth-of-type(n+5) { display: none; } }
@media (min-width: 981px) and (max-width: 1160px) { .hero-go a:nth-of-type(n+4) { display: none; } }

/* ---------- Listesider: produktene først ----------
   Eierens PC-vindu er omtrent 1280 x 585 px. Før startet produktene på en kategoriside først 460 px ned.
   Tittel og antall står nå på én linje, ingressen på én, og bare én rad med valg ligger over produktene.
   De andre kategoriene i avdelingen kommer etter produktene. */
@media (min-width: 981px) {
  .dept-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; padding: 14px 22px; }
  .dept-head h1 { max-width: none; }
  .dept-head .list-n { margin: 0; }
  .dept-head .list-intro { flex-basis: 100%; max-width: 120ch; margin: 2px 0 0; font-size: var(--fs-m); }
}
.also-cats h2 { margin: 0; font-size: var(--fs-m); font-weight: 800; letter-spacing: -.01em; }
.also-cats .chiprow { flex-wrap: wrap; overflow: visible; margin: 12px 0 0; padding: 0; }

/* Forsiden: bare hele rader i utvalget og nyhetene (fem i bredden over 1280 px, fire og tre under). */
@media (min-width: 1101px) and (max-width: 1280px) {
  .hm-feat .p-grid-5 > .p-card:nth-child(n+9), .hm-new .p-grid-5 > .p-card:nth-child(n+5) { display: none; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .hm-feat .p-grid-5 > .p-card:nth-child(n+10), .hm-new .p-grid-5 > .p-card:nth-child(n+4) { display: none; }
}
/* Fem kjøpeguider: tre i første rad og to brede i andre, uten hull til høyre. */
@media (min-width: 761px) {
  .guide-5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .guide-5 > a { grid-column: span 2; }
  .guide-5 > a:nth-child(n+4) { grid-column: span 3; }
}
/* Telefon, produktside: WhatsApp-knappen lå oppå «Legg i handlekurv». Den er borte mens kjøpsknappen er i bildet
   (lenken «Spør på WhatsApp» står rett under prisen), og kommer tilbake over kjøpslinjen når du ruller videre. */
@media (max-width: 760px) {
  body:has(.buybar:not(.show)) .wa-fab { opacity: 0; visibility: hidden; pointer-events: none; }
}
/* Avdelingssider: de små lenkene til underkategorier er minst 24 px høye, så de er lette å treffe. */
.cat-subs { gap: 0 12px; }
.cat-subs a { display: inline-block; min-height: 24px; line-height: 24px; }

/* ==========================================================================================
   Løft 11. november 2026: rolige produktkort, kompakte kategorier og kortere sider.
   Bildene står på en dempet flate (--tile) og blandes inn med multiply, så leverandørbilder med
   hvit bakgrunn ser like ut på kort, kategorifliser og produktside.
   ========================================================================================== */
:root { --tile: #eceee9; }

/* ---------- Produktkort ---------- */
.p-card { padding: 0; transition: box-shadow .25s var(--ease); }
.p-card .img { aspect-ratio: 6 / 5; margin: 0; background: var(--tile); overflow: hidden; }
.p-card .img img { inset: 8%; width: 84%; height: 84%; mix-blend-mode: multiply; transition: transform .45s var(--ease); }
.p-card .body { padding: 12px 14px 14px; gap: 5px; }
.badge { background: var(--sun); color: var(--ink); font-size: var(--fs-xs); padding: 4px 9px; }
.p-card .badge { left: 10px; top: 10px; }
.p-card .p-cmp { right: 4px; top: 4px; }
.p-card .brand { font-size: var(--fs-xs); }
.p-card .brand span:first-child { color: var(--ink); font-weight: 650; }
.price small { font-size: var(--fs-xs); }
.p-card .foot .add { border-color: transparent; background: var(--brand); color: var(--on-brand); }
.p-card .foot .add:not(.add-ask)::before { content: ""; flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--i-cart) center / contain no-repeat; mask: var(--i-cart) center / contain no-repeat; }
.p-card .foot .add.added::before { display: none; }
.p-card .foot .add.add-ask { background: #fff; border-color: var(--line-strong); color: var(--ink); }
/* kvitteringen «Lagt til» i 1,6 sekunder: mørk, så den skiller seg fra den grønne knappen */
.p-card .foot .add.added, .p-card .foot .add.added:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
:root { --i-cart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2.5l2.2 11h10.2l1.9-8H7'/%3E%3Ccircle cx='9.5' cy='19' r='1.4'/%3E%3Ccircle cx='17' cy='19' r='1.4'/%3E%3C/svg%3E"); }
@media (hover: hover) {
  .p-card:hover { box-shadow: 0 14px 34px -18px rgba(17, 22, 19, .35); }
  .p-card:hover .img img { transform: scale(1.045); }
  .p-card .foot .add:hover { background: var(--brand-hover); border-color: transparent; color: var(--on-brand); }
  .p-card .foot .add.add-ask:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
}
@media (prefers-reduced-motion: reduce) { .p-card .img img { transition: none; } .p-card:hover .img img { transform: none; } }
/* telefon: to kort i bredden, så knappen har ikke plass til ikonet på én linje */
@media (max-width: 760px) { .p-card .foot .add:not(.add-ask)::before { display: none; } }

/* ---------- Kategorifliser: bildet på samme flate ---------- */
.cat-tile .img, .cross-tile .ci { background: var(--tile); }
.cat-tile .img img, .cross-tile .ci img { inset: 8%; width: 84%; height: 84%; mix-blend-mode: multiply; }
/* PC: kompakte fliser med bildet til venstre, så alle kategoriene i en avdeling vises uten rulling */
@media (min-width: 981px) {
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .cat-tile { flex-direction: row; align-items: flex-start; gap: 14px; padding: 10px 14px 10px 10px; }
  .cat-tile .img { flex: none; width: 88px; aspect-ratio: 1; margin: 0; }
  .cat-tile .txt { min-width: 0; min-height: 88px; display: flex; flex-direction: column; justify-content: center; }
  .cat-cell .cat-tile { padding-bottom: 4px; }
  .cat-subs { padding: 0 14px 10px 12px; }
}
@media (min-width: 1181px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1700px) { .cat-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- Søk: søkefeltet står allerede i toppfeltet ---------- */
#search-page:has(#search-bar:not(.hide)) .search-inline { display: none; }

/* ---------- Produktside ---------- */
.gallery-main { background: var(--tile); }
.gallery-main img { mix-blend-mode: multiply; }
@media (min-width: 981px) {
  .spec-tables:has(.spec-table + .spec-table) { display: block; columns: 2; column-gap: 12px; }
  .spec-tables:has(.spec-table + .spec-table) .spec-table { break-inside: avoid; margin-bottom: 12px; }
  .spec-table th { width: 54%; }
}
@media (min-width: 981px) and (min-height: 600px) { .pdp .gallery { position: sticky; top: calc(var(--sticky) + 12px); } }
@media (min-width: 1101px) { .cross-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 761px) and (max-width: 1100px) { .cross-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Forsiden ---------- */
.dept-brands .dept-img { background: var(--chip); color: var(--ink); }
@media (min-width: 981px) { .bz { aspect-ratio: 5 / 4; } }
.finn-card { background: #fff; padding: 18px 22px; }
.finn-card h2 { font-size: var(--fs-l); letter-spacing: -.01em; }
.finn-card p { margin-top: 4px; color: var(--muted); font-size: var(--fs-b); }
.finn-card .btn, .finn-card .btn:hover { --b: transparent; color: var(--ink); border-color: var(--ink); min-height: 44px; padding: 0 18px; font-size: var(--fs-b); }
.finn-card .btn:hover { --b: var(--ink); color: #fff; }

/* ---------- Telefon: produktene høyere opp ---------- */
/* smal telefon: «Legg i handlekurv» ved siden av antallet får plass på én linje uten ikonet */
@media (max-width: 430px) { .buy-box .btn-buy { padding-inline: 10px; } .buy-box .btn-buy svg { display: none; } }
@media (max-width: 760px) {
  .dept-head { padding: 12px 14px; }
  .dept-head h1 { font-size: var(--fs-h); }
  .dept-head .list-n { margin-top: 2px; }
  .dept-head .list-intro { margin-top: 6px; font-size: var(--fs-b); line-height: 1.45; }
}

/* ---------- Sidebytte ----------
   En kort overgang mellom sidene i nettlesere som støtter det (Chrome, Edge, Safari). Når du åpner et produkt,
   vokser bildeflaten fra kortet til produktsiden (app.js setter navnet på kortet du trykket på). */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
  .gallery-main { view-transition-name: produktbilde; }
  ::view-transition-group(produktbilde) { animation-duration: .34s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
}

/* ---------- Innlogging på telefon ----------
   Eieren fant ikke innloggingen på telefon (11. november 2026): toppfeltet hadde bare handlekurv og meny, og
   «Logg inn» lå under elleve avdelinger i menyen. Nå står person-ikonet i toppfeltet på alle skjermer, og
   «Logg inn» / «Min side» er første rad i menyen på telefon og nettbrett. */
.d-acct { display: none; }
.d-acct-i { flex: none; width: 44px; height: 44px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-deep); }
.drow .d-acct-i svg { width: 24px; height: 24px; margin: 0; }
/* innlogget: en liten grønn prikk på ikonet når teksten «Min side» ikke vises */
.hdr-acct[href="/konto/"]::after { content: ""; position: absolute; top: 7px; left: calc(50% + 7px); width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 2px var(--navy); }
@media (min-width: 1301px) { .hdr-acct[href="/konto/"]::after { display: none; } }
@media (max-width: 980px) {
  .d-acct { display: flex; border-bottom: 1px solid var(--line); text-transform: none; letter-spacing: 0; }
  .dlinks [data-acct-link] { display: none; }
  /* navnet på lenken («Logg inn» / «Min side») leses fortsatt opp, selv om bare ikonet vises */
  .hdr-acct .lbl { display: block; position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  /* tre ikoner og logoen skal få plass også på smale telefoner */
  .site-header .logo img.lw { height: clamp(24px, 8.2vw, 33px); width: auto; }
}
@media (max-width: 359px) { .hdr-link { min-width: 40px; } .site-header .logo img.lm { width: 34px; height: 34px; } }

/* ==========================================================================================
   Fagkatalogen – designretning fra 11. november 2026 (docs/DESIGN-SYSTEM.md)
   Én grønn for handling, koksgrått som ramme, papir og hvitt som flater, dempet flate for bilder.
   Avdelingsfargene brukes ikke lenger som flater: de ga elleve pastellfarger på forsiden og et farget felt med
   tykk venstrekant over hver liste. Skrift: Archivo i fire vekter og seks størrelser.
   ========================================================================================== */
b, strong { font-weight: 650; }
html { -webkit-tap-highlight-color: transparent; }
a, button, input, select, textarea, label, summary { touch-action: manipulation; }
.drawer-panel, .dview, .filters, .added-panel, .lightbox, .msearch { overscroll-behavior: contain; }
.btn:active, .p-card .foot .add:active, .nav-cta:active, .nav-all:active { transform: translateY(1px); }
.num, .price, .list-n, .p-card .keyspecs { font-variant-numeric: tabular-nums; }

/* Listehode: tittel, antall og én linje tekst rett på siden */
.dept-head { background: none; border: 0; padding: 0; }
@media (min-width: 981px) { .dept-head { padding: 0; } .cat-hero { padding-block: 14px 6px; } }
@media (max-width: 980px) { .dept-head { padding: 0; } }

/* Avdelingsflisene på forsiden: samme bildeflate som produktkortene */
.dept { background: #fff; padding: 0; }
.dept-img { aspect-ratio: 4 / 3; margin: 0; background: var(--tile); }
.dept-img img { inset: 9%; width: 82%; height: 82%; mix-blend-mode: multiply; }
.dept b { padding: 12px 14px 0; font-size: var(--fs-m); }
.dept small { margin: 0; padding: 2px 14px 14px; }
.dept-brands .dept-img { background: var(--tile); color: var(--ink); }
@media (hover: hover) { .dept:hover b { text-decoration: underline; } }

/* Utstyr etter type kjøkken: kompakte fliser med et ekte produkt fra kategorien */
@media (min-width: 981px) {
  .seg-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .seg-grid .cat-tile .img { width: 72px; }
  .seg-grid .cat-tile .txt { min-height: 72px; }
}
@media (max-width: 980px) {
  .seg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .seg-grid .cat-tile { flex-direction: row; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; }
  .seg-grid .cat-tile .img { flex: none; width: 52px; aspect-ratio: 1; margin: 0; }
  .seg-grid .cat-tile .n { display: none; }
  .seg-grid .cat-tile h3 { font-size: var(--fs-b); }
}

/* Småting som skiller: bunnteksten går ikke inn under WhatsApp-knappen, og sammenlign-knappen er 44 px på berøring */
@media (min-width: 761px) { .foot-bottom { padding-right: 84px; } }
@media (hover: none) { .p-card .p-cmp { width: 44px; height: 44px; right: 0; top: 0; } }
/* Telefon: lange kategorinavn brytes i stedet for å sprenge flisen (320 px), skjemafelt er 16 px så iPhone ikke
   zoomer inn når de får fokus, og de små handlingene under kjøpsknappen er 44 px høye på berøring */
@media (max-width: 760px) {
  .cat-tile, .cat-tile .txt { min-width: 0; }
  .cat-tile h3 { overflow-wrap: anywhere; hyphens: auto; }
  .toolbar .select, .search-bar .select, input[type="file"] { font-size: 16px; }
}
@media (hover: none) { .buy-sub button, .buy-sub a { min-height: 44px; } }
@media (max-width: 359px) { .site-header .logo img.lw { height: 22px; } .cat-tile h3 { font-size: var(--fs-b); } }

/* ---------- Toppen av forsiden: overskrift og seks kategorier med ekte produkter ----------
   Standard fra 11. november 2026 (data/site.json → home.hero = «produkter»). Ingen film og ingen stemningsbilder:
   det kunden ser, er utstyr som faktisk selges, og hver flis går rett til kategorien. */
.hero.has-tiles::after { display: none; }
.hero.has-tiles .hero-in { grid-template-columns: minmax(0, 1fr); gap: 24px; min-height: 0; padding-block: 28px 20px; }
.hero.has-tiles h1 { max-width: 16ch; }
.hero.has-tiles p { color: var(--on-dark-muted); }
.hero.has-tiles .hm-acts .btn-light { --b: var(--brand); color: var(--on-brand); }
.hero.has-tiles .hm-acts .btn-light:hover { --b: var(--brand-hover); }
.hero-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ht { display: flex; flex-direction: column; min-width: 0; background: #fff; color: var(--ink); text-decoration: none; }
.ht-img { position: relative; aspect-ratio: 2 / 1; background: var(--tile); overflow: hidden; }
.ht-img img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; transition: transform .45s var(--ease); }
.ht-t { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 8px 12px 9px; }
.ht-t b { min-width: 0; font-size: var(--fs-b); font-weight: 800; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ht-t small { flex: none; color: var(--muted); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
@media (hover: hover) { .ht:hover .ht-img img { transform: scale(1.045); } .ht:hover b { text-decoration: underline; } }
@media (prefers-reduced-motion: reduce) { .ht-img img { transition: none; } .ht:hover .ht-img img { transform: none; } }
@media (min-width: 981px) {
  .hero.has-tiles .hero-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3vw, 56px); align-items: center; padding-block: 24px; }
  .hero.has-tiles .hero-txt { max-width: 520px; }
  .hero-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 981px) and (min-height: 801px) { .hero.has-tiles .hero-in { padding-block: 48px; } .ht-img { aspect-ratio: 3 / 2; } }
@media (max-width: 760px) { .ht-t { padding: 7px 10px 8px; } .ht-t b { font-size: var(--fs-s); } }

/* ============================================================
   Kampanjeforsiden (11. november 2026)
   Eieren ville ha mer følelse, flere bilder og andre farger enn grønt og svart. Forsiden har tre kampanjefarger
   (rød, gul, blå), ekte foto og frilagte produkter. Grønt er fortsatt bare kjøp og handling.
   Ingen flate her er et tilbud eller en rabatt: tall og priser leses fra sortimentet.
   ============================================================ */
:root { --k-red: #d8351c; --k-red-deep: #b9290f; --k-yellow: #ffc933; --k-blue: #1b49c8; --k-blue-deep: #143aa6; --rk: 14px; --r: 6px; }
.p-card .img, .dept .dept-img { border-radius: var(--r) var(--r) 0 0; }

/* stripe med avdelingene rett under toppfeltet */
.kstrip { background: #fff; border-bottom: 1px solid var(--line); }
.kstrip ul { display: flex; gap: 2px; margin: 0 calc(var(--gutter) * -1); padding: 8px var(--gutter) 6px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.kstrip ul::-webkit-scrollbar { display: none; }
.kstrip li { flex: 1 0 104px; min-width: 0; }
.kstrip a { display: flex; flex-direction: column; align-items: center; gap: 5px; min-height: 44px; padding: 2px; text-decoration: none; color: var(--ink); text-align: center; }
.ks-img { display: block; width: 48px; height: 48px; }
.ks-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s var(--ease); }
.ks-t { max-width: 100%; font-size: var(--fs-xs); font-weight: 650; line-height: 1.2; }
@media (hover: hover) { .kstrip a:hover .ks-img img { transform: scale(1.12); } .kstrip a:hover .ks-t { text-decoration: underline; text-underline-offset: 3px; } }

/* det store fargefeltet og de to sidepanelene */
.khero { padding-block: 12px 4px; }
.khero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.kh-main { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: start; padding: 26px 22px 0; border-radius: var(--rk); background: var(--k-red); color: #fff; }
.kh-main::before { content: ""; position: absolute; z-index: -1; right: -22%; bottom: -30%; width: 86%; aspect-ratio: 1; border-radius: 50%; background: var(--k-red-deep); }
.kh-txt { position: relative; z-index: 2; }
.kh-main h1 { max-width: 11ch; font-size: clamp(2.1rem, 1.1rem + 4.6vw, 3.9rem); font-weight: 800; line-height: .94; letter-spacing: -.03em; }
.kh-main p { max-width: 36ch; margin: 14px 0 20px; font-size: var(--fs-m); line-height: 1.45; color: #fff; }
.kh-main p b { font-weight: 650; }
.kh-main .btn-line { border-color: rgba(255, 255, 255, .85); }
.kh-main :focus-visible, .kh-s-bla:focus-visible, .kk-rod:focus-visible, .kk-bla:focus-visible, .kband .section-head :focus-visible { outline-color: #fff; }
.kh-prod { position: relative; z-index: 1; height: 150px; margin: 20px -6px 0; }
.kh-prod img { position: absolute; bottom: 0; width: auto; height: auto; filter: drop-shadow(0 12px 12px rgba(50, 8, 0, .38)); }
.kh-prod img:nth-child(1) { left: 0; max-width: 47%; max-height: 84%; z-index: 2; }
.kh-prod img:nth-child(2) { right: 0; max-width: 37%; max-height: 90%; z-index: 3; }
.kh-prod img:nth-child(3) { left: 39%; max-width: 28%; max-height: 100%; z-index: 1; }
.kh-burst { position: absolute; z-index: 4; right: 14px; top: 14px; display: grid; place-content: center; width: 78px; aspect-ratio: 1; border-radius: 50%; background: var(--k-yellow); color: var(--ink); text-align: center; transform: rotate(8deg); }
.kh-burst b { font-size: 1.25rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.kh-burst small { font-size: var(--fs-xs); font-weight: 650; }
.kh-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kh-s { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 148px; padding: 18px; border-radius: var(--rk); text-decoration: none; }
.kh-s b { font-size: clamp(1.375rem, 1rem + 1.5vw, 2.125rem); font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.kh-s-p { margin-top: 8px; max-width: 19ch; font-size: var(--fs-s); line-height: 1.35; }
.kh-s i, .kk i { margin-top: 12px; font-style: normal; font-size: var(--fs-s); font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.kh-s-gul { background: var(--k-yellow); color: var(--ink); }
.kh-s-bla { background: var(--k-blue); color: #fff; }
.kh-s-bla::before { content: ""; position: absolute; z-index: -1; right: -18%; top: -46%; width: 62%; aspect-ratio: 1; border-radius: 50%; background: var(--k-blue-deep); }
.kh-s-img { position: absolute; right: -16px; bottom: -16px; display: none; place-items: center; width: 104px; aspect-ratio: 1; border-radius: 50%; background: #fff; }
.kh-s-img img { width: 68%; height: 68%; object-fit: contain; }
@media (min-width: 521px) { .kh-s-img { display: grid; } }
@media (hover: hover) {
  .kh-s, .kk { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
  .kh-s:hover, .kk:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -20px rgba(17, 22, 19, .55); }
}
@media (min-width: 981px) {
  .khero { padding-block: 14px 4px; }
  .khero-in { grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); gap: 14px; }
  .kh-main { align-content: center; min-height: clamp(340px, 27vw, 440px); padding: clamp(26px, 3vw, 48px); }
  .kh-main h1 { font-size: clamp(2.75rem, 1.4rem + 2.3vw, 3.75rem); }
  .kh-txt { max-width: 56%; }
  .kh-prod { position: absolute; inset: 0 1.5% 0 57%; height: auto; margin: 0; }
  .kh-prod img:nth-child(1) { left: 0; bottom: 7%; width: 60%; max-width: none; max-height: none; }
  .kh-prod img:nth-child(2) { left: 45%; right: auto; bottom: 4%; width: 33%; max-width: none; max-height: none; }
  .kh-prod img:nth-child(3) { left: auto; right: 0; bottom: 9%; width: 39%; max-width: none; max-height: 82%; object-fit: contain; object-position: bottom; }
  .kh-burst { right: auto; left: 55%; top: 18px; width: 104px; }
  .kh-burst b { font-size: 1.75rem; }
  .kh-burst small { font-size: var(--fs-s); }
  .kh-side { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: 14px; }
  .kh-s { padding: 22px 26px; }
  .kh-s-p { max-width: 17ch; }
  .kh-s-img { right: 18px; bottom: 50%; width: 112px; transform: translateY(50%); }
}
/* lav PC-skjerm (eierens er 1280 × 585): overskrift og begge knappene skal stå på første skjerm */
@media (min-width: 981px) and (max-height: 800px) {
  .khero { padding-top: 12px; }
  .kh-main { min-height: 300px; padding-block: 22px; }
  .kh-main h1 { font-size: 2.75rem; }
  .kh-main p { margin: 10px 0 16px; font-size: var(--fs-b); }
  .kh-main .btn-lg { min-height: 46px; padding-inline: 22px; font-size: var(--fs-b); }
  .kh-burst { width: 92px; top: 14px; }
  .kh-burst b { font-size: 1.5rem; }
  .kh-s { min-height: 0; padding-block: 16px; }
  .kh-s-img { width: 96px; }
}

/* type kjøkken: ekte foto */
.kbiz { display: grid; grid-auto-flow: column; grid-auto-columns: 44%; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.kbiz::-webkit-scrollbar { display: none; }
.kb { scroll-snap-align: start; display: block; min-width: 0; text-decoration: none; color: var(--ink); }
.kb-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--rk); background: var(--tile); }
.kb-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.kb b { display: block; margin-top: 10px; font-size: var(--fs-l); font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.kb small { display: block; margin-top: 2px; font-size: var(--fs-s); color: var(--muted); }
@media (hover: hover) { .kb:hover .kb-img img { transform: scale(1.06); } .kb:hover b { text-decoration: underline; text-underline-offset: 3px; } }
@media (min-width: 761px) { .kbiz { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px 14px; margin-inline: 0; padding-inline: 0; overflow: visible; } }

/* blått bånd med utvalget */
.home .kband { background: var(--k-blue); padding-block: clamp(30px, 4vw, 56px); }
.kband .section-head h2, .kband .link-more, .kband .link-more:hover { color: #fff; }

/* fargefelt for tre kategorier */
.kkamp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.kk { position: relative; isolation: isolate; overflow: hidden; display: block; min-height: 190px; padding: 20px; border-radius: var(--rk); text-decoration: none; }
.kk::before { content: ""; position: absolute; z-index: -1; right: -20%; top: -34%; width: 72%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .13); }
.kk-rod { background: var(--k-red); color: #fff; }
.kk-gul { background: var(--k-yellow); color: var(--ink); }
.kk-gul::before { background: rgba(255, 255, 255, .36); }
.kk-bla { background: var(--k-blue); color: #fff; }
.kk-t { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.kk b { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.02; }
.kk-t > small { margin-top: 6px; font-size: var(--fs-s); }
.kk-fra { display: block; max-width: 54%; margin-top: 16px; font-size: var(--fs-s); line-height: 1.3; }
.kk-pn { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-bottom: 2px; font-weight: 500; }
.kk-fra .price { display: inline-flex; align-items: baseline; gap: 5px; }
.kk-fra .price small { color: inherit; }
.kk-fra .price .price-alt { display: none; }
.kk-img { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: end; width: 43%; }
.kk-img > img { width: 100%; height: auto; max-height: 132px; object-fit: contain; object-position: right bottom; filter: drop-shadow(0 12px 12px rgba(17, 22, 19, .32)); }
.kk-disc { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 50%; background: #fff; }
.kk-disc img { width: 70%; height: 70%; object-fit: contain; }
@media (min-width: 761px) { .kkamp-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } .kkamp-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .kk { min-height: 224px; padding: 24px; } .kk-img { right: 18px; bottom: 18px; } .kk-img > img { max-height: 140px; } }

/* hjelp-feltet i gult */
.hm-help-k { background: var(--k-yellow); color: var(--ink); }
.hm-help-k p { color: #2b2716; }
.hm-help-k .btn-light, .hm-help-k .btn-light:hover { --b: var(--ink); color: #fff; }
.hm-help-k .btn-light:hover { --b: #000; }
.hm-help-k .btn-line, .hm-help-k .btn-line:hover { color: var(--ink); border-color: var(--ink); }
.hm-help-k .hm-help-wa a { color: var(--ink); }
.hm-help-k .hm-help-wa svg { color: #0d7a3f; }
.hm-help-k :focus-visible { outline-color: var(--ink); }

/* kjøpeguider med bilde, og avdelingene med hver sin farge bak produktet */
.guide-list.has-img a { padding: 0 0 20px; overflow: hidden; border-radius: var(--r); }
.guide-list.has-img b, .guide-list.has-img a > span:not(.g-img) { padding-inline: 20px; }
.guide-list.has-img b { margin-top: 16px; }
.guide-list .g-img { position: relative; display: block; aspect-ratio: 4 / 3; margin: 0; background: var(--gt, var(--tile)); }
.g-img img { position: absolute; inset: 9% 12%; width: 76%; height: 82%; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s var(--ease); }
@media (hover: hover) { .guide-list a:hover .g-img img { transform: scale(1.06); } }
.home .dept[style] .dept-img { background: var(--dt); }
@media (min-width: 981px) {
  .guide-5.has-img { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .guide-5.has-img > a, .guide-5.has-img > a:nth-child(n+4) { grid-column: auto; }
  .guide-list.has-img b { font-size: var(--fs-m); }
  .guide-list.has-img a > span:not(.g-img) { font-size: var(--fs-s); }
}
@media (max-width: 760px) {
  .guide-list.has-img a { display: grid; grid-template-columns: 108px minmax(0, 1fr); align-content: center; column-gap: 14px; padding: 0; }
  .guide-list.has-img .g-img { grid-row: 1 / span 2; aspect-ratio: auto; height: 100%; min-height: 108px; }
  .guide-list.has-img b { align-self: end; margin-top: 12px; padding-inline: 0 14px; font-size: var(--fs-m); }
  .guide-list.has-img a > span:not(.g-img) { align-self: start; margin-top: 4px; padding: 0 14px 12px 0; font-size: var(--fs-s); }
}
/* «Utstyr til …»: foto av kjøkkentypen ved siden av overskriften */
.seg-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 14px; }
.seg-top-img { aspect-ratio: 16 / 6; overflow: hidden; border-radius: var(--rk); background: var(--tile); }
.seg-top-img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 981px) {
  .seg-top { grid-template-columns: minmax(0, 1fr) 340px; align-items: center; gap: 24px; }
  .seg-top-img { aspect-ratio: auto; height: 128px; }
}
/* Kundekontoen i kampanjefargene: blått velkomstfelt på Min side */
.dash-head { position: relative; isolation: isolate; overflow: hidden; align-items: center; padding: 22px 26px; border-radius: 18px; background: var(--k-blue); color: #fff; }
.dash-head::before { content: ""; position: absolute; z-index: -1; right: -8%; top: -120%; width: 44%; aspect-ratio: 1; border-radius: 50%; background: var(--k-blue-deep); }
.dash-head .dash-sub { color: #e9eeff; }
.dash-head .btn, .dash-head .btn:hover { --b: #fff; color: var(--ink); }
.dash-head .btn:hover { --b: var(--k-yellow); }
.dash-head :focus-visible { outline-color: #fff; }
@media (max-width: 760px) { .dash-head { padding: 18px; } }

/* ============================================================
   Handlekurv og kasse (11. november 2026)
   Handlekurven viser varene og summen, kassen (/kasse/) har kontakt, levering og betaling i tre nummererte steg.
   Det tas ikke betaling på nettstedet: betalingsmåtene kommer fra data/site.json → checkout.paymentMethods.
   ============================================================ */
.ksteps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 14px 0 0; padding: 0; list-style: none; counter-reset: ks; font-size: var(--fs-s); font-weight: 650; color: var(--muted); }
.ksteps li { counter-increment: ks; display: flex; align-items: center; gap: 8px; }
.ksteps li::before { content: counter(ks); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--chip); color: var(--ink); font-size: var(--fs-xs); font-weight: 800; }
.ksteps li:not(:last-child)::after { content: ""; width: 26px; height: 2px; margin-left: 2px; background: var(--line-strong); }
.ksteps li[aria-current] { color: var(--ink); }
.ksteps li[aria-current]::before { background: var(--k-blue); color: #fff; }
.ksteps li.done { color: var(--ink); }
.ksteps li.done::before { background: var(--ink); color: #fff; }
.ksteps a { color: inherit; }
.cart-sum { border-radius: var(--r); background: var(--k-blue); }
.cart-sum .form-note, .cart-sum .sum-note { color: #e9eeff; }
.cart-go { display: grid; gap: 10px; padding: 20px; border-radius: var(--r); background: #fff; }
.cart-go .btn-lg { min-height: 56px; }
.cart-go .hint { margin: 2px 0 0; }
.kasse-shell { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 12px clamp(20px, 3vw, 44px); align-items: start; margin-top: 22px; padding-bottom: 72px; }
.kasse-shell > * { min-width: 0; }
.kasse-form { display: grid; gap: 12px; }
.kcard { min-width: 0; margin: 0; padding: clamp(18px, 2.6vw, 30px); border: 0; border-radius: var(--r); background: #fff; }
.kcard[hidden] { display: none; }
.kcard > legend { float: left; display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 18px; padding: 0; font-size: var(--fs-h); font-weight: 800; letter-spacing: -.02em; }
.kcard > legend + * { clear: both; }
.kn { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--k-blue); color: #fff; font-size: var(--fs-b); font-weight: 800; letter-spacing: 0; }
.kgrid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
@media (max-width: 560px) { .kgrid2 { grid-template-columns: minmax(0, 1fr); } }
.kcard .chips { margin-bottom: 14px; }
.kcard-intent .chips { margin-bottom: 8px; }
.kcard-intent .hint, .kcard > .hint { margin: 0; }
.pay-list { display: grid; gap: 10px; }
.pay-opt { display: grid; grid-template-columns: 22px 44px minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px 18px; border: 1.5px solid var(--line-strong); border-radius: var(--r); cursor: pointer; }
.pay-opt:has(input:checked) { border-color: var(--k-blue); background: #f2f5fe; }
.pay-opt[hidden], .pay-more[hidden] { display: none; }
.pay-opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--k-blue); }
.pay-i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--chip); color: var(--ink); }
.pay-i svg { width: 24px; height: 24px; }
.pay-opt:has(input:checked) .pay-i { background: var(--k-blue); color: #fff; }
.pay-more { margin-top: 14px; padding: 16px 18px; border-radius: var(--r); background: #f2f5fe; }
.pay-more .hint { margin: 0 0 12px; }
.pay-more .field:last-child { margin-bottom: 0; }
.opt { font-weight: 400; color: var(--muted); }
.ktrust { display: grid; gap: 8px; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: var(--fs-s); }
.ktrust li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; }
.ktrust svg { width: 20px; height: 20px; color: var(--brand-deep); stroke-width: 2.4; }
.khelp { margin: 0; padding: 14px 20px; border-radius: var(--r); background: #fff; font-size: var(--fs-s); }
.kcard-send .khelp { margin-top: 14px; padding: 0; }
.cart-more { margin-right: auto; font-size: var(--fs-s); font-weight: 650; color: var(--ink); }
.basket-row { border-radius: var(--r); }
.basket-row .b-img { display: grid; place-items: center; border-radius: var(--r); background: var(--tile); }
.basket-row .b-img img { mix-blend-mode: multiply; }
.thanks-order { max-width: 640px; margin: 22px 0 0; padding: 20px; border-radius: var(--r); background: #fff; text-align: left; }
.thanks-order h2 { margin-bottom: 12px; font-size: var(--fs-h); }
.to-sum { display: flex; justify-content: space-between; gap: 12px; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 650; }
.to-sum b { font-weight: 800; }
.to-pay { margin: 10px 0 0; font-size: var(--fs-s); color: var(--muted); }
.to-pay b { color: var(--ink); }
.pay-t b { display: block; font-weight: 800; }
.pay-t small { display: block; margin-top: 4px; font-size: var(--fs-s); line-height: 1.45; color: var(--muted); }
.kcard-send .btn { min-height: 56px; margin-top: 14px; font-size: var(--fs-m); }
.kasse-side { position: sticky; top: calc(var(--sticky) + 14px); display: grid; gap: 12px; }
.kside { padding: 20px; border-radius: var(--r); background: #fff; }
.kside h2 { margin-bottom: 12px; font-size: var(--fs-h); }
.kitem { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.kitem:first-child { padding-top: 0; border-top: 0; }
.k-img { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r); background: var(--tile); }
.k-img img { width: 46px; height: 46px; object-fit: contain; mix-blend-mode: multiply; }
.k-t b { display: block; font-size: var(--fs-s); font-weight: 650; line-height: 1.3; }
.k-t small { display: block; margin-top: 2px; font-size: var(--fs-xs); color: var(--muted); }
.k-p { font-size: var(--fs-b); font-weight: 800; white-space: nowrap; }
.kside-edit { margin: 12px 0 0; font-size: var(--fs-s); }
@media (max-width: 980px) {
  .kasse-shell { grid-template-columns: minmax(0, 1fr); padding-bottom: 40px; }
  .kasse-side { position: static; order: -1; }
}

/* ================================================================
   /komplett-restaurant/ – «Vi bygger hele restauranten» (23. november 2026)
   Ekte foto fra Unsplash som illustrasjon, kampanjefargene som hele flater.
   ================================================================ */
.kr-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #fff; }
.kr-hero-img { position: absolute; inset: 0; z-index: -2; }
.kr-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.kr-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 17, 21, .94) 0%, rgba(14, 17, 21, .82) 38%, rgba(14, 17, 21, .35) 72%, rgba(14, 17, 21, .2) 100%), linear-gradient(0deg, rgba(14, 17, 21, .55), transparent 40%); }
.kr-hero-in { padding-block: clamp(18px, 3vw, 30px) clamp(40px, 7vw, 88px); }
.kr-hero .crumbs ol { color: #b9c0c7; margin-bottom: clamp(20px, 4vw, 44px); }
.kr-hero .crumbs a:hover, .kr-hero .crumbs [aria-current] { color: #fff; }
.kr-chip { display: inline-flex; align-items: baseline; gap: 6px; margin: 0 0 16px; padding: 6px 12px 6px 10px; border-radius: 99px; background: var(--sun); color: var(--ink); font-size: var(--fs-s); font-weight: 650; }
.kr-chip b { font-size: var(--fs-m); font-weight: 800; letter-spacing: -.01em; }
.kr-hero h1 { max-width: 11ch; margin: 0; font-size: var(--fs-3xl); font-weight: 800; line-height: .98; letter-spacing: -.035em; text-wrap: balance; }
.kr-lead { max-width: 46ch; margin: 18px 0 0; font-size: clamp(1.0625rem, .95rem + .45vw, 1.3125rem); line-height: 1.45; color: #e3e7ea; }
.kr-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.kr-ctas .btn-wa .i-wa, .kr-end .btn-wa .i-wa { width: 22px; height: 22px; }
.kr-ghost { --b: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.kr-ghost:hover { --b: #fff; color: var(--ink); border-color: #fff; }
.kr-avail { display: flex; align-items: center; gap: 9px; margin: 18px 0 0; font-size: var(--fs-s); font-weight: 600; color: #dfe3e6; }
.kr-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(37, 211, 102, .22); }

.kr-facts-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-inline: 0; max-width: none; }
.kr-fact { display: grid; gap: 4px; align-content: center; min-height: 128px; padding: 22px clamp(16px, 2.4vw, 36px); }
.kr-fact b { font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.75rem); line-height: 1; font-weight: 800; letter-spacing: -.035em; }
.kr-fact span { font-size: var(--fs-b); font-weight: 600; line-height: 1.3; }
.kr-red { background: var(--k-red); color: #fff; } .kr-yellow { background: var(--k-yellow); color: var(--ink); }
.kr-blue { background: var(--k-blue); color: #fff; } .kr-ink { background: #232830; color: #fff; }
.kr-ink b { color: var(--sun); }

.kr-head { max-width: 760px; margin-bottom: clamp(22px, 3vw, 36px); }
.kr-kicker { margin: 0 0 8px; font-size: var(--fs-xs); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-deep); }
.kr-head h2 { margin: 0; font-size: var(--fs-2xl); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; }
.kr-head p:not(.kr-kicker) { margin: 12px 0 0; font-size: var(--fs-l); color: var(--muted); max-width: 60ch; }
.kr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; margin: 0; padding: 0; list-style: none; }
.kr-card { min-width: 0; }
.kr-card-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--rk); background: var(--tile); }
.kr-card-img img { width: 100%; height: 100%; object-fit: cover; }
.kr-num { position: absolute; top: 12px; left: 12px; display: grid; place-items: center; min-width: 38px; height: 30px; padding: 0 8px; border-radius: 99px; background: var(--sun); color: var(--ink); font-size: var(--fs-s); font-weight: 800; font-variant-numeric: tabular-nums; }
.kr-card h3 { margin: 14px 0 4px; font-size: var(--fs-h); font-weight: 800; letter-spacing: -.015em; }
.kr-card p { margin: 0; color: var(--muted); max-width: 42ch; }
.kr-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 700; color: var(--brand-deep); text-decoration: none; }
.kr-more svg { width: 16px; height: 16px; }
.kr-more:hover { text-decoration: underline; text-underline-offset: 3px; }

.kr-steps { background: #fff; border-block: 1px solid var(--line); }
.kr-step-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.kr-step-list li { position: relative; padding: 22px 20px 24px; border-radius: var(--rk); background: var(--paper); }
.kr-sn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--sun); font-size: var(--fs-l); font-weight: 800; }
.kr-step-list h3 { margin: 16px 0 6px; font-size: var(--fs-l); font-weight: 800; letter-spacing: -.01em; }
.kr-step-list p { margin: 0; color: var(--muted); font-size: var(--fs-b); }

.kr-who .kbiz { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.kr-end { background: var(--navy); color: #fff; }
.kr-end-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 28px 48px; align-items: center; padding-block: clamp(40px, 6vw, 80px); }
.kr-end h2 { margin: 0; font-size: var(--fs-2xl); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; max-width: 18ch; }
.kr-end p { margin: 14px 0 0; font-size: var(--fs-l); color: #d4d9de; }
.kr-end-act { display: grid; gap: 10px; }
.kr-end .kr-call { margin: 4px 0 0; text-align: center; font-size: var(--fs-b); }
.kr-end .kr-call a { color: #fff; font-weight: 700; }
.kr-end :focus-visible, .kr-hero :focus-visible { outline-color: var(--sun); }
.kr-note { margin-top: 14px; margin-bottom: 0; font-size: var(--fs-xs); color: var(--faint); }

@media (max-width: 1080px) {
  .kr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kr-step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kr-facts-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .kr-hero::before { background: linear-gradient(0deg, rgba(14, 17, 21, .96) 0%, rgba(14, 17, 21, .86) 55%, rgba(14, 17, 21, .55) 100%); }
  .kr-hero h1 { max-width: 12ch; }
  .kr-ctas .btn { flex: 1 1 100%; }
  .kr-fact { min-height: 0; padding: 18px 16px; }
  .kr-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .kr-step-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .kr-step-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; padding: 16px; }
  .kr-step-list li h3 { margin: 0 0 4px; align-self: end; }
  .kr-step-list li p { grid-column: 2; }
  .kr-step-list li .kr-sn { grid-row: span 2; }
  .kr-who .kbiz { grid-template-columns: none; }
  .kr-end-in { grid-template-columns: minmax(0, 1fr); }
}
/* the owner's PC (about 1280 × 585): heading and both buttons on the first screen */
@media (min-width: 981px) and (max-height: 800px) {
  .kr-hero-in { padding-block: 14px 44px; }
  .kr-hero .crumbs ol { margin-bottom: 18px; }
  .kr-hero h1 { font-size: clamp(2.5rem, 1.4rem + 3.2vw, 3.75rem); }
  .kr-lead { margin-top: 12px; }
  .kr-ctas { margin-top: 18px; }
  .kr-avail { margin-top: 12px; }
}

/* Kontaktsiden: selgerne (data/site.json → team). Ekte bilder, runde, med navn og rolle. */
.team { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.team li { display: flex; align-items: center; gap: 12px; }
.team img { width: 64px; height: 64px; flex: none; border-radius: 50%; object-fit: cover; background: var(--chip); }
.team b { display: block; font-weight: 650; }
.team small { display: block; color: var(--muted); font-size: var(--fs-s); }

/* Telefon: lavere topp (eieren 24. november 2026: «toppen er litt for stor»). Toppfelt, logo, søk og avdelingsstripen
   tar mindre plass, og det røde feltet er lavere, uten å gjøre trykkflatene mindre enn 44 px. */
@media (max-width: 600px) {
  .topbar .wrap { min-height: 30px; }
  .hdr { min-height: 50px; }
  .site-header .logo { height: 50px; }
  .site-header .logo img.lm { width: 32px; height: 32px; }
  .site-header .logo img.lw { height: clamp(26px, 8.6vw, 34px); }
  .hdr-link { min-height: 44px; }
  .hdr-link svg { width: 24px; height: 24px; }
  .m-search { padding-bottom: 10px; }
  .m-search button { height: 44px; font-size: var(--fs-b); }
  .m-search svg { width: 21px; height: 21px; }
  .kstrip ul { padding: 6px var(--gutter) 4px; }
  .kstrip li { flex: 0 0 auto; }
  .kstrip a { padding-inline: 10px; }
  .ks-t { white-space: nowrap; }
  .kstrip a { gap: 3px; }
  .ks-img { width: 34px; height: 34px; }
  .khero { padding-block: 10px 4px; }
  .kh-main { padding: 20px 18px 0; }
  .kh-main h1 { font-size: clamp(1.9rem, 1rem + 4.2vw, 2.5rem); }
  .kh-main p { margin: 10px 0 16px; font-size: var(--fs-b); }
  .kh-main .btn-lg { min-height: 48px; }
  .kh-prod { height: 118px; margin-top: 14px; }
  .kh-burst { width: 64px; right: 12px; top: 12px; }
  .kh-burst b { font-size: 1.05rem; }
  .kh-s { min-height: 132px; padding: 16px; }
  .kh-s b { font-size: clamp(1.25rem, .9rem + 1.6vw, 1.5rem); line-height: 1.05; }
}

/* produktvideo (data/videos.json): bildet med avspillingsknapp byttes med YouTube-spilleren først når kunden trykker */
.pdp-videos { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.yt { margin: 0; }
.yt-play, .yt iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r); background: #000; overflow: hidden; padding: 0; cursor: pointer; }
.yt-play img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: opacity .2s var(--ease); }
.yt-btn { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; translate: -50% -50%; border-radius: 12px; background: rgba(23, 27, 33, .86); }
.yt-btn::after { content: ""; position: absolute; left: 50%; top: 50%; translate: -35% -50%; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.yt-play:hover img { opacity: 1; }
.yt-play:hover .yt-btn, .yt-play:focus-visible .yt-btn { background: #e00; }
.yt figcaption { margin-top: 8px; font-size: var(--fs-s); color: var(--muted); }

/* ny logo (24. november 2026): TP-merket og TOTALPAC i én fil, bredere enn den gamle */
.site-header .logo img.lw { height: 40px; }
@media (max-width: 980px) { .site-header .logo img.lw { height: clamp(26px, 8.6vw, 36px); } }
@media (max-width: 600px) { .site-header .logo img.lw { height: clamp(26px, 8.6vw, 34px); } }
@media (max-width: 359px) { .site-header .logo img.lw { height: 24px; } }

/* ---------- Handlekurven (27. november 2026, etter Mobbin: Nike, Zalando, Etsy, Instacart) ----------
   Én hvit liste, ett hvitt sammendrag med alle linjene i summen, én hovedknapp, og på telefon en linje nederst med
   summen og den samme knappen. */
.kurv .kurv-head { display: flex; align-items: baseline; gap: 12px; }
.kurv .kurv-head h1 { font-size: var(--fs-xl); }
.kurv .cart-shell { grid-template-columns: minmax(0, 1fr) 380px; margin-top: 16px; }
.kurv .cart-side { position: sticky; top: calc(var(--sticky) + 12px); gap: 10px; }
.kurv-frakt { margin: 0 0 10px; padding: 14px 16px; border-radius: 6px; background: #fff; font-size: var(--fs-b); }
.kurv-frakt p { margin: 0 0 9px; }
.kf-bar { display: block; height: 6px; border-radius: 3px; background: var(--chip); overflow: hidden; }
.kf-bar i { display: block; height: 100%; border-radius: 3px; background: var(--brand); transition: width .35s var(--ease); }
.kurv-list { border-radius: 6px; background: #fff; overflow: hidden; }
.kurv .basket-row { margin: 0; padding: 16px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; background: none; grid-template-columns: 88px minmax(0, 1fr) auto 104px 44px; }
.kurv .basket-row:last-child { border-bottom: 0; }
.kurv .basket-row .b-img { display: block; border-radius: 6px; background: var(--tile); }
.kurv .basket-row .b-img img { mix-blend-mode: multiply; padding: 6px; }
.kurv .basket-row .t a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 650; }
.kurv .basket-row .t .b-unit { margin-top: 5px; font-weight: 500; }
.kurv .basket-row .b-stor { border-radius: 4px; }
.kurv .basket-row .b-why { display: inline-block; width: fit-content; margin-top: 6px; padding: 2px 7px; border-radius: 4px; background: var(--chip); color: var(--ink); font-size: var(--fs-xs); font-weight: 650; }
.kurv .basket-row .qty { height: 40px; width: 116px; border-radius: 20px; border: 1px solid var(--line-strong); overflow: hidden; background: #fff; }
.kurv .basket-row .qty button { width: 38px; border: 0; background: none; font-size: 18px; }
.kurv .basket-row .qty input { border: 0; text-align: center; background: none; font-weight: 650; }
.kurv .basket-row .lt { font-size: var(--fs-l); }
.kurv .cart-tools { justify-content: flex-start; margin: 4px 0 18px; }
.kurv .cart-tools .cart-more { margin-right: auto; display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; font-size: var(--fs-s); }
.kurv .cart-sum { padding: 20px; border-radius: 6px; background: #fff; color: var(--ink); }
.kurv .cart-sum h2 { font-size: var(--fs-l); margin-bottom: 12px; }
.kurv .sum div { color: var(--muted); }
.kurv .sum dd { color: var(--ink); }
.kurv .sum .grand { border-top-color: var(--line); color: var(--ink); font-size: var(--fs-h); }
.kurv .sum .grand dd { font-weight: 800; }
.kurv .cart-sum .form-note { color: var(--muted); font-size: var(--fs-s); }
.kurv .cart-sum .sum-note { color: var(--warn-ink); }
.kurv .cart-go { padding: 16px; border-radius: 6px; gap: 8px; }
.kurv .cart-go .btn-lg { min-height: 54px; border-radius: 6px; font-size: var(--fs-l); }
.kurv-pay { display: flex; justify-content: center; gap: 10px; }
.kurv-pay b { font-weight: 800; }
.kurv-pay b:empty { display: none; }
.kurv-pay b::before { content: "·"; margin-right: 10px; font-weight: 400; }
.kurv-cards { margin: 0 0 6px; text-align: center; color: var(--muted); font-size: var(--fs-xs); }
.kurv-quote { justify-self: center; display: inline-flex; align-items: center; min-height: 40px; font-weight: 650; font-size: var(--fs-s); }
.kurv-why { margin: 2px 0 0; padding: 10px 12px; border-radius: 6px; background: var(--paper); font-size: var(--fs-s); }
.kurv .cart-go .hint { margin: 0; color: var(--muted); font-size: var(--fs-s); text-align: center; }
.kurv-trust { display: grid; gap: 8px; margin: 0; padding: 14px 16px; border-radius: 6px; background: #fff; list-style: none; font-size: var(--fs-s); }
.kurv-trust li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; }
.kurv-trust svg { width: 18px; height: 18px; color: var(--brand-deep); stroke-width: 2.4; }
.kurv .quick-order { border-radius: 6px; padding: 18px 16px; }
.kurv .quick-order h2 { font-size: var(--fs-m); margin-bottom: 10px; }
.kurv-bar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(17, 22, 19, .25); }
.kurv-bar span { display: grid; line-height: 1.2; }
.kurv-bar small { color: var(--muted); font-size: var(--fs-xs); }
.kurv-bar b { font-size: var(--fs-l); font-weight: 800; }
.kurv-bar .btn { min-height: 48px; padding-inline: 22px; border-radius: 6px; }
@media (max-width: 900px) {
  .kurv .cart-shell { grid-template-columns: minmax(0, 1fr); }
  .kurv .cart-side { position: static; }
}
@media (max-width: 640px) {
  .kurv .basket-row { grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "img t rm" "img qty lt"; gap: 8px 12px; padding: 14px 12px; }
  .kurv .basket-row .b-img img { width: 72px; height: 72px; }
  .kurv .basket-row .rm { width: 40px; height: 40px; }
  .kurv .basket-row .lt { align-self: center; text-align: right; }
}
body:has(.kurv-bar:not([hidden])) .wa-fab { bottom: calc(88px + env(safe-area-inset-bottom)); }
.kurv .cart-shell { row-gap: 0; }
.kurv .cart-tools { margin-bottom: 14px; }
body:has(.kurv) .wa-fab { display: none; }
/* Kassen: betal nå øverst når hele kurven kan betales (27. november 2026) */
.kasse-pay { display: grid; gap: 12px; margin-bottom: 14px; padding: 20px; border-radius: 6px; background: #fff; }
.kasse-pay h2 { font-size: var(--fs-h); }
.kp-ways { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.kp-ways span { padding: 3px 9px; border-radius: 4px; background: var(--paper); color: var(--muted); font-size: var(--fs-xs); font-weight: 650; }
.kasse-pay .btn-lg { min-height: 54px; border-radius: 6px; font-size: var(--fs-l); }
.kasse-pay .hint { margin: 0; color: var(--muted); font-size: var(--fs-s); }
.kasse-or { display: flex; align-items: center; gap: 12px; margin: 8px 0 0; color: var(--muted); font-size: var(--fs-s); font-weight: 650; }
.kasse-or::before, .kasse-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
body:has(#checkout-page) .wa-fab { display: none; }
/* Kassen, steg 3: «Kort, Vipps eller Klarna» først (27. november 2026) */
.pay-nett .kp-ways { margin-top: 8px; }
.pay-t .kp-ways span { padding: 2px 7px; }
.pay-opt.is-off { opacity: .55; cursor: not-allowed; }
.pay-nett-why { display: block; margin-top: 10px; padding: 8px 10px; border-radius: 6px; background: var(--warn-bg); color: var(--warn-ink); font-size: var(--fs-s); font-weight: 650; }
.pay-opt.is-off:has(.pay-nett-why:not([hidden])) { opacity: 1; }
.pay-opt.is-off .pay-t > b:first-child, .pay-opt.is-off .pay-t > small, .pay-opt.is-off .kp-ways, .pay-opt.is-off .pay-i { opacity: .5; }

/* Telefon, listesider (28. november 2026): produktene høyere opp. Antallet står allerede i raden med «Filtrer», og
   teksten om kategorien er kortet til to linjer (hele teksten ligger fortsatt i siden). */
@media (max-width: 760px) {
  body:not(.theme-gt):has(#p-count) .list-head .list-n { display: none; }
  body:not(.theme-gt):has(#p-count) .list-head .list-intro { margin-top: 8px; font-size: var(--fs-b); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

/* Enklere kjøp (28. november 2026, eieren: «for mye farger, for mye tekst, knapper her og der»): produktsiden har én
   kolonne under kjøpsboksen, tekniske data er foldet sammen bak nøkkeldataene, og merkene er nøytrale. */
.pdp-sections.pdp-one { grid-template-columns: minmax(0, 1fr); }
.spec-fold > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; padding: 16px 18px; background: #fff; }
.spec-fold > summary::-webkit-details-marker { display: none; }
.spec-fold > summary h2 { margin: 0; font-size: var(--fs-l); }
.spec-fold > summary svg { width: 20px; height: 20px; flex: none; transition: transform .2s var(--ease); }
.spec-fold[open] > summary svg { transform: rotate(180deg); }
.spec-fold[open] > summary { margin-bottom: 12px; }
.p-card .badge, .buy .meta .badge { background: #fff; color: var(--ink); border: 1px solid var(--line); font-weight: 650; }
.buy .meta .tag-req { background: var(--chip); color: var(--ink); }
.buy .meta { margin-top: 8px; }

/* ===== Forsiden «alo» (eierens «Nydelig legg ut», 28. november 2026). Skissen: docs/research/alo-retning/.
   Hvit side, farge fra ekte foto, én grønn stripe øverst, runde «stories», varerader og videoer. Gjelder bare
   body.home-alo, og den grønne toppstripen gjelder hele totalpacc.no (ikke gastroteam.no). ===== */
body:not(.theme-gt) .topbar { background: #2c6e1b; }
body:not(.theme-gt) .topbar a { color: #fff; }
body:not(.theme-gt) .topbar .tb-promo, body:not(.theme-gt) .topbar .tb-promo:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
body:not(.theme-gt) .topbar .tb-wa svg { color: #fff; }
body.home-alo { background: #fff; }
.alo { --a-gut: 12px; --a-ink: #171b21; --a-tile: #f3f1ee; overflow: hidden; }
.alo h2 { letter-spacing: -.01em; }
.a-eye { margin: 0; font-size: 12px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.a-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; font: 700 13px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border-radius: 2px; }
.a-btn-w { background: #fff; color: var(--a-ink); }
.a-btn-k { background: var(--a-ink); color: #fff; }
.a-btn:hover { filter: brightness(.94); }
.a-link { font-weight: 650; text-underline-offset: 3px; }
.a-sech { text-align: center; font-size: 22px; font-weight: 700; text-transform: uppercase; margin: 0 0 16px; padding: 0 var(--a-gut); }

/* appstripe */
.appbar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #f6f6f4; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--a-ink); }
.appbar img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.appbar span { flex: 1; min-width: 0; }
.appbar b { display: block; font-size: 14px; font-weight: 650; }
.appbar small { display: block; font-size: 12px; color: var(--muted); }
.appbar i { font-style: normal; font-size: 14px; font-weight: 700; color: #fff; background: #0a84ff; border-radius: 999px; padding: 6px 16px; }

/* stories */
.stories { display: flex; gap: 14px; overflow-x: auto; padding: 14px var(--a-gut) 16px; scrollbar-width: none; }
.stories::-webkit-scrollbar, .ar-row::-webkit-scrollbar { display: none; }
.stories a { flex: 0 0 72px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--a-ink); }
.st-ring { width: 72px; height: 72px; border-radius: 50%; padding: 3px; border: 2px solid #55c20c; display: block; }
.st-img { position: relative; display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: var(--a-tile); }
.st-img img { width: 100%; height: 100%; object-fit: cover; }
.st-prod img { position: absolute; inset: 0; object-fit: contain; padding: 9px; mix-blend-mode: multiply; }
.st-t { font-size: 12px; font-weight: 500; text-align: center; line-height: 1.2; }

/* toppbilde */
.ah { position: relative; height: 540px; overflow: hidden; color: #fff; }
.ah-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.ah::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.58) 100%); }
.ah-tick { position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 30px; overflow: hidden; white-space: nowrap; background: rgba(44,110,27,.93); }
.ah-tick span { display: inline-block; font-size: 11px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; line-height: 30px; }
.ah-txt { position: absolute; z-index: 2; left: 0; right: 0; bottom: 36px; text-align: center; padding: 0 20px; }
.ah h1 { color: #fff; font-size: 42px; line-height: 1.02; font-weight: 700; letter-spacing: -.02em; margin: 8px 0; }
.ah-sub { max-width: 30ch; margin: 0 auto 20px; font-size: 15px; opacity: .94; }

/* bildefliser */
.at-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 28px var(--a-gut) 8px; }
.at { text-decoration: none; color: var(--a-ink); }
.at-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--a-tile); }
.at-img img { width: 100%; height: 100%; object-fit: cover; }
.a-lbl { display: block; text-align: center; font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; padding: 10px 0 12px; }

/* varerader */
.ar { padding: 28px 0 8px; }
.ar-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 var(--a-gut) 14px; }
.ar-h h2, .ak .a-sech { font-size: 22px; font-weight: 700; text-transform: uppercase; margin: 0; }
.ar-h a { font-size: 13px; color: inherit; text-underline-offset: 3px; white-space: nowrap; }
.ar-sub { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.ar-row { display: flex; gap: 10px; overflow-x: auto; padding: 0 var(--a-gut) 6px; scroll-snap-type: x mandatory; scroll-padding-inline: var(--a-gut); scrollbar-width: none; }
.ar-row > * { scroll-snap-align: start; }
.alo .ar-row .p-card { flex: 0 0 44%; padding: 0; background: none; container-type: inline-size; }
.alo .ar-row .p-card .img { aspect-ratio: 4 / 5; background: var(--a-tile); margin-bottom: 10px; }
.alo .ar-row .p-card .img img { padding: 14px; mix-blend-mode: multiply; }
.alo .ar-row .p-card .brand .num, .alo .ar-row .p-card .keyspecs { display: none; }
.alo .ar-row .p-card .brand { order: 2; }
.alo .ar-row .p-card h3 { order: 1; font-size: 14px; -webkit-line-clamp: 2; }
.alo .ar-row .p-card .body { gap: 2px; }
.alo .ar-row .p-card .foot { order: 3; padding-top: 2px; }
.alo .ar-row .p-card .foot .add { position: absolute; right: 8px; top: calc(125cqw - 44px); width: 36px; min-height: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-size: 0; }
.alo .ar-row .p-card .foot .add::before { content: "+"; display: block; width: auto; height: auto; background: none; -webkit-mask: none; mask: none; font-size: 24px; font-weight: 500; line-height: 1; }
.alo .ar-row .p-card .foot .add.added::before { content: "✓"; font-size: 18px; }
.alo .ar-row .p-card .price-alt { display: none; }
.alo .ar-row .p-card .badge { left: 8px; top: 8px; }

/* videoer */
.av { background: var(--a-ink); color: #fff; margin-top: 36px; padding: 28px 0 24px; }
.av .ar-sub { color: #aab0b6; }
.av-c { position: relative; flex: 0 0 46%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 2px; background: #000; color: #fff; text-decoration: none; }
.av-c img { width: 100%; height: 100%; object-fit: cover; }
.av-c::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.8) 100%); }
.av-play { position: absolute; z-index: 2; left: 10px; top: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92); }
.av-play::before { content: ""; position: absolute; left: 13px; top: 10px; border-left: 11px solid var(--a-ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.av-src { position: absolute; z-index: 2; right: 10px; top: 16px; font-size: 11px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.av-t { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 10px; display: grid; gap: 3px; }
.av-t b { font-size: 13px; line-height: 1.25; font-weight: 650; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.av-t .price, .av-t .price-ask { color: #fff; font-size: 13px; }
.av-t .price small { color: #d5d8dc; }
.av-t .price-alt { display: none; }

/* Vi bygger hele restauranten */
.as { display: grid; margin-top: 28px; }
.as-img { aspect-ratio: 4 / 5; overflow: hidden; }
.as-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.as-txt { background: #e4d6c3; padding: 32px 22px 36px; text-align: center; }
.as-txt h2 { font-size: 32px; line-height: 1.05; font-weight: 700; margin: 8px 0 12px; }
.as-txt p:not(.a-eye) { max-width: 34ch; margin: 0 auto 22px; color: #3a3530; }

/* appen */
.aa { display: grid; background: #13213a; color: #fff; padding: 32px 0 0; overflow: hidden; }
.aa-txt { text-align: center; padding: 0 20px 26px; }
.aa h2 { color: #fff; font-size: 32px; line-height: 1.05; font-weight: 700; margin: 8px 0 10px; }
.aa-txt p:not(.a-eye) { color: #cfd6e2; max-width: 34ch; margin: 0 auto 20px; }
.as-badge { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; border: 1px solid #a6a6a6; border-radius: 9px; padding: 7px 16px 7px 12px; text-decoration: none; }
.as-badge svg { width: 22px; height: 26px; }
.as-badge span { display: flex; flex-direction: column; text-align: left; font-size: 19px; font-weight: 650; line-height: 1.05; }
.as-badge small { font-size: 11px; font-weight: 400; }
.aa-shots { display: flex; justify-content: center; align-items: flex-end; gap: 10px; padding: 0 12px; height: 330px; overflow: hidden; }
.aa-shots img { width: 31%; max-width: 210px; height: auto; border-radius: 14px 14px 0 0; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.aa-shots img:nth-child(2) { transform: translateY(-24px); }

/* Alt til pizzeriaen */
.al { display: grid; margin-top: 36px; }
.al-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.al-img img { width: 100%; height: 100%; object-fit: cover; }
.al-tag { position: absolute; left: 12px; bottom: 12px; background: #fff; font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; }
.al-txt { background: #f6e7dc; padding: 24px 16px 26px; }
.al-txt .a-eye { color: var(--muted); }
.al-txt h2 { font-size: 28px; line-height: 1.05; font-weight: 700; margin: 6px 0 4px; }
.al-sub { color: #4a4440; margin: 0 0 14px; }
.al-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.al-list li { display: flex; align-items: center; gap: 12px; background: #fff; padding: 8px 10px 8px 8px; }
.al-list a { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; text-decoration: none; color: var(--a-ink); }
.al-pi { position: relative; flex: none; width: 60px; height: 60px; background: var(--a-tile); }
.al-pi img { position: absolute; inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); object-fit: contain; mix-blend-mode: multiply; }
.al-pt { min-width: 0; display: grid; gap: 2px; }
.al-pt b { font-size: 14px; font-weight: 650; line-height: 1.25; }
.al-pt .price { font-size: 13px; }
.al-pt .price-alt { display: none; }
.add-round { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--brand); color: var(--on-brand); font: 500 24px/1 var(--font); cursor: pointer; }
.add-round:hover { background: var(--brand-hover); }

/* handle etter kjøkken */
.ak { padding: 36px 0 8px; }
.ak-c { flex: 0 0 72%; color: #fff; text-decoration: none; display: flex; flex-direction: column; }
.ak-img { display: block; aspect-ratio: 1; overflow: hidden; }
.ak-img img { width: 100%; height: 100%; object-fit: cover; }
.ak-p { flex: 1; display: block; padding: 16px 16px 18px; }
.ak-p b { display: block; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.ak-p span { display: block; font-size: 13px; line-height: 1.4; opacity: .92; margin-bottom: 10px; }
.ak-p u { font-size: 13px; font-weight: 650; text-underline-offset: 3px; }

/* kjøpeguider */
.ag { flex: 0 0 72%; background: var(--gc); display: flex; flex-direction: column; text-decoration: none; color: var(--a-ink); }
.ag-img { position: relative; display: block; flex: none; aspect-ratio: 4 / 3; overflow: hidden; }
.ag-img img { position: absolute; inset: 18px 24px 4px; width: calc(100% - 48px); height: calc(100% - 22px); object-fit: contain; mix-blend-mode: multiply; }
.ag-t { display: block; padding: 6px 16px 18px; }
.ag-t b { display: block; font-size: 17px; line-height: 1.2; font-weight: 700; margin-bottom: 6px; }
.ag-t span { display: block; font-size: 13px; line-height: 1.4; color: #3d3a36; margin-bottom: 10px; }
.ag-t u { font-size: 13px; font-weight: 650; text-underline-offset: 3px; }

/* hjelp med selgerne */
.ahp { position: relative; margin-top: 36px; min-height: 560px; color: #fff; overflow: hidden; display: grid; }
.ahp-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ahp::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.ahp-txt { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 22px; }
.ahp h2 { color: #fff; font-size: 32px; line-height: 1.05; font-weight: 700; margin: 0; }
.ahp p { margin: 10px 0 20px; }
.ahp-team { display: flex; gap: 14px; justify-content: center; margin-bottom: 20px; }
.ahp-team span { display: flex; flex-direction: column; align-items: center; width: 96px; }
.ahp-team img { width: 64px; height: 64px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; margin-bottom: 6px; }
.ahp-team b { font-size: 14px; }
.ahp-team small { font-size: 11px; line-height: 1.25; opacity: .92; }
.ahp-wa { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: #fff; font-size: 14px; }
.ahp-wa svg { width: 18px; height: 18px; }
.alo :focus-visible { outline-color: #fff; }
.alo .ar :focus-visible, .alo .al :focus-visible, .alo .stories :focus-visible, .alo .at :focus-visible, .alo .appbar:focus-visible { outline-color: var(--brand-deep); }

@media (min-width: 900px) {
  .alo { --a-gut: 28px; }
  .appbar { justify-content: center; padding: 8px 28px; }
  .appbar span { flex: 0 1 auto; }
  .stories { justify-content: center; gap: 20px; padding: 12px var(--a-gut) 14px; }
  .stories a { flex-basis: 70px; }
  .st-ring { width: 66px; height: 66px; }
  .st-t { font-size: 12.5px; }
  .ah { height: 600px; }
  .ah-img img { object-position: 50% 45%; }
  .ah::after { background: linear-gradient(90deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.5) 100%); }
  .ah-txt { left: auto; right: 8%; bottom: auto; top: 44%; transform: translateY(-50%); width: 520px; padding: 0; }
  .ah h1 { font-size: 64px; }
  .ah-sub { max-width: none; }
  .at-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 40px var(--a-gut) 8px; }
  .at-img { aspect-ratio: 4 / 4.4; }
  .ar { padding: 40px 0 8px; }
  .ar-row { gap: 16px; }
  .alo .ar-row .p-card { flex-basis: calc((100% - 80px) / 6); }
  .av { margin-top: 48px; padding: 40px 0 32px; }
  .av-c { flex-basis: calc((100% - 80px) / 6); }
  .as { grid-template-columns: 1fr 1fr; margin-top: 48px; }
  .as-img { aspect-ratio: auto; height: 560px; }
  .as-txt { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 64px; }
  .as-txt h2 { font-size: 48px; }
  .aa { grid-template-columns: 1fr 1.1fr; align-items: center; padding: 0; height: 520px; }
  .aa-txt { text-align: left; padding: 0 56px 0 96px; }
  .aa-txt p:not(.a-eye) { margin: 0 0 24px; }
  .aa h2 { font-size: 48px; }
  .aa-shots { height: 520px; padding: 48px 48px 0; gap: 18px; }
  .aa-shots img { max-width: 230px; }
  .al { grid-template-columns: 1.1fr 1fr; margin-top: 48px; }
  .al-img { aspect-ratio: auto; height: 600px; }
  .al-txt { padding: 48px 56px; display: flex; flex-direction: column; justify-content: center; }
  .al-txt h2 { font-size: 44px; }
  .ak { padding: 48px 0 8px; }
  .ak-c { flex-basis: calc((100% - 64px) / 5); }
  .ag { flex-basis: calc((100% - 64px) / 5); }
  .ahp { margin-top: 48px; }
  .ahp h2 { font-size: 48px; }
  .ahp-team span { width: 120px; }
  .ahp-team img { width: 80px; height: 80px; }
}
@media (prefers-reduced-motion: reduce) { .alo * { scroll-behavior: auto; } }
/* «alo» på PC: appen står i toppstripen (også på 1280 px, der Hurtigbestilling og FINN-lenken viker), og på lave
   skjermer (eierens 1280 × 585) er stories mindre og overskriften høyere opp, så «Se produkter» står på første skjerm */
@media (min-width: 981px) { body:not(.theme-gt) .topbar .tb-promo.tb-app { display: inline-flex; } }
@media (min-width: 981px) and (max-width: 1339px) { body:not(.theme-gt) .topbar .topbar-right a[href="/handlekurv/#hurtig"], body:not(.theme-gt) .topbar .topbar-right .tb-ext { display: none; } }
@media (min-width: 900px) { .appbar { display: none; } }
@media (min-width: 900px) and (max-height: 800px) {
  .stories { padding: 8px var(--a-gut) 10px; gap: 18px; }
  .stories a { flex-basis: 62px; gap: 4px; }
  .st-ring { width: 56px; height: 56px; padding: 2px; }
  .st-t { font-size: 12px; }
  .ah { height: 520px; }
  .ah-txt { top: 54px; transform: none; }
}

/* Bransjesidene: utstyrsliste med prisspenn (SEO-oppdraget 2. desember 2026) */
.seg-list .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line, #e3e5e8); border-radius: 6px; }
.seg-table { width: 100%; border-collapse: collapse; font-size: var(--fs-s, .92rem); }
.seg-table th, .seg-table td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line, #e3e5e8); vertical-align: top; }
.seg-table thead th { background: var(--tile, #f4f5f6); font-weight: 600; white-space: nowrap; }
.seg-table tbody tr:last-child th, .seg-table tbody tr:last-child td { border-bottom: 0; }
.seg-table td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.seg-table th a { font-weight: 600; }
@media (max-width: 640px) { .seg-table td:nth-child(2) { min-width: 14rem; } }
.seg-others .chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.seg-list p.mt-s { display: flex; flex-wrap: wrap; gap: .6rem; }
/* Verktøy (/verktoy/) */
.vk .vk-n { width: 5rem; padding: .35rem .5rem; border: 1px solid var(--line, #d7dadf); border-radius: 6px; font: inherit; }
.vk .vk-out { margin: 1rem 0; font-size: var(--fs-b, 1rem); }
.vk-form { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: end; margin-bottom: .5rem; }
.vk-form label { display: flex; flex-direction: column; gap: .3rem; font-weight: 600; font-size: var(--fs-s, .92rem); }
.vk-form select { padding: .45rem .6rem; border: 1px solid var(--line, #d7dadf); border-radius: 6px; font: inherit; font-weight: 400; min-width: 11rem; }
.vk-form .vk-check { flex-direction: row; align-items: center; font-weight: 400; }
/* Spørsmål og svar på kategorisidene (regnet ut av katalogen) */
.cat-faq h2 { font-size: var(--fs-l, 1.25rem); margin: 0 0 .8rem; }
.cat-faq .qa { display: grid; gap: .2rem; margin: 0; }
.cat-faq .qa > div { padding: .8rem 0; border-top: 1px solid var(--line, #e3e5e8); }
.cat-faq dt { font-weight: 700; margin-bottom: .25rem; }
.cat-faq dd { margin: 0; color: var(--ink-2, #3b414b); max-width: 70ch; }

/* Produktbildene på hvitt (eieren 2. desember 2026: «product bildene kanskje litt mer hvit», godkjent samme kveld).
   Bildeflaten bak varene (kort, kategorifliser, produktsiden, handlekurven) er hvit i stedet for den dempede grå.
   Forsiden er ikke endret («ikke rør hjemmesida»), og gastroteam.no er ikke endret. */
body:not(.theme-gt):not(.home) { --tile: #fff; }
body:not(.theme-gt):not(.home) .seg-table thead th { background: var(--paper); }

/* Toppbildet på forsiden (eieren 2. desember 2026: «Dette er home hero», i stedet for kokken fra Unsplash).
   Bildet står på høykant, så på PC står det i høyre halvdel og teksten på en mørk flate til venstre; ellers er
   toppen som før (samme tekst, knapp og grønn stripe). På telefon fyller bildet toppen som før. */
@media (min-width: 900px) {
  .ah:has(img[src*="forside-totalpac"]) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #141619; }
  .ah:has(img[src*="forside-totalpac"])::after { display: none; }
  .ah:has(img[src*="forside-totalpac"]) .ah-img { position: relative; grid-column: 2; grid-row: 1; }
  .ah-img img[src*="forside-totalpac"] { object-position: 50% 16%; }
  .ah:has(img[src*="forside-totalpac"]) .ah-txt { position: relative; grid-column: 1; grid-row: 1; align-self: center; inset: auto; width: auto; transform: none; padding: 30px 48px 0; }
}
@media (min-width: 900px) and (max-height: 800px) {
  .ah:has(img[src*="forside-totalpac"]) .ah-txt { align-self: start; padding-top: 72px; }
}

/* Om oss: Totalpacs egne bilder (butikken, et kjøkken under bygging og service på en kjølebenk), sendt av eieren 2. desember 2026 */
.om-foto { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.om-foto figure { position: relative; margin: 0; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 3; background: var(--tile); }
.om-foto figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.om-foto .om-foto-a { grid-column: 1 / -1; }
.om-foto .om-foto-a img { object-position: 50% 0; }
@media (min-width: 900px) {
  .om-foto { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .om-foto .om-foto-a { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: auto; min-height: 420px; }
  .om-foto figure:not(.om-foto-a) { aspect-ratio: auto; }
  /* fem bilder: det store til venstre og fire små i to rader til høyre */
  .om-foto:has(figure:nth-child(5)) { grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, .7fr)); }
  .om-foto:has(figure:nth-child(5)) .om-foto-a { min-height: 460px; }
}

/* Appen på forsiden: de tre skjermbildene bytter plass i 3D (eieren 2. desember 2026: «motion 3d som nesten film men
   ikke film, at de bytter hvem som er topp og forskjellige sider hver gang»). Ren CSS-animasjon med transform og
   opacity, så den går utenom hovedtråden. Hvert bilde står 2,4 s og flytter seg på 0,9 s: midten går til høyre,
   høyre går bak til venstre, venstre kommer fram i midten. Stopper når musa er over, og står stille ved redusert bevegelse. */
.aa-shots { position: relative; display: block; perspective: 1100px; }
.aa-stage { position: absolute; inset: 0; transform-style: preserve-3d; }
.aa-stage img { position: absolute; left: 50%; bottom: 0; transform-origin: 50% 100%; backface-visibility: hidden; will-change: transform, opacity;
  animation: aa-bytt 9.9s cubic-bezier(0.77, 0, 0.175, 1) infinite both; }
.aa-stage img:nth-child(1) { animation-delay: -6.6s; }
.aa-stage img:nth-child(2) { animation-delay: 0s; }
.aa-stage img:nth-child(3) { animation-delay: -3.3s; }
@keyframes aa-bytt {
  0%, 24.24% { transform: translate3d(-50%, -24px, 60px) rotateY(0deg) scale(1); opacity: 1; }
  33.33%, 57.58% { transform: translate3d(44%, 0, -90px) rotateY(-24deg) scale(.86); opacity: .78; }
  66.67%, 90.91% { transform: translate3d(-144%, 0, -90px) rotateY(24deg) scale(.86); opacity: .78; }
  100% { transform: translate3d(-50%, -24px, 60px) rotateY(0deg) scale(1); opacity: 1; }
}
/* telefonene er klippet nederst (bare de øverste hjørnene er runde), så de står litt under kanten og toppen får luft */
.aa-stage img { width: 38%; max-width: 190px; bottom: -28px; }
@media (min-width: 900px) { .aa-stage img { width: 31%; max-width: 230px; bottom: -64px; } }
@media (hover: hover) and (pointer: fine) { .aa-shots:hover .aa-stage img { animation-play-state: paused; } }
@media (prefers-reduced-motion: reduce) {
  .aa-stage img { animation: none; will-change: auto; }
  .aa-stage img:nth-child(1) { transform: translate3d(-144%, 0, -90px) rotateY(24deg) scale(.86); opacity: .78; }
  .aa-stage img:nth-child(2) { transform: translate3d(-50%, -24px, 60px); }
  .aa-stage img:nth-child(3) { transform: translate3d(44%, 0, -90px) rotateY(-24deg) scale(.86); opacity: .78; }
}

/* ==========================================================================================
   Mer bevegelse på forsiden (eieren 2. desember 2026: «Nydelig perfekt, kan du fikse mer motions og smart på siden vår?»).
   Bare transform og opacity, bare CSS (går utenom hovedtråden), bare forsiden «alo» på totalpac.no, og ingenting ved
   redusert bevegelse. Fire ting:
   1. Toppbildet skyver seg sakte innover og ut igjen (22 s), som et kamera.
   2. Varene, bildeflisene, videoene, kjøkkenene og guidene glir opp etter hverandre når raden kommer inn i bildet
      (rullestyrt med view-timeline; nettlesere uten støtte viser alt som før).
   3. De store fotoene (Vi bygger, pizzeria, hjelpefeltet) beveger seg litt saktere enn siden når man ruller (parallakse).
   4. Fotoflisene zoomer rolig inn når musa er over (bare med mus).
   ========================================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .alo .ah-img img { animation: a-kamera 22s cubic-bezier(0.77, 0, 0.175, 1) infinite alternate both; transform-origin: 50% 30%; }
  .ah:has(img[src*="forside-totalpac"]) .ah-img { overflow: hidden; }
  @keyframes a-kamera { from { transform: scale(1); } to { transform: scale(1.07); } }

  @supports (animation-timeline: view()) {
    .alo .ar, .alo .at-grid, .alo .ak { view-timeline: --rad block; }
    .alo .at-grid > *, .alo .ar-row > * { animation: a-inn both cubic-bezier(0.23, 1, 0.32, 1); animation-timeline: --rad; animation-range: entry 5% entry 55%; }
    .alo .at-grid > :nth-child(2), .alo .ar-row > :nth-child(2) { animation-range: entry 10% entry 60%; }
    .alo .at-grid > :nth-child(3), .alo .ar-row > :nth-child(3) { animation-range: entry 15% entry 65%; }
    .alo .at-grid > :nth-child(4), .alo .ar-row > :nth-child(4) { animation-range: entry 20% entry 70%; }
    .alo .ar-row > :nth-child(5) { animation-range: entry 25% entry 75%; }
    .alo .ar-row > :nth-child(n+6) { animation-range: entry 30% entry 80%; }
    @keyframes a-inn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

    .alo .as-img img, .alo .al-img img, .alo .ahp-img img { scale: 1.12; animation: a-parallakse linear both; animation-timeline: view(); }
    @keyframes a-parallakse { from { translate: 0 -5%; } to { translate: 0 5%; } }
  }

  @media (hover: hover) and (pointer: fine) {
    .alo .at-img img, .alo .ak-img img { transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1); }
    .alo .at:hover .at-img img, .alo .ak-c:hover .ak-img img { transform: scale(1.04); }
  }
}
