/* nodstrom.no – grafitt og signalgul: «lyset som fortsatt er på» */
:root { --bg: #f6f5f1; --card: #ffffff; --ink: #1c1f22; --soft: #5b6168; --line: #e3e0d8; --tint: #efece3;
  --accent: #f5b700; --accent-on: #1c1f22; --accent-ink: #8a5d00; --link: #1d4f8a;
  --bar: #1c1f22; --bar-ink: #f6f5f1; --bar-hover: #383d42; --btn: #1c1f22; --btn-ink: #ffffff; --btn-hover: #000000; }
/* Felles stil for nisjesidene (nodstrom.no, inneklimaguiden.no). Farger settes i sidens egen tokenfil. */
@font-face { font-family: "Schibsted Grotesk"; src: url(/assets/fonts/schibsted-grotesk-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url(/assets/fonts/schibsted-grotesk-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }
:root { --head: "Schibsted Grotesk", system-ui, sans-serif; --text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; --r: 14px; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--text); }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; letter-spacing: -0.015em; margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; }
h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-top: 56px; }
h3 { font-size: 19px; font-weight: 700; }
p, ul, ol, dl { margin: 12px 0 0; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 12px; background: #fff; padding: 8px; z-index: 9; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.top { background: var(--bar); color: var(--bar-ink); position: sticky; top: 0; z-index: 5; }
.top .in { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--bar-ink); font: 800 20px/1 var(--head); letter-spacing: -0.02em; }
.logo svg { width: 28px; height: 28px; flex: none; }
.nav { margin-left: auto; display: flex; gap: 2px; flex-wrap: wrap; }
.nav a { color: var(--bar-ink); text-decoration: none; font: 700 15px/1 var(--head); padding: 10px 12px; border-radius: 999px; opacity: .88; }
.nav a:hover, .nav a[aria-current] { background: var(--bar-hover); opacity: 1; }
.menu { display: none; margin-left: auto; background: transparent; border: 1px solid var(--bar-hover); color: var(--bar-ink); font: 700 15px/1 var(--head); padding: 10px 14px; border-radius: 999px; min-height: 44px; }
@media (max-width: 860px) {
  .menu { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 60px; background: var(--bar); flex-direction: column; padding: 8px 12px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; }
}
.crumbs { font-size: 14px; color: var(--soft); margin: 22px 0 0; }
.crumbs a { color: var(--soft); }
.hero { padding: 40px 0 8px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
@media (max-width: 860px) { .hero { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.hero > * { min-width: 0; }
.kicker { font: 700 13px/1.2 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 12px; }
.lede { font-size: 20px; color: var(--soft); max-width: 40ch; }
.byline { font-size: 14px; color: var(--soft); margin-top: 14px; }
.answer { background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--accent); border-radius: var(--r); padding: 18px 20px; margin-top: 24px; max-width: 72ch; }
.answer b:first-child { display: block; font: 700 13px/1.2 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 6px; }
.adnote { font-size: 14px; color: var(--soft); background: var(--tint); border-radius: 10px; padding: 10px 14px; max-width: 80ch; }
.heroimg { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.heroimg img { aspect-ratio: 1; display: block; object-fit: contain; width: 100%; background: #fff; border-radius: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 18px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); font: 700 15px/1.2 var(--head); text-decoration: none; border: 2px solid var(--btn); text-align: center; }
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn:active { transform: translateY(1px); }
.btn.alt { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.alt:hover { background: var(--tint); }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
@media (max-width: 560px) { .ctas .btn { width: 100%; } }
/* produktkort */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; margin-top: 22px; }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.pimg { background: #fff; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 14px; border-bottom: 1px solid var(--line); }
.pimg img { width: 100%; height: 100%; object-fit: contain; }
.pimg span { display: none; } .pimg.noimg { background: var(--tint); } .pimg.noimg span { display: block; font: 800 18px/1.2 var(--head); color: var(--soft); text-align: center; }
.pbody { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pbody .btn { margin-top: auto; }
.badge { margin: 0; align-self: flex-start; background: var(--accent); color: var(--accent-on); border-radius: 999px; padding: 3px 10px; font: 700 12px/1.4 var(--head); }
.note { margin: 0; font-size: 15px; color: var(--soft); }
.facts { margin: 6px 0 0; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts dt { color: var(--soft); } .facts dd { margin: 0; font-weight: 700; text-align: right; }
.pricebox { margin: 8px 0 10px; display: flex; flex-direction: column; }
.price { font: 800 24px/1.1 var(--head); }
.shop { font-size: 13px; color: var(--soft); }
.pcard:hover { box-shadow: 0 12px 28px -20px rgba(0, 0, 0, .45); transform: translateY(-2px); }
@media (prefers-reduced-motion: no-preference) { .pcard, .lcard, .btn { transition: transform .15s, box-shadow .15s, background .15s; } }
/* tabeller */
.tw { overflow-x: auto; margin-top: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
thead th { font-family: var(--head); background: var(--tint); font-size: 14px; white-space: nowrap; }
tbody tr:last-child > * { border-bottom: 0; }
td .btn { min-height: 38px; padding: 7px 12px; font-size: 13px; white-space: nowrap; }
td.num, th.num { text-align: right; white-space: nowrap; }
/* lenkekort og prosa */
.links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; margin-top: 20px; }
.lcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; text-decoration: none; color: var(--ink); display: grid; gap: 6px; }
.lcard b { font: 800 18px/1.2 var(--head); } .lcard span { font-size: 14px; color: var(--soft); }
.lcard:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -20px rgba(0, 0, 0, .45); }
.prose { max-width: 72ch; padding-top: 28px; }
.prose h2 { margin-top: 40px; }
.prose ul, .prose ol { padding-left: 22px; } .prose li + li { margin-top: 6px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.faq { margin-top: 18px; max-width: 80ch; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font: 700 18px/1.3 var(--head); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--accent-ink); }
.faq details[open] summary::after { content: "–"; }
.sources { font-size: 14px; color: var(--soft); }
/* kalkulator */
.calc { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.calc > * { min-width: 0; }
.calc fieldset { border: 0; padding: 0; margin: 0; }
.calc legend { font: 700 16px/1.2 var(--head); margin-bottom: 10px; }
.calc label.row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; margin-top: 8px; cursor: pointer; min-height: 44px; }
.calc label.row:has(input:checked) { border-color: var(--accent); background: var(--tint); }
.calc label.row small { margin-left: auto; color: var(--soft); white-space: nowrap; }
.calc input[type=checkbox], .calc input[type=radio] { width: 20px; height: 20px; accent-color: var(--accent-ink); }
.calc .opts { display: flex; gap: 8px; flex-wrap: wrap; }
.calc .opts label { border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 6px; }
.calc .opts label:has(input:checked) { border-color: var(--accent); background: var(--tint); font-weight: 700; }
.calc input[type=number] { font: inherit; width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; min-height: 44px; }
.calc .field { margin-top: 14px; } .calc .field label { display: block; font-weight: 700; margin-bottom: 6px; }
.result { background: var(--bar); color: var(--bar-ink); border-radius: 16px; padding: 20px; align-self: start; position: sticky; top: 76px; }
.result .big { font: 800 44px/1 var(--head); margin: 6px 0 4px; }
.result p { color: var(--bar-ink); opacity: .9; font-size: 15px; }
.result ol { padding-left: 20px; margin: 10px 0 0; }
.result li { margin-top: 8px; } .result a { color: var(--bar-ink); font-weight: 700; }
.foot { margin-top: 72px; background: var(--tint); border-top: 1px solid var(--line); padding: 32px 0 44px; font-size: 14px; color: var(--soft); }
.foot p { max-width: 82ch; } .footname { font: 800 16px/1.2 var(--head); color: var(--ink); }

.photo { margin: 20px 0 0; } .heroimg + .photo, .hero .photo { margin: 0; } .photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; display: block; }
.wide { margin: 28px 0 0; } .wide img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 20px; display: block; }

/* --- flere butikker, bilder og filtre --- */
.offers { list-style: none; margin: 4px 0 12px; padding: 0; display: grid; gap: 4px; }
.offers a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border: 1px solid var(--line, #e3e3e3); border-radius: 10px; text-decoration: none; color: inherit; font-size: .92rem; transition: border-color .15s, background .15s; }
.offers a:hover { border-color: var(--accent, #f5b700); background: var(--tint, #faf7ee); }
.offers li:first-child a { font-weight: 600; }
.thumbs { display: flex; gap: 6px; padding: 8px 16px 0; }
.thumbs button { padding: 0; border: 1px solid var(--line, #e3e3e3); border-radius: 8px; background: #fff; cursor: pointer; width: 56px; height: 56px; overflow: hidden; }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.filters { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: end; margin: 16px 0 20px; padding: 14px 16px; border: 1px solid var(--line, #e3e3e3); border-radius: 14px; background: var(--card, #fff); }
.filters label { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; }
.filters select { min-height: 44px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line, #d6d6d6); font: inherit; font-weight: 400; background: #fff; }
.filters .chk { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.filters .chk input { width: 20px; height: 20px; }
.filters .count { margin: 0 0 0 auto; font-size: .85rem; opacity: .75; align-self: center; }
.pcard[hidden] { display: none; }
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr)); gap: 14px; margin: 18px 0 8px; }
.cat { display: grid; grid-template-rows: auto 1fr; border-radius: 16px; overflow: hidden; background: var(--card, #fff); border: 1px solid var(--line, #e3e3e3); text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.cat:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.cat img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.cat div { padding: 12px 14px 14px; }
.cat b { display: block; font-size: 1.15rem; }
.cat span { font-size: .9rem; opacity: .8; }
.guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; margin: 14px 0; }
.guide { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line, #e3e3e3); border-radius: 14px; background: var(--card, #fff); text-decoration: none; color: inherit; transition: border-color .15s; }
.guide:hover { border-color: var(--accent, #f5b700); }
.guide img { width: 110px; height: 82px; object-fit: cover; border-radius: 10px; }
.guide b { display: block; line-height: 1.25; }
.guide span { font-size: .85rem; opacity: .75; }
.verdict { border-left: 4px solid var(--accent, #f5b700); padding: 12px 16px; background: var(--card, #fff); border-radius: 0 12px 12px 0; margin: 18px 0; }
.srcs { font-size: .9rem; } .srcs li { margin: 4px 0; }
