/* Varm Forlag – nettside
   Idé: «Fra mørke til håp». Forsiden åpner i nattblått, regnbuen stiger opp,
   resten av siden er lys morgenhimmel med varme, avrundede bokser. */


:root {
  --ink: #1C2440;
  --ink-2: #333C5E;
  --muted: #5F6782;
  --line: #E1E5EE;
  --bg: #F2F4F9;
  --card: #FFFFFF;
  --gold: #EFA524;
  --gold-deep: #B8760A;
  --gold-soft: #FFF3DA;
  --rose: #C43F66;
  --rose-soft: #FBE7EE;
  --sea: #1F7A79;
  --sea-soft: #DCF0EE;
  --night: #141B33;
  --night-2: #263463;

  --rb-1: #E5484D; --rb-2: #F2994A; --rb-3: #F2C94C; --rb-4: #5BB974; --rb-5: #3A86D4; --rb-6: #7B5CC4;

  --r-xl: 32px; --r-lg: 22px; --r-md: 14px; --r-sm: 10px;
  --shadow: 0 1px 2px rgba(28,36,64,.06), 0 14px 34px -14px rgba(28,36,64,.22);
  --shadow-lg: 0 2px 4px rgba(28,36,64,.06), 0 30px 60px -24px rgba(28,36,64,.35);

  --serif: 'Young Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.i18n-pending main, body.i18n-pending .site-header, body.i18n-pending .site-footer { opacity: 0; }
main, .site-header, .site-footer { transition: opacity .2s; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--rb-5); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--muted); }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(36px, 5vw, 64px) 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Knapper */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.5em; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; font-size: 1rem; text-decoration: none; line-height: 1.2;
  transition: transform .15s, background-color .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: #F7B53D; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn-light:hover { background: rgba(255,255,255,.2); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; }

/* ───── Topp ───── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(242,244,249,.86); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand svg { width: 44px; height: 26px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.main-nav { display: flex; gap: 2px; }
.main-nav a { white-space: nowrap; }
.main-nav a {
  text-decoration: none; padding: .5em 1em; border-radius: 999px; font-weight: 500; color: var(--ink-2);
}
.main-nav a:hover { background: #fff; color: var(--ink); }
.main-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.header-tools { display: flex; align-items: center; gap: 8px; }
.lang-switch {
  display: inline-flex; background: #fff; border-radius: 999px; padding: 3px; box-shadow: inset 0 0 0 1px var(--line);
}
.lang-switch button {
  border: 0; background: none; padding: .35em .75em; border-radius: 999px; cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--muted);
}
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.icon-btn {
  position: relative; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; cursor: pointer;
  display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line);
}
.icon-btn:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.icon-btn svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute; top: -2px; right: -2px; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 999px;
  background: var(--rose); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center;
}
.cart-count[hidden] { display: none; }
.menu-btn { display: none; }

@media (max-width: 1100px) {
  .menu-btn { display: grid; }
  .main-nav {
    position: fixed; inset: 76px 12px auto 12px; flex-direction: column; background: #fff; padding: 10px;
    border-radius: var(--r-lg); box-shadow: var(--shadow-lg); display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .9em 1.1em; font-size: 1.1rem; }
  .brand-name { font-size: 1.25rem; }
}

/* ───── Hero: bredt bilde ───── */
.hero-photo {
  position: relative; overflow: hidden; color: #fff; background: var(--night);
  min-height: clamp(400px, 34vw, 540px); display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg svg, .hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,27,51,.88) 0%, rgba(20,27,51,.62) 34%, rgba(20,27,51,.12) 62%, rgba(20,27,51,0) 80%);
}
.hero-inner { position: relative; z-index: 2; padding-block: clamp(40px, 5vw, 64px); }
.hero-text { max-width: 600px; }
.hero-kicker { color: var(--rb-3); font-weight: 600; margin-bottom: 1em; display: flex; align-items: center; gap: .6em; }
.hero-kicker::before { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.hero-photo h1 { color: #fff; font-size: clamp(2.1rem, 4.2vw, 3.5rem); max-width: 17ch; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero-photo .lead { color: #E3E7F3; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-meta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #D2D8EA; font-size: .95rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: .45em; }
.hero-meta svg { width: 17px; height: 17px; color: var(--rb-3); }
.hero-note {
  position: absolute; z-index: 2; right: clamp(20px, 4vw, 64px); top: clamp(24px, 4vw, 48px); margin: 0;
  max-width: 15ch; font-family: 'Caveat', cursive; font-size: clamp(1.5rem, 2.3vw, 2.3rem); line-height: 1.05;
  color: #fff; transform: rotate(-6deg); text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
@media (max-width: 860px) {
  .hero-photo { min-height: 0; }
  .hero-shade { background: linear-gradient(180deg, rgba(20,27,51,.55) 0%, rgba(20,27,51,.82) 55%, rgba(20,27,51,.92) 100%); }
  .hero-note { display: none; }
}

/* ───── Bokser / kort ───── */
.card { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.card-pad { padding: clamp(22px, 3vw, 34px); }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 20ch; }
.section-head p { margin: 0; max-width: 48ch; color: var(--muted); }

/* Formater */
.format-card {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: var(--r-lg);
  text-decoration: none; background: var(--card); box-shadow: var(--shadow); overflow: hidden; min-height: 210px;
  transition: transform .2s, box-shadow .2s;
}
.format-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.format-card .f-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 14px; }
.format-card .f-icon svg { width: 26px; height: 26px; }
.format-card h3 { margin: 0; }
.format-card .f-price { margin-top: auto; padding-top: 16px; font-weight: 700; font-size: 1.15rem; display: flex; justify-content: space-between; align-items: center; }
.format-card .f-price .go { width: 38px; height: 38px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; }
.tone-gold .f-icon { background: var(--gold-soft); color: var(--gold-deep); }
.tone-rose .f-icon { background: var(--rose-soft); color: var(--rose); }
.tone-sea .f-icon { background: var(--sea-soft); color: var(--sea); }

/* Fortelling */
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.story-media { position: relative; }
.story-media img { border-radius: var(--r-xl); width: 100%; aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow-lg); }
.story-media .stamp {
  position: absolute; right: -14px; bottom: 28px; background: #fff; border-radius: var(--r-lg); padding: 16px 20px;
  box-shadow: var(--shadow-lg); max-width: 240px; font-size: .95rem; line-height: 1.4;
}
.story-media .stamp strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: var(--rose); }
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0 30px; }
.journey div { background: #fff; border-radius: var(--r-md); padding: 16px; box-shadow: var(--shadow); }
.journey svg { width: 26px; height: 26px; margin-bottom: 8px; }
.journey strong { display: block; }
.journey span { font-size: .9rem; color: var(--muted); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story-media .stamp { right: 12px; } }

/* Forfatter */
.author-band { background: var(--card); border-radius: var(--r-xl); box-shadow: var(--shadow); overflow: hidden; display: grid; grid-template-columns: 1fr 1.25fr; }
.author-band .a-img { min-height: 420px; }
.author-band .a-img img { width: 100%; height: 100%; object-fit: cover; }
.author-band .a-body { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
blockquote.pull {
  margin: 26px 0; padding: 22px 26px; background: var(--gold-soft); border-radius: var(--r-lg);
  font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; color: var(--ink);
}
blockquote.pull cite { display: block; margin-top: 10px; font-family: var(--sans); font-style: normal; font-size: .95rem; color: var(--gold-deep); font-weight: 600; }
@media (max-width: 860px) { .author-band { grid-template-columns: 1fr; } .author-band .a-img { min-height: 300px; } }

/* Tilgjengelighet */
.access {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 0; border-radius: var(--r-xl); overflow: hidden;
  background: var(--sea); color: #fff;
}
.access .ac-body { padding: clamp(28px, 5vw, 60px); }
.access h2 { color: #fff; }
.access p { color: #D7EEEC; }
.access .ac-img img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.access ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.access li { display: flex; gap: 12px; align-items: flex-start; }
.access li svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--rb-3); }
@media (max-width: 860px) { .access { grid-template-columns: 1fr; } .access .ac-img { order: -1; max-height: 320px; } }

/* Produktkort */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.product-card {
  background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.product-card .p-img { position: relative; display: block; aspect-ratio: 4/3; background: var(--night-2); overflow: hidden; }
.product-card .p-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .p-img img { transform: scale(1.04); }
.badge {
  position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--night); font-size: .78rem; font-weight: 700;
  padding: .35em .8em; border-radius: 999px;
}
.format-tag {
  position: absolute; top: 14px; right: 14px; background: rgba(20,27,51,.75); color: #fff; font-size: .78rem; font-weight: 600;
  padding: .35em .8em; border-radius: 999px; backdrop-filter: blur(6px);
}
.product-card .p-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { font-size: 1.15rem; margin-bottom: .35em; }
.product-card h3 a { text-decoration: none; }
.product-card h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.product-card p { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.p-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-weight: 700; font-size: 1.2rem; }
.price small { display: block; font-weight: 500; font-size: .8rem; color: var(--muted); }
.add-btn {
  border: 0; cursor: pointer; background: var(--ink); color: #fff; border-radius: 999px; padding: .65em 1.1em; font-weight: 600;
  display: inline-flex; gap: .45em; align-items: center; font-size: .95rem;
}
.add-btn:hover { background: var(--ink-2); }
.add-btn.added { background: var(--sea); }
.add-btn svg { width: 17px; height: 17px; }
.soldout { color: var(--rose); font-weight: 600; font-size: .9rem; }

/* Musikk */
.music { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 22px; align-items: stretch; }
.music .m-intro { padding: 8px 8px 8px 0; }
.music a.m-card {
  display: flex; flex-direction: column; text-decoration: none; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .2s;
}
.music a.m-card:hover { transform: translateY(-3px); }
.music .m-card img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.music .m-card span { padding: 16px 20px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
@media (max-width: 860px) { .music { grid-template-columns: 1fr 1fr; } .music .m-intro { grid-column: 1 / -1; } }
@media (max-width: 520px) { .music { grid-template-columns: 1fr; } }

/* Nyhetsbrev */
.newsletter {
  border-radius: var(--r-xl); background: var(--ink); color: #fff; padding: clamp(28px, 5vw, 56px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; position: relative; overflow: hidden;
}
.newsletter h2 { color: #fff; margin-bottom: .3em; }
.newsletter p { color: #C9D0E6; margin: 0; }
.newsletter form { display: flex; gap: 10px; background: rgba(255,255,255,.08); padding: 6px; border-radius: 999px; }
.newsletter input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; padding: 0 16px; font: inherit; }
.newsletter input::placeholder { color: #98A2C4; }
.newsletter input:focus { outline: none; }
.newsletter .nl-msg { grid-column: 2; font-size: .95rem; color: var(--rb-3); min-height: 1.4em; margin-top: -14px; }
@media (max-width: 760px) { .newsletter { grid-template-columns: 1fr; } .newsletter .nl-msg { grid-column: 1; } }

/* ───── Bunn ───── */
.footer-rainbow { margin-top: clamp(56px, 8vw, 96px); }
.site-footer { background: var(--night); color: #C3CAE0; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 14px; font-weight: 600; }
.site-footer a { color: #C3CAE0; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .brand-name { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.socials a:hover { background: rgba(255,255,255,.18); }
.socials svg { width: 19px; height: 19px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .9rem; color: #8E97B5; }
.footer-rainbow { height: 5px; background: linear-gradient(90deg, var(--rb-1), var(--rb-2), var(--rb-3), var(--rb-4), var(--rb-5), var(--rb-6)); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ───── Undersider ───── */
.page-hero { padding: clamp(36px, 6vw, 72px) 0 clamp(24px, 4vw, 40px); }
.page-hero h1 { max-width: 18ch; }
.crumbs { font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.banner-img { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 21/8; background: var(--night-2); }
.banner-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .banner-img { aspect-ratio: 4/3; } }

.prose { max-width: 68ch; }
.prose p { color: var(--ink-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split img.rounded { border-radius: var(--r-xl); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.fact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.fact { background: #fff; border-radius: var(--r-md); padding: 18px; box-shadow: var(--shadow); }
.fact strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.1; }
.fact span { font-size: .92rem; color: var(--muted); }
@media (max-width: 560px) { .fact-row { grid-template-columns: 1fr; } }

/* Butikk-filter */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; align-items: center; }
.chip {
  border: 0; cursor: pointer; background: #fff; padding: .6em 1.15em; border-radius: 999px; font-weight: 600; font-size: .95rem;
  box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2);
}
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.filters .spacer { flex: 1; }
.filters select { border: 0; background: #fff; border-radius: 999px; padding: .6em 1em; font: inherit; font-weight: 600; font-size: .95rem; box-shadow: inset 0 0 0 1px var(--line); }

/* Produktside */
.product-page { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.gallery-main { border-radius: var(--r-xl); overflow: hidden; background: var(--night-2); aspect-ratio: 4/3; box-shadow: var(--shadow-lg); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.thumbs button { border: 0; padding: 0; width: 84px; height: 64px; border-radius: 12px; overflow: hidden; cursor: pointer; opacity: .6; box-shadow: var(--shadow); }
.thumbs button[aria-current="true"] { opacity: 1; outline: 3px solid var(--gold); outline-offset: 2px; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy-box { position: sticky; top: 100px; }
.buy-box .price { font-size: 2rem; font-family: var(--serif); font-weight: 400; }
.qty { display: inline-flex; align-items: center; background: #fff; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.qty button { width: 42px; height: 46px; border: 0; background: none; cursor: pointer; font-size: 1.2rem; }
.qty input { width: 40px; text-align: center; border: 0; font: inherit; font-weight: 700; background: none; }
.buy-row { display: flex; gap: 12px; margin: 24px 0; flex-wrap: wrap; }
.buy-row .btn { flex: 1; min-width: 200px; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; border-radius: var(--r-md); overflow: hidden; }
.info-list li { background: #fff; padding: 14px 18px; display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; }
.info-list svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--sea); }
.desc { white-space: pre-line; color: var(--ink-2); }
@media (max-width: 860px) { .product-page { grid-template-columns: 1fr; } .buy-box { position: static; } }

/* Skjema */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; border: 0; background: var(--bg); border-radius: var(--r-md); padding: .85em 1em; font: inherit; color: var(--ink);
  box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .15s, background-color .15s;
}
.field input:hover, .field textarea:hover { box-shadow: inset 0 0 0 1px var(--line); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.field textarea { min-height: 150px; resize: vertical; }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--rose); }
.hp { position: absolute; left: -9999px; }
.form-msg { padding: 14px 18px; border-radius: var(--r-md); font-weight: 500; margin-top: 16px; }
.form-msg.ok { background: var(--sea-soft); color: #0f5554; }
.form-msg.err { background: var(--rose-soft); color: #8e2347; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.ci { display: flex; gap: 16px; align-items: flex-start; }
.ci .ci-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.ci .ci-ic svg { width: 22px; height: 22px; }
.ci strong { display: block; }
.ci span, .ci a { color: var(--muted); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Kasse */
.checkout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; align-items: start; }
.checkout .summary { position: sticky; top: 100px; }
@media (max-width: 900px) { .checkout { grid-template-columns: minmax(0, 1fr); } .checkout .summary { position: static; order: -1; } }
.step-title { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.step-title .num { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; }
.step-title h2 { font-size: 1.45rem; margin: 0; }
.pay-options { display: grid; gap: 12px; }
.pay-opt { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--r-md); background: var(--bg); cursor: pointer; box-shadow: inset 0 0 0 1.5px transparent; }
.pay-opt:hover { box-shadow: inset 0 0 0 1.5px var(--line); }
.pay-opt input { position: absolute; opacity: 0; }
.pay-opt:has(input:checked) { background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.pay-opt:has(input:focus-visible) { outline: 3px solid var(--rb-5); outline-offset: 2px; }
.pay-opt .po-logo { width: 54px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; font-weight: 800; font-size: .85rem; }
.pay-opt .po-text strong { display: block; }
.pay-opt .po-text span { font-size: .9rem; color: var(--muted); }
.pay-opt .po-radio { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line); flex: none; }
.pay-opt:has(input:checked) .po-radio { box-shadow: inset 0 0 0 7px var(--ink); }
.vipps-logo { background: #FF5B24; color: #fff; }
.bank-logo { background: var(--ink); color: #fff; }
.card-logo { background: var(--night, #141B33); color: #fff; }
.card-logo svg { width: 26px; height: 26px; }
.pp-wrap { display: grid; gap: 10px; }
.pp-wrap .pp-err { margin: 0; }
.pp-alt { font-size: .9rem; text-align: center; margin: 10px 0 0; }

.line-items { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 14px; }
.line-items li { display: grid; grid-template-columns: 58px 1fr auto; gap: 14px; align-items: center; }
.line-items img { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; background: var(--night-2); }
.line-items .li-name { font-weight: 600; line-height: 1.3; font-size: .96rem; }
.line-items .li-meta { font-size: .85rem; color: var(--muted); }
.totals { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 8px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 1.25rem; font-weight: 700; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px; }

/* Handlekurv-skuff */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(20,27,51,.45); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 10px; right: 10px; bottom: 10px; width: min(430px, calc(100% - 20px)); background: #fff; z-index: 61;
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg); display: flex; flex-direction: column;
  transform: translateX(calc(100% + 20px)); transition: transform .3s cubic-bezier(.3,.7,.2,1);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px 10px; }
.drawer-head h2 { font-size: 1.5rem; margin: 0; }
.drawer-body { flex: 1; overflow: auto; padding: 10px 24px; }
.drawer-foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 70px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 70px; height: 70px; border-radius: 14px; object-fit: cover; background: var(--night-2); }
.cart-line .cl-name { font-weight: 600; line-height: 1.3; }
.cart-line .cl-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.cart-line .qty button { width: 32px; height: 34px; }
.cart-line .qty input { width: 30px; }
.link-btn { border: 0; background: none; cursor: pointer; color: var(--muted); font-size: .88rem; text-decoration: underline; padding: 0; }
.empty-state { text-align: center; padding: 48px 12px; color: var(--muted); }
.empty-state svg { width: 64px; height: 64px; margin: 0 auto 14px; opacity: .35; }

/* Ordrebekreftelse */
.status-hero { text-align: center; padding: clamp(28px, 5vw, 48px); }
.status-ic { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; }
.status-ic svg { width: 38px; height: 38px; }
.pay-box { background: var(--bg); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 12px; }
.pay-box .pb-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.pay-box .pb-val { font-weight: 700; font-size: 1.15rem; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 8px; }
.copy-btn { border: 0; background: #fff; border-radius: 999px; padding: .3em .8em; font-size: .8rem; font-weight: 600; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); }
.notice { background: var(--gold-soft); border-radius: var(--r-md); padding: 14px 18px; font-size: .95rem; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); z-index: 80; background: var(--ink); color: #fff;
  padding: 14px 22px; border-radius: 999px; box-shadow: var(--shadow-lg); font-weight: 500; transition: transform .3s;
  display: flex; gap: 14px; align-items: center; max-width: calc(100% - 32px); visibility: hidden;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast button { background: var(--gold); color: var(--night); border: 0; border-radius: 999px; padding: .35em .9em; font-weight: 700; cursor: pointer; white-space: nowrap; }

.skeleton { background: linear-gradient(90deg, #e9ecf3, #f6f7fb, #e9ecf3); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--r-lg); }
@keyframes sk { to { background-position: -200% 0; } }

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

@media print {
  .site-header, .site-footer, .drawer, .toast { display: none !important; }
  body { background: #fff; }
}

/* ───── Konto-knapp ───── */
.account-btn { position: relative; color: inherit; }
.account-btn.active { box-shadow: inset 0 0 0 1.5px var(--ink); }
.acct-dot { position: absolute; top: 3px; right: 3px; width: 10px; height: 10px; border-radius: 50%; background: var(--sea); box-shadow: 0 0 0 2px #fff; }
@media (max-width: 420px) { .lang-switch button { padding: .35em .55em; } .header-tools { gap: 6px; } .icon-btn { width: 42px; height: 42px; } }

/* ───── Min side ───── */
.acct-grid { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .acct-grid { grid-template-columns: 1fr; } }
.acct-nav { display: grid; gap: 4px; padding: 10px; position: sticky; top: 100px; }
@media (max-width: 860px) { .acct-nav { position: static; display: flex; overflow-x: auto; } .acct-nav a { white-space: nowrap; } }
.acct-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; text-decoration: none; font-weight: 600; color: var(--ink-2); }
.acct-nav a svg { width: 20px; height: 20px; }
.acct-nav a:hover { background: var(--bg); }
.acct-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.acct-head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.acct-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--night); display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; flex: none; }
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.lib-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.lib-card .lc-img { aspect-ratio: 4/3; background: var(--night-2); position: relative; }
.lib-card .lc-img img { width: 100%; height: 100%; object-fit: cover; }
.lib-card .lc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.lib-card h3 { font-size: 1.08rem; margin: 0; }
.progress { height: 6px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--sea); border-radius: 999px; }
.lib-card .lc-actions { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.lib-card .lc-actions .btn { padding: .65em 1.1em; font-size: .92rem; }
.order-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--line); align-items: center; }
.order-row:last-child { border-bottom: 0; }
.order-row .or-thumbs { display: flex; gap: 6px; margin-top: 10px; }
.order-row .or-thumbs img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: var(--night-2); }
.o-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 999px; font-size: .82rem; font-weight: 700; }
.o-pending { background: var(--gold-soft); color: var(--gold-deep); } .o-paid { background: #E5EEFC; color: #1F4FA5; }
.o-shipped { background: #ECE7FA; color: #4E34A0; } .o-completed { background: var(--sea-soft); color: #0f5554; }
.o-cancelled { background: var(--bg); color: var(--muted); } .o-refunded { background: var(--rose-soft); color: #8e2347; }
.auth-wrap { max-width: 460px; margin: 0 auto; }
.tabs-2 { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border-radius: 999px; padding: 4px; margin-bottom: 22px; }
.tabs-2 button { border: 0; background: none; padding: .7em; border-radius: 999px; font-weight: 700; cursor: pointer; color: var(--muted); }
.tabs-2 button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.pay-opt .po-logo svg { width: 22px; height: 22px; }

/* ───── Priser: tilbud og medlemspris ───── */
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.price-now { color: var(--rose); }
.price-was { color: var(--muted); font-weight: 500; font-size: .82em; }
.price-member { flex-basis: 100%; font-size: .8rem; font-weight: 600; color: var(--sea); text-decoration: none; }
.price-member:hover { text-decoration: underline; }
.price-tag { flex-basis: 100%; font-size: .75rem; font-weight: 700; color: var(--sea); text-transform: uppercase; letter-spacing: .04em; }
.badge-soon { background: #fff; color: var(--ink); }
.badge-club { display: inline-flex; align-items: center; gap: .35em; background: var(--ink); color: #fff; }
.badge-club svg { width: 14px; height: 14px; }

/* ───── Forside: forlaget ───── */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 30px 28px; }
.value-card .v-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; }
.value-card .v-ic svg { width: 26px; height: 26px; }
.value-card h3 { font-size: 1.25rem; margin-bottom: .4em; }
.value-card p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }
.intro-band { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.intro-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.intro-band .eyebrow, .eyebrow { display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 12px; }
.intro-band img { width: 100%; border-radius: var(--r-xl); aspect-ratio: 5/4; object-fit: cover; box-shadow: var(--shadow-lg); }
@media (max-width: 860px) { .intro-band { grid-template-columns: 1fr; gap: 28px; } }

/* ───── Bokkort ───── */
.books { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.book-card { background: var(--card); border-radius: var(--r-xl); box-shadow: var(--shadow); overflow: hidden; display: grid; grid-template-columns: 42% 1fr; transition: transform .2s, box-shadow .2s; min-height: 280px; }
.book-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.book-card .bk-img { position: relative; display: block; background: linear-gradient(160deg, var(--night-2), var(--night)); overflow: hidden; }
.book-card .bk-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.book-card:hover .bk-img img { transform: scale(1.04); }
.bk-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; text-align: center; color: #fff; font-family: var(--serif); font-size: 1.2rem; line-height: 1.2; }
.bk-placeholder svg { width: 84px; height: 50px; }
.book-card .bk-body { padding: 28px 26px; display: flex; flex-direction: column; }
.book-card h3 { font-size: 1.4rem; margin-bottom: .2em; }
.book-card h3 a { text-decoration: none; }
.book-card .bk-by { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.book-card p { color: var(--ink-2); }
.bk-link { margin-top: auto; display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--ink); }
.bk-link svg { width: 18px; height: 18px; transition: transform .2s; }
.book-card:hover .bk-link svg { transform: translateX(4px); }
@media (max-width: 520px) { .book-card { grid-template-columns: 1fr; } .book-card .bk-img { aspect-ratio: 4/3; } }

/* ───── Nyheter ───── */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.news-card { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.news-card .nc-img { position: relative; display: block; aspect-ratio: 16/9; background: linear-gradient(140deg, var(--gold-soft), var(--rose-soft)); overflow: hidden; }
.news-card .nc-img img { width: 100%; height: 100%; object-fit: cover; }
.nc-placeholder { position: absolute; inset: 0; display: grid; place-items: center; }
.nc-placeholder svg { width: 90px; height: 54px; opacity: .9; }
.news-card .nc-body { padding: 20px 22px 24px; }
.news-card time { font-size: .82rem; font-weight: 600; color: var(--muted); }
.news-card h3 { font-size: 1.2rem; margin: .3em 0 .4em; }
.news-card h3 a { text-decoration: none; }
.news-card h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.news-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.news-empty { background: var(--card); border-radius: var(--r-lg); padding: 36px; text-align: center; color: var(--muted); box-shadow: var(--shadow); }
.article { max-width: 760px; margin: 0 auto; }
.article .a-hero { border-radius: var(--r-xl); overflow: hidden; margin: 0 0 32px; box-shadow: var(--shadow-lg); }
.article .a-hero img { width: 100%; max-height: 520px; object-fit: cover; }
.article .a-meta { color: var(--muted); font-size: .92rem; margin-bottom: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
.article .a-body { font-size: 1.1rem; line-height: 1.75; }
.article .a-body p { margin: 0 0 1.1em; }
.lock-box { background: var(--night); color: #fff; border-radius: var(--r-xl); padding: 36px; text-align: center; margin-top: 24px; }
.lock-box svg { width: 34px; height: 34px; color: var(--gold); }
.lock-box h2 { color: #fff; margin: 12px 0 8px; }
.lock-box p { color: rgba(255,255,255,.78); }
.lock-box .btn { margin: 6px; }

/* ───── Kundeklubb ───── */
.club-band { position: relative; overflow: hidden; border-radius: var(--r-xl); background: linear-gradient(135deg, var(--night) 0%, var(--night-2) 60%, #4A3A78 100%); color: #fff; padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; align-items: center; }
.club-band::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(239,165,36,.35), transparent 70%); pointer-events: none; }
.club-band h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.club-band p { color: rgba(255,255,255,.82); }
.club-band .eyebrow { color: var(--gold); }
.club-perks { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.club-perks li { display: flex; gap: 12px; align-items: flex-start; }
.club-perks li svg { width: 22px; height: 22px; flex: none; color: var(--gold); margin-top: 2px; }
.club-card { position: relative; z-index: 1; aspect-ratio: 1.586; border-radius: 22px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(135deg, #FFE7B0, var(--gold) 55%, #E07A3F); color: var(--night); box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); transform: rotate(-4deg); }
.club-card .cc-top { display: flex; justify-content: space-between; align-items: center; }
.club-card .cc-top svg { width: 54px; height: 32px; }
.club-card .cc-name { font-family: var(--serif); font-size: 1.4rem; }
.club-card .cc-pct { font-family: var(--serif); font-size: 3rem; line-height: 1; }
.club-card .cc-who { font-size: .85rem; font-weight: 600; opacity: .8; }
@media (max-width: 860px) { .club-band { grid-template-columns: 1fr; } .club-card { max-width: 360px; transform: none; } }
.club-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: st; }
.club-steps > div { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 28px; }
.club-steps > div::before { counter-increment: st; content: counter(st); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-deep); font-weight: 700; margin-bottom: 14px; }
.club-steps h3 { font-size: 1.15rem; }
.club-steps p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .club-steps { grid-template-columns: 1fr; } }
.member-badge { display: inline-flex; align-items: center; gap: .45em; background: var(--sea-soft); color: var(--sea); font-weight: 700; padding: .45em 1em; border-radius: 999px; font-size: .9rem; }
.member-badge svg { width: 16px; height: 16px; }

/* ───── Bokside ───── */
.book-hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.book-hero .bh-img { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: linear-gradient(160deg, var(--night-2), var(--night)); aspect-ratio: 2/3; position: relative; max-width: 480px; }
.book-hero .bh-img img { width: 100%; height: 100%; object-fit: cover; }
.book-hero .bh-img .bk-placeholder { font-size: 1.8rem; }
.book-hero .bh-img .bk-placeholder svg { width: 120px; height: 72px; }
.book-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: .2em; }
.book-hero .tagline { font-size: 1.25rem; font-family: var(--serif); color: var(--ink-2); margin: 10px 0 18px; }
.book-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.book-meta span { display: inline-flex; align-items: center; gap: .4em; background: #fff; border-radius: 999px; padding: .4em .9em; font-size: .9rem; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); }
.book-meta svg { width: 16px; height: 16px; }
.coming-box { background: var(--gold-soft); border-radius: var(--r-lg); padding: 24px 26px; margin-top: 10px; }
.coming-box h3 { font-size: 1.2rem; margin-bottom: .3em; }
@media (max-width: 860px) { .book-hero { grid-template-columns: 1fr; gap: 28px; } .book-hero .bh-img { max-width: 460px; } }

/* ───── Kasse: rabattkode og PayPal ───── */
.code-row { display: flex; gap: 8px; margin-top: 14px; }
.code-row input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 12px; padding: .7em .9em; font: inherit; text-transform: uppercase; background: #fff; }
.code-row input:focus { outline: none; border-color: var(--ink); }
.code-msg { font-size: .88rem; margin-top: 6px; min-height: 1.2em; }
.code-msg.ok { color: var(--sea); } .code-msg.err { color: var(--rose); } .code-msg.info { color: var(--muted); }
.totals .disc { color: var(--sea); }
.paypal-logo { font-weight: 800; font-style: italic; font-size: 1.05rem; letter-spacing: -.02em; }
.paypal-logo b { color: #003087; } .paypal-logo i { color: #009CDE; font-style: italic; }
.btn-paypal { background: #FFC439; color: #111; }
.btn-paypal:hover { background: #F2B52E; }
.club-band.compact { grid-template-columns: 1fr 260px; padding: 32px; }
.club-band.compact h2 { font-size: 1.7rem; }
@media (max-width: 1000px) { .club-band.compact { grid-template-columns: 1fr; } .club-band.compact .club-card { max-width: 300px; transform: none; } }
/* Smal mobil: få plass til logo, språk, konto, kurv og meny på én linje */
@media (max-width: 520px) {
  .header-row { gap: 10px; }
  .brand { gap: 8px; }
  .brand svg { width: 36px; height: 22px; }
  .brand-name { font-size: 1.08rem; }
  .header-tools { gap: 4px; }
  .icon-btn { width: 38px; height: 38px; }
  .icon-btn svg { width: 19px; height: 19px; }
  .lang-switch button { padding: .3em .45em; font-size: .78rem; }
}
@media (max-width: 360px) { .brand-name { display: none; } }

/* ───── Gavekort ───── */
.gc-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: start; }
.gc-preview { position: sticky; top: 100px; }
.gc-card { transform: rotate(-3deg); max-width: 440px; position: relative; }
.gc-card .cc-top svg { width: 54px; height: 32px; }
.gc-card .cc-who { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70%; }
.gc-code { position: absolute; right: 22px; bottom: 22px; background: rgba(255,255,255,.85); border-radius: 8px; padding: .3em .7em; font-family: 'Courier New', monospace; font-weight: 700; font-size: .9rem; }
.gc-msg { margin-top: 28px; background: var(--gold-soft); border-radius: var(--r-lg); padding: 18px 20px; font-family: var(--serif); font-size: 1.05rem; white-space: pre-wrap; max-width: 440px; }
.gc-msg[hidden] { display: none; }
.gc-shop-card .p-img { background: none; }
@media (max-width: 860px) { .gc-grid { grid-template-columns: 1fr; } .gc-preview { position: static; order: -1; } .gc-card { transform: none; } }
.pay-options[hidden] { display: none; }

/* Venter på bekreftelse av betaling */
.pay-wait { display: flex; gap: 14px; align-items: center; background: var(--sea-soft); border-radius: var(--r-md, 14px); padding: 16px 18px; }
.spinner { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(0,0,0,.12); border-top-color: var(--sea); animation: vf-spin .8s linear infinite; }
@keyframes vf-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.4s; } }

/* ═════════════════════════════════════════════════════════════════════
   Design 2 – «Under regnbuen»
   Lyst, moderne og luftig. Omslagene er hovedpersonene, regnbuen fra logoen
   er den ene store grafiske ideen (buene på forsiden og stripen i bunnen).
   Skrift: Bricolage Grotesque (titler) + Atkinson Hyperlegible Next (tekst) –
   laget for svaksynte lesere, som passer forlagets arbeid med tilrettelagte bøker.
   ═════════════════════════════════════════════════════════════════════ */
:root {
  --ink: #15172B; --ink-2: #353850; --muted: #5C6079; --line: #E5E6EE;
  --bg: #F3F4F8; --paper: #FFFFFF; --card: #FFFFFF;
  --sun: #FFC83D; --sun-deep: #8A5A00;
  --gold: #FFC83D; --gold-deep: #8A5A00; --gold-soft: #FFF4D6;
  --night: #15172B; --night-2: #23264A;
  --serif: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --sans: 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --r-xl: 28px; --r-lg: 20px; --r-md: 14px;
  --shadow: 0 1px 2px rgba(21,23,43,.05), 0 10px 30px -18px rgba(21,23,43,.28);
  --shadow-lg: 0 2px 6px rgba(21,23,43,.06), 0 40px 80px -36px rgba(21,23,43,.45);
  --wrap: 1200px;
}
body { background: var(--paper); font-size: 18px; line-height: 1.62; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.028em; line-height: 1.04; font-optical-sizing: auto; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(2rem, 3.9vw, 3.3rem); }
h3 { font-size: 1.4rem; letter-spacing: -.018em; line-height: 1.15; }
.lead { font-size: clamp(1.12rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--ink-2); }
.eyebrow { display: none; }
.btn { font-weight: 700; padding: .9em 1.55em; letter-spacing: -.005em; }
.btn-gold { background: var(--sun); color: var(--ink); }
.btn-gold:hover { background: #FFD466; }
.btn-ghost { box-shadow: inset 0 0 0 1.5px #CFD1DD; }
:focus-visible { outline: 3px solid #3A86D4; outline-offset: 3px; }

/* Topp */
.site-header { background: rgba(255,255,255,.86); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -20px rgba(21,23,43,.4); }
.header-row { height: 78px; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.32rem; letter-spacing: -.03em; }
.main-nav { gap: 6px; }
.main-nav a { position: relative; padding: .55em .85em; border-radius: 10px; font-weight: 600; color: var(--ink-2); }
.main-nav a:hover { background: var(--bg); color: var(--ink); }
.main-nav a[aria-current="page"] { background: none; color: var(--ink); }
.main-nav a[aria-current="page"]::after { content: ''; position: absolute; left: .85em; right: .85em; bottom: .15em; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--rb-1), var(--rb-2), var(--rb-3), var(--rb-4), var(--rb-5)); }
.icon-btn { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); width: 44px; height: 44px; }
.lang-switch { background: var(--bg); box-shadow: none; }
@media (max-width: 1100px) { .main-nav a[aria-current="page"] { background: var(--bg); } .main-nav a[aria-current="page"]::after { display: none; } }

/* Kort brukt på mange sider: rolige flater i stedet for tunge skygger */
.card { box-shadow: 0 0 0 1px var(--line); }
.product-card { box-shadow: none; background: transparent; border-radius: 0; overflow: visible; }
.product-card:hover { transform: none; box-shadow: none; }
.product-card .p-img { aspect-ratio: 4/5; border-radius: var(--r-lg); background: var(--bg); overflow: hidden; }
.product-card .p-img img { object-fit: contain; padding: 9%; filter: drop-shadow(0 18px 22px rgba(21,23,43,.28)); }
.product-card:hover .p-img img { transform: translateY(-4px); }
.product-card .p-body { padding: 16px 2px 0; }
.product-card h3 { font-size: 1.12rem; }
.product-card p { font-size: .94rem; }
.badge { background: var(--sun); color: var(--ink); }
.format-tag { background: var(--paper); color: var(--ink); backdrop-filter: none; box-shadow: 0 0 0 1px var(--line); }
.add-btn { background: var(--ink); }
.add-btn.added { background: #1D7F55; }

/* Bunn */
.footer-rainbow { height: 6px; }
.site-footer { background: var(--ink); color: #BFC3D6; padding: 72px 0 30px; }
.site-footer .brand-name { color: #fff; }
.site-footer h4 { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; }

/* ───── Forsiden ───── */
.h-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.h-head h2 { margin: 0; }
.h-chip { display: inline-block; font-size: .82rem; font-weight: 700; background: var(--sun); color: var(--ink); border-radius: 999px; padding: .3em .85em; margin: 0 0 14px; }

/* Topp: tekst til venstre, regnbuen med boka til høyre */
.h-hero { padding: clamp(36px, 6vw, 88px) 0 clamp(48px, 7vw, 104px); overflow: hidden; }
.h-hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.h-hero h1 { max-width: 11ch; margin-bottom: .32em; }
.h-hero .lead { max-width: 44ch; margin-bottom: 30px; }
.h-hero .hero-actions { margin-top: 0; }
.h-formats { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .95rem; }
.h-formats li { display: inline-flex; align-items: center; gap: .5em; }
.h-formats svg { width: 19px; height: 19px; color: var(--ink); }

.h-stage { position: relative; max-width: 640px; justify-self: end; width: 100%; }
.h-art { position: relative; aspect-ratio: 640 / 330; }
.h-arcs { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.h-arcs path { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.h-art::after { content: ''; position: absolute; left: 3%; right: 3%; bottom: -1px; height: 2px; background: var(--line); border-radius: 2px; }
.h-cover { position: absolute; left: 50%; bottom: 0; width: 33%; aspect-ratio: 2 / 3; transform: translateX(-50%); z-index: 2; border-radius: 6px 10px 10px 6px;
  box-shadow: 0 2px 4px rgba(21,23,43,.12), 0 30px 50px -18px rgba(21,23,43,.55); overflow: hidden; background: var(--bg); transition: transform .3s; }
.h-cover img { width: 100%; height: 100%; object-fit: cover; }
.h-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.18) 0, rgba(255,255,255,.12) 2.5%, transparent 7%); pointer-events: none; }
.h-cover:hover { transform: translateX(-50%) translateY(-6px); }
.h-caption { margin-top: 22px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; font-size: .95rem; color: var(--muted); }
.h-caption .h-chip { margin: 0 0 6px; }
.h-caption a { text-decoration: none; color: var(--ink); font-family: var(--display); font-size: 1.2rem; letter-spacing: -.02em; }
.h-caption a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Én samlet bevegelse når siden åpnes: buene tegnes, så kommer boka */
@media (prefers-reduced-motion: no-preference) {
  .js .h-stage:not(.is-in) .h-arcs path { stroke-dashoffset: 1; }
  .h-stage .h-arcs path { transition: stroke-dashoffset 1s cubic-bezier(.3,.7,.2,1); }
  .h-stage .h-arcs path:nth-child(2) { transition-delay: .07s; } .h-stage .h-arcs path:nth-child(3) { transition-delay: .14s; }
  .h-stage .h-arcs path:nth-child(4) { transition-delay: .21s; } .h-stage .h-arcs path:nth-child(5) { transition-delay: .28s; } .h-stage .h-arcs path:nth-child(6) { transition-delay: .35s; }
  .js .h-stage:not(.is-in) .h-cover { opacity: 0; transform: translateX(-50%) translateY(24px); }
  .h-stage .h-cover { transition: opacity .6s .55s, transform .7s .55s cubic-bezier(.2,.8,.2,1); }
  .h-stage.is-in .h-cover:hover { transition: transform .3s; }
}

/* Bøkene */
.h-books { padding: clamp(56px, 8vw, 112px) 0; background: var(--bg); }
.h-book { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.h-book + .h-book { margin-top: clamp(56px, 8vw, 112px); }
.h-book.flip .hb-cover { order: 2; }
.hb-cover { display: block; justify-self: center; width: min(100%, 380px); aspect-ratio: 2 / 3; border-radius: 6px 12px 12px 6px; overflow: hidden; position: relative;
  box-shadow: 0 2px 4px rgba(21,23,43,.1), 0 40px 70px -30px rgba(21,23,43,.6); background: var(--paper); }
.hb-cover img { width: 100%; height: 100%; object-fit: cover; }
.hb-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.16) 0, rgba(255,255,255,.1) 2.5%, transparent 7%); }
.hb-cover .bk-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: var(--ink); }
.hb-cover .bk-placeholder svg { width: 40%; }
.hb-title { font-size: clamp(2.2rem, 4.4vw, 3.8rem); margin: 0 0 .2em; letter-spacing: -.035em; }
.hb-title a { text-decoration: none; }
.hb-title a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.hb-by { color: var(--muted); margin: 0 0 22px; }
.hb-tag { font-family: var(--display); font-weight: 500; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.3; letter-spacing: -.015em; margin: 0 0 18px; max-width: 30ch; }
.hb-desc { color: var(--ink-2); max-width: 56ch; margin-bottom: 26px; }
.hb-formats { list-style: none; padding: 0; margin: 0 0 22px; max-width: 560px; border-top: 1px solid #DCDDE6; }
.hb-formats li { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid #DCDDE6; }
.hbf-name { font-weight: 700; text-decoration: none; }
.hbf-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.hbf-price { font-size: 1.05rem; text-align: right; display: flex; gap: 8px; align-items: baseline; }
.hbf-price .price-was { font-size: .9rem; color: var(--muted); font-weight: 400; }
.hbf-add { border: 0; cursor: pointer; background: var(--ink); color: #fff; border-radius: 999px; padding: .55em 1em; font: inherit; font-size: .9rem; font-weight: 700; display: inline-flex; align-items: center; gap: .45em; }
.hbf-add:hover { background: var(--ink-2); }
.hbf-add.added { background: #1D7F55; }
.hbf-add svg { width: 17px; height: 17px; }
.hb-more { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 860px) {
  .h-book, .h-book.flip { grid-template-columns: 1fr; }
  .h-book.flip .hb-cover { order: 0; }
  .hb-cover { width: min(72%, 320px); }
}
@media (max-width: 480px) { .hbf-add span { display: none; } .hbf-add { padding: .6em; } }

/* Bøker for alle */
.h-access { padding: clamp(56px, 8vw, 112px) 0; }
.h-access-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.h-access h2 { max-width: 16ch; }
.h-access-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.h-access-list li { display: flex; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 1.12rem; font-weight: 700; }
.h-access-list li:first-child { border-top: 1px solid var(--line); }
.ha-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--bg); }
.ha-ic svg { width: 24px; height: 24px; }
.h-access-list li:nth-child(1) .ha-ic { color: #2E6FB7; } .h-access-list li:nth-child(2) .ha-ic { color: #3E8F57; } .h-access-list li:nth-child(3) .ha-ic { color: #6A4CB5; }

/* Forlaget */
.h-about { padding: 0 0 clamp(56px, 8vw, 112px); }
.h-about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.h-about-img { margin: 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg); }
.h-about-img img { width: 100%; height: 100%; object-fit: cover; }
.h-about h2 { max-width: 14ch; }
.h-about p:not(.lead) { color: var(--ink-2); max-width: 56ch; margin-bottom: 28px; }

/* Nyheter */
.h-news { padding: 0 0 clamp(56px, 8vw, 112px); }
.h-news-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.h-news-list a { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 4px 28px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.h-news-list time { color: var(--muted); grid-row: span 2; padding-top: 4px; }
.h-news-list strong { font-family: var(--display); font-size: 1.4rem; letter-spacing: -.02em; line-height: 1.2; }
.h-news-list span { color: var(--ink-2); }
.h-news-list a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 640px) { .h-news-list a { grid-template-columns: 1fr; } .h-news-list time { grid-row: auto; } }

/* Bli med */
.h-join { padding: 0 0 clamp(56px, 8vw, 112px); }
.h-join-box { background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); position: relative; overflow: hidden; }
.h-join-box.solo { grid-template-columns: 1fr; }
.h-join h2, .h-join h3 { color: #fff; }
.h-join h3 { font-size: 1.6rem; margin-bottom: .35em; }
.h-join p { color: #C9CCDD; }
.h-join .club-perks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.h-join .club-perks li { display: flex; gap: 10px; align-items: flex-start; }
.h-join .club-perks svg { width: 20px; height: 20px; color: var(--sun); flex: none; margin-top: 3px; }
.h-join-nl { align-self: center; position: relative; }
.h-join-club + .h-join-nl { border-left: 1px solid rgba(255,255,255,.14); padding-left: clamp(28px, 5vw, 72px); }
.h-join-club[hidden] + .h-join-nl { border: 0; padding: 0; }
.h-join form { display: flex; gap: 8px; background: rgba(255,255,255,.1); padding: 6px; border-radius: 999px; margin-top: 18px; }
.h-join input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; padding: 0 16px; font: inherit; }
.h-join input::placeholder { color: #A3A7C0; }
.h-join input:focus { outline: none; }
.h-join form:focus-within { box-shadow: 0 0 0 3px #3A86D4; }
.h-join .nl-msg { color: var(--sun); min-height: 1.5em; margin: 10px 0 0; font-size: .95rem; }
@media (max-width: 860px) { .h-join-box { grid-template-columns: 1fr; } .h-join-club + .h-join-nl { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding-top: 28px; } }

/* Musikk */
.h-music { padding: 0; }
.h-music-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: clamp(32px, 4vw, 48px); }
.h-music h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: .25em; }
.h-music p { margin: 0; max-width: 52ch; }
.h-music-links { display: flex; gap: 10px; flex-wrap: wrap; }
.h-music-links .mi { display: inline-grid; }
.h-music-links svg { width: 19px; height: 19px; }

/* Mobil */
@media (max-width: 900px) {
  .h-hero-grid { grid-template-columns: 1fr; }
  .h-stage { justify-self: center; max-width: 520px; margin-top: 12px; }
  .h-hero h1 { max-width: 14ch; }
  .h-access-grid, .h-about-grid { grid-template-columns: 1fr; }
  .h-about-img { aspect-ratio: 4 / 3; }
}

/* Smal skjerm: språkvalget ligger i menyen, så toppen ikke blir for trang */
.nav-lang { display: none; }
@media (max-width: 560px) {
  .header-tools .lang-switch { display: none; }
  .nav-lang { display: flex; gap: 8px; padding: 10px 1.1em 4px; border-top: 1px solid var(--line); margin-top: 6px; }
  .nav-lang button { border: 0; background: var(--bg); border-radius: 999px; padding: .45em 1em; font-weight: 700; cursor: pointer; }
  .nav-lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
  .header-tools { gap: 6px; }
  .icon-btn { width: 42px; height: 42px; }
}
/* Lukket handlekurv skal ikke kaste skygge inn på siden */
.drawer:not(.open) { box-shadow: none; visibility: hidden; transition: transform .3s cubic-bezier(.3,.7,.2,1), visibility 0s .3s; }

/* Produktkort: knappen skal ikke brekke */
.p-foot { flex-wrap: wrap; row-gap: 10px; }
.add-btn { white-space: nowrap; padding: .6em 1em; font-size: .9rem; }
.price { font-size: 1.12rem; }
.price-member { font-size: .78rem; }

/* Produktside: omslag vises helt, på en rolig flate */
.gallery-main { background: var(--bg); box-shadow: none; aspect-ratio: 1 / 1; }
.gallery-main img { object-fit: contain; padding: 7%; filter: drop-shadow(0 24px 30px rgba(21,23,43,.3)); }
.thumbs button { background: var(--bg); box-shadow: none; opacity: .7; }
.thumbs img { object-fit: contain; padding: 4px; }
.thumbs button[aria-current="true"] { outline-color: var(--ink); }

/* Bokkort (brukes under «Flere bøker»): omslaget står fritt */
.book-card { background: transparent; box-shadow: none; border-radius: 0; grid-template-columns: 150px 1fr; gap: 24px; min-height: 0; align-items: center; }
.book-card:hover { transform: none; box-shadow: none; }
.book-card .bk-img { aspect-ratio: 2 / 3; border-radius: 4px 8px 8px 4px; box-shadow: 0 24px 40px -20px rgba(21,23,43,.55); background: var(--ink); }
.book-card:hover .bk-img img { transform: none; }
.book-card .bk-body { padding: 0; }
.book-card h3 { font-size: 1.6rem; }
@media (max-width: 520px) { .book-card { grid-template-columns: 110px 1fr; } .book-card .bk-img { aspect-ratio: 2 / 3; } }

/* Små faktabokser (Om oss) */
.fact { box-shadow: none; background: var(--bg); }
.fact strong { font-family: var(--display); font-weight: 700; letter-spacing: -.03em; font-size: 2rem; }

/* ───────── Flere språk ───────── */
.footer-lang { margin-top: 36px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .92rem; color: #B9C0D8; }
.footer-lang select { font: inherit; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 7px 34px 7px 14px; cursor: pointer;
  appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' 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: 14px; }
.footer-lang select option { color: #15172B; background: #fff; }
.footer-lang select:focus-visible { outline: 3px solid var(--sun, #FFC83D); outline-offset: 2px; }
.footer-lang + .footer-bottom { margin-top: 22px; }
.nav-lang { flex-wrap: wrap; }
/* Thai og ukrainsk: skriftene våre har ikke disse tegnene – bruk gode systemskrifter */
html[lang="th"] body, html[lang="th"] h1, html[lang="th"] h2, html[lang="th"] h3 { font-family: 'Noto Sans Thai', 'Leelawadee UI', 'Thonburi', 'Tahoma', system-ui, sans-serif; }
html[lang="th"] body { line-height: 1.7; }
html[lang="th"] h1, html[lang="th"] h2, html[lang="th"] h3 { line-height: 1.3; letter-spacing: 0; }
html[lang="uk"] h1, html[lang="uk"] h2, html[lang="uk"] h3 { font-family: 'Atkinson Hyperlegible Next', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }

/* ───────── Språkversjoner (velg språk på varen) ───────── */
.v-langs { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 10px; }
.v-lang { font: inherit; font-size: .82rem; font-weight: 700; line-height: 1; padding: .5em .85em; border-radius: 999px; cursor: pointer;
  border: 1.5px solid #D5D8E3; background: #fff; color: var(--ink); transition: background .15s, border-color .15s, color .15s; }
.v-lang:hover { border-color: var(--ink); }
.v-lang[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.v-lang:focus-visible { outline: 3px solid #2F6BD6; outline-offset: 2px; }
.v-langs.v-sm { margin: 0; }
.v-langs.v-sm .v-lang { font-size: .78rem; padding: .42em .75em; }
.hb-formats li > .v-langs { grid-column: 1 / -1; grid-row: 2; margin-top: -4px; }
.v-langs.v-lg { margin: 4px 0 16px; }
.v-langs.v-lg .v-lang { font-size: .95rem; padding: .62em 1.1em; }
.v-lang-label { display: block; font-size: .85rem; font-weight: 700; color: var(--muted); margin: 14px 0 0; }
.cl-variant { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 700; color: var(--muted); margin-top: 2px; }
.cl-variant svg { width: 14px; height: 14px; }

/* ───────── «Vil du gå til riktig nettside?» ───────── */
.site-ask { background: #15172B; color: #fff; font-size: .92rem; position: relative; z-index: 60; }
.site-ask-row { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.site-ask-row > svg { width: 18px; height: 18px; flex: none; color: #FFC83D; }
.site-ask-row > span:first-of-type { flex: 1 1 260px; }
.site-ask-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.site-ask .sa-go, .site-ask .sa-stay { font: inherit; font-weight: 700; font-size: .88rem; border-radius: 999px; padding: .5em 1.05em; cursor: pointer; text-decoration: none; line-height: 1.2; }
.site-ask .sa-go { background: #FFC83D; color: #15172B; border: 0; }
.site-ask .sa-stay { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.site-ask .sa-go:hover { background: #FFD666; } .site-ask .sa-stay:hover { border-color: #fff; }
.site-ask a:focus-visible, .site-ask button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* ───────── Omtaler ───────── */
.h-reviews { padding: clamp(48px, 7vw, 88px) 0; }
.rv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.rv-card { margin: 0; background: #fff; border-radius: 20px; padding: 22px 22px 18px; box-shadow: 0 1px 2px rgba(21,23,43,.06), 0 12px 32px -18px rgba(21,23,43,.25); display: flex; flex-direction: column; gap: 10px; }
.rv-card h3 { font-size: 1.05rem; margin: 0; line-height: 1.3; }
.rv-card blockquote { margin: 0; line-height: 1.6; color: var(--ink); white-space: pre-line; overflow-wrap: anywhere; }
.rv-card blockquote.clamp { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.rv-more { align-self: flex-start; border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rv-card figcaption { margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line, #E6E8F0); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .9rem; }
.rv-card figcaption a { color: var(--muted); }
.rv-name { font-weight: 700; }
.rv-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rv-top time { font-size: .85rem; color: var(--muted); }
.rv-stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.rv-stars svg { width: 19px; height: 19px; fill: #DDE0EA; }
.rv-stars svg.on { fill: #F5A524; }
.rv-summary { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; color: var(--ink); text-decoration: none; font-size: .95rem; }
.rv-summary:hover span { text-decoration: underline; }
.rv-summary span { color: var(--muted); }

/* Kassen: slik får du de digitale bøkene */
.dl-info { margin-top: 16px; background: var(--sea-soft); border-radius: var(--r-md); padding: 18px 20px; }
.dl-info h3 { margin: 0 0 10px; font-size: 1.1rem; }
.dl-info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dl-info li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; line-height: 1.5; }
.dl-info li svg { width: 20px; height: 20px; margin-top: 2px; opacity: .8; }
.dl-info .dl-mail { overflow-wrap: anywhere; }

.checkout > *, .checkout > div > .card, .checkout .form-grid > * { min-width: 0; }
.checkout select, .checkout input, .checkout textarea { max-width: 100%; }

/* Melding om informasjonskapsler */
.ck-note { position: fixed; left: 20px; bottom: 20px; z-index: 2147482999; width: min(420px, calc(100vw - 40px)); display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: start; padding: 16px 18px; background: var(--card); color: var(--ink); border-radius: 18px; box-shadow: 0 24px 60px -20px rgba(20,27,51,.38), 0 0 0 1px var(--line); animation: ckIn .35s cubic-bezier(.22,.8,.24,1) .6s both; }
.ck-note svg { width: 30px; height: 30px; margin-top: 2px; }
.ck-note p { margin: 0; font-size: .92rem; line-height: 1.5; }
.ck-note a { color: var(--gold-deep); font-weight: 600; }
.ck-note .ck-btns { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.ck-note .ck-btns button { font: inherit; font-weight: 700; font-size: .92rem; padding: .7em 1em; border-radius: 999px; border: 2px solid var(--ink); background: var(--card); color: var(--ink); cursor: pointer; transition: background-color .15s, color .15s; }
.ck-note .ck-btns button:hover, .ck-note .ck-btns button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.ck-note .ck-btns button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.ck-note.out { opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .25s; }
@keyframes ckIn { from { opacity: 0; transform: translateY(16px); } }
@media (max-width: 560px) { .ck-note { left: 12px; bottom: 12px; width: calc(100vw - 24px); padding: 14px; gap: 4px 10px; z-index: 2147483001; } .ck-note svg { width: 24px; height: 24px; } .ck-note p { font-size: .86rem; } }
@media print { .ck-note { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .ck-note { animation: none; } }

/* ═════════════════════════════════════════════════════════════════════
   Design 3 – «Fra skumring til morgen»
   Forsiden åpner i en mørk, stjerneklar skumring med nordlys i regnbuens
   farger. Nederst i toppen gryr det (fersken → lys), og resten av siden er
   lys morgenhimmel med svake farger: lilla dis, ferskendis og himmelblått.
   Undersidene får den samme lyse morgenhimmelen i toppen.
   Bevegelse: én samlet åpning på forsiden, ellers rolige innglidninger,
   omslag som vipper etter musen, og myke overganger mellom sidene.
   ═════════════════════════════════════════════════════════════════════ */
:root {
  --dusk-0: #090B22; --dusk-1: #10133A; --dusk-2: #1E1B4E; --dusk-3: #3B2462;
  --dawn: #FFB98E; --dawn-2: #FFD7A6;
  --mist-lilac: #F4F1FC; --mist-peach: #FFF5EC; --mist-sky: #EDF5FC; --mist-mint: #EEF8F2;
  --glow-violet: 123, 92, 196; --glow-rose: 229, 72, 77; --glow-teal: 46, 168, 160; --glow-sun: 255, 200, 61;
  --ease-out: cubic-bezier(.16, .84, .24, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .5, 1);
}

/* Myke overganger mellom sidene (nettlesere som støtter det) */
@view-transition { navigation: auto; }
.site-header { view-transition-name: vf-header; }
.footer-rainbow { view-transition-name: vf-rainbow; }
::view-transition-old(root) { animation: vfOut .22s ease both; }
::view-transition-new(root) { animation: vfIn .42s var(--ease-out) both; }
@keyframes vfOut { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vfIn { from { opacity: 0; transform: translateY(10px); } }

::selection { background: rgba(var(--glow-sun), .45); color: var(--ink); }

/* ───── Knapper: litt mer liv ───── */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: transform .25s var(--ease-spring), box-shadow .25s, background-color .2s, color .2s; }
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); }
.btn:hover::after { transform: translateX(120%); transition: transform .75s var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: linear-gradient(135deg, #1E2148, #15172B 60%); box-shadow: 0 10px 24px -14px rgba(21,23,43,.7); }
.btn-primary:hover { background: linear-gradient(135deg, #2A2E63, #1B1D3A 60%); box-shadow: 0 16px 30px -14px rgba(59,36,98,.65); }
.btn-gold { background: linear-gradient(135deg, #FFD566, #FFC83D 55%, #FFB52E); box-shadow: 0 10px 26px -14px rgba(184,118,10,.8); }
.btn-gold:hover { background: linear-gradient(135deg, #FFDD80, #FFCB4A 55%, #FFBB3A); box-shadow: 0 16px 34px -14px rgba(184,118,10,.85); }
.btn-ghost { background: rgba(255,255,255,.6); }
.btn-ghost:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink), 0 10px 24px -16px rgba(21,23,43,.5); }
.hbf-add, .add-btn { transition: transform .25s var(--ease-spring), background-color .2s, box-shadow .2s; }
.hbf-add:hover, .add-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(21,23,43,.7); }
.hbf-add.added, .add-btn.added { animation: vfPop .45s var(--ease-spring); }
@keyframes vfPop { 40% { transform: scale(1.08); } }

/* Handlekurven hopper */
#cart-btn.bump { animation: vfBump .6s var(--ease-spring); }
#cart-btn.bump .cart-count { animation: vfPop .6s var(--ease-spring); }
@keyframes vfBump { 0% { transform: none; } 25% { transform: translateY(-5px) rotate(-8deg); } 50% { transform: translateY(0) rotate(5deg); } 75% { transform: rotate(-2deg); } }
.cart-count { background: linear-gradient(135deg, var(--rb-1), #F0606A); }

/* ───── Topp ───── */
.site-header { transition: background-color .35s, border-color .35s, box-shadow .35s, color .35s; }
.main-nav a { transition: background-color .2s, color .2s; }
.main-nav a[aria-current="page"]::after { background: linear-gradient(90deg, var(--rb-1), var(--rb-2), var(--rb-3), var(--rb-4), var(--rb-5), var(--rb-6), var(--rb-1)); background-size: 200% 100%; animation: vfFlow 6s linear infinite; }
.brand svg { transition: transform .5s var(--ease-spring); }
.brand:hover svg { transform: translateY(-2px) rotate(-6deg) scale(1.06); }
.icon-btn { transition: box-shadow .2s, transform .25s var(--ease-spring), background-color .2s; }
.icon-btn:hover { transform: translateY(-1px); }
@keyframes vfFlow { to { background-position: -200% 0; } }

/* Forsiden: toppen ligger over den mørke himmelen til man scroller */
@media (min-width: 1101px) {
  body[data-page="home"] .site-header:not(.scrolled) { background: transparent; backdrop-filter: none; border-bottom-color: transparent; box-shadow: none; }
  body[data-page="home"] .site-header:not(.scrolled) .brand-name,
  body[data-page="home"] .site-header:not(.scrolled) .main-nav a { color: #fff; }
  body[data-page="home"] .site-header:not(.scrolled) .main-nav a:hover { background: rgba(255,255,255,.1); }
  body[data-page="home"] .site-header:not(.scrolled) .main-nav a:not([aria-current]) { color: #D4D6F0; }
}
body[data-page="home"] .site-header:not(.scrolled) { background: transparent; backdrop-filter: none; box-shadow: none; border-bottom-color: transparent; }
body[data-page="home"] .site-header:not(.scrolled) .brand-name { color: #fff; }
body[data-page="home"] .site-header:not(.scrolled) .icon-btn { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.22); }
body[data-page="home"] .site-header:not(.scrolled) .icon-btn:hover { background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
body[data-page="home"] .site-header:not(.scrolled) .lang-switch { background: rgba(255,255,255,.08); }
body[data-page="home"] .site-header:not(.scrolled) .lang-switch button { color: #C9CCE8; }
body[data-page="home"] .site-header:not(.scrolled) .lang-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); }
body[data-page="home"] .site-header.scrolled { background: rgba(255,255,255,.88); }
body[data-page="home"] main { margin-top: -78px; }

/* ───── Forsiden: skumring ───── */
.h-hero { position: relative; isolation: isolate; color: #fff; padding: calc(78px + clamp(40px, 7vw, 100px)) 0 clamp(120px, 14vw, 200px); overflow: hidden;
  background:
    radial-gradient(120% 70% at 50% 118%, rgba(255,185,142,.55) 0%, rgba(255,140,120,.22) 28%, transparent 56%),
    radial-gradient(80% 60% at 85% 10%, rgba(var(--glow-violet), .35), transparent 70%),
    linear-gradient(180deg, var(--dusk-0) 0%, var(--dusk-1) 38%, var(--dusk-2) 70%, var(--dusk-3) 100%); }
/* Daggry: den mørke himmelen glir over i den lyse siden */
.h-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(130px, 15vw, 230px); z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(59,36,98,0) 0%, rgba(118,70,140,.75) 28%, rgba(222,140,160,.92) 52%, #FFD6C4 74%, var(--mist-lilac) 100%); }
.h-hero .wrap { position: relative; z-index: 2; }
.h-hero h1 { color: #fff; text-wrap: balance; text-shadow: 0 2px 30px rgba(9,11,34,.4); }
.h-hero .lead { color: #CDD0EC; }
.h-hero .btn-primary { background: linear-gradient(135deg, #FFD566, #FFC83D 55%, #FFB52E); color: var(--ink); box-shadow: 0 14px 36px -14px rgba(255,190,70,.75); }
.h-hero .btn-primary:hover { background: linear-gradient(135deg, #FFDD80, #FFCB4A 55%, #FFBB3A); box-shadow: 0 20px 44px -14px rgba(255,190,70,.9); }
.h-hero .btn-ghost { background: rgba(255,255,255,.06); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.32); backdrop-filter: blur(6px); }
.h-hero .btn-ghost:hover { background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.h-formats { color: #B3B7DA; }
.h-formats svg { color: var(--sun); }
.h-hero :focus-visible { outline-color: var(--sun); }

/* Stjerner og nordlys (legges inn av motion.js) */
.h-sky { position: absolute; inset: -10% 0 0; z-index: 0; pointer-events: none; will-change: transform; }
.h-sky .aur { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; mix-blend-mode: screen; }
.h-sky .a1 { width: 46vw; height: 30vw; left: -8vw; top: 4%; background: radial-gradient(closest-side, rgba(var(--glow-teal), .9), transparent); animation: vfDrift1 26s ease-in-out infinite alternate; }
.h-sky .a2 { width: 40vw; height: 26vw; right: -6vw; top: 0; background: radial-gradient(closest-side, rgba(var(--glow-violet), .95), transparent); animation: vfDrift2 32s ease-in-out infinite alternate; }
.h-sky .a3 { width: 36vw; height: 22vw; left: 30%; top: 30%; background: radial-gradient(closest-side, rgba(var(--glow-rose), .55), transparent); animation: vfDrift3 38s ease-in-out infinite alternate; opacity: .4; }
@keyframes vfDrift1 { to { transform: translate(14vw, 6vw) scale(1.2) rotate(8deg); } }
@keyframes vfDrift2 { to { transform: translate(-12vw, 8vw) scale(.85) rotate(-10deg); } }
@keyframes vfDrift3 { to { transform: translate(-10vw, -4vw) scale(1.25); } }
.h-sky .stars i { position: absolute; border-radius: 50%; background: #fff; box-shadow: 0 0 6px rgba(255,255,255,.8); animation: vfTwinkle ease-in-out infinite; opacity: .25; }
@keyframes vfTwinkle { 50% { opacity: 1; transform: scale(1.3); } }
.h-sky .shoot { position: absolute; top: 14%; left: 70%; width: 140px; height: 2px; border-radius: 2px; opacity: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.9), transparent); transform: rotate(-24deg); animation: vfShoot 9s ease-in 3s infinite; }
@keyframes vfShoot { 0% { opacity: 0; transform: translate(0, 0) rotate(-24deg); } 3% { opacity: 1; } 10% { opacity: 0; transform: translate(-360px, 160px) rotate(-24deg); } 100% { opacity: 0; } }

/* Regnbuen lyser i mørket, boka svever foran */
.h-art::after { display: none; }
.h-arcs { filter: drop-shadow(0 0 18px rgba(255,200,120,.25)); }
.h-arcs path { stroke-width: 22; }
.h-cover { transform: translateX(-50%) perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  box-shadow: 0 2px 4px rgba(0,0,0,.25), 0 40px 60px -18px rgba(0,0,0,.7), 0 0 60px -10px rgba(255,200,120,.35); transition: transform .5s var(--ease-out), box-shadow .4s; }
.h-cover::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255,255,255,.4), transparent 55%); }
.h-cover.tilting { transition: transform .12s linear, box-shadow .4s; }
.h-cover.tilting::before, .hb-cover.tilting::before, .p-img.tilting::before { opacity: 1; }
.h-cover:hover { transform: translateX(-50%) translateY(-8px) perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.h-stage::before { content: ''; position: absolute; left: 50%; bottom: 8%; width: 60%; height: 50%; transform: translateX(-50%); border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255,200,61,.35), transparent); filter: blur(10px); }
.h-caption { color: #B3B7DA; }
.h-caption a { color: #fff; font-size: 1.3rem; }
.h-caption .h-chip { box-shadow: 0 0 0 4px rgba(255,200,61,.18); }

@media (prefers-reduced-motion: no-preference) {
  .vf-motion .h-stage.is-in .h-cover:not(:hover):not(.tilting) { animation: vfFloat 7s ease-in-out 1.6s infinite; }
  @keyframes vfFloat { 50% { transform: translateX(-50%) translateY(-10px) rotate(-.6deg); } }
  /* Tekst i toppen kommer inn i én samlet bevegelse */
  .js .h-hero-text > * { animation: vfRise .9s var(--ease-out) both; }
  .js .h-hero-text > :nth-child(2) { animation-delay: .12s; } .js .h-hero-text > :nth-child(3) { animation-delay: .24s; } .js .h-hero-text > :nth-child(4) { animation-delay: .36s; }
  .js .h-caption { animation: vfRise .8s var(--ease-out) 1.1s both; }
  @keyframes vfRise { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } }
}

/* ───── Forsiden: morgen ───── */
.h-books { background: linear-gradient(180deg, var(--mist-lilac) 0%, #FBFAFE 55%, var(--mist-peach) 100%); position: relative; }
.hb-cover { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease-out), box-shadow .5s; }
.hb-cover::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255,255,255,.35), transparent 55%); }
.hb-cover:hover { box-shadow: 0 2px 4px rgba(21,23,43,.1), 0 50px 80px -30px rgba(59,36,98,.6); }
.hb-cover.tilting { transition: transform .12s linear, box-shadow .5s; }
.h-book { position: relative; }
.h-book::before { content: ''; position: absolute; z-index: 0; width: min(46vw, 520px); aspect-ratio: 1; border-radius: 50%; top: 50%; left: 18%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(var(--glow-violet), .14), transparent); pointer-events: none; }
.h-book.flip::before { left: auto; right: -14%; background: radial-gradient(closest-side, rgba(var(--glow-sun), .2), transparent); }
.h-book > * { position: relative; z-index: 1; }
.hb-formats li { transition: background-color .2s; border-radius: 10px; }
.hb-formats li:hover { background: rgba(255,255,255,.7); }
.h-chip { background: linear-gradient(135deg, #FFD566, #FFC83D); }

.h-access { background: linear-gradient(180deg, var(--mist-peach), #fff); }
.h-access-list li { transition: transform .35s var(--ease-out); }
.h-access-list li:hover { transform: translateX(6px); }
.ha-ic { transition: transform .4s var(--ease-spring); }
.h-access-list li:hover .ha-ic { transform: scale(1.1) rotate(-6deg); }
.h-access-list li:nth-child(1) .ha-ic { background: var(--mist-sky); } .h-access-list li:nth-child(2) .ha-ic { background: var(--mist-mint); } .h-access-list li:nth-child(3) .ha-ic { background: var(--mist-lilac); }

.h-about-img { position: relative; box-shadow: 0 40px 80px -40px rgba(59,36,98,.45); }
.h-about-img::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(var(--glow-sun), .18), transparent 40%, rgba(var(--glow-violet), .16)); }
.h-about-img img { transition: transform 1.2s var(--ease-out); }
.h-about-img:hover img { transform: scale(1.04); }

.h-news-list a { transition: padding-left .35s var(--ease-out), background-color .3s; border-radius: 12px; }
.h-news-list a:hover { padding-left: 14px; background: var(--mist-lilac); }

/* Kundeklubben: et lite glimt av skumringen igjen */
.h-join-box { background:
    radial-gradient(70% 90% at 0% 0%, rgba(var(--glow-violet), .45), transparent 60%),
    radial-gradient(60% 80% at 100% 100%, rgba(var(--glow-teal), .35), transparent 60%),
    linear-gradient(135deg, var(--dusk-1), var(--dusk-2)); box-shadow: 0 50px 90px -50px rgba(30,27,78,.8); }
.h-join-box::before { content: ''; position: absolute; inset: auto -10% -60% auto; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 200deg, var(--rb-1), var(--rb-2), var(--rb-3), var(--rb-4), var(--rb-5), var(--rb-6), var(--rb-1)); filter: blur(70px); opacity: .25; animation: vfSpin 30s linear infinite; pointer-events: none; }
.h-join-box > * { position: relative; }
@keyframes vfSpin { to { transform: rotate(360deg); } }

/* ───── Undersidene: lys morgenhimmel i toppen ───── */
.page-hero { position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(60% 120% at 0% 0%, var(--mist-lilac), transparent 70%), radial-gradient(50% 120% at 100% 0%, var(--mist-peach), transparent 70%), linear-gradient(180deg, var(--mist-sky), #fff); }
.page-hero::before, .page-hero::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; filter: blur(50px); pointer-events: none; }
.page-hero::before { width: 380px; height: 260px; right: 8%; top: -60px; background: rgba(var(--glow-sun), .28); animation: vfDrift2 24s ease-in-out infinite alternate; }
.page-hero::after { width: 320px; height: 220px; left: 30%; top: 10px; background: rgba(var(--glow-violet), .16); animation: vfDrift1 30s ease-in-out infinite alternate; }
.page-hero h1 { text-wrap: balance; }
.crumbs a { transition: color .2s; } .crumbs a:hover { color: var(--ink); }

/* Produktkort: omslaget løfter seg og vipper */
.product-card .p-img { background: linear-gradient(160deg, var(--mist-lilac), var(--mist-peach)); transition: box-shadow .4s; position: relative; }
.product-card .p-img img { transition: transform .6s var(--ease-out), filter .4s; }
.product-card:hover .p-img img { transform: translateY(-8px) rotate(-1.5deg) scale(1.03); filter: drop-shadow(0 28px 26px rgba(59,36,98,.35)); }
.product-card .p-img { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease-out), box-shadow .4s; }
.product-card .p-img.tilting { transition: transform .12s linear; }
.product-card .p-img::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255,255,255,.45), transparent 55%); }
.product-card:hover .p-img { box-shadow: 0 30px 50px -34px rgba(59,36,98,.55); }
.product-card:nth-child(4n+2) .p-img { background: linear-gradient(160deg, var(--mist-sky), var(--mist-lilac)); }
.product-card:nth-child(4n+3) .p-img { background: linear-gradient(160deg, var(--mist-peach), var(--mist-mint)); }
.product-card:nth-child(4n+4) .p-img { background: linear-gradient(160deg, var(--mist-mint), var(--mist-sky)); }
.gallery-main { background: linear-gradient(160deg, var(--mist-lilac), var(--mist-peach)); transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease-out); }
.gallery-main.tilting { transition: transform .12s linear; }
.book-card .bk-img { transition: transform .5s var(--ease-out), box-shadow .4s; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.book-card:hover .bk-img { box-shadow: 0 34px 50px -22px rgba(59,36,98,.6); }
.fact { background: linear-gradient(160deg, var(--mist-lilac), var(--mist-sky)); transition: transform .35s var(--ease-out); }
.fact:nth-child(2) { background: linear-gradient(160deg, var(--mist-peach), var(--mist-lilac)); }
.fact:nth-child(3) { background: linear-gradient(160deg, var(--mist-mint), var(--mist-sky)); }
.fact:hover { transform: translateY(-4px); }
.card { transition: box-shadow .35s, transform .35s var(--ease-out); }
.rv-card { transition: transform .35s var(--ease-out), box-shadow .35s; }
.rv-card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(21,23,43,.06), 0 24px 44px -22px rgba(59,36,98,.4); }

/* Filterknapper i butikken */
.chip, .filter-chip, [role="tablist"] button { transition: background-color .2s, color .2s, transform .25s var(--ease-spring); }

/* Bunnen: regnbuestripen flyter sakte */
.footer-rainbow { height: 6px; background: linear-gradient(90deg, var(--rb-1), var(--rb-2), var(--rb-3), var(--rb-4), var(--rb-5), var(--rb-6), var(--rb-1)); background-size: 200% 100%; animation: vfFlow 14s linear infinite; }
.site-footer { background: radial-gradient(60% 100% at 100% 0%, rgba(var(--glow-violet), .25), transparent 60%), linear-gradient(180deg, var(--dusk-1), var(--dusk-0)); }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: #fff; }
.socials a { transition: transform .3s var(--ease-spring), background-color .2s; }
.socials a:hover { transform: translateY(-3px) rotate(-6deg); }

/* ───── Innglidning når man scroller (motion.js legger på .rv) ───── */
.vf-motion .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out) var(--rv-d, 0ms), transform .9s var(--ease-out) var(--rv-d, 0ms), filter .8s var(--ease-out) var(--rv-d, 0ms); filter: blur(4px); }
.vf-motion .rv.rv-in { opacity: 1; transform: none; filter: none; }
.vf-motion .h-book .hb-cover.rv { transform: perspective(1100px) translateY(30px) rotateY(-14deg) scale(.94); }
.vf-motion .h-book.flip .hb-cover.rv { transform: perspective(1100px) translateY(30px) rotateY(14deg) scale(.94); }
.vf-motion .h-book .hb-cover.rv.rv-in { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: opacity .9s var(--ease-out), transform 1.2s var(--ease-out), filter .9s; }
.vf-motion .h-book .hb-cover.rv.rv-in.tilting { transition: transform .12s linear; }
.vf-motion .product-card.rv.rv-in, .vf-motion .rv-card.rv.rv-in, .vf-motion .fact.rv.rv-in, .vf-motion .card.rv.rv-in { transition: opacity .8s var(--ease-out) var(--rv-d, 0ms), transform .35s var(--ease-out), filter .8s var(--ease-out) var(--rv-d, 0ms), box-shadow .35s; }
.vf-motion .rv-card.rv.rv-in:hover, .vf-motion .fact.rv.rv-in:hover { transform: translateY(-4px); }
.vf-motion .h-access-list li.rv.rv-in:hover { transform: translateX(6px); }

/* Mobil */
@media (max-width: 900px) {
  .h-hero { padding-bottom: 120px; }
  .h-sky .aur { filter: blur(40px); }
  .h-book::before { display: none; }
}
@media (max-width: 1100px) {
  body[data-page="home"] .site-header:not(.scrolled) .main-nav a { color: var(--ink-2); }
}

/* Ro: ingen bevegelse for dem som har bedt om det */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
  .h-sky .shoot { display: none; }
}
.h-sky .stars { position: absolute; inset: 0; }

/* ═════ Flere bokser på forsiden ═════ */
/* Tillit: kort som ligger over overgangen fra skumring til morgen */
.h-trust { position: relative; z-index: 3; margin-top: clamp(-110px, -8vw, -60px); background: linear-gradient(180deg, transparent 0 50%, var(--mist-lilac) 50%); }
.trust-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.trust-box { display: flex; gap: 14px; align-items: flex-start; padding: 20px 20px 18px; border-radius: var(--r-lg); background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px rgba(21,23,43,.05), 0 24px 50px -28px rgba(59,36,98,.45); transition: transform .35s var(--ease-out), box-shadow .35s; }
.trust-box:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(21,23,43,.05), 0 30px 60px -28px rgba(59,36,98,.55); }
.trust-box strong { display: block; font-family: var(--display); font-size: 1.08rem; letter-spacing: -.015em; line-height: 1.25; margin-bottom: 4px; }
.trust-box span:not(.tb-ic) { display: block; font-size: .92rem; line-height: 1.5; color: var(--muted); }
.tb-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; color: var(--ink); background: linear-gradient(135deg, #FFE7A3, #FFC83D); }
.trust-box:nth-child(2) .tb-ic { background: linear-gradient(135deg, #D9E9FB, #A9CBF2); }
.trust-box:nth-child(3) .tb-ic { background: linear-gradient(135deg, #E9E1FB, #C7B5F2); }
.trust-box:nth-child(4) .tb-ic { background: linear-gradient(135deg, #DDF3E5, #A9DDBD); }
.tb-ic svg { width: 22px; height: 22px; }
.h-books { padding-top: clamp(48px, 6vw, 88px); }

/* Hvorfor lese boka */
.h-why { padding: clamp(56px, 8vw, 112px) 0; background: linear-gradient(180deg, var(--mist-peach), #fff 70%); }
.why-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.why-head h2 { text-wrap: balance; }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.why-box { position: relative; padding: 26px 24px 24px; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line); overflow: hidden; transition: transform .35s var(--ease-out), box-shadow .35s; }
.why-box:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 28px 50px -30px rgba(59,36,98,.5); }
.why-box::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; opacity: .55; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--glow-sun), .5), transparent); }
.wb-2::after { background: radial-gradient(closest-side, rgba(var(--glow-violet), .3), transparent); }
.wb-3::after { background: radial-gradient(closest-side, rgba(var(--glow-rose), .25), transparent); }
.wb-4::after { background: radial-gradient(closest-side, rgba(var(--glow-teal), .3), transparent); }
.wb-5::after { background: radial-gradient(closest-side, rgba(58,134,212,.3), transparent); }
.why-box h3 { font-size: 1.25rem; margin: 16px 0 8px; }
.why-box p { margin: 0; color: var(--ink-2); font-size: .98rem; line-height: 1.6; }
.wb-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--mist-lilac); color: #5B3FB0; }
.wb-ic svg { width: 23px; height: 23px; }
.wb-2 .wb-ic { background: var(--mist-sky); color: #2E6FB7; } .wb-3 .wb-ic { background: #FDEBEE; color: #C43F66; }
.wb-4 .wb-ic { background: var(--mist-mint); color: #2F7F4F; } .wb-5 .wb-ic { background: var(--mist-peach); color: #B5651D; }
.wb-cover { padding: 0; display: grid; place-items: center; background: linear-gradient(160deg, var(--dusk-2), var(--dusk-3)); min-height: 220px; }
.wb-cover img { width: 46%; aspect-ratio: 2/3; object-fit: cover; border-radius: 4px 8px 8px 4px; box-shadow: 0 30px 40px -20px rgba(0,0,0,.7); transform: rotate(-4deg); transition: transform .6s var(--ease-out); }
.wb-cover:hover img { transform: rotate(0) scale(1.05); }
.wb-cover::after { display: none; }
.why-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } .wb-cover { min-height: 260px; } }

/* Velg format */
.h-pick { padding: 0 0 clamp(56px, 8vw, 112px); }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.pick-card { position: relative; display: flex; flex-direction: column; padding: 26px 24px 22px; border-radius: var(--r-lg); text-decoration: none; color: var(--ink); overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, var(--mist-lilac), #fff 70%); box-shadow: 0 0 0 1px var(--line); transition: transform .35s var(--ease-out), box-shadow .35s; }
.pick-card.pk-ebook { background: linear-gradient(160deg, var(--mist-mint), #fff 70%); }
.pick-card.pk-audiobook { background: linear-gradient(160deg, var(--mist-sky), #fff 70%); }
.pick-card.pk-drawings { background: linear-gradient(160deg, var(--mist-peach), #fff 70%); }
.pick-card:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line), 0 34px 60px -34px rgba(59,36,98,.6); }
.pick-card h3 { font-size: 1.45rem; margin: 18px 0 6px; }
.pick-card p { color: var(--ink-2); font-size: .98rem; margin: 0 0 22px; flex: 1; }
.pk-ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: #fff; box-shadow: 0 10px 24px -14px rgba(59,36,98,.5); transition: transform .45s var(--ease-spring); }
.pk-ic svg { width: 27px; height: 27px; }
.pick-card:hover .pk-ic { transform: rotate(-8deg) scale(1.08); }
.pk-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid rgba(21,23,43,.08); }
.pk-price { font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.pk-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; }
.pk-go svg { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.pick-card:hover .pk-go svg { transform: translateX(4px); }

/* Ukraina */
.h-ukraine { padding: 0 0 clamp(56px, 8vw, 112px); }
.ua-box { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); padding: clamp(28px, 5vw, 60px); border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 90% at 100% 0%, rgba(255,213,0,.22), transparent 60%), radial-gradient(70% 90% at 0% 100%, rgba(0,91,187,.16), transparent 60%), linear-gradient(160deg, #F3F8FF, #FFFBEA);
  box-shadow: 0 0 0 1px rgba(0,91,187,.12), 0 40px 80px -50px rgba(0,91,187,.5); }
.ua-flag { width: 96px; height: 96px; border-radius: 28px; overflow: hidden; display: grid; grid-template-rows: 1fr 1fr; box-shadow: 0 18px 30px -16px rgba(0,60,140,.6); transform: rotate(-6deg); }
.ua-flag span:first-child { background: #0057B7; } .ua-flag span:last-child { background: #FFD700; }
.ua-kicker { font-weight: 700; color: #0057B7; margin: 0 0 6px; }
.ua-text h2 { margin-bottom: .3em; }
.ua-text .lead { font-weight: 700; color: var(--ink); }
.ua-text p:not(.lead):not(.ua-kicker) { color: var(--ink-2); max-width: 64ch; }
.ua-points { list-style: none; padding: 0; margin: 6px 0 26px; display: grid; gap: 10px; }
.ua-points li { display: flex; gap: 12px; align-items: flex-start; }
.ua-dot { width: 14px; height: 14px; border-radius: 50%; flex: none; margin-top: 6px; background: linear-gradient(180deg, #0057B7 50%, #FFD700 50%); }
@media (prefers-reduced-motion: no-preference) {
  .vf-motion .ua-flag { animation: vfWave 6s ease-in-out infinite; }
  @keyframes vfWave { 50% { transform: rotate(-2deg) translateY(-4px); } }
}
@media (max-width: 640px) { .ua-box { grid-template-columns: 1fr; } .ua-flag { width: 64px; height: 64px; border-radius: 20px; } }
.ua-note { display: inline-flex; align-items: center; gap: 8px; }
.ua-mini { width: 14px; height: 10px; border-radius: 2px; background: linear-gradient(180deg, #0057B7 50%, #FFD700 50%); }

/* Gavekort */
.h-gift { padding: 0 0 clamp(56px, 8vw, 112px); }
.gift-box { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--mist-peach), #FFF0F3 50%, var(--mist-lilac)); }
.gift-card-art { position: relative; aspect-ratio: 1.6; border-radius: 22px; padding: 24px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
  background: radial-gradient(80% 90% at 100% 0%, rgba(var(--glow-violet), .7), transparent 60%), linear-gradient(135deg, var(--dusk-1), var(--dusk-3));
  box-shadow: 0 40px 60px -30px rgba(30,27,78,.7); transform: rotate(-4deg); transition: transform .6s var(--ease-out); }
.gift-box:hover .gift-card-art { transform: rotate(-1deg) translateY(-6px); }
.gift-card-art strong { font-family: var(--display); font-size: 1.5rem; letter-spacing: -.02em; }
.gift-card-art em { font-style: normal; color: var(--sun); font-weight: 700; }
.gca-rb { position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; border-radius: 50%;
  background: conic-gradient(from 180deg, var(--rb-1), var(--rb-2), var(--rb-3), var(--rb-4), var(--rb-5), var(--rb-6), var(--rb-1)); filter: blur(30px); opacity: .5; }
.gift-points { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.gift-points li { display: flex; gap: 10px; align-items: flex-start; }
.gift-points svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: #1D7F55; }
@media (max-width: 760px) { .gift-box { grid-template-columns: 1fr; } .gift-card-art { max-width: 340px; } }

/* Spørsmål og svar */
.h-faq { padding: 0 0 clamp(56px, 8vw, 112px); }
.h-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border-radius: var(--r-md); background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s, background-color .3s; }
.faq-item[open] { background: linear-gradient(160deg, #fff, var(--mist-lilac)); box-shadow: 0 0 0 1px #D9D2F2, 0 18px 40px -28px rgba(59,36,98,.5); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 700; font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline-offset: -3px; }
.fq-ic { position: relative; width: 28px; height: 28px; border-radius: 50%; flex: none; background: var(--mist-lilac); transition: transform .35s var(--ease-out), background-color .3s; }
.fq-ic::before, .fq-ic::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.fq-ic::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s var(--ease-out); }
.faq-item[open] .fq-ic { background: var(--sun); transform: rotate(180deg); }
.faq-item[open] .fq-ic::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 20px 18px; color: var(--ink-2); }
.faq-a p { margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-a { animation: vfRise .45s var(--ease-out); }
}
@media (max-width: 860px) { .h-faq-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .h-trust { margin-top: -60px; background: linear-gradient(180deg, transparent 0 60px, var(--mist-lilac) 60px); }
  .trust-box { padding: 16px; }
}

/* ═════ Kjøpsboks: velg format, så språk ═════ */
.buybox { margin: 24px 0 26px; padding: 22px; border-radius: var(--r-lg); background: rgba(255,255,255,.8); backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px var(--line), 0 24px 50px -34px rgba(59,36,98,.5); max-width: 620px; }
.buybox.compact { margin: 0 0 20px; }
.bb-label { margin: 0 0 10px; font-size: .85rem; font-weight: 700; color: var(--muted); }
.bb-fmts { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; margin-bottom: 18px; }
.bb-fmt { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left; padding: 12px 14px; border-radius: 14px; cursor: pointer;
  border: 0; background: var(--bg); box-shadow: inset 0 0 0 1.5px transparent; font: inherit; color: var(--ink); transition: background-color .2s, box-shadow .2s, transform .25s var(--ease-spring); }
.bb-fmt svg { grid-row: span 2; width: 22px; height: 22px; color: var(--ink-2); }
.bb-fn { font-weight: 700; font-size: .95rem; line-height: 1.2; }
.bb-fp { font-size: .82rem; color: var(--muted); }
.bb-fmt:hover { background: #fff; box-shadow: inset 0 0 0 1.5px #CFD1DD; transform: translateY(-1px); }
.bb-fmt[aria-pressed="true"] { background: linear-gradient(135deg, #1E2148, #2A2E63); color: #fff; box-shadow: 0 10px 24px -14px rgba(30,27,78,.8); }
.bb-fmt[aria-pressed="true"] svg { color: var(--sun); }
.bb-fmt[aria-pressed="true"] .bb-fp { color: #C9CCE8; }
.buybox .v-langs { margin: 0 0 18px; }
.bb-sel { border-top: 1px solid var(--line); padding-top: 16px; }
.bb-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.bb-price { font-family: var(--display); font-size: 1.7rem; font-weight: 700; letter-spacing: -.02em; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.bb-price .price-was { font-size: 1rem; font-weight: 400; color: var(--muted); }
.bb-price .price-member { font-family: var(--sans); font-size: .82rem; font-weight: 600; }
.bb-add { padding: .85em 1.4em; }
.bb-add svg { width: 19px; height: 19px; }
.bb-add.added { background: linear-gradient(135deg, #34A36B, #1D7F55); color: #fff; }
.bb-short { margin: 12px 0 0; color: var(--ink-2); font-size: .96rem; }
.bb-note { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; font-size: .92rem; color: var(--muted); }
.bb-note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: #1D7F55; }
.bb-more { display: inline-block; margin-top: 10px; font-size: .9rem; font-weight: 700; color: var(--ink); text-underline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) { .vf-motion .bb-sel { animation: vfRise .4s var(--ease-out); } }
.h-book .buybox { background: rgba(255,255,255,.75); }
@media (max-width: 480px) { .buybox { padding: 16px; } .bb-fmts { grid-template-columns: 1fr 1fr; } .bb-add { width: 100%; } }

/* Bokkort i butikken */
.shop-book .p-img { aspect-ratio: 4/5; }
.sb-fmts { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.sb-fmts li { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; padding: .35em .75em; border-radius: 999px; background: var(--bg); }
.sb-fmts svg { width: 15px; height: 15px; }
.sb-langs { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); margin: 0 0 14px; }
.sb-langs svg { width: 15px; height: 15px; flex: none; }
.shop-book .add-btn { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.shop-book .add-btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.shop-book:hover .add-btn svg { transform: translateX(3px); }

/* ═════════════════════════════════════════════════════════════════════
   Design 4 – «Lesesalen om kvelden»
   Et voksent, rolig forlagsuttrykk: dyp nattblå, messing/gull brukt
   sparsomt, kjølig papirhvitt og klassiske overskrifter (Newsreader).
   Det ene som skal huskes: bøkene står som ekte bøker i 3D i et varmt
   lys, og omslaget åpner seg litt når man holder over.
   Regnbuen lever videre bare som en liten detalj i logoen.
   ═════════════════════════════════════════════════════════════════════ */
:root {
  --ink: #131A2A; --ink-2: #39425A; --muted: #5E677C; --line: #E3E6EC;
  --bg: #F6F7F9; --card: #FFFFFF;
  --night: #0D1526; --night-2: #16223A; --night-3: #22304D;
  --brass: #B8914A; --brass-2: #D7B878; --brass-3: #F1E3C2; --brass-ink: #7A5A1E;
  --gold: var(--brass); --gold-deep: var(--brass-ink); --gold-soft: #F7F0E1; --sun: var(--brass-2);
  --paper: #FBFAF7; --paper-edge: #E7E1D4;
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --display: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --r-xl: 18px; --r-lg: 14px; --r-md: 10px; --r-sm: 8px;
  --shadow: 0 1px 2px rgba(13,21,38,.05), 0 12px 30px -18px rgba(13,21,38,.25);
  --shadow-lg: 0 2px 4px rgba(13,21,38,.06), 0 30px 60px -30px rgba(13,21,38,.45);
}
body { background: var(--bg); }
::selection { background: var(--brass-3); color: var(--ink); }
:focus-visible { outline-color: var(--brass); }

/* Typografi: klassisk serif i overskriftene, tydelig sans i brødteksten */
h1, h2, h3, .hb-title, .brand-name, .h-caption a, .hb-tag, .site-footer h4 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.012em; font-optical-sizing: auto;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1.04; font-weight: 350; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); line-height: 1.1; }
h3 { font-size: 1.4rem; font-weight: 450; }
.hb-title { font-size: clamp(2.3rem, 4.4vw, 3.6rem); font-weight: 350; letter-spacing: -.02em; }
.hb-tag { font-style: italic; font-weight: 400; }
.lead { color: var(--ink-2); }
.brand-name { font-weight: 500; font-size: 1.45rem; letter-spacing: -.01em; }
.brand svg { width: 34px; height: 20px; }

/* Knapper: rolige, presise */
.btn { border-radius: 999px; font-weight: 600; letter-spacing: .005em; }
.btn::after { background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.22) 50%, transparent 65%); }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--night); color: #fff; box-shadow: 0 10px 24px -16px rgba(13,21,38,.8); }
.btn-primary:hover { background: var(--night-3); box-shadow: 0 14px 30px -16px rgba(13,21,38,.85); }
.btn-gold { background: linear-gradient(180deg, #D9BC80, #BE9852); color: #1B1406; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 24px -16px rgba(122,90,30,.9); }
.btn-gold:hover { background: linear-gradient(180deg, #E2C890, #C7A25E); }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1px rgba(19,26,42,.22); }
.btn-ghost:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.cart-count { background: var(--brass); color: #1B1406; }
.h-chip, .chip-gold { background: var(--brass-3); color: var(--brass-ink); font-weight: 600; letter-spacing: .01em; }

/* Topp og bunn */
.site-header { background: rgba(255,255,255,.9); }
.footer-rainbow { height: 1px; background: linear-gradient(90deg, transparent, var(--brass) 20%, var(--brass-2) 50%, var(--brass) 80%, transparent); }
.site-footer { background: var(--night); color: #AEB6C9; }
.site-footer h4 { color: #fff; font-size: 1.15rem; font-weight: 450; }

/* ───── Forsiden: lesesalen ───── */
.h-hero { color: #fff; background:
    radial-gradient(60% 70% at 72% 8%, rgba(215,184,120,.22), transparent 62%),
    radial-gradient(50% 60% at 10% 100%, rgba(34,48,77,.9), transparent 70%),
    linear-gradient(180deg, #0B1222 0%, #0F192D 60%, #121E35 100%);
  padding-bottom: clamp(90px, 10vw, 150px); }
.h-hero::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); }
.h-hero::after { background: linear-gradient(180deg, transparent, rgba(246,247,249,0)); height: 0; }
.h-sky { display: none !important; }
.h-hero h1 { color: #F6F1E6; max-width: 12ch; text-shadow: none; font-weight: 300; }
.h-hero .lead { color: #B9C1D4; }
.h-hero .btn-primary { background: linear-gradient(180deg, #DCC08A, #BE9852); color: #17110A; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 16px 36px -18px rgba(215,184,120,.7); }
.h-hero .btn-primary:hover { background: linear-gradient(180deg, #E6CD9C, #C9A562); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 20px 40px -18px rgba(215,184,120,.85); }
.h-hero .btn-ghost { background: transparent; color: #EDE6D6; box-shadow: inset 0 0 0 1px rgba(237,230,214,.32); backdrop-filter: none; }
.h-hero .btn-ghost:hover { background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(237,230,214,.75); }
.h-formats { color: #9EA8BF; border-top: 1px solid rgba(215,184,120,.22); padding-top: 22px; }
.h-formats svg { color: var(--brass-2); }
.h-hero :focus-visible { outline-color: var(--brass-2); }

/* Gullglans som går over overskriften én gang når siden åpnes */
.vf-motion .h-hero h1 { background: linear-gradient(100deg, #F6F1E6 0%, #F6F1E6 40%, #F3D99B 50%, #F6F1E6 60%, #F6F1E6 100%);
  background-size: 250% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: vfFoil 2.4s .5s var(--ease-out) both; }
@keyframes vfFoil { to { background-position: 0 0; } }

/* Hylla med bøkene */
.h-stage { max-width: 600px; }
.h-shelf { position: relative; height: clamp(320px, 38vw, 470px); perspective: 1800px; }
.h-shelf::before { content: ''; position: absolute; left: -4%; right: -4%; bottom: 0; height: 1px; z-index: 0;
  background: linear-gradient(90deg, transparent, rgba(215,184,120,.65) 25%, rgba(241,227,194,.9) 55%, rgba(215,184,120,.5) 80%, transparent); }
.h-shelf::after { content: ''; position: absolute; left: 5%; right: 5%; bottom: -46px; height: 46px; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 100% at 50% 0, rgba(215,184,120,.16), transparent 70%); }
.shelf-book { position: absolute; bottom: 0; display: block; text-decoration: none; transform-style: preserve-3d; }
.shelf-book.s0 { left: 30%; width: 46%; z-index: 3; }
.shelf-book.s1 { left: 2%; width: 36%; z-index: 2; }
.shelf-book.s2 { left: 72%; width: 30%; z-index: 1; }
.shelf-book.s0 .b3d { --ry: -22deg; }
.shelf-book.s1 .b3d { --ry: 26deg; }
.shelf-book.s2 .b3d { --ry: -30deg; }
.h-caption { color: #9EA8BF; margin-top: 30px; }
.h-caption a { color: #F6F1E6; font-size: 1.35rem; font-style: italic; }
.h-caption .h-chip { background: rgba(215,184,120,.16); color: var(--brass-2); box-shadow: inset 0 0 0 1px rgba(215,184,120,.35); }

/* ───── Boka i 3D ───── */
.b3d { --t: 24px; --ry: -20deg; --rx: 3deg; --ar: .75; position: relative; display: block; width: 100%; aspect-ratio: var(--ar); perspective: 1600px; }
.b3d-in { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 1s var(--ease-out); }
.b3d-in > span { position: absolute; display: block; }
.b3d-front { inset: 0; transform: translateZ(calc(var(--t) / 2)); transform-origin: 0 50%; border-radius: 2px 5px 5px 2px; overflow: hidden; background: var(--night-2);
  transition: transform 1.1s var(--ease-out); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.b3d-front img { width: 100%; height: 100%; object-fit: cover; }
.b3d-front .bk-placeholder { position: absolute; inset: 0; display: grid; place-items: center; }
.b3d-front .bk-placeholder svg { width: 40%; }
.b3d-gloss { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.28) 0, rgba(255,255,255,.18) 1.6%, rgba(0,0,0,.06) 3.5%, transparent 7%),
              linear-gradient(115deg, transparent 30%, rgba(255,255,255,.14) 45%, transparent 60%);
  background-size: 100% 100%, 250% 100%; background-position: 0 0, var(--gl, 100%) 0; transition: background-position 1.2s var(--ease-out); }
.b3d-back { inset: 0; transform: translateZ(calc(var(--t) / -2)) rotateY(180deg); background: #0A1020; border-radius: 5px 2px 2px 5px; }
.b3d-pages { top: 1.2%; bottom: 1.2%; width: calc(var(--t) - 2px); left: calc(100% - var(--t) / 2 - 3px); transform: rotateY(90deg);
  background: repeating-linear-gradient(90deg, #F4F0E7 0 1px, #DCD5C6 1px 2px); box-shadow: inset 0 0 6px rgba(0,0,0,.18); }
.b3d-spine { top: 0; bottom: 0; width: var(--t); left: calc(var(--t) / -2); transform: rotateY(-90deg); overflow: hidden;
  background: linear-gradient(90deg, #0A1020, #1B2742 45%, #0E1628); }
.b3d-spine > span { position: absolute; left: 50%; top: 50%; width: 900%; transform: translate(-50%, -50%) rotate(90deg); text-align: center; white-space: nowrap;
  font-family: var(--serif); font-size: 11px; letter-spacing: .08em; color: var(--brass-2); }
.b3d-leaf { top: 1%; bottom: 1%; left: 0; right: 1.5%; transform: translateZ(calc(var(--t) / 2 - 1.5px)); background: var(--paper);
  background-image: linear-gradient(90deg, rgba(0,0,0,.12), transparent 6%); display: grid !important; place-items: center; }
.b3d-ex { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 12%; color: var(--brass-ink); font-family: var(--serif); }
.b3d-ex em { font-size: .78rem; letter-spacing: .14em; font-style: normal; color: var(--muted); }
.b3d-ex span { font-size: clamp(.95rem, 1.6vw, 1.25rem); font-style: italic; line-height: 1.2; color: var(--ink); }
.b3d-ex::after { content: ''; width: 34px; height: 1px; background: var(--brass); margin-top: 6px; }
/* Skygge på hylla / bordet */
.b3d::after { content: ''; position: absolute; left: 6%; right: -4%; bottom: -14px; height: 26px; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent); filter: blur(4px); transition: transform 1s var(--ease-out), opacity 1s; }

/* Hold over: boka snur seg mot deg og omslaget åpnes litt */
@media (hover: hover) and (pointer: fine) {
  a:hover > .b3d .b3d-in, .b3d:hover .b3d-in { transform: rotateX(var(--rx)) rotateY(calc(var(--ry) * .35 + var(--py, 0deg))); }
  a:hover > .b3d .b3d-front, .b3d:hover .b3d-front { transform: translateZ(calc(var(--t) / 2)) rotateY(-32deg); }
  a:hover > .b3d .b3d-gloss, .b3d:hover .b3d-gloss { --gl: 0%; }
  a:hover > .b3d::after, .b3d:hover::after { transform: scaleX(1.08); opacity: .8; }
}

/* Bøkene kommer inn på hylla når forsiden åpnes (én samlet åpning) */
.vf-motion .shelf-book { animation: vfShelf 1.4s calc(.25s + var(--i) * .16s) var(--ease-out) both; }
@keyframes vfShelf { from { opacity: 0; transform: translateY(40px) rotateY(18deg); } }

/* Bokblokkene på forsiden og boksiden */
.hb-cover.hb-3d, .bh-img.bh-3d { overflow: visible; aspect-ratio: auto; border-radius: 0; box-shadow: none; background: none; width: min(100%, 360px); }
.hb-cover.hb-3d::after, .bh-img.bh-3d::after { display: none; }
.h-book.flip .hb-3d .b3d { --ry: 20deg; }
.bh-3d .b3d { --ry: -16deg; }
.bh-img.bh-3d img { box-shadow: none; border-radius: 0; }

/* ───── Seksjonene under: nøytrale flater i stedet for pastell ───── */
.h-trust, .h-why, .h-pick, .h-ukraine, .h-gift, .h-faq, .h-access, .h-about, .h-news, .h-join, .h-books, .h-reviews, .h-music { background: none !important; }
.h-why, .h-gift, .h-faq { background: #fff !important; border-block: 1px solid var(--line); }
.trust-box, .why-box, .pick-card, .ua-box, .gift-box, .faq-item, .h-join-box, .card, .product-card, .book-card, .fact, .club-card, .gc-card {
  background: #fff; border: 1px solid var(--line); box-shadow: none; border-radius: var(--r-lg); }
.trust-box:hover, .why-box:hover, .pick-card:hover, .product-card:hover, .book-card:hover { box-shadow: var(--shadow); border-color: #D6DAE2; }
.trust-box svg, .why-box svg, .h-access-list svg, .ua-points svg { color: var(--brass-ink); }
.h-join-box { background: var(--night) !important; color: #D6DBE6; border: 0; }
.h-join-box h2, .h-join-box h3 { color: #F6F1E6; }
.page-hero { background: linear-gradient(180deg, #EEF0F4, var(--bg)) !important; }
.page-hero::before, .page-hero::after { display: none !important; }
.ua-flag { filter: saturate(.85); }

/* Design 4 – finpuss: ikoner i messing på hvit, ingen fargeklatter */
.tb-ic, .trust-box:nth-child(n) .tb-ic, .wb-ic, .ha-ic, .h-access-list li:nth-child(n) .ha-ic, .pk-ic {
  background: var(--gold-soft) !important; color: var(--brass-ink) !important; box-shadow: inset 0 0 0 1px rgba(184,145,74,.25); border-radius: 50%; }
.why-box::after, .pick-card::before, .pick-card::after, .ua-box::before, .ua-box::after, .gift-box::before, .gift-box::after { display: none !important; }
.pick-card { background: #fff !important; }
.ua-box { background: #fff; border: 1px solid var(--line); }
.gift-card-art { background: radial-gradient(80% 120% at 90% 0, rgba(215,184,120,.35), transparent 60%), linear-gradient(140deg, #1B2742, #0D1526) !important; box-shadow: inset 0 0 0 1px rgba(215,184,120,.35), var(--shadow-lg); border-radius: 14px; }
.gift-card-art strong { font-family: var(--serif); font-weight: 400; color: #F6F1E6; }
.main-nav a[aria-current="page"]::after { background: var(--brass) !important; animation: none !important; height: 2px; }
body[data-page="home"] .site-header:not(.scrolled) .main-nav a[aria-current="page"]::after { background: var(--brass-2) !important; }
.h-trust .trust-box { background: #fff; }

/* 3D: mer dybde på hylla, og omslaget åpnes nok til at forsatsen synes */
.h-shelf .b3d { perspective: 1000px; }
.shelf-book.s0 .b3d { --ry: -28deg; }
.shelf-book.s1 .b3d { --ry: 30deg; }
.b3d-back { background: #1B2742; }
.b3d-ex { width: 52%; margin-left: auto; padding: 10% 8% 10% 4%; }
@media (hover: hover) and (pointer: fine) {
  a:hover > .b3d .b3d-front, .b3d:hover .b3d-front { transform: translateZ(calc(var(--t) / 2)) rotateY(-62deg); }
  a:hover > .b3d .b3d-in, .b3d:hover .b3d-in { transform: rotateX(var(--rx)) rotateY(calc(-8deg + var(--py, 0deg))); }
}
.b3d-front { backface-visibility: visible; }
.b3d-front::before { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(13,21,38,0), rgba(13,21,38,.0)); transition: background 1.1s; pointer-events: none; }
a:hover > .b3d .b3d-front::before { background: linear-gradient(90deg, rgba(13,21,38,0), rgba(13,21,38,.35)); }

/* Design 4 – «Blå time»: i stedet for hvitt går siden over i en dempet,
   blågrå skumring med svakt papirkorn og varme lysflekker i messing. */
:root { --bg: #DCE1EA; --card: #F4F6F9; --line: rgba(19,26,42,.11); --muted: #4F586D; --band: #E5E9F0; }
body {
  background:
    radial-gradient(1100px 700px at 92% 4%, rgba(215,184,120,.20), transparent 60%),
    radial-gradient(900px 800px at -8% 38%, rgba(40,56,92,.16), transparent 65%),
    radial-gradient(1000px 700px at 70% 88%, rgba(184,145,74,.12), transparent 60%),
    linear-gradient(180deg, #D3D9E4 0%, #DFE3EB 45%, #D6DCE6 100%);
  background-attachment: fixed;
}
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .58 0 0 0 0 .66 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.site-header { background: rgba(220,225,234,.82); backdrop-filter: blur(14px) saturate(1.2); }
.h-why, .h-gift, .h-faq { background: rgba(244,246,249,.42) !important; border-block: 1px solid rgba(255,255,255,.5); }
.trust-box, .why-box, .pick-card, .ua-box, .gift-box, .faq-item, .card, .product-card, .book-card, .fact, .club-card, .gc-card, .h-trust .trust-box, .buybox {
  background: linear-gradient(180deg, rgba(248,249,251,.92), rgba(240,243,247,.92)) !important; border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 1px 2px rgba(13,21,38,.06), 0 18px 40px -28px rgba(13,21,38,.45); }
.trust-box:hover, .why-box:hover, .pick-card:hover, .product-card:hover, .book-card:hover { box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 2px 4px rgba(13,21,38,.07), 0 26px 50px -28px rgba(13,21,38,.55); }
.page-hero { background: none !important; }
.bb-fmt { background: rgba(220,225,234,.55); }
.btn-ghost { box-shadow: inset 0 0 0 1px rgba(19,26,42,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.55); }
.site-footer { margin-top: 0; }
.site-header.scrolled, body[data-page="home"] .site-header.scrolled { background: rgba(214,220,230,.86) !important; backdrop-filter: blur(14px) saturate(1.2); }

/* ═════ Design 4 – toppmenyen: en svevende glasskapsel ═════
   Øverst på forsiden flyter menyen fritt over natthimmelen. Så snart man
   scroller (og på alle andre sider) samler den seg i en avrundet kapsel av
   matt glass. En tynn gullstrek glir til lenken man peker på. */
.site-header, .site-header.scrolled, body[data-page="home"] .site-header.scrolled, body[data-page="home"] .site-header:not(.scrolled) {
  background: transparent !important; backdrop-filter: none !important; border: 0 !important; box-shadow: none !important; padding-top: 12px; pointer-events: none; }
.site-header .wrap { width: min(100% - 24px, 1240px); }
.header-row { pointer-events: auto; height: 62px; padding: 0 8px 0 20px; gap: 18px; border-radius: 999px; position: relative;
  background: rgba(240,243,247,.74); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.65), 0 1px 2px rgba(13,21,38,.06), 0 18px 40px -26px rgba(13,21,38,.55);
  transition: background-color .5s var(--ease-out), box-shadow .5s var(--ease-out), padding .5s var(--ease-out); }
body[data-page="home"] .site-header:not(.scrolled) .header-row { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding-left: 4px; }
body[data-page="home"] main { margin-top: -74px; }

.brand { gap: 10px; }
.brand svg { width: 30px; height: 18px; }
.brand-name { font-size: 1.38rem; font-weight: 500; color: var(--ink); }

.main-nav { position: relative; gap: 0; margin-inline: auto; }
.main-nav a, .main-nav a:hover, .main-nav a[aria-current="page"] { background: none !important; }
.main-nav a { padding: .5em 14px; border-radius: 0; font-size: .96rem; font-weight: 500; letter-spacing: .005em; color: var(--ink-2); transition: color .25s; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.main-nav a[aria-current="page"]::after { display: none !important; }
.nav-ink { position: absolute; left: 0; bottom: 2px; height: 1.5px; width: 0; border-radius: 2px; background: var(--brass); pointer-events: none;
  transition: transform .5s var(--ease-out), width .5s var(--ease-out), opacity .3s; }
.nav-ink.no-anim { transition: none; }

.header-tools { gap: 2px; padding-left: 12px; position: relative; }
.header-tools::before { content: ''; position: absolute; left: 0; top: 50%; height: 22px; width: 1px; background: rgba(19,26,42,.14); transform: translateY(-50%); }
.icon-btn, body[data-page="home"] .site-header:not(.scrolled) .icon-btn { width: 42px; height: 42px; background: transparent; box-shadow: none; color: var(--ink); border-radius: 999px; }
.icon-btn:hover { background: rgba(19,26,42,.07); box-shadow: none; transform: none; }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count { min-width: 18px; height: 18px; font-size: .68rem; top: 3px; right: 2px; box-shadow: 0 0 0 2px rgba(240,243,247,.9); }

/* Språkmenyen */
.lang-switch { display: none !important; }
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 10px 0 12px; border-radius: 999px; cursor: pointer;
  font-size: .82rem; font-weight: 600; letter-spacing: .06em; color: var(--ink); user-select: none; transition: background-color .2s; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover { background: rgba(19,26,42,.07); }
.lang-menu summary svg { width: 18px; height: 18px; }
.lang-menu summary .chev { width: 14px; height: 14px; opacity: .6; transition: transform .3s var(--ease-out); }
.lang-menu[open] summary .chev { transform: rotate(180deg); }
.lang-pop { position: absolute; right: 0; top: calc(100% + 12px); width: 250px; max-height: min(62vh, 520px); overflow: auto; padding: 6px; border-radius: 16px; z-index: 50;
  background: rgba(246,247,250,.97); backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 30px 60px -24px rgba(13,21,38,.55);
  animation: vfPop2 .28s var(--ease-out); transform-origin: top right; }
@keyframes vfPop2 { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.lang-pop button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; border: 0; background: none; cursor: pointer;
  padding: 9px 12px; border-radius: 10px; font-size: .95rem; color: var(--ink); text-align: left; }
.lang-pop button small { font-size: .72rem; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.lang-pop button:hover, .lang-pop button:focus-visible { background: rgba(19,26,42,.06); }
.lang-pop button[aria-pressed="true"] { color: var(--brass-ink); font-weight: 600; }
.lang-pop button[aria-pressed="true"] small { color: var(--brass); }
.lang-pop hr { border: 0; height: 1px; background: rgba(19,26,42,.1); margin: 6px 8px; }

/* Øverst på forsiden: lys tekst over natten */
body[data-page="home"] .site-header:not(.scrolled) :is(.brand-name, .icon-btn, .lang-menu summary, .main-nav a[aria-current="page"]) { color: #F3EEE3; }
body[data-page="home"] .site-header:not(.scrolled) .main-nav a:not([aria-current]) { color: #B8C0D2; }
body[data-page="home"] .site-header:not(.scrolled) .main-nav a:hover { color: #fff; }
body[data-page="home"] .site-header:not(.scrolled) :is(.icon-btn, .lang-menu summary):hover { background: rgba(255,255,255,.08); }
body[data-page="home"] .site-header:not(.scrolled) .nav-ink { background: var(--brass-2); }
body[data-page="home"] .site-header:not(.scrolled) .header-tools::before { background: rgba(255,255,255,.16); }
body[data-page="home"] .site-header:not(.scrolled) .cart-count { box-shadow: 0 0 0 2px #0F192D; }

@media (max-width: 1100px) {
  .header-row { padding-right: 6px; }
  .header-tools::before { display: none; }
  .nav-ink, .nav-lang { display: none !important; }
  .main-nav { position: fixed; inset: 84px 12px auto 12px; margin: 0; padding: 8px; border-radius: 18px; pointer-events: auto;
    background: rgba(244,246,249,.97); backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 30px 60px -24px rgba(13,21,38,.55); }
  .main-nav a, body[data-page="home"] .site-header:not(.scrolled) .main-nav a:not([aria-current]), body[data-page="home"] .site-header:not(.scrolled) .main-nav a[aria-current="page"] { color: var(--ink); padding: .85em 1em; font-size: 1.05rem; border-radius: 12px; }
  .main-nav a[aria-current="page"] { background: rgba(184,145,74,.12) !important; color: var(--brass-ink) !important; }
  .lang-menu summary span, .lang-menu summary .chev { display: none; }
  .lang-menu summary { padding: 0 12px; }
}
.header-row { background: rgba(236,240,245,.94); }
.site-header { view-transition-name: none; }
.header-row { view-transition-name: vf-header; }
@media (max-width: 1100px) { .main-nav { background: #F1F3F7; animation: vfPop2 .28s var(--ease-out); } .main-nav a[aria-current="page"] { background: rgba(184,145,74,.10) !important; } }
.lang-pop { background: #F3F5F8; }

/* Design 4 – de gamle pastellfargene blir dempede toner som passer skumringen */
:root {
  --mist-lilac: rgba(244,246,249,.5); --mist-peach: rgba(241,227,194,.32); --mist-sky: rgba(229,233,240,.6); --mist-mint: rgba(233,237,242,.6);
  --rose: #94384B; --rose-soft: #F1E4E4; --sea: #2D6658; --sea-soft: #E1EBE7;
}
html { background: #D8DDE6; }
.product-card .p-img, .product-card:nth-child(n) .p-img, .gallery-main, .fact, .fact:nth-child(n) {
  background: radial-gradient(80% 70% at 50% 35%, rgba(255,255,255,.65), transparent 70%), linear-gradient(170deg, #E6EAF0, #D9DFE8) !important; }
.f-icon, .tone-rose .f-icon, .tone-sea .f-icon, .perk .f-icon { background: var(--gold-soft) !important; color: var(--brass-ink) !important; border-radius: 50%; }
.news-card .nc-img { background: linear-gradient(160deg, #1B2742, #0D1526); }
.h-news-list a:hover { background: rgba(255,255,255,.45); }
.member-badge { background: var(--gold-soft); color: var(--brass-ink); }
/* Medlems- og gavekortet: nattblått kort med gullskrift */
.club-card, .club-card.gc-card { background: radial-gradient(90% 120% at 100% 0, rgba(215,184,120,.32), transparent 55%), linear-gradient(145deg, #22304D, #0D1526 70%) !important;
  color: #F3EEE3; border: 0 !important; border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(215,184,120,.35), 0 30px 60px -28px rgba(13,21,38,.7) !important; }
.club-card .cc-name, .club-card .cc-pct { color: #F3EEE3; }
.club-card .cc-pct { background: linear-gradient(180deg, #F3DDA6, #C9A35B); -webkit-background-clip: text; background-clip: text; color: transparent; }
.club-card small, .club-card .cc-sub, .club-card span { color: #C9CFDC; }

/* 404: en åpen bok der sidene blar seg rolig, men den siste siden er tom */
.nf { padding-top: clamp(40px, 7vw, 90px); }
.nf-wrap { max-width: 720px; text-align: center; }
.nf-wrap .lead { margin-inline: auto; }
.nf-book { position: relative; width: 240px; height: 150px; margin: 0 auto 36px; perspective: 900px; }
.nf-book > span { position: absolute; top: 0; height: 100%; width: 50%; }
.nf-cover { background: linear-gradient(160deg, #22304D, #0D1526); border-radius: 6px; top: 4px !important; height: calc(100% + 4px) !important; box-shadow: 0 24px 40px -22px rgba(13,21,38,.8); }
.nf-l { left: -4px; transform: rotateY(8deg); transform-origin: right; } .nf-r { right: -4px; transform: rotateY(-8deg); transform-origin: left; }
.nf-blank, .nf-page { background: linear-gradient(90deg, #F6F3EC, #FBFAF7 40%); }
.nf-blank { right: 0; display: grid; place-items: center; box-shadow: inset 8px 0 14px -10px rgba(0,0,0,.25); border-radius: 0 3px 3px 0; }
.nf-blank em { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--brass); letter-spacing: .04em; }
.nf-page { left: 50%; transform-origin: left center; border-radius: 0 3px 3px 0; box-shadow: inset 8px 0 14px -10px rgba(0,0,0,.2); backface-visibility: visible; }
.nf-book::before { content: ''; position: absolute; left: 0; top: 0; width: 50%; height: 100%; z-index: 0; background: linear-gradient(270deg, #F6F3EC, #FBFAF7 40%); box-shadow: inset -8px 0 14px -10px rgba(0,0,0,.25); border-radius: 3px 0 0 3px; }
.vf-motion .nf-page { animation: nfFlip 5.4s var(--ease-out) infinite; }
.vf-motion .nf-page.p2 { animation-delay: .35s; } .vf-motion .nf-page.p3 { animation-delay: .7s; }
@keyframes nfFlip { 0%, 30% { transform: rotateY(0); } 60%, 100% { transform: rotateY(-180deg); } }
.nf-search { display: flex; gap: 8px; max-width: 480px; margin: 28px auto 18px; }
.nf-search input { flex: 1; min-width: 0; height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(19,26,42,.18); background: rgba(255,255,255,.7); font: inherit; color: var(--ink); }
.nf-search input:focus { outline: 2px solid var(--brass); outline-offset: 1px; }
.nf-books { list-style: none; padding: 0; margin: 0 auto; display: grid; gap: 10px; max-width: 480px; text-align: left; }
.nf-books a { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: 14px; text-decoration: none; background: rgba(248,249,251,.75); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); transition: background-color .2s, transform .3s var(--ease-out); }
.nf-books a:hover { background: #fff; transform: translateX(4px); }
.nf-books img { width: 44px; height: 60px; object-fit: cover; border-radius: 2px 4px 4px 2px; box-shadow: 0 6px 14px -8px rgba(13,21,38,.6); }
.nf-books strong { display: block; font-family: var(--serif); font-weight: 450; font-size: 1.1rem; }
.nf-books small { color: var(--muted); }
.nf-none { color: var(--muted); text-align: center; }
.nf-links { display: flex; justify-content: center; gap: 22px; margin-top: 26px; font-weight: 600; }
.nf-links a { text-underline-offset: 4px; text-decoration-color: var(--brass); }

/* ═════ Mørk visning: «sen kveld i lesesalen» ═════ */
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #ECE7DC; --ink-2: #C3C8D4; --muted: #98A1B5; --line: rgba(255,255,255,.09);
  --bg: #0C1322; --card: #141D31; --band: #111A2C; --gold-soft: rgba(215,184,120,.14); --brass-ink: #E2C78E;
  --mist-lilac: rgba(255,255,255,.03); --mist-peach: rgba(215,184,120,.06); --mist-sky: rgba(255,255,255,.04); --mist-mint: rgba(255,255,255,.04);
  --rose: #E79AA9; --rose-soft: rgba(231,154,169,.12); --sea: #8FCBB9; --sea-soft: rgba(143,203,185,.12);
}
:root[data-theme="dark"] html, html[data-theme="dark"] { background: #0B1220; }
html[data-theme="dark"] body { background:
    radial-gradient(1100px 700px at 92% 4%, rgba(215,184,120,.10), transparent 60%),
    radial-gradient(900px 800px at -8% 38%, rgba(60,80,130,.18), transparent 65%),
    linear-gradient(180deg, #0D1526 0%, #0B1220 100%); background-attachment: fixed; }
html[data-theme="dark"] body::before { mix-blend-mode: screen; opacity: .12; }
html[data-theme="dark"] .header-row { background: rgba(20,29,49,.94); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 18px 40px -26px rgba(0,0,0,.8); }
html[data-theme="dark"] .header-tools::before { background: rgba(255,255,255,.14); }
html[data-theme="dark"] :is(.icon-btn, .lang-menu summary):hover { background: rgba(255,255,255,.08); }
html[data-theme="dark"] .lang-pop, html[data-theme="dark"] .main-nav { background: #172238; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 30px 60px -24px rgba(0,0,0,.8); }
@media (min-width: 1101px) { html[data-theme="dark"] .main-nav { background: none; box-shadow: none; } }
html[data-theme="dark"] .lang-pop button:hover { background: rgba(255,255,255,.06); }
html[data-theme="dark"] .cart-count { box-shadow: 0 0 0 2px #141D31; }
html[data-theme="dark"] :is(.trust-box, .why-box, .pick-card, .ua-box, .gift-box, .faq-item, .card, .product-card, .book-card, .fact, .gc-card, .h-trust .trust-box, .buybox, .nf-books a) {
  background: linear-gradient(180deg, rgba(25,35,58,.92), rgba(19,28,47,.92)) !important; border-color: rgba(255,255,255,.06) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 18px 40px -28px rgba(0,0,0,.8) !important; color: var(--ink); }
html[data-theme="dark"] .h-why, html[data-theme="dark"] .h-gift, html[data-theme="dark"] .h-faq { background: rgba(255,255,255,.02) !important; border-color: rgba(255,255,255,.05); }
html[data-theme="dark"] :is(.product-card .p-img, .product-card:nth-child(n) .p-img, .gallery-main, .fact, .fact:nth-child(n)) { background: radial-gradient(80% 70% at 50% 35%, rgba(255,255,255,.06), transparent 70%), linear-gradient(170deg, #1A2540, #121B2E) !important; }
html[data-theme="dark"] .btn-primary { background: #ECE7DC; color: #0D1526; }
html[data-theme="dark"] .btn-primary:hover { background: #fff; }
html[data-theme="dark"] .btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
html[data-theme="dark"] .btn-ghost:hover { background: rgba(255,255,255,.06); }
html[data-theme="dark"] :is(input, select, textarea):not([type=checkbox]):not([type=radio]) { background: rgba(255,255,255,.05); color: var(--ink); border-color: rgba(255,255,255,.12); }
html[data-theme="dark"] .bb-fmt { background: rgba(255,255,255,.04); color: var(--ink); }
html[data-theme="dark"] .bb-fmt[aria-pressed="true"] { background: #ECE7DC; color: #0D1526; }
html[data-theme="dark"] .chip, html[data-theme="dark"] .book-meta span { background: rgba(255,255,255,.05); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
html[data-theme="dark"] .chip[aria-pressed="true"], html[data-theme="dark"] .chip.active { background: #ECE7DC; color: #0D1526; }
html[data-theme="dark"] .h-hero { background: radial-gradient(60% 70% at 72% 8%, rgba(215,184,120,.16), transparent 62%), linear-gradient(180deg, #070C17, #0B1220); }
html[data-theme="dark"] .site-footer { background: #070C17; }
html[data-theme="dark"] .h-join-box { background: #070C17 !important; box-shadow: inset 0 0 0 1px rgba(215,184,120,.18); }
html[data-theme="dark"] .b3d-back { background: #0A1020; }
html[data-theme="dark"] .crumbs, html[data-theme="dark"] .crumbs a { color: var(--muted); }
html[data-theme="dark"] ::selection { background: rgba(215,184,120,.35); color: #fff; }
html[data-theme="dark"] .skeleton { background: linear-gradient(90deg, #141D31, #1B2640, #141D31); background-size: 200% 100%; }
html[data-theme="dark"] .drawer, html[data-theme="dark"] .cart-drawer, html[data-theme="dark"] dialog { background: #121B2E; color: var(--ink); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; }
h1, h2 { text-wrap: balance; }
html[data-theme="dark"] .bb-fmt[aria-pressed="true"] :is(small, span, svg) { color: #3A4256; }

/* Kassen: trinnvisning */
.co-steps { list-style: none; padding: 6px; margin: 0 0 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; position: sticky; top: 86px; z-index: 5;
  border-radius: 999px; background: rgba(240,243,247,.92); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.65), 0 14px 30px -24px rgba(13,21,38,.6); counter-reset: s; }
.co-steps li { position: relative; }
.co-steps a { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 10px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: .92rem; transition: background-color .3s, color .3s; }
.co-steps a:hover { color: var(--ink); }
.cs-dot { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; box-shadow: inset 0 0 0 1.5px rgba(19,26,42,.2); transition: background-color .4s, box-shadow .4s, color .4s; }
.cs-dot svg { width: 14px; height: 14px; }
.co-steps li.done .cs-dot { background: var(--brass); color: #1B1406; box-shadow: none; }
.co-steps li.done a { color: var(--ink-2); }
.co-steps li.current a { background: var(--night); color: #fff; }
.co-steps li.current .cs-dot { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); color: #fff; }
.co-steps li + li::before { content: ''; position: absolute; left: -4px; top: 50%; width: 6px; height: 1px; background: rgba(19,26,42,.18); }
.step-title .num { background: var(--gold-soft); color: var(--brass-ink); }
html[data-theme="dark"] .co-steps { background: rgba(20,29,49,.92); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
html[data-theme="dark"] .co-steps li.current a { background: #ECE7DC; color: #0D1526; }
html[data-theme="dark"] .co-steps li.current .cs-dot { color: #0D1526; box-shadow: inset 0 0 0 1.5px rgba(13,21,38,.4); }
@media (max-width: 700px) { .co-steps a > span:not(.cs-dot) { display: none; } .co-steps li.current a > span:not(.cs-dot) { display: inline; } .co-steps { grid-template-columns: auto auto auto auto; justify-content: space-between; } }
.pay-opt:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--brass) !important; }

/* Ukraina-siden */
.ua-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.ua-kicker { font-family: var(--serif); font-style: italic; color: var(--brass-ink); margin: 0 0 10px; font-size: 1.15rem; }
.ua-emblem { width: clamp(110px, 14vw, 170px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; display: grid; grid-template-rows: 1fr 1fr; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4), 0 30px 60px -30px rgba(13,21,38,.6); transform: rotate(-8deg); }
.ua-emblem span:first-child { background: linear-gradient(180deg, #2C64B8, #1E4F99); } .ua-emblem span:last-child { background: linear-gradient(180deg, #F2CD4A, #DDB52F); }
.ua-page { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.ua-body { font-size: 1.1rem; line-height: 1.75; max-width: 64ch; }
.ua-body ul { padding-left: 1.2em; } .ua-body li { margin: .4em 0; }
.ua-side { display: grid; gap: 18px; position: sticky; top: 96px; }
.ua-side-k { margin: 0 0 4px; color: var(--muted); font-size: .9rem; }
.ua-side-h { font-size: 1.45rem; margin: 0 0 10px; }
.ua-img img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow); }
@media (max-width: 860px) { .ua-page { grid-template-columns: 1fr; } .ua-side { position: static; } .ua-hero-grid { grid-template-columns: 1fr; } .ua-emblem { display: none; } }

/* Skoler og bibliotek */
.sk-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.sk-form { display: grid; gap: 18px; }
.sk-form h2 { margin: 0; font-size: 1.6rem; }
.sk-kind { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sk-kind legend { font-weight: 600; margin-bottom: 8px; font-size: .95rem; }
.sk-kind label { cursor: pointer; }
.sk-kind input { position: absolute; opacity: 0; pointer-events: none; }
.sk-kind span { display: inline-block; padding: .5em 1.1em; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(19,26,42,.2); font-weight: 600; font-size: .93rem; transition: background-color .2s, color .2s; }
.sk-kind input:checked + span { background: var(--night); color: #fff; box-shadow: none; }
.sk-kind input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
html[data-theme="dark"] .sk-kind input:checked + span { background: #ECE7DC; color: #0D1526; }
.sk-items { display: grid; gap: 10px; }
.sk-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) 110px auto; gap: 10px; align-items: end; padding: 12px; border-radius: var(--r-md); background: rgba(19,26,42,.04); }
.sk-x { border: 0; background: none; font-size: 1.5rem; line-height: 1; width: 40px; height: 44px; cursor: pointer; color: var(--muted); border-radius: 10px; }
.sk-x:hover { background: rgba(19,26,42,.07); color: var(--ink); }
.sk-side { display: grid; gap: 18px; position: sticky; top: 96px; }
.sk-steps { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; color: var(--ink-2); }
@media (max-width: 860px) { .sk-grid { grid-template-columns: 1fr; } .sk-side { position: static; } .sk-row { grid-template-columns: 1fr 1fr; } .sk-row .field:first-child { grid-column: 1 / -1; } }

/* Vurdering etter kjøp */
.rvp { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 560px); gap: clamp(28px, 5vw, 72px); align-items: center; justify-content: center; }
.rvp-book { width: min(100%, 280px); justify-self: center; }
.rvp-form { display: grid; gap: 16px; }
.rvp-form h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: 0; }
.stars { border: 0; margin: 4px 0 0; padding: 0; display: flex; gap: 6px; }
.star { cursor: pointer; display: grid; }
.star input { position: absolute; opacity: 0; pointer-events: none; }
.star svg { width: 44px; height: 44px; fill: none; stroke: var(--brass); stroke-width: 1.4; stroke-linejoin: round; transition: transform .25s var(--ease-spring), fill .2s; }
.star:hover svg { transform: scale(1.12); }
.star input:focus-visible + svg { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 6px; }
.stars[data-on="1"] .star:nth-child(-n+2) svg, .stars[data-on="2"] .star:nth-child(-n+3) svg, .stars[data-on="3"] .star:nth-child(-n+4) svg, .stars[data-on="4"] .star:nth-child(-n+5) svg, .stars[data-on="5"] .star:nth-child(-n+6) svg,
.stars[data-hover="1"] .star:nth-child(-n+2) svg, .stars[data-hover="2"] .star:nth-child(-n+3) svg, .stars[data-hover="3"] .star:nth-child(-n+4) svg, .stars[data-hover="4"] .star:nth-child(-n+5) svg, .stars[data-hover="5"] .star:nth-child(-n+6) svg { fill: var(--brass-2); stroke: var(--brass); }
.stars-say { margin: -6px 0 0; min-height: 1.5em; font-family: var(--serif); font-style: italic; color: var(--brass-ink); font-size: 1.15rem; }
@media (max-width: 760px) { .rvp { grid-template-columns: 1fr; } .rvp-book { width: 180px; } }

/* Varsle meg / følg */
.nt-form { margin-top: 14px; display: grid; gap: 8px; }
.nt-lead { margin: 0; font-size: .95rem; color: var(--ink-2); }
.nt-row { display: flex; gap: 8px; flex-wrap: wrap; }
.nt-row input { flex: 1 1 200px; min-width: 0; height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(19,26,42,.18); background: rgba(255,255,255,.7); font: inherit; color: var(--ink); }
.nt-msg { margin: 0; min-height: 1.2em; font-size: .92rem; }
.nt-msg.ok { color: var(--sea); } .nt-msg.err { color: var(--rose); }
.bb-pre { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; font-size: .92rem; color: var(--brass-ink); }
.bb-pre svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }

/* Boksiden: smakebit, ønskeliste og stjerner */
.bk-extras { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 4px; }
.bk-extras .btn svg { width: 18px; height: 18px; }
.bk-clip { margin: 10px 0 0; } .bk-clip audio { width: 100%; max-width: 460px; }
.wish-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: none; box-shadow: inset 0 0 0 1px rgba(19,26,42,.22); font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; transition: background-color .2s, box-shadow .2s; }
.wish-btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease-spring), fill .2s; }
.wish-btn:hover { background: rgba(255,255,255,.5); }
.wish-btn[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--brass); color: var(--brass-ink); }
.wish-btn[aria-pressed="true"] svg { fill: var(--brass); stroke: var(--brass); transform: scale(1.1); }
html[data-theme="dark"] .wish-btn { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.bk-stars { display: inline-flex; align-items: center; gap: 10px; margin: 10px 0 0; text-decoration: none; color: var(--ink-2); font-size: .95rem; }
.st-bar { position: relative; font-size: 1.1rem; letter-spacing: 2px; color: rgba(184,145,74,.3); }
.st-bar::before { content: '★★★★★'; position: absolute; inset: 0; width: var(--v); overflow: hidden; color: var(--brass); white-space: nowrap; }

/* Ønskeliste */
.wl-share { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 26px; }
.wl-share h2 { font-size: 1.4rem; margin: 0 0 4px; } .wl-share p { margin: 0; }
.wl-share-row { display: flex; gap: 8px; flex: 1 1 380px; max-width: 560px; }
.wl-share-row input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(19,26,42,.18); background: rgba(255,255,255,.7); font: inherit; color: var(--ink-2); }
.wl-grid { display: grid; gap: 22px; }
.wl-item { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: clamp(18px, 4vw, 44px); align-items: center; padding: 22px; border-radius: var(--r-lg); background: rgba(248,249,251,.6); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }
.wl-cover { display: block; }
.wl-body h2 { font-size: 1.7rem; margin: 0 0 6px; } .wl-body h2 a { text-decoration: none; }
.wl-price { font-family: var(--serif); font-size: 1.25rem; margin: 0 0 14px; }
.wl-actions { display: flex; gap: 8px; flex-wrap: wrap; }
html[data-theme="dark"] .wl-item { background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
@media (max-width: 600px) { .wl-item { grid-template-columns: 100px minmax(0, 1fr); padding: 16px; } .wl-body h2 { font-size: 1.3rem; } }

/* Forfattersiden */
.au-hero { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.au-portrait { margin: 0; position: sticky; top: 96px; }
.au-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); box-shadow: 0 30px 60px -30px rgba(13,21,38,.6), inset 0 0 0 1px rgba(255,255,255,.2); }
.au-role { font-family: var(--serif); font-style: italic; color: var(--brass-ink); font-size: 1.2rem; margin: -6px 0 22px; }
.au-bio { max-width: 62ch; font-size: 1.08rem; }
.au-follow { margin-top: 28px; max-width: 560px; }
.au-follow h2 { font-size: 1.45rem; margin: 0 0 4px; } .au-follow p { margin: 0; }
.au-books { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 36px; }
.au-book { display: grid; gap: 10px; text-decoration: none; }
.au-book .b3d { width: 78%; justify-self: center; margin-bottom: 14px; }
.au-bt { font-family: var(--serif); font-size: 1.35rem; }
.au-book .h-chip { justify-self: start; }
@media (max-width: 820px) { .au-hero { grid-template-columns: 1fr; } .au-portrait { position: static; max-width: 300px; } }

/* Melding om språk valgt etter landet */
.lang-note { position: fixed; left: 50%; bottom: 20px; z-index: 60; width: min(640px, calc(100% - 24px)); transform: translateX(-50%); animation: lnIn .5s var(--ease-out); }
.lang-note.out { opacity: 0; transform: translate(-50%, 12px); transition: opacity .3s, transform .3s; }
@keyframes lnIn { from { opacity: 0; transform: translate(-50%, 16px); } }
.ln-in { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; padding: 16px 44px 16px 18px; border-radius: 18px; color: #EDE6D6;
  background: linear-gradient(160deg, #1B2742, #0D1526); box-shadow: inset 0 0 0 1px rgba(215,184,120,.4), 0 30px 60px -24px rgba(13,21,38,.8); }
.ln-in > svg { width: 22px; height: 22px; color: var(--brass-2); }
.ln-in p { margin: 0; font-size: .96rem; }
.ln-btns { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ln-btns button { border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: .88rem; padding: .45em 1em; border-radius: 999px; background: rgba(255,255,255,.08); color: #EDE6D6; }
.ln-btns .ln-keep { background: linear-gradient(180deg, #DCC08A, #BE9852); color: #17110A; }
.ln-btns button:hover { filter: brightness(1.08); }
.ln-x { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: #B9C1D4; font-size: 1.3rem; cursor: pointer; }
.ln-x:hover { background: rgba(255,255,255,.08); color: #fff; }
small.fx { font-size: .72em; font-weight: 500; color: var(--muted); white-space: nowrap; margin-left: .25em; font-family: var(--sans); }
.fx-note { margin: 12px 0 0; font-size: .85rem; color: var(--muted); line-height: 1.5; }
.lang-note { top: 90px; bottom: auto; }
@keyframes lnIn { from { opacity: 0; transform: translate(-50%, -12px); } }
.lang-note.out { transform: translate(-50%, -12px); }

/* Innlegg fra Facebook og Instagram */
.social-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.social-card { display: flex; flex-direction: column; text-decoration: none; border-radius: var(--r-lg); overflow: hidden; background: rgba(248,249,251,.8); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 18px 40px -30px rgba(13,21,38,.5); transition: transform .35s var(--ease-out), box-shadow .35s; }
.social-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 26px 50px -28px rgba(13,21,38,.6); }
.sc-img { aspect-ratio: 1; overflow: hidden; background: #DCE1EA; } .sc-img img { width: 100%; height: 100%; object-fit: cover; }
.sc-body { padding: 14px 16px 18px; display: grid; gap: 8px; }
.sc-src { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); font-weight: 600; }
.sc-src svg { width: 16px; height: 16px; color: var(--brass-ink); }
.sc-text { font-size: .95rem; line-height: 1.55; color: var(--ink-2); white-space: pre-line; }
html[data-theme="dark"] .social-card { background: rgba(25,35,58,.9); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }

/* Innlogging med Vipps / Google */
.sso { display: grid; gap: 8px; margin: 14px 0 0; }
.sso-btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; border-radius: 999px; text-decoration: none; font-weight: 600; transition: filter .2s, box-shadow .2s; }
.sso-btn svg { width: 20px; height: 20px; }
.sso-vipps { background: #FF5B24; color: #fff; }
.sso-vipps .sso-v { font: 800 1rem/1 system-ui, sans-serif; letter-spacing: -.02em; }
.sso-google { background: #fff; color: #1F1F1F; box-shadow: inset 0 0 0 1px #DADCE0; }
.sso-btn:hover { filter: brightness(1.04); }
.sso-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .88rem; margin: 14px 0 4px; }
.sso-or::before, .sso-or::after { content: ''; flex: 1; height: 1px; background: rgba(19,26,42,.14); }
.page-hero h1[style*="center"] { margin-inline: auto; max-width: 22ch; }

/* Mørk visning: kontrast (universell utforming) */
html[data-theme="dark"] .add-btn { background: #ECE7DC; color: #0D1526; }
html[data-theme="dark"] .add-btn * { color: inherit; }
html[data-theme="dark"] .badge { background: #D7B878; color: #17110A; }
html[data-theme="dark"] .tabs-2 { background: rgba(255,255,255,.06); }
html[data-theme="dark"] .tabs-2 button { color: var(--ink-2); }
html[data-theme="dark"] .tabs-2 button[aria-pressed="true"] { background: #ECE7DC; color: #0D1526; }
html[data-theme="dark"] .h-chip, html[data-theme="dark"] .chip-gold { background: rgba(215,184,120,.18); color: #E9D3A1; }
/* Mørk visning: flater som er mørke i lys visning, blir lyse (og teksten mørk) */
html[data-theme="dark"] :is(.toast, .acct-nav a[aria-current="page"], .badge-club, .hbf-add, .nav-lang button[aria-pressed="true"], .v-lang[aria-pressed="true"], .bank-logo, .ck-note .ck-btns button:hover, .ck-note .ck-btns button[aria-pressed="true"]) { background: #ECE7DC; color: #0D1526; border-color: #ECE7DC; }
html[data-theme="dark"] :is(.newsletter, .music-band, .about-music, .h-music-box) { background: #070C17; color: #D6DBE6; box-shadow: inset 0 0 0 1px rgba(215,184,120,.18); }
html[data-theme="dark"] :is(.newsletter, .music-band, .about-music, .h-music-box) :is(h2, h3) { color: #F3EEE3; }

/* ═════ Personlig: ex libris og «gi som gave» i kjøpsboksen ═════ */
.bb-pers { margin: 14px 0 4px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.55); }
.bb-pers summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; border-radius: 12px; }
.bb-pers summary::-webkit-details-marker { display: none; }
.bb-pers summary::after { content: ''; margin-left: auto; width: 8px; height: 8px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: rotate(45deg); transition: transform .3s var(--ease-out); }
.bb-pers[open] summary::after { transform: rotate(-135deg); }
.bb-pers summary:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.bb-pers summary strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.02rem; }
.bb-pers summary small { color: var(--muted); font-size: .84rem; }
.bp-ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft, #F4ECDC); color: var(--brass-ink); flex: none; }
.bp-ic svg { width: 17px; height: 17px; }
.bp-body { padding: 2px 14px 14px; display: grid; gap: 12px; }
.bp-f { display: grid; gap: 5px; }
.bp-f label { font-weight: 600; font-size: .88rem; }
.bp-f input, .bp-f textarea { font: inherit; padding: 10px 12px; border-radius: 9px; border: 1px solid var(--line); background: #fff; color: var(--ink); width: 100%; box-sizing: border-box; }
.bp-f input:focus, .bp-f textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(184,145,74,.2); }
.bp-f input[data-pk="ex"] { font-family: var(--serif); font-style: italic; font-size: 1.12rem; }
.bp-help { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.bp-chk { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; cursor: pointer; }
.bp-chk input { width: 18px; height: 18px; accent-color: var(--brass); }
.bp-gift { display: grid; gap: 10px; padding-left: 28px; }
.bp-gift[hidden] { display: none; }
.bp-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 480px) { .bp-2 { grid-template-columns: 1fr; } .bp-gift { padding-left: 0; } }
.pm-ex, .pm-gift { font-size: .82rem; color: var(--brass-ink); }
.pm-ex { font-style: italic; font-family: var(--serif); }

/* Forhåndsvisning: boka åpner seg og viser navnet på forsatsen */
.b3d.is-open .b3d-front { transform: translateZ(calc(var(--t) / 2)) rotateY(-68deg) !important; }
.b3d.is-open .b3d-in { transform: rotateX(var(--rx)) rotateY(-6deg) !important; }
.b3d.is-open .b3d-front::before { background: linear-gradient(90deg, rgba(13,21,38,0), rgba(13,21,38,.35)); }
.b3d .b3d-ex small { font-size: .72rem; color: var(--muted); font-style: normal; }
.b3d.is-open .b3d-ex span { animation: exIn .6s var(--ease-out) both; }
@keyframes exIn { from { opacity: 0; transform: translateY(4px); } }

/* Gavelenke på ordresiden */
.gift-link { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: linear-gradient(140deg, #1B2742, #0D1526); color: #D6DBE6; display: grid; gap: 10px; }
.gl-head strong { display: block; color: #F6F1E6; font-family: var(--serif); font-weight: 500; }
.gl-head span { font-size: .84rem; }
.gl-row { display: flex; flex-wrap: wrap; gap: 8px; }
.gl-row input { flex: 1 1 220px; min-width: 0; font: inherit; font-size: .84rem; padding: 8px 10px; border-radius: 8px; border: 1px solid rgba(215,184,120,.35); background: rgba(255,255,255,.06); color: #F6F1E6; }
.gl-row .btn { padding: .5em 1em; font-size: .88rem; }
.gl-row .btn-primary { background: var(--brass-2); color: #17110A; }
.gl-row .btn-ghost { color: #F6F1E6; border-color: rgba(246,241,230,.35); }

/* ═════ «Bla i boka» ═════ */
.fb-lock, .fb-lock body { overflow: hidden; }
.fb-ov { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-rows: auto 1fr auto; color: #E9E4D8;
  background: radial-gradient(70% 60% at 50% 45%, #1C2944 0%, #0D1526 60%, #070B15 100%); opacity: 0; transition: opacity .35s; }
.fb-ov.in { opacity: 1; }
.fb-top { display: flex; align-items: center; gap: 16px; padding: 14px 20px; }
.fb-tt { flex: 1; min-width: 0; display: grid; }
.fb-tt strong { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; color: #F6F1E6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb-count { font-size: .82rem; color: #A9B1C4; min-height: 1.2em; }
.fb-snd { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: #C9CFDC; cursor: pointer; }
.fb-snd input { accent-color: var(--brass-2); width: 16px; height: 16px; }
.fb-x { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(246,241,230,.2); background: rgba(255,255,255,.05); color: #F6F1E6; display: grid; place-items: center; cursor: pointer; }
.fb-x svg { width: 20px; height: 20px; }
.fb-x:hover { background: rgba(255,255,255,.12); }
.fb-x:focus-visible, .fb-nav button:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 3px; }
.fb-stage { display: grid; place-items: center; padding: 8px 20px; min-height: 0; perspective: 2600px; }
.fb-load { display: grid; justify-items: center; gap: 14px; color: #A9B1C4; font-size: .92rem; }
.fb-spin { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(215,184,120,.25); border-top-color: var(--brass-2); animation: fbspin 1s linear infinite; }
@keyframes fbspin { to { transform: rotate(360deg); } }
.fb-err { color: #F3C2C2; }
.fb-book { --h: min(76vh, calc((100vw - 80px) / 2 / var(--r))); position: relative; height: var(--h); width: calc(var(--h) * var(--r) * 2); display: grid; grid-template-columns: 1fr 1fr; transform-style: preserve-3d; transition: transform .8s var(--ease-out); }
.fb-book.closed { transform: translateX(-25%); }
.fb-book.single { width: calc(var(--h) * var(--r)); grid-template-columns: 0 1fr; --h: min(72vh, calc((100vw - 32px) / var(--r))); }
.fb-pg, .fb-face { position: relative; overflow: hidden; background: #FBFAF7; }
.fb-pg img, .fb-face img { display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; user-select: none; -webkit-user-drag: none; }
.fb-pg img.fb-cover, .fb-face img.fb-cover { object-fit: cover; }
.fb-l { border-radius: 4px 0 0 4px; box-shadow: -18px 24px 50px -24px rgba(0,0,0,.8); }
.fb-r { border-radius: 0 4px 4px 0; box-shadow: 18px 24px 50px -24px rgba(0,0,0,.8); grid-column: 2; }
.fb-pg.empty { background: transparent; box-shadow: none; }
.fb-book.single .fb-l { display: none; }
.fb-book.single .fb-r { border-radius: 3px; }
/* Skygge mot ryggen gir følelsen av en bok som er slått opp */
.fb-shade { position: absolute; inset: 0; pointer-events: none; }
.fb-l .fb-shade { background: linear-gradient(90deg, rgba(0,0,0,0) 70%, rgba(0,0,0,.08) 90%, rgba(0,0,0,.22)); }
.fb-r .fb-shade, .fb-front .fb-shade { background: linear-gradient(90deg, rgba(0,0,0,.2), rgba(0,0,0,.06) 8%, rgba(0,0,0,0) 26%); }
.fb-back .fb-shade { background: linear-gradient(270deg, rgba(0,0,0,.2), rgba(0,0,0,.06) 8%, rgba(0,0,0,0) 26%); }
.fb-book.single .fb-shade { background: linear-gradient(90deg, rgba(0,0,0,.1), rgba(0,0,0,0) 10%); }
.fb-spine { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-1px); background: rgba(0,0,0,.18); pointer-events: none; }
.fb-book.single .fb-spine, .fb-book.closed .fb-spine { display: none; }
.fb-leaf { position: absolute; top: 0; bottom: 0; left: 50%; width: 50%; transform-origin: 0 50%; transform-style: preserve-3d; z-index: 3;
  transition: transform .95s cubic-bezier(.45, .05, .25, 1); }
.fb-book.single .fb-leaf { left: 0; width: 100%; }
.fb-leaf[hidden] { display: none; }
.fb-face { position: absolute; inset: 0; backface-visibility: hidden; }
.fb-front { border-radius: 0 4px 4px 0; }
.fb-back { transform: rotateY(180deg); border-radius: 4px 0 0 4px; }
.fb-book.single .fb-back { background: #EFEBE2; }
/* Lyset glir over arket mens det vendes */
.fb-leaf.moving .fb-face::after { content: ''; position: absolute; inset: 0; pointer-events: none; animation: fbLight .95s ease-in-out; }
.fb-leaf.moving .fb-front::after { background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.35) 50%, rgba(0,0,0,.25)); }
.fb-leaf.moving .fb-back::after { background: linear-gradient(270deg, rgba(255,255,255,0), rgba(255,255,255,.3) 50%, rgba(0,0,0,.25)); }
@keyframes fbLight { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 0; } }
.fb-leaf.moving .fb-face { box-shadow: 0 20px 40px -16px rgba(0,0,0,.55); }
.fb-cv { position: absolute; inset: 0; display: grid; place-items: center; padding: 12%; text-align: center; background: linear-gradient(140deg, #1B2742, #0D1526); color: #F6F1E6; font-family: var(--serif); font-size: 1.4rem; }
.fb-endp { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 12%; text-align: center; background: #FBFAF7; color: var(--ink); font-family: var(--serif); }
.fb-orn { color: var(--brass); font-size: 1.8rem; }
.fb-endp p { margin: 0; font-size: 1.15rem; font-style: italic; }
.fb-nav { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 10px 20px 22px; }
.fb-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(215,184,120,.4); background: rgba(215,184,120,.08); color: #F1E3C2; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.fb-nav button:hover:not(:disabled) { background: rgba(215,184,120,.2); }
.fb-nav button:disabled { opacity: .3; cursor: default; }
.fb-nav svg { width: 22px; height: 22px; }
.fb-hint { font-size: .82rem; color: #A9B1C4; }
@media (max-width: 760px) { .fb-hint { display: none; } .fb-snd span { display: none; } .fb-top { padding: 10px 14px; } }
@media (prefers-reduced-motion: reduce) { .fb-book, .fb-leaf { transition: none; } }
.bk-flip { position: relative; overflow: hidden; }

/* ═════ Gave som pakkes opp (/gave/…) ═════ */
.gv-main { background: radial-gradient(60% 55% at 50% 38%, #22304D 0%, #0D1526 62%, #080C17 100%); color: #E9E4D8; }
.gv { position: relative; min-height: calc(100vh - 80px); display: grid; justify-items: center; align-content: center; gap: 22px; padding: 60px 20px 80px; overflow: hidden; text-align: center; }
.gv-glow { position: absolute; left: 50%; top: 48%; width: 520px; height: 520px; transform: translate(-50%, -50%) scale(.6); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(215,184,120,.42), rgba(215,184,120,.08) 55%, transparent); opacity: 0; transition: opacity 1.4s, transform 1.6s var(--ease-out); }
.gv.open .gv-glow { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
.gv-intro { transition: opacity .6s, transform .8s var(--ease-out); }
.gv-to { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 400; color: #F6F1E6; line-height: 1.1; }
.gv-from { margin: 6px 0 0; font-family: var(--serif); font-style: italic; color: var(--brass-2); font-size: 1.15rem; min-height: 1.4em; }
.gv:not(.ready) .gv-intro, .gv:not(.ready) .gv-box { opacity: 0; transform: translateY(14px); }
.gv.ready .gv-intro { animation: gvUp .9s var(--ease-out) both; }
.gv.ready .gv-box { animation: gvUp 1s .15s var(--ease-out) both, gvBob 4s 1.4s ease-in-out infinite; }
@keyframes gvUp { from { opacity: 0; transform: translateY(18px); } }
@keyframes gvBob { 50% { transform: translateY(-6px); } }
.gv-box { --w: min(270px, 64vw); position: relative; width: var(--w); height: calc(var(--w) * .82); padding: 0; border: 0; background: none; cursor: pointer; color: inherit; font: inherit; margin-top: 30px; }
.gv-box:disabled { cursor: default; }
.gv-box:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 10px; border-radius: 8px; }
.gv-body, .gv-lid { position: absolute; left: 0; right: 0; border-radius: 4px;
  background: repeating-linear-gradient(45deg, rgba(215,184,120,.06) 0 2px, transparent 2px 16px), repeating-linear-gradient(-45deg, rgba(215,184,120,.06) 0 2px, transparent 2px 16px), linear-gradient(160deg, #24345A, #14203A); }
.gv-body { bottom: 0; height: 74%; box-shadow: inset 0 -20px 30px -20px rgba(0,0,0,.6), 0 30px 40px -24px rgba(0,0,0,.8); }
.gv-lid { top: 4%; height: 24%; left: -5%; right: -5%; z-index: 3; box-shadow: 0 10px 16px -10px rgba(0,0,0,.7), inset 0 -2px 0 rgba(0,0,0,.2); transform-origin: 20% 100%;
  transition: transform 1.1s .45s cubic-bezier(.3, .9, .3, 1), opacity .5s 1.2s; }
.gv-rib-v, .gv-rib-h { position: absolute; background: linear-gradient(90deg, #A47E3C, #E6CC8F 45%, #B8914A); }
.gv-rib-v { left: 50%; top: 0; bottom: 0; width: 13%; transform: translateX(-50%); transition: transform .7s cubic-bezier(.6, 0, .4, 1); }
.gv-rib-h { top: 40%; left: 0; right: 0; height: 13%; background: linear-gradient(180deg, #A47E3C, #E6CC8F 45%, #B8914A); transition: transform .7s cubic-bezier(.6, 0, .4, 1); }
.gv-bow { position: absolute; left: 50%; top: -38%; width: 46%; height: 70%; transform: translateX(-50%); transition: transform .6s cubic-bezier(.6, 0, .4, 1), opacity .4s .3s; }
.gv-bow i { position: absolute; top: 0; width: 50%; height: 100%; border: 6px solid #D7B878; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; box-sizing: border-box; }
.gv-bow i:first-child { left: 0; transform: rotate(-24deg); transform-origin: 100% 100%; }
.gv-bow i:nth-child(2) { right: 0; transform: rotate(24deg); transform-origin: 0 100%; }
.gv-bow b { position: absolute; left: 50%; bottom: -4%; width: 18%; height: 30%; transform: translateX(-50%); border-radius: 30%; background: linear-gradient(180deg, #E6CC8F, #A47E3C); }
.gv-label { position: absolute; left: 50%; bottom: -54px; transform: translateX(-50%); white-space: nowrap; font-size: .95rem; letter-spacing: .02em; color: #F1E3C2; padding: 10px 20px; border-radius: 999px; border: 1px solid rgba(215,184,120,.45); background: rgba(215,184,120,.1); transition: opacity .3s; }
.gv-box:hover .gv-label { background: rgba(215,184,120,.2); }
.gv-content { position: absolute; left: 50%; bottom: 20%; width: 58%; transform: translate(-50%, 0) scale(.7); z-index: 2; opacity: 0; transition: transform 1.3s .9s cubic-bezier(.2, .9, .25, 1), opacity .4s .9s; }
.gv-content .b3d { width: 100%; }
.gv-card { display: grid; place-content: center; gap: 4px; aspect-ratio: 1.6; border-radius: 10px; background: radial-gradient(80% 120% at 90% 0, rgba(215,184,120,.4), transparent 60%), linear-gradient(140deg, #1B2742, #0D1526); box-shadow: inset 0 0 0 1px rgba(215,184,120,.45), 0 20px 30px -14px rgba(0,0,0,.8); }
.gv-card em { font-size: .7rem; letter-spacing: .2em; color: var(--brass-2); font-style: normal; }
.gv-card strong { font-family: var(--serif); font-weight: 400; color: #F6F1E6; font-size: 1.5rem; }
/* Åpningen: båndet glir av, sløyfen løsner, lokket løftes og velter bakover, innholdet stiger opp */
.gv.open .gv-rib-v { transform: translateX(-50%) scaleY(0); transform-origin: 50% 0; }
.gv.open .gv-rib-h { transform: scaleX(0); transform-origin: 100% 50%; }
.gv.open .gv-bow { transform: translateX(-50%) translateY(-30px) scale(.4); opacity: 0; }
.gv.open .gv-lid { transform: translate(-60%, -120%) rotate(-28deg); opacity: 0; }
.gv.open .gv-label { opacity: 0; }
.gv.open .gv-box { animation: none; }
.gv.open .gv-content { opacity: 1; transform: translate(-50%, -78%) scale(1); }
.gv.done .gv-box { transition: opacity .6s, transform .8s var(--ease-out); transform: scale(.86); }
.gv.done .gv-intro { opacity: .0; transform: translateY(-10px); height: 0; overflow: hidden; }
.gv.instant * { transition: none !important; animation: none !important; }
.gv-dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; }
.gv-reveal { position: relative; z-index: 5; max-width: 560px; display: grid; justify-items: center; gap: 14px; opacity: 0; transform: translateY(16px); transition: opacity .8s, transform .9s var(--ease-out); }
.gv-reveal.in { opacity: 1; transform: none; }
.gv-kicker { margin: 0; color: var(--brass-2); font-size: .95rem; }
.gv-title { margin: 0; font-family: var(--serif); font-weight: 400; color: #F6F1E6; font-size: clamp(1.8rem, 4.4vw, 2.6rem); line-height: 1.1; }
.gv-fmt { margin: -6px 0 0; color: #A9B1C4; font-size: .9rem; }
.gv-msg { margin: 6px 0; padding: 18px 22px; border-radius: 4px; background: #FBFAF7; color: #1C2440; font-family: var(--serif); font-size: 1.12rem; line-height: 1.55; text-align: left; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); transform: rotate(-.8deg); width: min(460px, 86vw); box-sizing: border-box; white-space: pre-line; }
.gv-msg p { margin: 0; font-style: italic; }
.gv-msg footer { margin-top: 10px; text-align: right; color: var(--brass-ink); font-size: .95rem; }
.gv-msg footer::before { content: '— '; }
.gv-exl { margin: 0; color: #C9CFDC; font-size: .9rem; font-style: italic; font-family: var(--serif); }
.gv-acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }
.gv-acts .btn-ghost { color: #F6F1E6; border-color: rgba(246,241,230,.35); }
.gv-note, .gv-keep { margin: 0; color: #A9B1C4; font-size: .86rem; }
.gv-gc { width: min(360px, 86vw); aspect-ratio: 1.6; display: grid; align-content: space-between; padding: 20px 22px; text-align: left; color: #D6DBE6; box-sizing: border-box; border-radius: 14px;
  background: radial-gradient(80% 120% at 90% 0, rgba(215,184,120,.35), transparent 60%), linear-gradient(140deg, #1B2742, #0D1526); box-shadow: inset 0 0 0 1px rgba(215,184,120,.4), 0 30px 50px -24px rgba(0,0,0,.9); }
.gv-gc .gvc-brand { font-size: .72rem; letter-spacing: .2em; color: var(--brass-2); }
.gv-gc strong { font-family: var(--serif); font-weight: 400; color: #F6F1E6; font-size: 1.6rem; }
.gv-gc .gvc-code b { font-family: ui-monospace, monospace; letter-spacing: .08em; color: #F6F1E6; }
.gv-gc .gvc-until { font-size: .8rem; color: #A9B1C4; }
.gv-bad { max-width: 520px; } .gv-bad h1 { font-family: var(--serif); font-weight: 400; color: #F6F1E6; }
.gv.done .gv-intro { display: none; }
.gv.open .gv-box { margin-top: clamp(120px, 22vw, 190px); }
.gv.done .gv-box { pointer-events: none; }
body[data-page="gift"] .site-footer, body[data-page="gift"] .footer-rainbow { margin-top: 0 !important; }

/* Boka i gaven står åpen med navnet på forsatsen */
.gv.done .gv-content .b3d.is-open .b3d-front { transform: translateZ(calc(var(--t) / 2)) rotateY(-58deg) !important; }
/* Smale telefoner: toppmenyen må ikke gjøre siden bredere enn skjermen */
@media (max-width: 440px) {
  .header-tools { gap: 0; padding-left: 4px; }
  .header-tools .icon-btn { width: 38px; height: 38px; }
  .site-header .brand, .site-header .logo { min-width: 0; }
  .site-header .wrap { width: calc(100% - 16px); }
}
@media (max-width: 360px) { .site-header .brand span, .site-header .logo-text { font-size: 1rem; } }
html, body { max-width: 100%; }
.crumbs { position: relative; z-index: 4; }
/* Mørk visning: språkknappene i kjøpsboksen og signaturen på gavehilsenen */
:root[data-theme="dark"] .v-lang:not([aria-pressed="true"]) { background: rgba(255,255,255,.06); color: #ECE7DC; border-color: rgba(255,255,255,.18); }
.gv-msg { color: #1C2440 !important; }
.gv-msg footer { color: #7A5A1E !important; }

/* ═════════════════════════════════════════════════════════════════════
   Design 5 – «Varmt og litterært»
   Som et godt tidsskrift: linpapir i stedet for hvitt, dypt blekk,
   rustrødt brukt sparsomt. Flater skilles med tynne streker, ikke svevende
   kort. Små hjørner, ingen glans, ingen piller. Regnbuen og 3D-bøkene
   blir værende, men mindre og roligere.
   ═════════════════════════════════════════════════════════════════════ */
:root {
  --linen: #E6DECD; --paper: #EFE8DA; --paper-2: #DCD2BE; --blekk: #221D18; --blekk-2: #2E2721;
  --ink: #221D18; --ink-2: #4A4238; --muted: #5E5446; --line: rgba(34,29,24,.15); --line-2: rgba(34,29,24,.28);
  --rust: #9A3A1F; --rust-2: #7D2D16; --rust-soft: rgba(154,58,31,.09);
  --bg: var(--linen); --card: var(--paper); --band: var(--paper-2);
  --night: var(--blekk); --night-2: #2E2721; --night-3: #3B322A;
  --brass: var(--rust); --brass-2: #D08A69; --brass-3: var(--rust-soft); --brass-ink: var(--rust);
  --gold: var(--rust); --gold-deep: var(--rust); --gold-soft: var(--rust-soft); --sun: var(--rust);
  --rose: #8E2F3C; --rose-soft: rgba(142,47,60,.08); --sea: #2F5A4B; --sea-soft: rgba(47,90,75,.09);
  --mist-lilac: transparent; --mist-peach: transparent; --mist-sky: transparent; --mist-mint: transparent;
  --r-xl: 6px; --r-lg: 4px; --r-md: 3px; --r-sm: 2px;
  --shadow: none; --shadow-lg: 0 24px 40px -30px rgba(34,29,24,.45);
}
html { background: var(--linen); }
body { background: var(--linen) !important; color: var(--ink); }
body::before { opacity: .5 !important; mix-blend-mode: multiply !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .28 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") !important; }
::selection { background: rgba(154,58,31,.2); color: var(--ink); }
:focus-visible { outline-color: var(--rust); }
a { text-decoration-color: rgba(154,58,31,.55); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--rust); }

/* Typografi: rolig og voksen */
h1 { font-weight: 330; letter-spacing: -.022em; }
h2 { font-weight: 380; letter-spacing: -.018em; }
h3 { font-weight: 450; }
.lead { color: var(--ink-2); }
.muted { color: var(--muted); }

/* Knapper: små hjørner, ingen glans, ingen hopp */
.btn { border-radius: 3px !important; font-weight: 600; letter-spacing: .01em; transform: none !important; }
.btn::after { display: none !important; }
.btn-primary, .btn-gold, .h-hero .btn-primary { background: var(--rust) !important; color: #FBF5EC !important; box-shadow: none !important; }
.btn-primary:hover, .btn-gold:hover, .h-hero .btn-primary:hover { background: var(--rust-2) !important; box-shadow: none !important; }
.btn-ghost, .h-hero .btn-ghost { background: transparent !important; color: var(--ink) !important; box-shadow: inset 0 0 0 1px var(--line-2) !important; }
.btn-ghost:hover, .h-hero .btn-ghost:hover { background: rgba(34,29,24,.05) !important; box-shadow: inset 0 0 0 1px var(--ink) !important; }
.cart-count { background: var(--rust) !important; color: #FBF5EC !important; box-shadow: 0 0 0 2px var(--linen) !important; }

/* Toppen: en rolig linje, ikke en svevende kapsel */
.site-header, .site-header.scrolled, body[data-page="home"] .site-header.scrolled, body[data-page="home"] .site-header:not(.scrolled) {
  background: rgba(230,222,205,.9) !important; backdrop-filter: blur(10px) saturate(1.1) !important; -webkit-backdrop-filter: blur(10px) saturate(1.1) !important;
  border-bottom: 1px solid var(--line) !important; padding-top: 0 !important; pointer-events: auto; }
.site-header .wrap { width: min(100% - 40px, 1200px); }
.header-row, body[data-page="home"] .site-header:not(.scrolled) .header-row { background: none !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border-radius: 0; padding: 0 !important; height: 66px; }
body[data-page="home"] main { margin-top: 0 !important; }
.brand svg { width: 24px !important; height: 14px !important; filter: saturate(.55) brightness(.95); }
.brand-name { font-size: 1.34rem !important; font-weight: 450 !important; letter-spacing: -.012em; }
body[data-page="home"] .site-header:not(.scrolled) :is(.brand-name, .icon-btn, .lang-menu summary, .main-nav a[aria-current="page"]) { color: var(--ink); }
body[data-page="home"] .site-header:not(.scrolled) .main-nav a:not([aria-current]) { color: var(--ink-2); }
body[data-page="home"] .site-header:not(.scrolled) .main-nav a:hover { color: var(--ink); }
body[data-page="home"] .site-header:not(.scrolled) :is(.icon-btn, .lang-menu summary):hover, .icon-btn:hover, .lang-menu summary:hover { background: rgba(34,29,24,.06); }
.nav-ink, body[data-page="home"] .site-header:not(.scrolled) .nav-ink { background: var(--rust) !important; height: 1px; }
.header-tools::before, body[data-page="home"] .site-header:not(.scrolled) .header-tools::before { background: var(--line) !important; }
.main-nav a { color: var(--ink-2); }
.lang-pop { background: var(--paper) !important; border-radius: 4px; box-shadow: 0 0 0 1px var(--line), 0 24px 40px -24px rgba(34,29,24,.5) !important; }
.lang-pop button { border-radius: 2px; }
.lang-pop button[aria-pressed="true"], .lang-pop button[aria-pressed="true"] small { color: var(--rust); }
@media (max-width: 1100px) {
  .main-nav { background: var(--paper) !important; border-radius: 4px !important; box-shadow: 0 0 0 1px var(--line), 0 30px 50px -28px rgba(34,29,24,.55) !important; inset: 74px 12px auto 12px !important; }
  .main-nav a, body[data-page="home"] .site-header:not(.scrolled) .main-nav a:not([aria-current]), body[data-page="home"] .site-header:not(.scrolled) .main-nav a[aria-current="page"] { color: var(--ink); border-radius: 2px; }
  .main-nav a[aria-current="page"] { background: var(--rust-soft) !important; color: var(--rust) !important; }
}

/* ───── Forsiden: åpningen er en side i et tidsskrift ───── */
.h-hero { background: none !important; color: var(--ink); padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px) !important; border-bottom: 1px solid var(--line); }
.h-hero::before, .h-hero::after { display: none !important; }
.h-hero h1, .vf-motion .h-hero h1 { color: var(--ink) !important; background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; animation: none !important; max-width: 13ch; font-weight: 320; }
.h-hero .lead { color: var(--ink-2); max-width: 46ch; }
.h-formats { color: var(--muted); border-top: 1px solid var(--line); }
.h-formats svg { color: var(--rust); }
.h-hero :focus-visible { outline-color: var(--rust); }
.h-stage { max-width: 470px; }
.h-shelf { height: clamp(250px, 28vw, 360px); }
.h-shelf::before { background: var(--line-2) !important; }
.h-shelf::after { display: none; }
.h-caption { color: var(--muted); margin-top: 26px; }
.h-caption a { color: var(--ink); font-size: 1.25rem; }
.shelf-book.s0 .b3d { --ry: -16deg; } .shelf-book.s1 .b3d { --ry: 18deg; } .shelf-book.s2 .b3d { --ry: -20deg; }
.b3d { --t: 18px; }
.b3d::after { background: radial-gradient(closest-side, rgba(34,29,24,.32), transparent) !important; }
.b3d-spine { background: linear-gradient(90deg, #1A1612, #2E2721 45%, #1E1915) !important; }
.b3d-spine > span { color: #D9C6A6; }
.b3d-back { background: #2E2721 !important; }
.b3d-ex::after { background: var(--rust); }
.b3d-gloss { opacity: .6; }

/* Små etiketter: kursiv serif i rust – ingen piller */
.h-chip, .chip-gold, .h-caption .h-chip, .ua-kicker { background: none !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important;
  font-family: var(--serif); font-style: italic; font-weight: 400 !important; font-size: 1.02rem; letter-spacing: 0 !important; text-transform: none !important; color: var(--rust) !important; }

/* Fordelene: fire spalter med streker mellom, ikke fire kort */
.h-trust { margin-top: 0 !important; background: none !important; border-bottom: 1px solid var(--line); padding-block: 8px; }
.trust-row { gap: 0 !important; }
.trust-box, .h-trust .trust-box { background: none !important; border: 0 !important; border-left: 1px solid var(--line) !important; border-radius: 0 !important; box-shadow: none !important; backdrop-filter: none !important; transform: none !important; padding: 26px 24px !important; }
.trust-row > li:first-child .trust-box, .trust-row > .trust-box:first-child { border-left: 0 !important; padding-left: 0 !important; }
.trust-box strong { font-weight: 450; }

/* Ikoner: tynne strektegninger i rust, uten runde fargeflekker */
.tb-ic, .trust-box:nth-child(n) .tb-ic, .wb-ic, .ha-ic, .h-access-list li:nth-child(n) .ha-ic, .pk-ic, .f-icon, .tone-rose .f-icon, .tone-sea .f-icon, .perk .f-icon {
  background: none !important; box-shadow: none !important; color: var(--rust) !important; border-radius: 0 !important; width: auto !important; height: auto !important; padding: 0 !important; }
.trust-box svg, .why-box svg, .h-access-list svg, .ua-points svg { color: var(--rust); }

/* Flater: papir på lin, en tynn kant, ingen svevende skygger */
.why-box, .pick-card, .ua-box, .gift-box, .faq-item, .card, .product-card, .book-card, .fact, .gc-card, .buybox, .rv-card, .nf-books a, .format-card, .news-card {
  background: var(--paper) !important; border: 1px solid var(--line) !important; border-radius: 4px !important; box-shadow: none !important; backdrop-filter: none !important; }
.why-box:hover, .pick-card:hover, .product-card:hover, .book-card:hover, .news-card:hover, .format-card:hover { box-shadow: none !important; border-color: var(--line-2) !important; transform: none !important; }
.h-book .buybox { background: var(--paper) !important; }
.h-why, .h-gift, .h-faq { background: var(--paper-2) !important; border-block: 1px solid var(--line) !important; }
.h-why .why-box, .h-gift .gift-box, .h-faq .faq-item { background: var(--linen) !important; }
.page-hero { background: none !important; border-bottom: 1px solid var(--line); }
.crumbs, .crumbs a { color: var(--muted); }
.product-card .p-img, .product-card:nth-child(n) .p-img, .gallery-main, .fact, .fact:nth-child(n) { background: var(--paper-2) !important; }
.h-news-list a:hover { background: rgba(34,29,24,.04); }
.notice { background: var(--rust-soft) !important; border-radius: 3px !important; border-left: 2px solid var(--rust); }
.member-badge { background: var(--rust-soft); color: var(--rust); border-radius: 2px; }

/* Valg: firkantede knapper med tynn kant */
.chip, .filter-chip { background: transparent !important; border-radius: 3px !important; box-shadow: inset 0 0 0 1px var(--line-2) !important; color: var(--ink); font-weight: 500; }
.chip:hover, .filter-chip:hover { box-shadow: inset 0 0 0 1px var(--ink) !important; }
.chip[aria-pressed="true"], .chip.active { background: var(--ink) !important; color: var(--linen) !important; box-shadow: none !important; }
.book-meta { gap: 6px 20px; }
.book-meta span { background: none !important; box-shadow: none !important; padding: 0 !important; border-radius: 0; font-weight: 500; color: var(--ink-2); }
.book-meta svg { color: var(--rust); }
.bb-fmt { background: transparent !important; border-radius: 3px !important; box-shadow: inset 0 0 0 1px var(--line) !important; }
.bb-fmt:hover { box-shadow: inset 0 0 0 1px var(--line-2) !important; }
.bb-fmt[aria-pressed="true"] { background: var(--ink) !important; color: var(--linen) !important; box-shadow: none !important; }
.bb-fmt[aria-pressed="true"] :is(small, span) { color: rgba(230,222,205,.75) !important; }
:is(input, select, textarea):not([type=checkbox]):not([type=radio]) { background: var(--paper); border-color: var(--line-2); border-radius: 3px; }
.badge, .format-tag { background: var(--paper) !important; color: var(--ink) !important; border-radius: 2px !important; box-shadow: inset 0 0 0 1px var(--line) !important; }

/* Bokbildet på boksiden: roligere vinkel og mindre */
.hb-cover.hb-3d, .bh-img.bh-3d { width: min(100%, 320px); }
.bh-3d .b3d { --ry: -10deg; }
.h-book .hb-3d .b3d { --ry: -12deg; } .h-book.flip .hb-3d .b3d { --ry: 12deg; }

/* Mørke flater: blekk i stedet for natt */
.site-footer { background: var(--blekk) !important; color: #B9AE9C; }
.site-footer h4 { color: #EFE8DA; }
.site-footer a { color: #D8CDBA; }
.footer-rainbow { height: 1px !important; background: var(--rust) !important; opacity: .7; }
.h-join-box { background: var(--blekk) !important; color: #CFC4B1; border-radius: 4px !important; }
.h-join-box h2, .h-join-box h3 { color: #EFE8DA; }
.h-join-box .h-chip { color: #D08A69 !important; }
.h-join-box .btn-ghost { color: #EFE8DA !important; box-shadow: inset 0 0 0 1px rgba(239,232,218,.35) !important; }
.gift-card-art, .club-card, .club-card.gc-card { background: linear-gradient(150deg, #3A3129, #221D18 70%) !important; box-shadow: inset 0 0 0 1px rgba(208,138,105,.3), 0 24px 40px -28px rgba(34,29,24,.7) !important; border-radius: 8px !important; }
.club-card .cc-pct { background: none !important; color: #E0A383 !important; -webkit-background-clip: border-box !important; }
.news-card .nc-img { background: var(--paper-2); }
.ua-flag { filter: saturate(.7); }

/* Chatknappen: blekk og papir */
#vf-chat .vc-launch { background: var(--blekk) !important; color: #EFE8DA !important; border-radius: 4px !important; box-shadow: 0 16px 30px -18px rgba(34,29,24,.8) !important; }
#vf-chat .vc-launch .vc-lbl { color: #EFE8DA !important; }

/* ═════ Mørk visning: lampelys over et mørkt skrivebord ═════ */
:root[data-theme="dark"] {
  --linen: #1B1714; --paper: #241F1A; --paper-2: #2B2520; --blekk: #120F0C;
  --ink: #ECE3D3; --ink-2: #C8BDAB; --muted: #A09482; --line: rgba(236,227,211,.12); --line-2: rgba(236,227,211,.26);
  --rust: #DA8C6B; --rust-2: #E9A386; --rust-soft: rgba(218,140,107,.12);
  --bg: var(--linen); --card: var(--paper); --band: var(--paper-2); --gold-soft: var(--rust-soft); --brass-ink: var(--rust);
  --rose: #E59BA6; --sea: #8FC4B0;
}
html[data-theme="dark"], html[data-theme="dark"] body { background: var(--linen) !important; }
html[data-theme="dark"] body::before { mix-blend-mode: screen !important; opacity: .1 !important; }
html[data-theme="dark"] .site-header { background: rgba(27,23,20,.9) !important; }
html[data-theme="dark"] .header-row { background: none !important; box-shadow: none !important; }
html[data-theme="dark"] .btn-primary, html[data-theme="dark"] .btn-gold { background: var(--rust) !important; color: #1B1714 !important; }
html[data-theme="dark"] .btn-primary:hover, html[data-theme="dark"] .btn-gold:hover { background: var(--rust-2) !important; }
html[data-theme="dark"] :is(.why-box, .pick-card, .ua-box, .gift-box, .faq-item, .card, .product-card, .book-card, .fact, .gc-card, .buybox, .rv-card, .nf-books a, .format-card, .news-card) {
  background: var(--paper) !important; border-color: var(--line) !important; box-shadow: none !important; }
html[data-theme="dark"] :is(.h-trust .trust-box, .trust-box) { background: none !important; }
html[data-theme="dark"] :is(.h-why, .h-gift, .h-faq) { background: var(--paper) !important; }
html[data-theme="dark"] :is(.h-why .why-box, .h-gift .gift-box, .h-faq .faq-item) { background: var(--linen) !important; }
html[data-theme="dark"] :is(.product-card .p-img, .product-card:nth-child(n) .p-img, .gallery-main, .fact, .fact:nth-child(n)) { background: var(--paper-2) !important; }
html[data-theme="dark"] .h-hero { background: none !important; }
html[data-theme="dark"] .site-footer, html[data-theme="dark"] .h-join-box { background: var(--blekk) !important; }
html[data-theme="dark"] :is(.chip[aria-pressed="true"], .chip.active, .bb-fmt[aria-pressed="true"]) { background: var(--ink) !important; color: #1B1714 !important; }
html[data-theme="dark"] .bb-fmt[aria-pressed="true"] :is(small, span, svg) { color: #4A4238 !important; }
html[data-theme="dark"] :is(input, select, textarea):not([type=checkbox]):not([type=radio]) { background: var(--paper); }
html[data-theme="dark"] :is(.lang-pop, .main-nav) { background: var(--paper) !important; }
@media (min-width: 1101px) { html[data-theme="dark"] .main-nav { background: none !important; } }
html[data-theme="dark"] .cart-count { box-shadow: 0 0 0 2px var(--linen) !important; color: #1B1714 !important; }
html[data-theme="dark"] .b3d-back { background: #120F0C !important; }
html[data-theme="dark"] :is(.drawer, .cart-drawer, dialog) { background: var(--paper); }
html[data-theme="dark"] .skeleton { background: linear-gradient(90deg, #241F1A, #2E2721, #241F1A); background-size: 200% 100%; }
html[data-theme="dark"] #vf-chat .vc-launch { background: var(--paper-2) !important; box-shadow: inset 0 0 0 1px var(--line-2), 0 16px 30px -18px #000 !important; }

/* Design 5 – finpuss */
.h-book::before, .h-hero .h-stage::before { display: none !important; }
.h-about-img { border-radius: 3px !important; box-shadow: none !important; outline: 1px solid var(--line); outline-offset: 8px; }
.h-about-img::after { display: none !important; }
.h-about-img:hover img { transform: none; }
.h-pick { padding-top: clamp(56px, 7vw, 96px) !important; }
.ua-flag { width: 56px !important; height: 38px !important; border-radius: 2px !important; transform: none !important; box-shadow: 0 0 0 1px var(--line) !important; animation: none !important; filter: saturate(.75); }
.gift-card-art .gca-rb { opacity: .28; filter: saturate(.5) blur(2px); }
.gift-card-art em { color: #D08A69 !important; font-weight: 600; }
.gift-box:hover .gift-card-art { transform: rotate(-2deg); }
.h-join-box::before, .h-join-box::after { display: none !important; }
.h-join form { background: transparent; border-radius: 3px; padding: 0; box-shadow: inset 0 0 0 1px rgba(239,232,218,.3); }
.h-join input { background: transparent !important; color: #EFE8DA !important; border: 0 !important; }
.h-join input::placeholder { color: #A89C8A; }
.h-join form:focus-within { box-shadow: inset 0 0 0 1px #D08A69; }
.h-join .nl-msg { color: #D08A69; }
.h-faq { padding-top: clamp(56px, 7vw, 96px) !important; }
.faq-item, .faq-item[open] { background: var(--linen) !important; box-shadow: none !important; }
.fq-ic, .faq-item[open] .fq-ic { background: none !important; box-shadow: inset 0 0 0 1px var(--line-2); }
.faq-item[open] .fq-ic { box-shadow: inset 0 0 0 1px var(--rust); }
.page-hero { border-bottom: 0 !important; }
.wish-btn { border-radius: 3px !important; background: transparent !important; box-shadow: inset 0 0 0 1px var(--line-2) !important; }
.wish-btn[aria-pressed="true"] { color: var(--rust) !important; box-shadow: inset 0 0 0 1px var(--rust) !important; }
/* Mørk visning: sterkere velgere enn de eldre lagene */
html[data-theme="dark"] body:is([data-page], :not([data-page])) .site-header.site-header { background: rgba(27,23,20,.9) !important; border-bottom-color: var(--line) !important; }
html[data-theme="dark"] body .site-header :is(.brand-name, .icon-btn, .lang-menu summary, .main-nav a[aria-current="page"]) { color: var(--ink) !important; }
html[data-theme="dark"] body .site-header .main-nav a:not([aria-current]) { color: var(--ink-2) !important; }

html[data-theme="dark"] body .h-trust :is(.vf-x.vf-y, .why-box, .pick-card, .ua-box, .gift-box, .faq-item, .card, .product-card, .book-card, .fact, .gc-card, .buybox, .rv-card, .format-card, .news-card),
html[data-theme="dark"] body main :is(.vf-x.vf-y, .why-box, .pick-card, .ua-box, .gift-box, .faq-item, .card, .product-card, .book-card, .fact, .gc-card, .buybox, .rv-card, .nf-books a, .format-card, .news-card) {
  background: var(--paper) !important; border-color: var(--line) !important; box-shadow: none !important; }
html[data-theme="dark"] body main :is(.vf-x.vf-y.vf-z, .h-why .why-box, .h-gift .gift-box, .h-faq .faq-item) { background: var(--linen) !important; }
html[data-theme="dark"] body main .h-trust .trust-box { background: none !important; box-shadow: none !important; }
html[data-theme="dark"] body :is(.h-chip, .chip-gold) { background: none !important; color: var(--rust) !important; }
html[data-theme="dark"] body .badge { background: var(--paper) !important; color: var(--ink) !important; }
html[data-theme="dark"] body .add-btn { background: var(--rust); color: #1B1714; }
html[data-theme="dark"] body :is(.newsletter, .music-band, .about-music, .h-music-box) { background: var(--blekk); box-shadow: inset 0 0 0 1px var(--line); }
html[data-theme="dark"] body .tabs-2 button[aria-pressed="true"] { background: var(--ink); color: #1B1714; }
.club-band { background: linear-gradient(150deg, #3A3129, var(--blekk) 65%) !important; border-radius: 4px !important; }
.club-band::after, .club-band::before { display: none !important; }
.club-band .eyebrow { color: #D08A69 !important; }
.club-card svg, .club-card img { filter: saturate(.55); }
#vf-chat .vc-launch { box-shadow: inset 0 0 0 1px rgba(239,232,218,.22), 0 16px 30px -18px rgba(34,29,24,.8) !important; }
@media (max-width: 760px) { .bh-img.bh-3d, .hb-cover.hb-3d { width: min(64%, 250px) !important; margin-inline: auto; } .h-about-img { max-width: 420px; } }

/* ═════════════════════════════════════════════════════════════════════
   Design 5.1 – mer liv: ekte papirkort, tydeligere kontraster
   Samme lin, blekk og rust – men innholdet ligger på lyse papirkort med
   myk varm skygge, ikonene får runde merker, og to felt blir mørke
   (blekk) så siden får rytme. Toppen får et mørkt «lesebord» bak bøkene.
   ═════════════════════════════════════════════════════════════════════ */
:root {
  --card-bg: #F8F3EA; --card-line: rgba(34,29,24,.10);
  --card-sh: 0 1px 0 rgba(255,255,255,.7) inset, 0 1px 2px rgba(60,40,20,.06), 0 14px 32px -20px rgba(60,40,20,.38);
  --card-sh-h: 0 1px 0 rgba(255,255,255,.7) inset, 0 2px 4px rgba(60,40,20,.08), 0 26px 48px -24px rgba(60,40,20,.5);
  --r-card: 12px; --r-lg: 12px; --r-xl: 14px; --r-md: 8px; --r-sm: 6px;
}
/* Knapper: litt mer runde og med tyngde */
.btn { border-radius: 8px !important; }
.btn-primary, .btn-gold, .h-hero .btn-primary { box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 10px 22px -12px rgba(154,58,31,.75) !important; }
.btn-primary:hover, .btn-gold:hover, .h-hero .btn-primary:hover { transform: translateY(-1px) !important; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 14px 26px -12px rgba(154,58,31,.85) !important; }
.btn-ghost, .h-hero .btn-ghost { background: rgba(248,243,234,.6) !important; }

/* Kort overalt: lyst papir på lin */
.why-box, .pick-card, .ua-box, .gift-box, .faq-item, .card, .product-card, .book-card, .fact, .gc-card, .buybox, .rv-card, .nf-books a, .format-card, .news-card, .h-book .buybox {
  background: var(--card-bg) !important; border: 1px solid var(--card-line) !important; border-radius: var(--r-card) !important; box-shadow: var(--card-sh) !important; }
.why-box, .pick-card, .product-card, .book-card, .news-card, .format-card { transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out) !important; }
.why-box:hover, .pick-card:hover, .product-card:hover, .book-card:hover, .news-card:hover, .format-card:hover { transform: translateY(-3px) !important; box-shadow: var(--card-sh-h) !important; border-color: var(--card-line) !important; }
.h-why .why-box, .h-gift .gift-box, .h-faq .faq-item, .faq-item[open] { background: var(--card-bg) !important; }
.faq-item[open] { box-shadow: var(--card-sh-h) !important; }

/* Ikonmerker: runde, rustfarget tone */
.tb-ic, .trust-box:nth-child(n) .tb-ic, .wb-ic, .ha-ic, .h-access-list li:nth-child(n) .ha-ic, .pk-ic, .f-icon, .tone-rose .f-icon, .tone-sea .f-icon, .perk .f-icon {
  display: inline-grid !important; place-items: center; width: 46px !important; height: 46px !important; flex: none; border-radius: 50% !important;
  background: radial-gradient(circle at 35% 30%, #F6E3D6, #EBCDB9) !important; color: var(--rust) !important; box-shadow: inset 0 0 0 1px rgba(154,58,31,.18), 0 6px 14px -8px rgba(154,58,31,.45) !important; }
.tb-ic svg, .wb-ic svg, .ha-ic svg, .pk-ic svg, .f-icon svg { width: 21px; height: 21px; }

/* Fordelene: fire kort som ligger litt over kanten på toppen */
.h-trust { border-bottom: 0; padding-block: 0; margin-top: clamp(-56px, -4vw, -36px) !important; position: relative; z-index: 3; }
.trust-row { gap: 14px !important; }
.trust-box, .h-trust .trust-box, .trust-row > li:first-child .trust-box, .trust-row > .trust-box:first-child {
  background: var(--card-bg) !important; border: 1px solid var(--card-line) !important; border-radius: var(--r-card) !important; box-shadow: var(--card-sh) !important; padding: 20px 20px 18px !important; }

/* Toppen: et mørkt lesebord med lampelys bak bøkene */
.h-hero { padding-bottom: clamp(84px, 9vw, 130px) !important; border-bottom: 0; }
.h-stage { position: relative; isolation: isolate; padding: clamp(28px, 3.4vw, 44px) clamp(20px, 3vw, 40px) clamp(22px, 2.6vw, 34px); border-radius: 18px;
  background: radial-gradient(70% 60% at 55% 30%, rgba(224,163,131,.28), transparent 70%), linear-gradient(160deg, #3A3129, #221D18 70%);
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 40px 70px -40px rgba(34,29,24,.8); }
.h-stage::before { display: none !important; }
.h-shelf::before { background: linear-gradient(90deg, transparent, rgba(224,163,131,.55) 25%, rgba(240,210,190,.8) 55%, rgba(224,163,131,.45) 80%, transparent) !important; }
.h-caption { color: #B9AE9C !important; }
.h-caption a { color: #F3EADB !important; }
.h-caption .h-chip { color: #E0A383 !important; }
.b3d::after { background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent) !important; }

/* Små etiketter som merker (Kommer snart, Gavekort o.l.) */
.h-chip, .chip-gold, .ua-kicker { display: inline-flex !important; align-items: center; padding: 3px 10px !important; border-radius: 999px !important; background: var(--rust-soft) !important;
  font-family: var(--sans) !important; font-style: normal !important; font-size: .78rem !important; font-weight: 650 !important; letter-spacing: .01em !important; color: var(--rust) !important; box-shadow: inset 0 0 0 1px rgba(154,58,31,.2) !important; }
.h-caption .h-chip { background: rgba(224,163,131,.16) !important; box-shadow: inset 0 0 0 1px rgba(224,163,131,.35) !important; }

/* Rytme: «Hvorfor lese» og Ukraina-feltet blir mørke */
.h-why { background: linear-gradient(170deg, #2E2721, #1E1A16) !important; border: 0 !important; color: #D9CFBF; }
.h-why :is(h2, h3) { color: #F3EADB; }
.h-why .lead, .h-why p { color: #C9BEAD; }
.h-why .why-box { background: rgba(255,248,236,.05) !important; border: 1px solid rgba(255,248,236,.09) !important; box-shadow: none !important; }
.h-why .why-box:hover { background: rgba(255,248,236,.08) !important; box-shadow: 0 20px 40px -24px rgba(0,0,0,.7) !important; }
.h-why .why-box h3 { color: #F3EADB; }
.h-why .why-box p { color: #BDB2A1; }
.h-why .wb-ic { background: rgba(224,163,131,.14) !important; color: #E8AD8F !important; box-shadow: inset 0 0 0 1px rgba(224,163,131,.3) !important; }
.h-why .btn-ghost { color: #F3EADB !important; background: transparent !important; box-shadow: inset 0 0 0 1px rgba(243,234,219,.35) !important; }
.h-why .btn-ghost:hover { box-shadow: inset 0 0 0 1px #F3EADB !important; }
.ua-box { background: linear-gradient(135deg, #F8F3EA 0%, #F8F3EA 62%, #EFE3D2 100%) !important; }
.ua-flag { width: 64px !important; height: 44px !important; border-radius: 6px !important; box-shadow: 0 10px 20px -12px rgba(0,60,140,.55) !important; }

/* Gavefeltet og FAQ: lys stripe med kort */
.h-gift, .h-faq { background: #DED4C1 !important; }
.gift-box { padding: clamp(24px, 4vw, 44px) !important; }

/* Butikken og bokkortene */
.product-card .p-img, .product-card:nth-child(n) .p-img { background: radial-gradient(80% 70% at 50% 30%, #F4ECDF, #E3D7C3) !important; border-radius: calc(var(--r-card) - 4px); }
.product-card { padding: 10px !important; }
.product-card .p-body { padding: 12px 8px 4px; }
.notice { border-radius: var(--r-card) !important; border-left: 0 !important; background: linear-gradient(90deg, #F1DDD0, #F6ECE2) !important; box-shadow: inset 0 0 0 1px rgba(154,58,31,.16); }
.chip, .filter-chip { border-radius: 999px !important; background: var(--card-bg) !important; box-shadow: inset 0 0 0 1px var(--card-line), 0 4px 10px -8px rgba(60,40,20,.4) !important; }
.chip[aria-pressed="true"], .chip.active { background: var(--ink) !important; color: #F8F3EA !important; }
.book-meta span { background: var(--card-bg) !important; box-shadow: inset 0 0 0 1px var(--card-line) !important; padding: .4em .85em !important; border-radius: 999px !important; }
.bb-fmt { border-radius: 10px !important; background: rgba(255,255,255,.35) !important; }
.bb-fmt[aria-pressed="true"] { background: var(--ink) !important; }
.badge, .format-tag { border-radius: 999px !important; background: var(--card-bg) !important; }
:is(input, select, textarea):not([type=checkbox]):not([type=radio]) { border-radius: 8px; background: #FBF8F2; }
.club-band, .gift-card-art, .club-card, .club-card.gc-card, .h-join-box { border-radius: 16px !important; }
.wish-btn { border-radius: 8px !important; }
.h-about-img { border-radius: 14px !important; outline: 0; box-shadow: 0 30px 60px -34px rgba(60,40,20,.55) !important; }

/* Mørk visning */
html[data-theme="dark"] { --card-bg: #2A241E; --card-line: rgba(236,227,211,.08); --card-sh: 0 1px 0 rgba(255,255,255,.04) inset, 0 18px 36px -24px rgba(0,0,0,.8); --card-sh-h: 0 1px 0 rgba(255,255,255,.05) inset, 0 26px 48px -24px rgba(0,0,0,.9); }
html[data-theme="dark"] body main :is(.vf-x.vf-y, .why-box, .pick-card, .ua-box, .gift-box, .faq-item, .card, .product-card, .book-card, .fact, .gc-card, .buybox, .rv-card, .nf-books a, .format-card, .news-card),
html[data-theme="dark"] body main .h-trust .trust-box, html[data-theme="dark"] body main :is(.vf-x.vf-y.vf-z, .h-why .why-box, .h-gift .gift-box, .h-faq .faq-item) {
  background: var(--card-bg) !important; border-color: var(--card-line) !important; box-shadow: var(--card-sh) !important; }
html[data-theme="dark"] :is(.h-gift, .h-faq) { background: #221D18 !important; }
html[data-theme="dark"] .h-why { background: #120F0C !important; }
html[data-theme="dark"] :is(.tb-ic, .wb-ic, .ha-ic, .pk-ic, .f-icon) { background: rgba(218,140,107,.14) !important; color: #E8AD8F !important; box-shadow: inset 0 0 0 1px rgba(218,140,107,.28) !important; }
html[data-theme="dark"] .notice { background: rgba(218,140,107,.1) !important; }
html[data-theme="dark"] :is(.product-card .p-img, .product-card:nth-child(n) .p-img) { background: radial-gradient(80% 70% at 50% 30%, #3A3129, #2A241E) !important; }
html[data-theme="dark"] .ua-box { background: var(--card-bg) !important; }
html[data-theme="dark"] .h-stage { background: radial-gradient(70% 60% at 55% 30%, rgba(218,140,107,.2), transparent 70%), linear-gradient(160deg, #2A241E, #120F0C 70%); }
html[data-theme="dark"] :is(input, select, textarea):not([type=checkbox]):not([type=radio]) { background: #1B1714; }
html[data-theme="dark"] .btn-ghost { background: transparent !important; }
@media (max-width: 760px) { .h-stage { padding: 22px 14px 18px; } .h-trust { margin-top: -28px !important; } }
.h-caption .h-chip { border-radius: 999px !important; padding: 3px 10px !important; }
.h-access-list { background: var(--card-bg); border: 1px solid var(--card-line); border-radius: var(--r-card); box-shadow: var(--card-sh); padding: 6px 22px !important; }
.h-access-list li:last-child { border-bottom: 0 !important; }
.h-access-list li:first-child { border-top: 0 !important; }
/* Boksiden: omslaget står på samme mørke lesebord som på forsiden */
.bh-img.bh-3d { width: min(100%, 440px) !important; padding: clamp(28px, 4vw, 48px) clamp(36px, 5vw, 64px) clamp(36px, 4.5vw, 56px) !important; border-radius: 18px !important;
  background: radial-gradient(70% 60% at 55% 30%, rgba(224,163,131,.26), transparent 70%), linear-gradient(160deg, #3A3129, #221D18 70%) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 40px 70px -40px rgba(34,29,24,.8) !important; }
.bh-img.bh-3d .b3d::after { background: radial-gradient(closest-side, rgba(0,0,0,.6), transparent) !important; }
html[data-theme="dark"] .bh-img.bh-3d { background: radial-gradient(70% 60% at 55% 30%, rgba(218,140,107,.2), transparent 70%), linear-gradient(160deg, #2A241E, #120F0C 70%) !important; }
@media (max-width: 760px) { .bh-img.bh-3d { width: min(100%, 320px) !important; padding: 24px 36px 32px !important; } }

/* ═════════════════════════════════════════════════════════════════════
   Design 5.2 – farge fra bøkene
   Grunnen er fortsatt lin og blekk, men hver bok får sin egen fargeverden:
   nattblå med gyllent lys (første bok) og varm rav (andre bok). Ikonene får
   hver sin tone, og noen felt får dype, mettede farger så siden fanger blikket.
   ═════════════════════════════════════════════════════════════════════ */
:root {
  --natt: #17213D; --natt-2: #263764; --natt-glow: #F0B44C;
  --rav: #F1D29A; --rav-2: #E4AE5E; --rav-ink: #3B2810;
  --salvie: #5E7F68; --salvie-soft: #DCE6D8;
  --rose: #B4475E; --rose-soft: #F3D9DD;
  --blaa: #2F5BA8; --blaa-soft: #DCE5F4;
}

/* Toppen: lampelyset bak bøkene blir blått og gyllent, og bak overskriften gløder det svakt */
.h-hero { background:
    radial-gradient(900px 520px at 85% 10%, rgba(240,180,76,.20), transparent 60%),
    radial-gradient(700px 480px at 0% 100%, rgba(154,58,31,.12), transparent 65%),
    radial-gradient(800px 600px at 45% 120%, rgba(47,91,168,.10), transparent 60%) !important; }
.h-stage { background:
    radial-gradient(60% 55% at 60% 28%, rgba(240,180,76,.38), transparent 70%),
    radial-gradient(70% 60% at 10% 100%, rgba(180,71,94,.30), transparent 70%),
    linear-gradient(155deg, #2B3A66 0%, #17213D 60%, #111933 100%) !important; }
.h-shelf::before { background: linear-gradient(90deg, transparent, rgba(240,180,76,.6) 25%, rgba(255,226,170,.9) 55%, rgba(240,180,76,.5) 80%, transparent) !important; }
.h-caption .h-chip { color: #FFD48A !important; background: rgba(240,180,76,.16) !important; box-shadow: inset 0 0 0 1px rgba(240,180,76,.4) !important; }
.h-caption { color: #B8C0D8 !important; }

/* Bøkene: hver bok i sitt eget fargefelt */
.h-books { background: none !important; }
.h-book { padding: clamp(28px, 4.5vw, 64px); border-radius: 24px; position: relative; overflow: hidden; isolation: isolate; }
.h-book::before { display: none !important; }
.h-book + .h-book { margin-top: clamp(20px, 3vw, 32px) !important; }
/* Bok 1: natt med gyllent lys */
.h-book:nth-of-type(odd) { color: #E9ECF5; background:
    radial-gradient(50% 70% at 20% 30%, rgba(240,180,76,.22), transparent 70%),
    radial-gradient(60% 80% at 100% 100%, rgba(180,71,94,.22), transparent 70%),
    linear-gradient(150deg, #263764, #17213D 65%); box-shadow: 0 40px 80px -50px rgba(23,33,61,.9); }
.h-book:nth-of-type(odd) :is(.hb-title, .hb-title a, h2, h3) { color: #FFF6E6; }
.h-book:nth-of-type(odd) .hb-tag { color: #FFD48A; }
.h-book:nth-of-type(odd) :is(.hb-by, .hb-desc, p) { color: #C3CADF; }
.h-book:nth-of-type(odd) .hb-more { color: #FFF6E6; text-decoration-color: #F0B44C; }
.h-book:nth-of-type(odd) .h-chip { background: rgba(240,180,76,.16) !important; color: #FFD48A !important; box-shadow: inset 0 0 0 1px rgba(240,180,76,.4) !important; }
.h-book:nth-of-type(odd) .b3d::after { background: radial-gradient(closest-side, rgba(0,0,0,.7), transparent) !important; }
/* Bok 2: varm rav */
.h-book:nth-of-type(even) { color: var(--rav-ink); background:
    radial-gradient(55% 75% at 85% 25%, rgba(255,247,226,.75), transparent 70%),
    radial-gradient(60% 70% at 0% 100%, rgba(154,58,31,.22), transparent 70%),
    linear-gradient(150deg, #F6DEAA, #E7B565 70%, #DB9E4C); box-shadow: 0 40px 80px -50px rgba(140,80,20,.75); }
.h-book:nth-of-type(even) :is(.hb-title, .hb-title a, h2, h3) { color: #2A1B0A; }
.h-book:nth-of-type(even) .hb-tag { color: #7E2E16; }
.h-book:nth-of-type(even) :is(.hb-by, .hb-desc, p) { color: #4E3718; }
.h-book:nth-of-type(even) .hb-more { color: #2A1B0A; text-decoration-color: #9A3A1F; }
.h-book:nth-of-type(even) .h-chip { background: rgba(255,250,240,.6) !important; color: #7E2E16 !important; }
/* Kjøpsboksen ligger som et lyst kort oppå fargen */
.h-book .buybox { background: #FBF7EF !important; color: var(--ink); border: 0 !important; box-shadow: 0 30px 60px -36px rgba(0,0,0,.6) !important; }
.h-book .buybox :is(p, span, small, label) { color: inherit; }

/* «Hvorfor lese»: dyp natt, ikonene i gull */
.h-why { background: radial-gradient(60% 80% at 90% 0%, rgba(240,180,76,.16), transparent 60%), linear-gradient(170deg, #1E2A4C, #111933) !important; }
.h-why .why-box { background: rgba(255,255,255,.045) !important; border-color: rgba(255,255,255,.08) !important; }
.h-why .wb-ic { background: rgba(240,180,76,.16) !important; color: #FFD48A !important; box-shadow: inset 0 0 0 1px rgba(240,180,76,.35) !important; }
.h-why .btn-primary { background: #F0B44C !important; color: #241604 !important; box-shadow: 0 12px 26px -14px rgba(240,180,76,.8) !important; }
.h-why .btn-primary:hover { background: #F6C46A !important; }

/* Ikonmerker i ulike toner (blå, salvie, rose, rav) */
.trust-row > li:nth-child(4n+1) .tb-ic, .format-card:nth-child(4n+1) .f-icon, .why-grid > :nth-child(4n+1) .wb-ic { --ib: #DCE5F4; --ic: #2F5BA8; }
.trust-row > li:nth-child(4n+2) .tb-ic, .format-card:nth-child(4n+2) .f-icon, .why-grid > :nth-child(4n+2) .wb-ic { --ib: #DCE6D8; --ic: #4E7259; }
.trust-row > li:nth-child(4n+3) .tb-ic, .format-card:nth-child(4n+3) .f-icon, .why-grid > :nth-child(4n+3) .wb-ic { --ib: #F6E3C2; --ic: #9A5A12; }
.trust-row > li:nth-child(4n+4) .tb-ic, .format-card:nth-child(4n+4) .f-icon, .why-grid > :nth-child(4n+4) .wb-ic { --ib: #F3D9DD; --ic: #A33C53; }
.trust-row .tb-ic, .format-card .f-icon, .pk-ic, .h-access-list .ha-ic { background: var(--ib, #F6E3D6) !important; color: var(--ic, var(--rust)) !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ic, #9A3A1F) 22%, transparent), 0 6px 14px -8px color-mix(in srgb, var(--ic, #9A3A1F) 60%, transparent) !important; }
.h-access-list li:nth-child(1) .ha-ic { --ib: #DCE5F4; --ic: #2F5BA8; }
.h-access-list li:nth-child(2) .ha-ic { --ib: #DCE6D8; --ic: #4E7259; }
.h-access-list li:nth-child(3) .ha-ic { --ib: #F3D9DD; --ic: #A33C53; }
/* Formatkortene får en tynn farget topp */
.format-card { border-top: 4px solid var(--ic, var(--rust)) !important; }
.format-card:nth-child(4n+1) { --ic: #2F5BA8; } .format-card:nth-child(4n+2) { --ic: #4E7259; } .format-card:nth-child(4n+3) { --ic: #C9852A; } .format-card:nth-child(4n+4) { --ic: #A33C53; }
.format-card:nth-child(4n+3) .f-icon { --ib: #F6E3C2; --ic: #9A5A12; }

/* Ukraina: blått og gult, dempet */
.ua-box { background: linear-gradient(120deg, #E7EEFA 0%, #F8F3EA 45%, #FBF0CC 100%) !important; }

/* Gave: rav-stripe. Klubb: dyp rust */
.h-gift { background: linear-gradient(170deg, #F1D29A, #E8BD78) !important; }
.h-gift .gift-box { background: #FBF7EF !important; }
.h-join-box { background: radial-gradient(60% 90% at 100% 0%, rgba(240,180,76,.25), transparent 60%), linear-gradient(150deg, #A5432A, #6E2412 75%) !important; color: #F7E6DA; }
.h-join-box :is(h2, h3) { color: #FFF4EA !important; }
.h-join-box p, .h-join-box li { color: #F2D8C8; }
.h-join-box .btn-primary, .h-join-box .btn-gold { background: #FFF4EA !important; color: #6E2412 !important; box-shadow: 0 12px 24px -14px rgba(0,0,0,.6) !important; }
.h-join-box .h-join-club + .h-join-nl { border-left-color: rgba(255,244,234,.22) !important; }
.h-join form { box-shadow: inset 0 0 0 1px rgba(255,244,234,.35) !important; }
.h-join input::placeholder { color: #E7BFAA !important; }
.h-join-box svg { color: #FFD48A; }
/* FAQ: salvie */
.h-faq { background: linear-gradient(170deg, #DCE6D8, #CFDCCB) !important; }

/* Butikk og bokside: fargeglød bak omslagene */
.bh-img.bh-3d { background: radial-gradient(60% 55% at 60% 28%, rgba(240,180,76,.36), transparent 70%), radial-gradient(70% 60% at 10% 100%, rgba(180,71,94,.28), transparent 70%), linear-gradient(155deg, #2B3A66, #17213D 60%, #111933) !important; }
.page-hero { background: radial-gradient(700px 300px at 90% 0%, rgba(240,180,76,.16), transparent 70%), radial-gradient(600px 300px at 0% 100%, rgba(47,91,168,.08), transparent 70%) !important; }
.notice { background: linear-gradient(90deg, #F6DEAA, #F8EBD0) !important; box-shadow: inset 0 0 0 1px rgba(154,90,18,.2) !important; }
.club-band { background: radial-gradient(60% 90% at 100% 0%, rgba(240,180,76,.25), transparent 60%), linear-gradient(150deg, #A5432A, #6E2412 75%) !important; }

/* Mørk visning: fargene beholdes, men dempes */
html[data-theme="dark"] .h-hero { background: radial-gradient(900px 520px at 85% 10%, rgba(240,180,76,.10), transparent 60%), radial-gradient(800px 600px at 45% 120%, rgba(47,91,168,.12), transparent 60%) !important; }
html[data-theme="dark"] .h-book:nth-of-type(even) { background: radial-gradient(55% 75% at 85% 25%, rgba(240,180,76,.22), transparent 70%), linear-gradient(150deg, #4A361C, #2E2214 70%); color: #F3E3C6; }
html[data-theme="dark"] .h-book:nth-of-type(even) :is(.hb-title, .hb-title a, h2, h3) { color: #FFF1D6; }
html[data-theme="dark"] .h-book:nth-of-type(even) .hb-tag { color: #F2B98E; }
html[data-theme="dark"] .h-book:nth-of-type(even) :is(.hb-by, .hb-desc, p) { color: #D8C6A6; }
html[data-theme="dark"] .h-book:nth-of-type(even) .hb-more { color: #FFF1D6; }
html[data-theme="dark"] .h-book .buybox { background: #2A241E !important; color: var(--ink); }
html[data-theme="dark"] .h-gift { background: linear-gradient(170deg, #3A2C17, #2B2012) !important; }
html[data-theme="dark"] .h-gift .gift-box { background: #2A241E !important; }
html[data-theme="dark"] .h-faq { background: linear-gradient(170deg, #1F2A22, #18211B) !important; }
html[data-theme="dark"] .ua-box { background: linear-gradient(120deg, #1D2538 0%, #2A241E 45%, #34301A 100%) !important; }
html[data-theme="dark"] :is(.trust-row .tb-ic, .format-card .f-icon, .h-access-list .ha-ic) { background: color-mix(in srgb, var(--ic, #DA8C6B) 18%, transparent) !important; color: color-mix(in srgb, var(--ic, #DA8C6B) 55%, white) !important; }
html[data-theme="dark"] .notice { background: rgba(240,180,76,.12) !important; }
/* 5.2 – fargetoner på ikonene (sterkere velgere enn de eldre lagene) */
.trust-row > .trust-box:nth-child(4n+1), .pick-grid > .pick-card:nth-child(4n+1), .why-grid > .why-box:nth-child(4n+1) { --ib: #DCE5F4; --ic: #2F5BA8; }
.trust-row > .trust-box:nth-child(4n+2), .pick-grid > .pick-card:nth-child(4n+2), .why-grid > .why-box:nth-child(4n+2) { --ib: #DCE6D8; --ic: #4E7259; }
.trust-row > .trust-box:nth-child(4n+3), .pick-grid > .pick-card:nth-child(4n+3), .why-grid > .why-box:nth-child(4n+3) { --ib: #F6E3C2; --ic: #9A5A12; }
.trust-row > .trust-box:nth-child(4n+4), .pick-grid > .pick-card:nth-child(4n+4), .why-grid > .why-box:nth-child(4n+4) { --ib: #F3D9DD; --ic: #A33C53; }
.trust-row > .trust-box:nth-child(n) .tb-ic, .pick-grid > .pick-card:nth-child(n) .pk-ic, .h-access-list li:nth-child(n) .ha-ic {
  background: var(--ib) !important; color: var(--ic) !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ic) 22%, transparent), 0 6px 14px -8px color-mix(in srgb, var(--ic) 60%, transparent) !important; }
.pick-grid > .pick-card:nth-child(n) { border-top: 4px solid var(--ic) !important; }
.h-why .why-grid > .why-box:nth-child(n) .wb-ic { background: color-mix(in srgb, var(--ic, #F0B44C) 30%, transparent) !important; color: color-mix(in srgb, var(--ic, #F0B44C) 35%, white) !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ic, #F0B44C) 50%, transparent) !important; }
/* Kjøpsboksen i fargefeltene: vanlig mørk tekst */
.h-book:nth-of-type(n) .buybox, .h-book:nth-of-type(n) .buybox :is(p, span, small, label, div, strong) { color: var(--ink); }
.h-book:nth-of-type(n) .buybox :is(.bb-label, small, .muted) { color: var(--muted); }
.h-book:nth-of-type(n) .buybox .bb-fmt[aria-pressed="true"] :is(span, small, strong, b) { color: inherit; }
.h-book:nth-of-type(n) .buybox .bb-fmt[aria-pressed="true"] { color: #F8F3EA; }
/* Kundeklubben: hakene synes på rust */
.h-join-box .club-perks li svg { color: #FFD48A !important; }
html[data-theme="dark"] .h-book:nth-of-type(n) .buybox, html[data-theme="dark"] .h-book:nth-of-type(n) .buybox :is(p, span, small, label, div, strong) { color: var(--ink); }
.h-book:nth-of-type(n) .buybox :is(.btn-primary, .btn-gold, .add-btn), .h-book:nth-of-type(n) .buybox :is(.btn-primary, .btn-gold, .add-btn) * { color: #FBF5EC !important; }
html[data-theme="dark"] .h-book:nth-of-type(n) .buybox :is(.btn-primary, .btn-gold, .add-btn), html[data-theme="dark"] .h-book:nth-of-type(n) .buybox :is(.btn-primary, .btn-gold, .add-btn) * { color: #1B1714 !important; }
.h-why .why-box .wb-ic svg, .trust-box .tb-ic svg, .pick-card .pk-ic svg, .h-access-list .ha-ic svg { color: inherit !important; }
html[data-theme="dark"] :is(.trust-row > .trust-box:nth-child(n) .tb-ic, .pick-grid > .pick-card:nth-child(n) .pk-ic, .h-access-list li:nth-child(n) .ha-ic) { background: color-mix(in srgb, var(--ic, #DA8C6B) 22%, #1B1714) !important; color: color-mix(in srgb, var(--ic, #DA8C6B) 45%, white) !important; }
