:root {
  /* Profilfarger: Kino rød, Kino fiolett (100 % og 75 %), Kino sort 7 % */
  --vin: #544162;
  --dyp: #1c0a2b;
  --rod: #d81117;
  --papir: #eeeeee;
  --blekk: #1c0a2b;
  --vipps: #ff5b24;
  --dempet: rgba(238, 238, 238, .7);
  --display: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tekst: var(--display);
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { background: var(--dyp); }
body {
  margin: 0; min-height: 100vh; color: var(--papir); font-family: var(--tekst);
  font-size: 17px; line-height: 1.45;
  background: radial-gradient(120% 60% at 50% 0%, var(--vin), var(--dyp) 70%);
}
.wrap { max-width: 34rem; margin: 0 auto; padding: 1.5rem 1.25rem 9rem; }
.logo { display: block; width: 12rem; height: auto; }
.top h1 {
  font-family: var(--display); font-weight: 800; font-size: 2.2rem; line-height: 1.05;
  margin: 1.5rem 0 .5rem; color: #fff;
}
h2 { font-family: var(--display); font-weight: 700; font-size: 1.3rem; margin: 2rem 0 .25rem; }
.muted { color: var(--dempet); }
.small { font-size: .9rem; }
.items { list-style: none; margin: 0; padding: 0; }
.items li {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .9rem 0; border-bottom: 1px solid rgba(238, 238, 238, .12);
}
.navn { font-weight: 600; }
.stepper { display: flex; align-items: center; gap: .25rem; flex-shrink: 0; }
.stepper output { min-width: 1.6rem; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.stepper button {
  width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 0;
  background: var(--rod); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.stepper button:active { background: #fff; color: var(--rod); }
button:focus-visible, a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.bar {
  position: fixed; left: 0; right: 0; bottom: 0; background: var(--papir); color: var(--blekk);
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 30px rgba(0, 0, 0, .35);
}
.bar .muted { color: rgba(28, 10, 43, .65); }
.bar-inner { max-width: 34rem; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.sum { font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1; }
.vipps {
  background: var(--vipps); color: #fff; border: 0; border-radius: 999px; padding: 1rem 1.5rem;
  font: 700 1.05rem var(--tekst); cursor: pointer;
}
.vipps:disabled { opacity: .6; }
.feil { max-width: 34rem; margin: .5rem auto 0; color: #b3261e; font-weight: 600; }
.feil:empty { display: none; }
a { color: #fff; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
.sete { margin-top: 1rem; padding: .75rem 1rem; border-radius: 12px; background: rgba(238, 238, 238, .1); }
.sete h2 { margin-top: 0; }
.sete p { margin: 0; }
.valg { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); gap: .6rem; margin-top: .75rem; }
.valg button {
  border: 0; border-radius: 12px; padding: 1rem .5rem; background: var(--rod); color: #fff;
  font: 700 1.2rem var(--tekst); cursor: pointer;
}
.lenke { background: none; border: 0; padding: .5rem 0 0; color: #fff; text-decoration: underline; font: 600 1rem var(--tekst); cursor: pointer; }
.kommentar { display: block; max-width: 34rem; margin: 0 auto .75rem; }
.kommentar span { display: block; margin-bottom: .2rem; }
.kommentar input {
  width: 100%; padding: .7rem .9rem; border: 1px solid rgba(28, 10, 43, .25); border-radius: 10px;
  font: 400 1rem var(--tekst); color: var(--blekk); background: #fff;
}
.kategori { border-bottom: 1px solid rgba(247, 239, 226, .2); }
.kategori summary {
  display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 0;
  cursor: pointer; list-style: none;
}
.kategori summary::-webkit-details-marker { display: none; }
.kategori summary::after { content: "+"; font-size: 1.6rem; font-weight: 700; line-height: 1; }
.kategori[open] summary::after { content: "−"; }
.kategori summary h2 { margin: 0; }
.kategori .items li:last-child { border-bottom: 0; }
.tider { border-collapse: collapse; width: 100%; max-width: 20rem; }
.tider td { padding: .3rem 0; }
.tider td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
