/* Holes arkiv – stilark
   Hvitt papir, nattblå blekk og SH-oransje. Bildene skal alltid være det viktigste. */

@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('/assets/fonts/schibsted-grotesk.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Literata';
  src: url('/assets/fonts/literata.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Literata';
  src: url('/assets/fonts/literata-italic.woff2') format('woff2');
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;

  --paper: #ffffff;
  --wall: #eef0f4;
  --ink: #1d2340;
  --ink-soft: #565c70;
  --line: #dcdfe7;
  --orange: #f19d07;
  --orange-hover: #f6b23c;
  --orange-wash: #fff4de;
  --red: #b3261e;
  --red-wash: #fdecea;
  --field: #9aa0b2;

  --font-text: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-title: 'Literata', Georgia, 'Times New Roman', serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.5625rem;
  --step-3: clamp(1.875rem, 1.5rem + 1.6vw, 2.5rem);
  --step-4: clamp(2.25rem, 1.6rem + 3vw, 3.75rem);

  --gutter: clamp(1rem, 0.55rem + 2vw, 2.5rem);
  --max: 90rem;
  --header-h: 4rem;
}

@media (min-width: 64rem) {
  :root {
    --step-0: 1.0625rem;
    --header-h: 4.75rem;
  }
}

/* --- Grunnlag ----------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: 1.55;
  font-feature-settings: 'kern' 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

h1,
h2,
h3 {
  font-family: var(--font-title);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
  /* Lange ord deles heller enn å gå utenfor skjermen (kan skje hvis teksten gjøres veldig stor i admin). */
  overflow-wrap: break-word;
}

p {
  margin: 0;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font: inherit;
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --- Topp ---------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(255 255 255 / 0.96);
  border-bottom: 1px solid var(--line);
}

@supports (backdrop-filter: blur(8px)) {
  .site-header {
    background: rgb(255 255 255 / 0.88);
    backdrop-filter: blur(8px);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  margin-right: auto;
  flex-shrink: 0;
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.brand-name {
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Menyen kan gjøres større under Tekster i admin, men ikke så stor at den ikke får plass på linjen:
   den vokser bare så langt skjermbredden tillater, og blir aldri mindre enn vanlig.
   På smale skjermer gjelder størrelsen lenkene i menyen som åpnes (se lenger ned). */
@media (min-width: 64rem) {
  .site-nav {
    font-size: min(calc(var(--step-0) * var(--fs-menu, 1)), max(var(--step-0), 1.9vw));
  }
}

.prints-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: var(--orange);
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  padding: 0.5em 1.05em;
  border-radius: 999px;
  white-space: nowrap;
}

.prints-link:hover {
  background: var(--orange-hover);
}

.prints-link[aria-current='page'] {
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0.45em 1em;
  cursor: pointer;
}

.menu-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: 1.25rem;
}

.menu-list ul {
  display: flex;
  gap: 1.5rem;
}

.menu-list a {
  text-decoration: none;
  white-space: nowrap;
}

.menu-list a:hover,
.menu-list a[aria-current='page'] {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}

.lang-switch {
  font-size: var(--step--1);
  color: var(--ink-soft);
  border-left: 1px solid var(--line);
  padding-left: 1.5rem;
}

/* Smale skjermer: Trykk er alltid synlig, resten ligger bak «Meny». */
@media (max-width: 63.99rem) {
  .brand-name {
    font-size: 0.8125rem;
    letter-spacing: 0.14em;
  }

  .js .menu-toggle {
    display: inline-flex;
  }

  .menu-list {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.5rem;
    box-shadow: 0 18px 30px -24px rgb(29 35 64 / 0.45);
  }

  .js .menu-list {
    display: none;
  }

  .js .menu-list.is-open {
    display: flex;
  }

  .menu-list ul {
    flex-direction: column;
    gap: 0;
  }

  .menu-list li a {
    display: block;
    font-family: var(--font-title);
    font-size: calc(var(--step-2) * var(--fs-menu, 1));
    padding: 0.55rem 0;
  }

  .lang-switch {
    border-left: 0;
    padding: 1rem 0 0;
    margin-top: 0.5rem;
    border-top: 1px solid var(--line);
    font-size: var(--step-0);
  }

  /* Uten JavaScript vises menyen alltid, under toppen. */
  html:not(.js) .site-header {
    position: static;
  }

  html:not(.js) .menu-list {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0;
  }

  html:not(.js) .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding-block: 0.75rem;
  }
}

@media (max-width: 22rem) {
  .brand-name {
    display: none;
  }
}

/* --- Felles sidetopp ---------------------------------------------------- */

main {
  display: block;
}

.page-head {
  padding-block: clamp(2rem, 1.2rem + 3vw, 4rem) clamp(1.5rem, 1rem + 2vw, 2.75rem);
}

/* Tekststørrelsene som velges under Tekster i admin: --fs-… er 1 når ingenting er endret (se text-sizes.ts).
   Overskriftene har et tak (vw), så de ikke blir bredere enn en mobilskjerm. */
.page-head h1 {
  font-size: min(calc(var(--step-4) * var(--fs-page-title, 1)), 12vw);
}

.page-intro p + p,
.about-text p + p,
.hero-text p + p {
  margin-top: 0.75em;
}

.page-intro {
  margin-top: 0.9rem;
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: calc(var(--step-1) * var(--fs-intro, 1));
  line-height: 1.45;
}

.section {
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.75rem;
}

.section-head h2 {
  font-size: var(--step-3);
}

.section-head #utvalg {
  font-size: min(calc(var(--step-3) * var(--fs-prints-title, 1)), 11vw);
}

.section-head #arkiv {
  font-size: min(calc(var(--step-3) * var(--fs-archive-title, 1)), 11vw);
}

/* --- Knapper ------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 3rem;
  padding: 0.75em 1.5em;
  border-radius: 999px;
  border: 0;
  background: var(--orange);
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--orange-hover);
}

.button-quiet {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--ink);
}

.button-quiet:hover {
  background: var(--wall);
}

/* --- Bilder ------------------------------------------------------------- */

.zoom {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.ph {
  display: block;
  width: 100%;
  background: var(--wall);
}

.art {
  width: 100%;
  height: auto;
}

/* Bilder på forsiden som hentes etter det store bildet (se site.js). Uten JavaScript
   vises kopien i <noscript> i stedet, og den skal ligge der bildet ellers ligger. */
html:not(.js) img[data-after-hero] {
  display: none;
}

html:not(.js) .print-wall > noscript,
html:not(.js) .archive-thumb > noscript {
  display: contents;
}

/* --- Forside -------------------------------------------------------------- */

.hero {
  background: var(--wall);
}

.hero-inner {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
  padding-block: clamp(2rem, 1rem + 4vw, 5rem);
}

@media (min-width: 56rem) {
  .hero-inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

.hero-text h1 {
  font-size: min(calc(clamp(2.25rem, 1.7rem + 2.4vw, 3.25rem) * var(--fs-hero-title, 1)), 12vw);
  max-width: 16ch;
}

.hero-text p {
  margin-top: 1.1rem;
  max-width: 34rem;
  font-size: calc(var(--step-1) * var(--fs-hero-text, 1));
  line-height: 1.45;
  color: var(--ink-soft);
}

/* «Se trykkene»: litt større enn de andre knappene. Hele knappen (tekst og luft) følger størrelsen
   som velges under Tekster i admin, men den blir aldri lavere enn 3rem, så den er lett å trykke på. */
.hero-text .button {
  margin-top: 1.75rem;
  font-size: calc(1.1875rem * var(--fs-hero-cta, 1));
  padding: 0.8em 1.7em;
  min-height: max(3rem, 2.75em);
}

/* Arket: bildet vises som et trykk på papir, med marg nederst
   der trykkere skriver tittel og opplag med blyant. */
.sheet {
  margin: 0;
  background: var(--paper);
  padding: clamp(0.9rem, 3.5%, 2.25rem) clamp(0.9rem, 3.5%, 2.25rem) 0;
  box-shadow: 0 1px 1px rgb(29 35 64 / 0.06), 0 22px 40px -28px rgb(29 35 64 / 0.55);
}

.sheet-margin {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.8rem 0.95rem;
  font-family: var(--font-title);
  font-style: italic;
  font-size: var(--step--1);
  color: var(--ink-soft);
}

/* Flere bilder øverst på forsiden som glir over i hverandre (se «Forsiden: bildene veksler» i site.js).
   Alle bildene står i en ramme med samme form som det første, så ingenting hopper. */
.hero-show {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}

/* Man kan swipe sidelengs (se site.js); rulling opp og ned og zoom virker som vanlig. */
.show-stage {
  display: grid;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
}

.show-slide {
  grid-area: 1 / 1;
  margin: 0;
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1.2s ease,
    visibility 0s linear 1.2s,
    transform 0.45s ease;
}

.show-slide.is-current {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 1.2s ease,
    visibility 0s,
    transform 0.45s ease;
}

/* Når noen swiper eller bruker piltastene, går overgangen fortere. */
.hero-show.is-swiping .show-slide {
  transition:
    opacity 0.45s ease,
    visibility 0s linear 0.45s,
    transform 0.45s ease;
}

.hero-show.is-swiping .show-slide.is-current {
  transition:
    opacity 0.45s ease,
    visibility 0s,
    transform 0.45s ease;
}

.show-image,
.show-image img {
  -webkit-user-drag: none;
}

.show-image {
  aspect-ratio: var(--show-ratio, 3 / 2);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

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

.show-slide .sheet-margin span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.show-slide .sheet-margin span:last-child {
  flex-shrink: 0;
}

.show-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.15rem;
}

html:not(.js) .show-controls {
  display: none;
}

.show-dot {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.show-dot::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.25;
  transition:
    opacity 0.2s,
    transform 0.2s;
}

.show-dot:hover::before {
  opacity: 0.55;
}

.show-dot[aria-current='true']::before {
  opacity: 0.9;
  transform: scale(1.2);
}

@media (prefers-reduced-motion: reduce) {
  .show-slide,
  .show-slide.is-current,
  .hero-show.is-swiping .show-slide,
  .hero-show.is-swiping .show-slide.is-current {
    transition: none;
  }
}

.archive-list {
  display: grid;
  gap: 1.25rem;
}

/* Mobil: liten forhåndsvisning til venstre, navnet til høyre. */
.archive-list a {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 1.25rem;
  align-content: center;
  text-decoration: none;
}

.archive-thumb {
  grid-row: 1 / span 2;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--wall);
}

.archive-list .archive-name {
  align-self: end;
  margin-top: 0;
}

@media (min-width: 40rem) {
  .archive-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 0.75rem + 2vw, 2.5rem);
  }

  .archive-list a {
    display: block;
  }

  .archive-list .archive-name {
    margin-top: 0.9rem;
  }
}

.archive-thumb img,
.archive-thumb .ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
}

.archive-name {
  display: block;
  margin-top: 0.9rem;
  font-family: var(--font-title);
  font-size: var(--step-2);
}

.archive-list a:hover .archive-name {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.archive-count {
  display: block;
  color: var(--ink-soft);
  font-size: var(--step--1);
}

/* --- Trykk: hvert trykk er et ark med hvit kant, hengt på en lys vegg --------- */

.prints-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 1rem + 2.5vw, 3rem) clamp(0.75rem, 0.4rem + 1.5vw, 2rem);
  padding-bottom: clamp(3rem, 2rem + 4vw, 6rem);
}

@media (min-width: 52rem) {
  .prints-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

.section-prints .prints-grid {
  padding-bottom: 0;
}

.print-card a {
  display: block;
  text-decoration: none;
}

.print-wall {
  aspect-ratio: 1 / 1;
  background: var(--wall);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12%;
}

.print-wall > .zoom {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.print-sheet {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  background: #fff;
  padding: clamp(5px, 4.5%, 24px);
  box-shadow: 0 1px 1px rgb(29 35 64 / 0.08), 0 18px 28px -20px rgb(29 35 64 / 0.65);
}

.print-sheet-empty {
  width: 70%;
  aspect-ratio: 3 / 4;
}

/* I oversiktene er alle trykkene like høye, som bilder hengt i samme høyde på en vegg. Da ser ikke de stående
   større ut enn de liggende. Høyden er valgt så det bredeste liggende trykket (1,6 : 1) får plass i bredden. */
.print-card .print-wall {
  padding: 0 5%;
}

.print-card .print-sheet {
  height: 58%;
  width: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
}

.print-card .print-sheet-empty {
  height: 58%;
  width: auto;
}

.print-card a:hover .print-sheet {
  box-shadow: 0 1px 1px rgb(29 35 64 / 0.08), 0 22px 34px -18px rgb(29 35 64 / 0.7);
}

.print-title {
  display: block;
  margin-top: 0.9rem;
  font-family: var(--font-title);
  font-size: var(--step-1);
  line-height: 1.25;
}

.print-card a:hover .print-title {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.print-meta {
  display: block;
  margin-top: 0.15rem;
  color: var(--ink-soft);
  font-size: var(--step--1);
}

.print-buyline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  margin-top: 0.35rem;
}

.print-price {
  font-weight: 600;
}

.print-stock {
  font-size: var(--step--1);
  font-weight: 600;
  color: #8a4600;
}

.print-stock.is-soldout {
  color: var(--ink-soft);
}

.print-stock:empty {
  display: none;
}

/* Siden for ett trykk */

.crumb {
  padding-top: 1.5rem;
  font-size: var(--step--1);
}

.print-layout {
  display: grid;
  gap: clamp(1.75rem, 1rem + 3vw, 4.5rem);
  align-items: start;
  padding-block: 1.25rem clamp(3rem, 2rem + 4vw, 6rem);
}

@media (min-width: 56rem) {
  .print-layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .print-media {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
}

.print-wall-large {
  aspect-ratio: 1 / 1;
  padding: 9%;
}

.print-wall-large .print-sheet {
  padding: clamp(8px, 4%, 28px);
}


/* Flere bilder av trykket: ett om gangen, med piler og prikker under (se «Trykksiden: bla i bildene» i site.js).
   Det første er trykket på papir med vegg rundt, som når det bare er ett bilde. De andre er fotografier som fyller
   rammen. Man kan swipe sidelengs; rulling opp og ned og zoom virker som vanlig. */
.viewer {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
}

.viewer-stage {
  aspect-ratio: 1 / 1;
  background: var(--wall);
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
}

.viewer-slide {
  grid-area: 1 / 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0s linear 0.4s,
    transform 0.4s ease;
}

.viewer-slide.is-current {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.4s ease,
    visibility 0s,
    transform 0.4s ease;
}

/* Veggen rundt bildet, som når det bare er ett bilde. */
.viewer-slide {
  padding: 9%;
}

/* Bildet (og pilene og prikkene under) skal synes uten å bla, også på en bærbar PC med lav skjerm.
   Bredden er den samme; på lave skjermer blir veggen litt lavere enn den er bred. Veggen rundt arket
   regnes ut fra høyden, så arket ikke blir lite på en mobil som holdes på tvers. */
.print-media {
  container-type: inline-size;
}

@supports (height: 1cqi) and (height: 1svh) {
  .print-media {
    --stage: min(100cqi, max(18rem, 100svh - var(--header-h) - 8rem));
  }

  .print-wall-large,
  .viewer-stage {
    aspect-ratio: auto;
    height: var(--stage);
  }

  .print-wall-large,
  .viewer-slide {
    padding: calc(var(--stage) * 0.09);
  }
}

.viewer-slide > .zoom {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.viewer-slide .print-sheet {
  padding: clamp(8px, 4%, 28px);
}

/* De andre bildene har samme format og plass som hovedbildet (formatet står på bildet), men ingen hvit kant.
   Et bilde i et annet format beskjæres fra midten. */
.viewer-slide .print-photo {
  padding: 0;
  object-fit: cover;
}

.viewer-stage .zoom,
.viewer-stage img {
  -webkit-user-drag: none;
}

.viewer-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.15rem;
}

html:not(.js) .viewer-controls {
  display: none;
}

.viewer-arrow {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0.65;
  transition:
    opacity 0.2s,
    background-color 0.2s;
}

.viewer-arrow:hover {
  opacity: 1;
  background: var(--wall);
}

@media (prefers-reduced-motion: reduce) {
  .viewer-slide,
  .viewer-slide.is-current {
    transition: none;
  }
}

.print-info h1 {
  font-size: var(--step-4);
}

.print-facts {
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.5rem;
}

.print-facts > div {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1rem;
}

.print-facts dt {
  color: var(--ink-soft);
}

.print-facts dd {
  margin: 0;
}

.print-description {
  margin-top: 1.5rem;
  max-width: 34rem;
}

.print-description p + p,
.print-about p + p,
.print-note p + p {
  margin-top: 0.75em;
}

.print-buy {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.1rem;
}

.print-sizes {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.print-sizes legend {
  font-weight: 600;
  margin-bottom: 0.5rem;
  padding: 0;
}

.print-size {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.print-size:has(input:checked) {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.print-size.is-soldout {
  cursor: default;
  color: var(--ink-soft);
}

.print-size input {
  accent-color: var(--ink);
  width: 1.1rem;
  height: 1.1rem;
}

.print-size-label small {
  display: block;
  color: var(--ink-soft);
  font-size: var(--step--1);
}

.print-size-meta {
  margin-left: auto;
  color: var(--ink-soft);
  white-space: nowrap;
}

.print-price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
}

.print-price-big {
  font-family: var(--font-title);
  font-size: var(--step-3);
  line-height: 1.1;
}

.print-frame {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}

.print-frame[hidden] {
  display: none;
}

.print-frame input {
  accent-color: var(--ink);
  width: 1.15rem;
  height: 1.15rem;
}

.print-order {
  justify-self: start;
  min-width: 12rem;
}

.print-frame-wrap {
  display: grid;
  gap: 0.2rem;
}

.print-frame-price {
  color: var(--ink-soft);
}

.print-frame-note {
  padding-left: 1.75rem;
  color: var(--ink-soft);
  font-size: var(--step--1);
}

.print-delivery {
  display: grid;
  gap: 0.15rem;
  color: var(--ink-soft);
  font-size: var(--step--1);
}

.print-order[hidden] {
  display: none;
}

.print-note {
  color: var(--ink-soft);
  font-size: var(--step--1);
  max-width: 30rem;
}

.print-about {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  max-width: 34rem;
  font-size: calc(var(--step-0) * var(--fs-shop-about, 1));
}

.more-prints {
  padding-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  border-top: 1px solid var(--line);
}

.more-prints .section-head h2 {
  font-size: var(--step-2);
}

.sheet-link {
  display: block;
}

/* --- Bokomslag: omslagene står på en felles grunnlinje, som bøker i en hylle --- */

.shelf {
  --shelf-gap: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(9.5rem, 42%), 1fr));
  column-gap: clamp(1rem, 0.6rem + 1.5vw, 2rem);
  row-gap: 0;
  padding-bottom: clamp(3rem, 2rem + 4vw, 6rem);
}

@media (min-width: 64rem) {
  .shelf {
    grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  }
}

/* Hvert omslag tar to rader i rutenettet: bildet og teksten.
   Da står alle omslagene i en rad på samme linje, uansett hvor lang teksten er. */
.shelf li {
  grid-row: span 2;
  display: grid;
  grid-template-rows: subgrid;
}

.shelf figure {
  grid-row: span 2;
  display: grid;
  grid-template-rows: subgrid;
  margin: 0;
}

.shelf .zoom,
.shelf figure > .ph {
  align-self: end;
}

.shelf .art,
.shelf .ph {
  box-shadow: 0 1px 2px rgb(29 35 64 / 0.12), 0 10px 18px -14px rgb(29 35 64 / 0.6);
}

.shelf figcaption {
  padding: 0.8rem 0 var(--shelf-gap);
  font-size: var(--step--1);
  line-height: 1.4;
  color: var(--ink-soft);
}

.cover-title {
  display: block;
  font-family: var(--font-title);
  font-size: var(--step-0);
  line-height: 1.3;
  color: var(--ink);
}

.cover-author,
.cover-meta {
  display: block;
}

@supports not (grid-template-rows: subgrid) {
  .shelf li,
  .shelf figure {
    grid-row: auto;
    grid-template-rows: 1fr auto;
    height: 100%;
  }
}

/* --- Bildebøker --------------------------------------------------------- */

.books {
  display: grid;
  gap: clamp(3rem, 2rem + 3vw, 5rem) clamp(2rem, 1rem + 3vw, 4rem);
  padding-bottom: clamp(3rem, 2rem + 4vw, 6rem);
}

@media (min-width: 60rem) {
  .books {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.book {
  display: grid;
  gap: 1.25rem;
  align-items: end;
}

@media (min-width: 36rem) {
  .book {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: clamp(1.25rem, 0.5rem + 2vw, 2rem);
  }
}

.book .art,
.book .ph {
  box-shadow: 0 1px 2px rgb(29 35 64 / 0.12), 0 14px 26px -18px rgb(29 35 64 / 0.6);
}

.book-title {
  font-size: var(--step-2);
}

.book-credit {
  margin-top: 0.6rem;
}

.book-meta {
  margin-top: 0.15rem;
  color: var(--ink-soft);
  font-size: var(--step--1);
}

.book-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
}

/* --- Illustrasjoner: rader med lik høyde som fyller bredden ------------- */

.justified {
  --row: clamp(9rem, 6rem + 14vw, 19rem);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.5rem, 0.3rem + 0.8vw, 1rem);
  padding-bottom: clamp(3rem, 2rem + 4vw, 6rem);
}

.justified::after {
  content: '';
  flex-grow: 1000000;
}

.justified li {
  flex-grow: calc(var(--ar) * 100);
  flex-basis: calc(var(--ar) * var(--row));
  min-width: 0;
}

.justified .art,
.justified .ph {
  width: 100%;
  height: auto;
  aspect-ratio: var(--ar);
  object-fit: cover;
}

@media (max-width: 30rem) {
  .justified li {
    flex-basis: 100%;
  }
}

/* --- Om meg og Kontakt -------------------------------------------------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  align-items: start;
  padding-bottom: clamp(3rem, 2rem + 4vw, 6rem);
}

@media (min-width: 48rem) {
  .about {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  }
}

.about-portrait {
  max-width: 22rem;
}

.about-text p {
  font-size: calc(var(--step-1) * var(--fs-about, 1));
  line-height: 1.55;
  max-width: 38rem;
}

.about-links {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-list {
  display: grid;
  gap: 1.75rem;
  padding-bottom: clamp(3rem, 2rem + 4vw, 6rem);
  max-width: 40rem;
}

.contact-list dt {
  color: var(--ink-soft);
  font-size: calc(var(--step--1) * var(--fs-contact, 1));
}

.contact-list dd {
  margin: 0.15rem 0 0;
  font-family: var(--font-title);
  font-size: calc(var(--step-2) * var(--fs-contact, 1));
  overflow-wrap: anywhere;
}

.prose {
  max-width: 40rem;
  padding-bottom: clamp(3rem, 2rem + 4vw, 6rem);
}

.prose p + p {
  margin-top: 1rem;
}

.prose p {
  font-size: var(--step-1);
  line-height: 1.5;
}

/* --- Bunn --------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 2.5rem 2rem;
  font-size: calc(var(--step--1) * var(--fs-footer, 1));
  color: var(--ink-soft);
}

.footer-inner {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 48rem) {
  .footer-inner {
    grid-template-columns: auto 1fr auto;
    align-items: start;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
}

.footer-brand .brand-mark {
  width: 2.5rem;
  height: 2.5rem;
}

.footer-nav ul,
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.footer-nav a,
.footer-contact a {
  color: var(--ink);
}

.footer-legal {
  grid-column: 1 / -1;
}

/* --- Bildevisning (lysboks) --------------------------------------------- */

.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(255 255 255 / 0.98);
  color: var(--ink);
}

.lightbox::backdrop {
  background: rgb(255 255 255 / 0.98);
}

.lightbox[open] {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.lb-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: clamp(0.75rem, 2vw, 2rem);
  touch-action: pan-y pinch-zoom;
}

.lb-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 1px 2px rgb(29 35 64 / 0.1), 0 20px 40px -30px rgb(29 35 64 / 0.6);
}

.lb-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem 1.5rem;
  align-items: center;
  padding: 0.75rem var(--gutter) max(1rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}

.lb-caption {
  font-size: var(--step--1);
}

.lb-caption strong {
  display: block;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: var(--step-1);
}

.lb-count {
  color: var(--ink-soft);
  font-size: var(--step--1);
  font-variant-numeric: tabular-nums;
}

.lb-buttons {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.5rem;
}

.lb-buttons .lb-close {
  margin-left: auto;
}

.lb-buttons button {
  background: none;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0.45em 1em;
  cursor: pointer;
  min-height: 2.75rem;
}

.lb-buttons button:hover {
  background: var(--wall);
}

@media (min-width: 48rem) {
  .lb-bar {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .lb-buttons {
    grid-column: auto;
  }
}

/* --- Kassen ------------------------------------------------------------- */

.checkout {
  padding-bottom: clamp(3rem, 2rem + 4vw, 6rem);
}

.co-head {
  padding-bottom: 1.5rem;
}

.co-layout {
  display: grid;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  align-items: start;
}

@media (min-width: 60rem) {
  .co-layout {
    grid-template-columns: minmax(0, 7fr) minmax(18rem, 4fr);
  }

  .co-summary {
    position: sticky;
    top: calc(var(--header-h) + 1.25rem);
  }
}

.co-main {
  display: grid;
  gap: 2.25rem;
}

.co-step h2,
.co-summary h2 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--step-2);
  margin-bottom: 1rem;
}

.co-num {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-text);
  font-size: 0.875rem;
  font-weight: 650;
}

.co-lines {
  border-top: 1px solid var(--line);
}

.co-line {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  grid-template-areas:
    'thumb text text'
    'thumb price remove';
  gap: 0.35rem 1rem;
  align-items: center;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 40rem) {
  .co-line {
    grid-template-columns: 5.5rem minmax(0, 1fr) auto auto;
    grid-template-areas: 'thumb text price remove';
  }
}

.co-thumb {
  grid-area: thumb;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--wall);
  padding: 8%;
  align-self: start;
}

.co-thumb.is-empty {
  display: block;
}

.co-line-text {
  grid-area: text;
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.co-line-text strong {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: var(--step-1);
  line-height: 1.25;
}

.co-line-meta {
  display: block;
  color: var(--ink-soft);
  font-size: var(--step--1);
}

.co-line-price {
  grid-area: price;
  font-weight: 600;
  white-space: nowrap;
}

.co-remove {
  grid-area: remove;
  justify-self: end;
  background: none;
  border: 0;
  padding: 0.4rem 0;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
  font-size: var(--step--1);
}

.co-remove:hover {
  color: var(--ink);
  text-decoration-color: var(--orange);
}

.co-frame {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
  cursor: pointer;
  font-size: var(--step--1);
}

.co-frame input,
.co-choice input {
  accent-color: var(--ink);
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.co-empty {
  padding: 1.25rem;
  background: var(--wall);
}

.co-add {
  margin-top: 1rem;
}

.co-add summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 2.75rem;
  padding: 0.5em 1.2em;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--ink);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.co-add summary::-webkit-details-marker {
  display: none;
}

.co-add summary::before {
  content: '+';
  font-size: 1.2em;
  line-height: 1;
}

.co-add[open] summary::before {
  content: '–';
}

.co-add summary:hover {
  background: var(--wall);
}

.co-add-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
  gap: 1.25rem 1rem;
  margin-top: 1.25rem;
}

.co-add-item {
  display: grid;
  gap: 0.4rem;
  align-content: start;
}

.co-add-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--wall);
  padding: 10%;
}

.co-add-thumb.is-empty {
  display: block;
}

.co-add-title {
  font-family: var(--font-title);
  line-height: 1.25;
}

.co-add-btn {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  min-height: 2.5rem;
  padding: 0.4em 0.9em;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  font-weight: 600;
  font-size: var(--step--1);
  cursor: pointer;
}

.co-add-btn:hover {
  background: var(--orange-hover);
}

.co-delivery {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.co-choice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.co-choice input {
  margin-top: 0.2rem;
}

.co-choice:has(input:checked) {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.co-choice-text {
  display: grid;
  gap: 0.1rem;
}

.co-choice-text strong {
  font-weight: 600;
}

.co-choice-note {
  color: var(--ink-soft);
  font-size: var(--step--1);
}

.co-choice-price {
  margin-left: auto;
  font-weight: 600;
  white-space: nowrap;
}

.co-delivery.has-error .co-choice {
  border-color: var(--red);
}

.co-fields {
  display: grid;
  gap: 1.1rem;
  max-width: 34rem;
}

.co-address {
  display: grid;
  gap: 1.1rem;
}

.co-address[hidden],
.co-address [hidden] {
  display: none;
}

.co-field {
  display: grid;
  gap: 0.35rem;
}

.co-field label {
  font-weight: 600;
}

.co-form input[type='text'],
.co-form input[type='email'],
.co-form input[type='tel'],
.co-form textarea {
  width: 100%;
  font: inherit;
  color: inherit;
  background: var(--paper);
  border: 1.5px solid var(--field);
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
  min-height: 3rem;
}

.co-form textarea {
  resize: vertical;
  line-height: 1.5;
}

.co-form input:focus,
.co-form textarea:focus {
  outline: 3px solid var(--orange);
  outline-offset: 0;
  border-color: var(--ink);
}

.co-field.has-error input,
.co-field.has-error textarea {
  border-color: var(--red);
}

.co-row {
  display: grid;
  grid-template-columns: minmax(8rem, 11rem) minmax(0, 1fr);
  gap: 1rem;
}

.co-help {
  color: var(--ink-soft);
  font-size: var(--step--1);
}

.co-error {
  color: var(--red);
  font-weight: 600;
  font-size: var(--step--1);
}

.co-step > .co-error {
  margin-top: 0.6rem;
}

.co-error[hidden] {
  display: none;
}

.co-errors,
.co-notice {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 10px;
}

.co-errors {
  background: var(--red-wash);
  color: var(--red);
}

.co-errors p {
  font-weight: 600;
}

.co-errors ul,
.co-notice ul {
  margin-top: 0.4rem;
  padding-left: 1.2rem;
  list-style: disc;
}

.co-errors a {
  color: inherit;
}

.co-notice {
  background: var(--orange-wash);
}

.co-honey {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.co-summary {
  padding: clamp(1.1rem, 0.8rem + 1vw, 1.5rem);
  background: var(--wall);
  border-radius: 12px;
  display: grid;
  gap: 1rem;
}

.co-summary h2 {
  margin-bottom: 0;
}

.co-sums {
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.co-sums > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.co-sums > div[hidden] {
  display: none;
}

.co-sums dt {
  color: var(--ink-soft);
}

.co-sums dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.co-sums .co-total {
  margin-top: 0.4rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
  font-size: var(--step-1);
  font-weight: 650;
}

.co-sums .co-total dt {
  color: var(--ink);
}

.co-pay,
.co-terms,
.co-binding {
  font-size: var(--step--1);
  color: var(--ink-soft);
}

.co-pay p + p {
  margin-top: 0.5em;
}

.co-submit {
  width: 100%;
  font-size: var(--step-1);
}

.co-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.co-update {
  width: 100%;
}

/* --- Bekreftelsen --------------------------------------------------------- */

.order-page {
  padding-bottom: clamp(3rem, 2rem + 4vw, 6rem);
}

.order-number {
  margin-top: 0.75rem;
  font-family: var(--font-title);
  font-size: var(--step-2);
}

.order-lead {
  margin-top: 0.5rem;
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: var(--step-1);
}

.order-block + .order-block {
  margin-top: 1.5rem;
}

.order-block h3 {
  font-size: var(--step-1);
  margin-bottom: 0.4rem;
}

.order-block p + p {
  margin-top: 0.5rem;
}

.order-block,
.order-questions {
  max-width: 36rem;
}

.order-questions {
  color: var(--ink-soft);
}

.order-lines {
  display: grid;
  gap: 0.75rem;
}

.order-lines li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.15rem 1rem;
}

.order-lines strong {
  display: block;
  font-family: var(--font-title);
  font-weight: 500;
}

.order-frame {
  color: var(--ink-soft);
  font-size: var(--step--1);
}

.order-back {
  margin-top: 2.5rem;
}

/* --- Kjøpsvilkår og personvern ------------------------------------------- */

.legal-text {
  max-width: 42rem;
  padding-bottom: clamp(3rem, 2rem + 4vw, 6rem);
  font-size: calc(var(--step-0) * var(--fs-legal, 1));
}

.legal-text h2 {
  margin-top: 2.25rem;
  font-size: calc(var(--step-2) * var(--fs-legal, 1));
}

.legal-text p {
  margin-top: 0.75rem;
}

.legal-item {
  position: relative;
  padding-left: 1.25rem;
}

.legal-item::before {
  content: '•';
  position: absolute;
  left: 0.2rem;
}

.footer-legal a {
  color: var(--ink);
  margin-left: 0.5rem;
}

/* --- Bildevern ------------------------------------------------------------ */

/* Bildene kan ikke dras ut av nettleseren, og langt trykk på iPhone og iPad gir ikke «Lagre bilde». */
img {
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

.protect-toast {
  position: fixed;
  left: 50%;
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 60;
  width: max-content;
  max-width: calc(100vw - 2rem);
  margin: 0;
  padding: 0.75rem 1.2rem;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  font-size: var(--step--1);
  box-shadow: 0 12px 30px -12px rgb(29 35 64 / 0.6);
}

.protect-toast[hidden] {
  display: none;
}

/* --- Feilsider ---------------------------------------------------------- */

.notice {
  padding-block: clamp(3rem, 2rem + 5vw, 7rem);
  max-width: 40rem;
}

.notice h1 {
  font-size: var(--step-4);
}

.notice p {
  margin-top: 1rem;
  font-size: var(--step-1);
  color: var(--ink-soft);
}

.notice .actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* --- Betaling med Vipps -------------------------------------------------------------------- */

.co-paychoice {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  color: var(--ink);
  font-size: var(--step-0);
}

.co-paychoice .co-choice {
  padding: 0.75rem 0.85rem;
  background: var(--paper, #fff);
}

.order-vipps p + p {
  margin-top: 0.5em;
}

.order-vipps-form {
  margin-top: 1rem;
}

/* Vipps' egen oransje farge på knappen, så kunden kjenner den igjen (mørk tekst for god kontrast). */
.order-vipps-button {
  background: #ff5b24;
  color: var(--ink);
}

.order-vipps-button:hover {
  background: #ff7043;
  color: var(--ink);
}
