:root {
  --ink: #1c1915;
  --muted: #4a453d;
  --forest: #16352b;
  --forest-2: #1f4a3a;
  --sage: #e7efe8;
  --brass: #8a7044;
  --brass-text: #765d33;
  --header-h: 4.6rem;
  --paper: #f4f1eb;
  --card: #fffcf8;
  --line: #e3ddd3;
  --focus: #16352b;
  --max: 74rem;
  --serif: Georgia, "Liberation Serif", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--forest);
}

a:hover {
  color: var(--forest-2);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 30;
  background: #fff;
  color: var(--forest);
  padding: 0.6rem 0.9rem;
  border-radius: 0.4rem;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fffcf8;
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
  padding: 0.6rem 0;
}

.logo {
  display: block;
  flex-shrink: 0;
}

.logo img {
  display: block;
  width: auto;
  height: 3rem;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.6rem;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 0.35rem 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--forest);
  border-bottom-color: var(--brass);
}

.menu-toggle[hidden] {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--forest);
  font: 600 0.85rem/1 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-icon::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  padding: 4.2rem 0 3.2rem;
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.kicker {
  margin: 0 0 0.85rem;
  color: var(--brass-text);
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ink);
}

h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(2.7rem, 5.4vw, 4.6rem);
  max-width: 11ch;
}

.lede {
  margin: 0 0 1rem;
  font-size: 1.22rem;
  line-height: 1.5;
  max-width: 36rem;
}

.hero-guarantee {
  margin: 1rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.1rem 0 0.4rem;
}

.btn,
.btn-ghost,
.cookie button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--forest);
}

.btn {
  background: var(--forest);
  color: #fff;
}

.btn:hover {
  background: var(--forest-2);
  border-color: var(--forest-2);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--forest);
}

.btn-ghost:hover {
  background: #fff;
  color: var(--forest);
}

.hero-figure {
  margin: 0;
  width: 100%;
  max-width: 880px;
}

.hero-figure a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 1.4rem;
  border: 1px solid var(--line);
  background: #d5ddd4;
  box-shadow: 0 24px 50px rgba(22, 40, 32, 0.08);
}

.hero-figure picture {
  display: block;
}

.hero-figure img {
  display: block;
  width: 100%;
  max-width: 880px;
  height: auto;
  aspect-ratio: 880 / 500;
  transition: transform 0.4s ease;
}

.hero-figure a:hover img {
  transform: scale(1.02);
}

.hero-figure figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.trust {
  background: #fffcf8;
  border-block: 1px solid var(--line);
  padding: 2.4rem 0;
}

.trust-grid {
  display: grid;
  gap: 1.5rem;
}

.trust-grid article h3 {
  margin: 0 0 0.45rem;
  font-size: 1.45rem;
}

.trust-grid p:last-child {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: 4.4rem 0 0.2rem;
}

.section h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 3vw, 2.7rem);
  scroll-margin-top: 1rem;
}

.section > .wrap > p {
  max-width: 44rem;
  margin-top: 0;
}

.grid {
  display: grid;
  gap: 1.35rem;
  margin: 1.6rem 0 0.6rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: 0 16px 36px rgba(22, 53, 43, 0.09);
}

.card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1ede5;
  aspect-ratio: 4 / 3;
}

/* Produktbildene har hvit bakgrunn. multiply lar dem gli inn i kremfargen. */
.card-media picture,
.product-figure picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.card-media img {
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 16rem;
  object-fit: contain;
  padding: 1rem;
  mix-blend-mode: multiply;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.1rem 1.15rem 1.2rem;
  flex: 1;
}

.card h3 {
  margin: 0;
  font-size: 1.45rem;
}

.meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.price {
  margin: 0;
  font-weight: 600;
}

.card p {
  margin: 0;
}

.card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.section-link,
.section > .wrap > .section-link {
  margin: 1.75rem 0 1rem;
}

.notice {
  background: #fff;
  border-left: 4px solid var(--forest);
  padding: 0.8rem 1rem;
  margin: 0.8rem 0 0;
}

.cat-grid {
  display: grid;
  gap: 0.8rem;
}

.cat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.cat h3 {
  margin: 0;
  font-size: 1.15rem;
}

.cat p {
  margin: 0;
  color: var(--muted);
}

.cat .btn {
  align-self: flex-start;
  margin-top: 0.3rem;
}

.about {
  display: grid;
  gap: 1.2rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.about img {
  width: min(100%, 16rem);
  border-radius: 0.8rem;
  justify-self: center;
}

.contact-list {
  padding: 0;
  margin: 0 0 1rem;
  list-style: none;
}

.contact-list li {
  margin: 0.2rem 0;
}

.closing {
  padding-bottom: 3rem;
}

.closing-grid {
  display: grid;
  gap: 2rem;
  background: #fffcf8;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 1.6rem 1.3rem 1.5rem;
}

.fbo-line {
  max-width: 36rem;
  margin: 0 0 0.9rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.site-footer {
  margin-top: 1rem;
  background: var(--forest);
  color: #f4f1eb;
  padding: 2.6rem 0 1.5rem;
}

.site-footer a {
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 1.2rem;
}

.site-footer h2 {
  color: #fff;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.55rem;
}

.site-footer p,
.site-footer li {
  margin: 0.2rem 0;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-logo img {
  display: block;
  width: auto;
  height: 3.4rem;
}

.badge {
  width: min(100%, 13rem);
  height: auto;
  background: #fff;
  border-radius: 0.2rem;
  padding: 0.35rem 0.45rem;
}

.site-footer .legal-line {
  margin-inline: auto;
}

.legal-line {
  margin-top: 1.2rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.95rem;
}

button.linkish {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18rem;
  cursor: pointer;
}

.cookie[hidden] {
  display: none;
}

.cookie {
  position: fixed;
  z-index: 2147483647;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  width: auto;
  max-width: 48rem;
  margin-inline: auto;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 10px 32px rgba(18, 40, 30, 0.16);
  padding: 1rem 1rem 0.95rem;
}

.cookie p {
  margin: 0 0 0.85rem;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
}

.cookie-actions button {
  flex: 1 1 0;
  min-width: 0;
}

#cookie-reject {
  background: #fff;
  color: var(--forest);
}

#cookie-accept {
  background: var(--forest);
  color: #fff;
}

.prose h2 {
  margin-top: 1.8rem;
  font-size: 1.7rem;
}

.prose table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.98rem;
}

.prose th,
.prose td {
  border: 1px solid var(--line);
  text-align: left;
  padding: 0.55rem 0.6rem;
  vertical-align: top;
}

.prose th {
  background: #eef3ec;
}

.prose th,
.prose td,
code {
  overflow-wrap: anywhere;
}

body:has(#cookie-banner:not([hidden])) {
  padding-bottom: 12rem;
}

.crumbs {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.noscript {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0.6rem 0;
}

/* Chatbase-boblen ligger nederst til høyre. Gi innholdet luft under. */
body.chat-on {
  padding-bottom: 5.5rem;
}

@media (max-width: 899px) {
  :root {
    --header-h: 4rem;
  }

  .logo img {
    height: 2.35rem;
  }

  .header-row {
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }

  /* Uten JavaScript: menyen ligger synlig under logoen og kan rulles sidelengs. */
  .site-nav {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-nav ul {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 1.2rem;
  }

  .site-nav a {
    white-space: nowrap;
  }

  /* Med JavaScript: menyknapp og nedtrekk. */
  .has-menu .site-nav {
    display: none;
    overflow: visible;
  }

  .has-menu .site-nav.is-open {
    display: block;
  }

  .has-menu .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.25rem 0 0.75rem;
  }

  .has-menu .site-nav li + li {
    border-top: 1px solid var(--line);
  }

  .has-menu .site-nav a {
    display: block;
    padding: 0.85rem 0.1rem;
    font-size: 0.9rem;
    border-bottom: 0;
  }

  .hero {
    padding: 2.4rem 0 2.2rem;
  }

  h1 {
    font-size: clamp(2.3rem, 9vw, 3.2rem);
  }

  .lede {
    font-size: 1.12rem;
  }
}

@media (max-width: 559px) {
  .btn,
  .btn-ghost {
    min-height: 2.9rem;
  }

  .actions .btn,
  .actions .btn-ghost {
    flex: 1 1 auto;
  }

  /* Produktkort: bilde til venstre, tekst til høyre, så listen blir kortere. */
  .grid {
    gap: 0.9rem;
  }

  .card {
    display: grid;
    grid-template-columns: 8.5rem 1fr;
  }

  .card-media {
    aspect-ratio: auto;
    align-items: center;
  }

  .card-media picture {
    height: auto;
  }

  .card-media img {
    width: 100%;
    height: auto;
    max-height: none;
    padding: 0.2rem;
  }

  .card-body {
    padding: 0.9rem 0.95rem 1rem;
    gap: 0.35rem;
  }

  .card h3 {
    font-size: 1.2rem;
  }

  .card-body > p:not(.meta) {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .card .btn {
    margin-top: 0.4rem;
    min-height: 2.75rem;
    padding: 0.55rem 1.05rem;
  }

  .footer-logo img {
    height: 3rem;
  }

  body.chat-on {
    padding-bottom: 6rem;
  }
}

@media (min-width: 720px) {
  .trust-grid,
  .closing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .trust-grid article + article {
    border-left: 1px solid var(--line);
    padding-left: 1.75rem;
  }

  .closing-grid {
    grid-template-columns: 1.3fr 0.9fr;
    padding: 2.2rem 2.3rem;
    align-items: end;
  }

  .grid,
  .cat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about {
    grid-template-columns: 16rem 1fr;
    padding: 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 0.8fr 0.9fr;
    gap: 2rem;
  }
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(18rem, 26rem) minmax(0, 880px);
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
  }

  .hero-figure {
    justify-self: end;
  }
}

@media (min-width: 980px) {
  .grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .cat-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Guider og produktsider ---------- */
.article {
  max-width: 46rem;
}

.article h1 {
  max-width: none;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  margin-bottom: 0.6rem;
}

.article h2 {
  margin-top: 2.2rem;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
}

.article p,
.article li {
  line-height: 1.7;
}

.byline {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 1.4rem;
}

.answer {
  background: #fffcf8;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.1rem 1.3rem;
  margin: 1.2rem 0 0.5rem;
  box-shadow: 0 10px 28px rgba(22, 53, 43, 0.05);
}

.answer p {
  margin: 0;
  font-size: 1.08rem;
}

.answer .answer-label {
  margin-bottom: 0.35rem;
  color: var(--brass-text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.facts {
  display: grid;
  gap: 0;
  margin: 1rem 0;
  border-top: 1px solid var(--line);
}

.facts > div {
  display: grid;
  grid-template-columns: minmax(7rem, 12rem) 1fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  font-weight: 600;
  color: var(--forest);
}

.facts dd {
  margin: 0;
}

.steps {
  padding-left: 1.3rem;
}

.steps li {
  margin-bottom: 0.6rem;
}

.small {
  color: var(--muted);
  font-size: 0.9rem;
}

.table-scroll {
  overflow-x: auto;
  margin: 1rem 0 0.5rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: #fffcf8;
}

.compare {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.compare th,
.compare td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare thead th {
  white-space: nowrap;
  background: #f1ede5;
  color: var(--forest);
  font-size: 0.9rem;
}

.compare td:has(> .btn-small) {
  white-space: nowrap;
  vertical-align: middle;
}

.compare tbody th {
  font-weight: 600;
  color: var(--forest);
}

.btn-small {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}

.btn-small:hover {
  background: #0d241d;
}

.faq {
  margin-top: 2.4rem;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  padding: 0.95rem 2rem 0.95rem 0;
  font-weight: 600;
  color: var(--forest);
  list-style: none;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0.2rem;
  top: 0.8rem;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--brass);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item div p {
  margin: 0 0 1rem;
}

.cta-box {
  margin-top: 2.4rem;
  padding: 1.5rem 1.6rem;
  border-radius: 1.2rem;
  background: var(--forest);
  color: #f4f1eb;
}

.cta-box h2 {
  margin-top: 0;
  color: #fffcf8;
}

.cta-box .btn {
  background: #fffcf8;
  color: var(--forest);
}

.cta-box .btn-ghost {
  border-color: rgba(255, 252, 248, 0.6);
  color: #fffcf8;
}

.related {
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.related h2 {
  margin-top: 0;
  font-size: 1.3rem;
}

.related ul {
  padding-left: 1.1rem;
}

.related li {
  margin-bottom: 0.4rem;
}

.product-page {
  max-width: 60rem;
}

.product-top {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.product-figure {
  margin: 0;
  display: flex;
  justify-content: center;
  padding: 1rem;
  border-radius: 1.2rem;
  background: #f1ede5;
}

.product-figure img {
  width: 100%;
  max-width: 16rem;
  height: auto;
  mix-blend-mode: multiply;
}

.price-big {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--forest);
  margin: 0.2rem 0 0.6rem;
}

.cat h2.h3 {
  margin-top: 0;
  font-size: 1.35rem;
}

.cat h2.h3 a {
  color: var(--forest);
  text-decoration: none;
}

.cat h2.h3 a:hover {
  text-decoration: underline;
}

.guide-grid .cat {
  display: flex;
  flex-direction: column;
}

.home-guides {
  margin-top: 1rem;
}

@media (min-width: 720px) {
  .product-top {
    grid-template-columns: 18rem 1fr;
  }
}

@media (max-width: 559px) {
  .facts > div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .cta-box {
    padding: 1.25rem 1.1rem;
  }
}

.card-link {
  color: inherit;
  text-decoration: none;
}

.card-link:hover {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.author-note {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.category-intro {
  max-width: 46rem;
}

.category-intro p {
  line-height: 1.7;
}

.category-extra {
  max-width: 46rem;
  margin-top: 2.5rem;
}

h1.page-title {
  max-width: none;
}

.guide-grid .cat .btn-small {
  align-self: flex-start;
  margin-top: auto;
}

.guide-grid .cat .meta {
  margin: 0.2rem 0 0;
}

/* ---------- Jul (fjern etter jul: blokkene merket <!-- jul --> og disse reglene) ---------- */
.xmas-bar {
  background: #8f2b2e;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.xmas-bar a {
  color: #fffcf8;
  text-decoration: none;
}

.xmas-bar a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.xmas-bar span {
  color: #e2c88e;
  margin-right: 0.35rem;
}

.xmas {
  background: var(--forest);
  color: #f4f1eb;
  padding: 3rem 0;
}

.xmas-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.xmas h2 {
  margin: 0.2rem 0 0.8rem;
  color: #fffcf8;
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.xmas .kicker {
  color: #e2c88e;
}

.xmas p {
  line-height: 1.65;
}

.xmas .btn {
  background: #b23a3a;
  color: #fffcf8;
}

.xmas .btn:hover {
  background: #8f2b2e;
}

.xmas-note {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: #d9d3c6;
}

.xmas-figure {
  display: block;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
}

.xmas-figure img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 820px) {
  .xmas-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
  }
}

@media (max-width: 559px) {
  .xmas-bar {
    font-size: 0.82rem;
    padding: 0.45rem 0.75rem;
  }
}

/* ---------- Jul: julefilm-sticker (fjern etter jul sammen med blokken i site.js) ---------- */
.jul-sticker {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 50;
  width: 6.5rem;
  height: 6.5rem;
  animation: jul-in 0.6s cubic-bezier(0.2, 1.4, 0.4, 1) both 0.8s;
}

/* Over Chatbase-boblen når chatten er lastet */
body.chat-on .jul-sticker {
  bottom: 5.6rem;
}

/* Ikke i veien for samtykkebanneret */
body:has(.cookie:not([hidden])) .jul-sticker {
  display: none;
}

.jul-sticker-btn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  filter: drop-shadow(0 8px 16px rgba(60, 20, 20, 0.3));
  animation: jul-wiggle 6s ease-in-out infinite 2s;
}

.jul-sticker-btn svg {
  display: block;
  width: 100%;
  height: 100%;
}

.jul-sticker-btn:hover,
.jul-sticker-btn:focus-visible {
  animation-play-state: paused;
  transform: scale(1.07) rotate(-4deg);
  transition: transform 0.2s ease;
}

.jul-sticker-btn:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.jul-ring {
  transform-origin: 60px 60px;
  animation: jul-spin 14s linear infinite;
}

.jul-snow circle {
  animation: jul-twinkle 2.4s ease-in-out infinite;
}

.jul-snow circle:nth-child(2) { animation-delay: 0.6s; }
.jul-snow circle:nth-child(3) { animation-delay: 1.2s; }
.jul-snow circle:nth-child(4) { animation-delay: 1.8s; }

.jul-sticker-close {
  position: absolute;
  top: -0.2rem;
  left: -0.2rem;
  width: 1.6rem;
  height: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fffcf8;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.jul-film {
  width: min(92vw, 60rem);
  padding: 0;
  border: 0;
  border-radius: 1rem;
  background: #000;
  overflow: visible;
}

.jul-film::backdrop {
  background: rgba(10, 25, 20, 0.82);
}

.jul-film video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  background: #000;
}

/* 9:16-film på telefon: begrenset av skjermhøyden */
.jul-film.is-tall {
  width: auto;
  max-width: 92vw;
}

.jul-film.is-tall video {
  width: auto;
  height: min(80vh, calc(92vw * 16 / 9));
  aspect-ratio: 9 / 16;
}

.jul-film-close {
  position: absolute;
  top: -2.8rem;
  right: 0;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 50%;
  background: #fffcf8;
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

@keyframes jul-in {
  from { opacity: 0; transform: scale(0.4) rotate(-30deg); }
  to { opacity: 1; transform: none; }
}

@keyframes jul-spin {
  to { transform: rotate(360deg); }
}

@keyframes jul-wiggle {
  0%, 84%, 100% { transform: rotate(0); }
  88% { transform: rotate(-9deg); }
  92% { transform: rotate(7deg); }
  96% { transform: rotate(-3deg); }
}

@keyframes jul-twinkle {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 1; }
}

@media (max-width: 899px) {
  .jul-sticker {
    width: 5.25rem;
    height: 5.25rem;
    right: 0.8rem;
    bottom: 0.8rem;
  }

  body.chat-on .jul-sticker {
    bottom: 5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jul-sticker,
  .jul-sticker-btn,
  .jul-ring,
  .jul-snow circle {
    animation: none;
  }
}

/* ---------- Hvorfor Forever (forsiden) ---------- */
.why-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.why-grid article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.25rem 1.25rem 1.1rem;
}

.why-grid h3 {
  margin: 0 0 0.45rem;
  color: var(--forest);
}

.why-grid p {
  margin: 0;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* ---------- Bli forhandler ---------- */
.join > p,
.join .lede {
  max-width: 44rem;
}

.join .hero-guarantee {
  margin-top: 1.1rem;
}

.join h2 {
  margin: 3.75rem 0 1.1rem;
}

.join .actions {
  margin-top: 1.5rem;
}

.join-grid {
  display: grid;
  gap: 1rem;
  max-width: 56rem;
}

.join-grid article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.4rem 1.5rem 1.3rem;
}

.join-grid h3 {
  margin: 0.2rem 0 0.5rem;
  font-size: 1.45rem;
}

.join-grid p:last-child {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 720px) {
  .join-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Black Friday (midlertidig) ----------
   Klassen settes av js/black-friday.js før hovedinnholdet tegnes.
   Uten bf-active vises den vanlige helten, og tilbudet tar ingen høyde.
   Fjern denne blokken sammen med js/black-friday.js og svart-fredag-siden
   når tilbudet ikke lenger skal ligge i kildekoden. */
.bf-offer,
.bf-photo-badge {
  display: none;
}

html.bf-active .bf-offer {
  display: block;
}

html.bf-active .hero-default {
  display: none;
}

html.bf-active .hero {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

html.bf-active .hero h1 {
  margin-bottom: 0.75rem;
}

.bf-badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.5rem 0.85rem 0.45rem;
  background: #141210;
  color: #fff;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.bf-display {
  margin: 0 0 0.55rem;
  max-width: 11em;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.02;
  font-size: clamp(2.15rem, 5vw, 3.7rem);
}

.bf-terms {
  margin: 0;
  max-width: 28rem;
  font-size: 1.05rem;
  line-height: 1.45;
}

.bf-note {
  margin: 0.9rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.bf-offer .actions .btn {
  background: #141210;
  border-color: #141210;
}

.bf-offer .actions .btn:hover {
  background: #000;
  border-color: #000;
}

html.bf-active .bf-photo-badge {
  display: inline-block;
  position: absolute;
  z-index: 1;
  top: 0.9rem;
  left: 0.9rem;
  margin: 0;
  padding: 0.45rem 0.7rem 0.4rem;
  background: #141210;
  color: #fff;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

@media (max-width: 719px) {
  html.bf-active .bf-offer .actions {
    flex-direction: column;
    align-items: stretch;
  }

  html.bf-active .bf-offer .btn,
  html.bf-active .bf-offer .btn-ghost {
    width: 100%;
  }
}

#bf-ended {
  display: none;
}

html.bf-ended #bf-live,
html.bf-ended .bf-live-block {
  display: none;
}

html.bf-ended #bf-ended {
  display: block;
}

.bf-page-hero {
  padding: 1.15rem 0 0.4rem;
}

.bf-hero-grid {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.bf-page-hero h1.bf-display {
  max-width: 10em;
  margin: 0 0 0.55rem;
  font-size: clamp(2.35rem, 7vw, 3.6rem);
}

.bf-page-hero #bf-ended h1 {
  max-width: 12em;
}

.bf-fbo {
  margin: 1.1rem auto 0;
  max-width: var(--max);
  color: var(--muted);
  font-size: 0.95rem;
}

.bf-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 1.4rem;
  border: 1px solid var(--line);
  background: #d5ddd4;
  box-shadow: 0 24px 50px rgba(22, 40, 32, 0.08);
}

.bf-photo picture,
.bf-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.bf-page-hero .bf-photo-badge {
  display: inline-block;
  position: absolute;
  z-index: 1;
  top: 0.9rem;
  left: 0.9rem;
  margin: 0;
  padding: 0.45rem 0.7rem 0.4rem;
  background: #141210;
  color: #fff;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

html.bf-ended .bf-page-hero .bf-photo-badge {
  display: none;
}

#bf-cta {
  background: #141210;
  border-color: #141210;
}

#bf-cta:hover {
  background: #000;
  border-color: #000;
}

@media (min-width: 900px) {
  .bf-page-hero {
    padding: 1.8rem 0 0.6rem;
  }

  .bf-hero-grid {
    grid-template-columns: minmax(16rem, 0.92fr) minmax(0, 1.15fr);
    gap: 2.4rem;
  }
}

@media (max-width: 719px) {
  .bf-page-hero .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .bf-page-hero .btn,
  .bf-page-hero .btn-ghost {
    width: 100%;
  }
}
