/* ============================================
   SEXY SOLVED – Global Stylesheet
   ============================================ */

/* ---------- Selvhostede fonter (GDPR: ingen Google-kall) ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/cormorant-garamond-400-500.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/cormorant-garamond-italic-400.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('fonts/spectral-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('fonts/spectral-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('fonts/spectral-italic-300.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* ---------- Reset & Variables ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Colours */
  --bg:          #0a0710;
  --bg-2:        #100d18;
  --bg-3:        #16101f;
  --bg-dark:     #060408;
  --border:      #2e1f3e;
  --border-soft: #1e1428;

  --rose:        #c4607a;
  --rose-dark:   #7a2040;
  --rose-glow:   rgba(196, 96, 122, 0.15);

  --purple:      #7b2d9e;
  --purple-soft: #4a1560;
  --purple-glow: rgba(123, 45, 158, 0.12);

  --text:        #f0e4ec;
  --text-muted:  #9a7a8a;
  --text-dim:    #5a4055;

  /* Typography */
  --serif:           'Cormorant Garamond', 'Georgia', serif;
  --serif-editorial: 'Spectral', 'Georgia', serif;
  --sans:            'Arial', 'Helvetica', sans-serif;

  /* Spacing */
  --max:    1100px;
  --max-sm: 860px;

  /* Transitions */
  --t: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  background-image: linear-gradient(160deg, #0a0710 0%, #110920 50%, #0a0710 100%);
  background-size: auto;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--serif);
  line-height: 1.7;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--rose-dark); border-radius: 3px; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav-brand {
  background: rgba(6, 4, 8, 0.97);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-style: italic;
  letter-spacing: 0.12em;
  color: var(--rose);
  text-shadow: 0 0 40px var(--rose-glow);
  transition: color var(--t);
}
.logo:hover { color: var(--text); }
.sesong-empty { grid-column: 1 / -1; color: var(--text-muted); font-size: 0.95rem; }

.nav-main {
  background: rgba(6, 4, 8, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 96, 122, 0.1);
  padding: 0.8rem 2rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-main a {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.3rem 0;
  border-bottom: 1px solid transparent;
  transition: all var(--t);
}
.nav-main a:hover,
.nav-main a.active {
  color: var(--rose);
  border-bottom-color: var(--rose);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 9rem 2rem 7rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(170deg, #0a0710 0%, #1a0d24 45%, #0d0818 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(196,96,122,0.2) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 20% 80%, rgba(123,45,158,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.15;
  color: #f5dfe8;
  margin-bottom: 1.4rem;
}

.hero p {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 3rem;
  line-height: 1.85;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  min-width: 200px;
  text-align: center;
  padding: 0.9rem 2rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--rose);
  color: var(--rose);
  background: transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
  text-decoration: none;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(196,96,122,0.2), transparent);
  transition: left 0.55s ease;
}

.btn:hover {
  color: #f5dfe8;
}

.btn:hover::before {
  left: 100%;
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text-muted);
}

.btn-ghost::before {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
}

.btn-ghost:hover {
  color: var(--text);
}

.btn-sm {
  min-width: unset;
  padding: 0.55rem 1.2rem;
  font-size: 0.67rem;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-sm { max-width: var(--max-sm); }

.section-dark {
  background: rgba(4, 2, 8, 0.65);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.6rem;
  opacity: 0.85;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #f0e4ec;
  margin-bottom: 0.4rem;
}

.section-sub {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.divider {
  border: none;
  border-top: 1px solid var(--border-soft);
}

/* ============================================
   AFFILIATE NOTICE
   ============================================ */
.affiliate-notice {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(196, 96, 122, 0.05);
  border: 1px solid rgba(196, 96, 122, 0.15);
  padding: 0.75rem 1.2rem;
  margin-bottom: 2rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.affiliate-notice span { color: var(--rose); font-size: 0.9rem; }

/* ============================================
   STORE LIST
   ============================================ */
.store-list { display: flex; flex-direction: column; }

.store-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  background: rgba(16, 10, 24, 0.8);
  border: 1px solid var(--border);
  border-bottom: none;
  transition: background var(--t), border-color var(--t);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.store-item:last-child { border-bottom: 1px solid var(--border); }
.store-item:hover {
  background: rgba(30, 16, 40, 0.9);
  border-color: var(--rose-dark);
}
.store-item:hover .store-arrow { color: var(--rose); transform: translateX(4px); }

.store-left { display: flex; align-items: center; gap: 1.5rem; }

.store-num {
  font-family: var(--sans);
  font-size: 0.65rem;
  color: var(--text-dim);
  min-width: 22px;
  letter-spacing: 0.1em;
}

.store-info h3 {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.15rem;
  letter-spacing: 0.03em;
}
.store-info p {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.store-right { display: flex; align-items: center; gap: 1rem; }

.store-tag {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 3px 10px;
  border: 1px solid var(--purple-soft);
  color: var(--purple);
}

.store-arrow {
  color: var(--text-dim);
  font-size: 1rem;
  transition: all var(--t);
}

/* ============================================
   EDITOR PICK
   ============================================ */
.pick-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: rgba(16, 10, 24, 0.8);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color var(--t);
}
.pick-card:hover { border-color: var(--rose-dark); }

.pick-img {
  background: linear-gradient(145deg, #1a0d24, #0d0818);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  min-height: 200px;
}
.pick-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pick-body { padding: 2rem 2rem; }

.pick-badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
  border: 1px solid var(--rose-dark);
  padding: 3px 10px;
  margin-bottom: 1rem;
}

.pick-body h3 {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.7rem;
  color: var(--text);
  letter-spacing: 0.03em;
}

.pick-body p {
  font-family: var(--sans);
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.pick-link {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
  border-bottom: 1px solid var(--rose-dark);
  padding-bottom: 3px;
  transition: all var(--t);
}
.pick-link:hover { color: var(--text); border-bottom-color: var(--text-muted); }

/* ============================================
   ARTICLE CARDS (landing)
   ============================================ */
.art-list { display: flex; flex-direction: column; gap: 1px; background: var(--border-soft); }

.art-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.3rem 1.5rem;
  background: rgba(10, 7, 16, 0.85);
  transition: background var(--t);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.art-item:hover { background: rgba(22, 12, 32, 0.95); }
.art-item:hover .art-title { color: var(--rose); }

.art-type {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  line-height: 1.4;
}

.art-title {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.25rem;
  transition: color var(--t);
  line-height: 1.4;
}

.art-desc {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.art-meta {
  font-family: var(--sans);
  font-size: 0.68rem;
  color: var(--text-dim);
  white-space: nowrap;
  text-align: right;
}
.art-meta strong { display: block; color: var(--rose); font-weight: 400; }

/* ============================================
   LIBRARY PAGE
   ============================================ */
.lib-hero {
  background: linear-gradient(170deg, #080510 0%, #140a1e 50%, #0a0610 100%);
  padding: 5rem 2rem 4rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.lib-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(123,45,158,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.filter-tab {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  cursor: pointer;
  transition: all var(--t);
}
.filter-tab:hover { border-color: var(--rose-dark); color: var(--text); }
.filter-tab.active {
  background: var(--rose-dark);
  border-color: var(--rose);
  color: var(--text);
}

.lib-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border-soft);
}

.lib-card {
  background: rgba(10, 7, 16, 0.9);
  padding: 1.8rem;
  cursor: pointer;
  transition: background var(--t);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.lib-card:hover { background: rgba(22, 12, 32, 0.95); }
.lib-card:hover .lib-card-title { color: var(--rose); }

.lib-card-type {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.6rem;
}

.lib-card-title {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.6rem;
  line-height: 1.4;
  transition: color var(--t);
}

.lib-card-desc {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.2rem;
}

.lib-card-foot {
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 0.68rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border-soft);
  padding-top: 0.8rem;
  margin-top: auto;
}
.lib-card-foot span:first-child { color: var(--rose); }

/* ============================================
   ANBEFALINGER-ARKIV (anbefalinger/index.html)
   ============================================ */
/* 2 kort per rad med ekte luft mellom — større kort enn .lib-grid */
.anb-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.anb-grid .lib-card-lg {
  padding: 2.5rem;
  border: 1px solid var(--border);
  background: rgba(10, 7, 16, 0.9);
  transition: background var(--t), border-color var(--t);
}
.anb-grid .lib-card-lg:hover { border-color: var(--rose-dark); }

.lib-card-lg .lib-card-type { margin-bottom: 0.9rem; }

.lib-card-lg .lib-card-title {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.lib-card-lg .lib-card-desc {
  font-size: 0.85rem;
  line-height: 1.8;
  margin-bottom: 1.6rem;
}

@media (max-width: 768px) {
  .anb-grid { grid-template-columns: 1fr; gap: 1rem; }
  .anb-grid .lib-card-lg { padding: 1.8rem; }
}

/* Produktbilde i anbefalingskort */
.lib-card-has-img { overflow: hidden; padding-top: 0; }
.lib-card-img {
  display: block;
  width: calc(100% + 5rem);
  height: 200px;
  object-fit: cover;
  margin: 0 -2.5rem 1.5rem;
}
@media (max-width: 768px) {
  .lib-card-img {
    width: calc(100% + 3.6rem);
    margin: 0 -1.8rem 1.2rem;
  }
}

/* No results */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  font-family: var(--sans);
  color: var(--text-muted);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
  background: linear-gradient(170deg, #080510 0%, #14091c 50%, #0a0610 100%);
  padding: 6rem 2rem 4rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.about-block h3 {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--rose);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.about-block p {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-block p a {
  color: var(--rose);
  border-bottom: 1px solid var(--rose-dark);
  transition: color var(--t), border-color var(--t);
}
.about-block p a:hover { color: var(--text); border-bottom-color: var(--text-muted); }

.principle-list { list-style: none; margin-top: 1rem; }
.principle-list li {
  font-family: var(--sans);
  font-size: 0.83rem;
  color: var(--text-muted);
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  gap: 0.8rem;
  line-height: 1.5;
}
.principle-list li::before {
  content: '—';
  color: var(--rose);
  flex-shrink: 0;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: rgba(4, 2, 8, 0.9);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  font-family: var(--sans);
  margin-top: 0;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand .logo { font-size: 1.3rem; display: block; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.7; max-width: 240px; }

.footer-col h4 {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  transition: color var(--t);
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-dim);
}

/* ============================================
   UTILITIES
   ============================================ */
.mt-2 { margin-top: 2rem; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .nav-main { gap: 1.5rem; }
  .hero { padding: 4rem 1.2rem 3rem; }
  .pick-card { grid-template-columns: 1fr; }
  .pick-img { min-height: 140px; }
  .art-item { grid-template-columns: 70px 1fr; }
  .art-meta { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .lib-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .nav-main { gap: 1rem; flex-wrap: wrap; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
}

/* ============================================
   STORE ENTRIES – EXPANDABLE ROWS
   ============================================ */

/* Wrapper takes over borders from .store-item */
.store-entry {
  border: 1px solid var(--border);
  border-bottom: none;
  overflow: hidden;
  max-height: 500px;
  transition: border-color var(--t), opacity 0.25s ease, max-height 0.25s ease;
}
.store-entry:last-child { border-bottom: 1px solid var(--border); }
.store-entry:hover,
.store-entry.open { border-color: var(--rose-dark); }

/* Hidden by store filter */
.store-entry.store-hidden {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  border-color: transparent;
  border-bottom-width: 0;
}

/* Remove individual borders now that .store-entry owns them */
.store-entry .store-item {
  border: none;
  border-bottom: none;
  user-select: none;
}
.store-entry .store-item:hover { border-color: transparent; }

/* Chevron – suppress the translateX from base .store-arrow rule */
.store-chevron { display: inline-block; transition: transform 0.25s ease; }
.store-item:hover .store-chevron { transform: none; }
.store-entry.open .store-chevron { transform: rotate(180deg); }
.store-entry.open .store-item:hover .store-chevron { transform: rotate(180deg); }

/* Expand panel */
.store-expand {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.25s ease;
}
.store-entry.open .store-expand {
  max-height: 360px;
  opacity: 1;
}

.store-expand-inner {
  padding: 1.2rem 1.5rem 1.4rem;
  background: rgba(22, 14, 34, 0.85);
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.store-detail-desc {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.store-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--text-muted);
}
.store-meta-item strong { color: var(--text-dim); font-weight: 400; }

.store-rating-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--sans);
  font-size: 0.78rem;
}
.store-rating-label { color: var(--text-dim); }
.store-stars { color: var(--rose); letter-spacing: 0.08em; font-size: 0.9rem; }

.store-expand-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 0.3rem;
}
.store-expand-actions .btn { min-width: unset; }

/* ============================================
   STORE FILTER BAR
   ============================================ */
.store-filter-bar {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.store-filter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.store-filter-label {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  min-width: 96px;
  flex-shrink: 0;
  padding: 0.45rem 0;
  line-height: 1;
}

.store-no-results {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--text-muted);
  border: 1px solid var(--border-soft);
  border-top: none;
}
.store-no-results.visible { display: block; }

@media (max-width: 600px) {
  .store-filter-label { min-width: unset; width: 100%; }
  .store-filter-row { gap: 0.3rem; }
}

/* ============================================
   STORE ANALYSIS MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 2, 8, 0.88);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 2rem 1.2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  max-width: 560px;
  width: 100%;
  position: relative;
  transform: scale(0.96) translateY(12px);
  transition: transform 0.25s ease;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.modal-overlay.open .modal-box { transform: scale(1) translateY(0); }

.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  transition: color var(--t);
  z-index: 1;
}
.modal-close:hover { color: var(--rose); }

.modal-content { padding: 2rem 2.2rem 1.2rem; }

.modal-eyebrow {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 0.7rem;
  line-height: 1.2;
}

.modal-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 3px 10px;
  border: 1px solid var(--purple-soft);
  color: var(--purple);
  margin-bottom: 1.2rem;
}

.modal-stars {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}
.modal-stars .stars { color: var(--rose); font-size: 1rem; letter-spacing: 0.06em; }

.modal-divider {
  border: none;
  border-top: 1px solid var(--border-soft);
  margin: 0 0 1.4rem;
}

.modal-analysis {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1.4rem;
}

.modal-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.modal-meta-item {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.modal-meta-item strong {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 400;
  margin-bottom: 0.2rem;
  opacity: 0.85;
}

.modal-url {
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
  transition: color var(--t);
}
.modal-url:hover { color: var(--rose); }

.modal-ratings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1.8rem;
  margin-bottom: 1.4rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--text-muted);
}
.modal-rating-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}
.modal-rating-row .stars {
  color: var(--rose);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.modal-subheading {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  margin: 1.2rem 0 0.5rem;
  opacity: 0.85;
}

.modal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.6rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--text-muted);
}
.modal-list li {
  display: flex;
  gap: 0.6rem;
  padding: 0.25rem 0;
  line-height: 1.6;
}
.modal-li-icon { flex-shrink: 0; }

.modal-footer {
  padding: 1.2rem 2.2rem 1.8rem;
  border-top: 1px solid var(--border-soft);
  background: rgba(6, 4, 10, 0.5);
  margin-top: auto;
}
.modal-footer .btn {
  width: 100%;
  min-width: unset;
  max-width: 100%;
}

/* Responsive tweaks for expand & modal */
@media (max-width: 768px) {
  .store-expand-actions { flex-direction: column; }
  .store-expand-actions .btn { width: 100%; text-align: center; }
  .modal-meta { grid-template-columns: 1fr; }
  .modal-ratings { grid-template-columns: 1fr; }
  .modal-content { padding: 1.5rem 1.4rem 1rem; }
  .modal-footer { padding: 1rem 1.4rem 1.5rem; }
}

/* ============================================
   ARTICLE PAGE
   ============================================ */
.article-hero {
  background: linear-gradient(170deg, #080510 0%, #14091c 50%, #0a0610 100%);
  padding: 5rem 2rem 3.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(196, 96, 122, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.article-hero-inner { position: relative; z-index: 1; }

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.8rem;
  transition: color var(--t);
}
.article-back:hover { color: var(--rose); }

.article-cat {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
  border: 1px solid var(--rose-dark);
  padding: 3px 10px;
  margin-bottom: 1.2rem;
}

.article-title {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #f5dfe8;
  line-height: 1.25;
  margin: 0 auto 1rem;
  max-width: 720px;
}

.article-meta {
  font-family: var(--sans);
  font-size: 0.74rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

/* Article body wrapper */
.article-wrap {
  padding: 3rem 2rem 5rem;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(6, 4, 10, 0.75);
  padding: 2rem;
  border-radius: 2px;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-muted);
}

.article-body p {
  margin-bottom: 1.15rem;
  color: var(--text-muted);
}

.article-body h2 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--rose);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

.article-body h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.article-body ul {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 1.15rem 0;
}

.article-body ul li {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.28rem 0 0.28rem 1.4rem;
  position: relative;
  line-height: 1.7;
}

.article-body ul li::before {
  content: '—';
  color: var(--rose);
  position: absolute;
  left: 0;
  opacity: 0.7;
}

.article-body ol {
  list-style: none;
  counter-reset: article-counter;
  padding: 0;
  margin: 0.6rem 0 1.15rem 0;
}

.article-body ol li {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.28rem 0 0.28rem 2rem;
  position: relative;
  line-height: 1.7;
  counter-increment: article-counter;
}

.article-body ol li::before {
  content: counter(article-counter) ".";
  color: var(--rose);
  position: absolute;
  left: 0;
  opacity: 0.8;
  font-family: var(--sans);
  font-size: 0.85rem;
}

.article-body strong { color: var(--text); font-style: normal; }

/* Affiliate box inside article */
.article-affiliate {
  margin-top: 3.5rem;
  padding: 2rem;
  background: rgba(10, 7, 16, 0.9);
  border: 1px solid var(--rose-dark);
  text-align: center;
  position: relative;
}
.article-affiliate::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(196, 96, 122, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.article-affiliate .affiliate-eyebrow {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.6rem;
  opacity: 0.85;
}

.article-affiliate h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  margin-top: 0;
  margin-bottom: 1.4rem;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.article-affiliate .btn {
  min-width: 220px;
  position: relative;
}

@media (max-width: 768px) {
  .article-wrap { padding: 2rem 1.2rem 3rem; }
  .article-affiliate .btn { min-width: unset; width: 100%; }
}

/* ============================================
   ARTIKKEL: TOC, DISCLAIMER, KILDER, FILOSOFI, ANNONSE
   ============================================ */

/* To-kolonne layout når artikkelen har TOC-sidebar */
.article-wrap-toc {
  display: grid;
  grid-template-columns: 220px minmax(0, 720px);
  justify-content: center;
  align-items: start;
  gap: 2.5rem;
}

.toc-sidebar {
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  background: rgba(6, 4, 10, 0.8);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 1.25rem 1rem;
}

.toc-title {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.8rem;
  opacity: 0.85;
}

.toc-link {
  display: block;
  font-family: var(--sans);
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding: 0.3rem 0.5rem;
  border-left: 2px solid transparent;
  transition: color var(--t), border-color var(--t), background var(--t);
}
.toc-link:hover { color: var(--text); }
.toc-link.active {
  color: var(--rose);
  border-left-color: var(--rose);
  background: rgba(196, 96, 122, 0.07);
}

/* Ankerpunkter skal ikke gjemmes bak sticky nav */
.article-body h2[id] { scroll-margin-top: 90px; }

/* Mobil-TOC: ren HTML <details> — skjult på desktop */
.toc-details {
  display: none;
  border: 1px solid var(--border);
  background: rgba(6, 4, 10, 0.6);
  margin-bottom: 1.8rem;
}
.toc-details summary {
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rose);
  padding: 0.8rem 1rem;
}
.toc-details nav { padding: 0 1.2rem 0.9rem; }
.toc-details nav a {
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.25rem 0;
  transition: color var(--t);
}
.toc-details nav a:hover { color: var(--rose); }

@media (max-width: 1024px) {
  .article-wrap-toc { display: block; }
  .toc-sidebar { display: none; }
  .toc-details { display: block; }
}

/* Medisinsk disclaimer (type: helse) */
.disclaimer-box {
  font-family: var(--sans);
  font-size: 0.8rem;
  line-height: 1.75;
  color: var(--text-muted);
  background: rgba(196, 96, 122, 0.05);
  border: 1px solid rgba(196, 96, 122, 0.2);
  border-left: 3px solid var(--rose-dark);
  padding: 1rem 1.3rem;
  margin-bottom: 1.8rem;
}
.disclaimer-box strong {
  color: var(--rose);
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* «Kort oppsummert»-boks øverst i artikler — lilla aksent for å skille fra disclaimer */
.summary-box {
  font-family: var(--sans);
  font-size: 0.8rem;
  line-height: 1.75;
  color: var(--text-muted);
  background: var(--purple-glow);
  border: 1px solid var(--purple-soft);
  border-left: 3px solid var(--purple);
  padding: 1rem 1.3rem;
  margin-bottom: 1.8rem;
}
.summary-box strong {
  color: var(--purple);
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* Anbefalingsfilosofi (anbefalinger-sider) */
.philosophy-box {
  font-family: var(--sans);
  font-size: 0.8rem;
  line-height: 1.75;
  color: var(--text-muted);
  background: var(--purple-glow);
  border: 1px solid var(--purple-soft);
  border-left: 3px solid var(--purple);
  padding: 1rem 1.3rem;
  margin-bottom: 1.8rem;
}
.philosophy-box strong {
  color: var(--purple);
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* Kilder */
.sources-box {
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-soft);
}
.sources-box h3 {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  margin: 0 0 0.6rem;
  opacity: 0.85;
}
.sources-box ul { list-style: none; padding: 0; margin: 0; }
.sources-box li {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.2rem 0;
  line-height: 1.6;
}
.sources-box li::before { content: '—'; color: var(--rose); opacity: 0.7; margin-right: 0.6rem; }
.sources-box a { color: var(--text-muted); border-bottom: 1px solid var(--border); transition: color var(--t); }
.sources-box a:hover { color: var(--rose); }

/* Annonse-badge i hero */
.annonse-badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rose);
  border: 1px solid var(--rose-dark);
  padding: 3px 8px;
  margin-left: 0.5rem;
  opacity: 0.75;
  vertical-align: middle;
}

/* Interne lenker i brødtekst */
.article-body p a:not(.pick-link):not(.btn) {
  color: var(--rose);
  border-bottom: 1px solid var(--rose-dark);
  transition: color var(--t), border-color var(--t);
}
.article-body p a:not(.pick-link):not(.btn):hover {
  color: var(--text);
  border-bottom-color: var(--text-muted);
}

/* ============================================
   === BIBLIOTEK.HTML ===
   ============================================ */

.bib-layout {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  max-width: 1160px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

/* --- Sidebar --- */
.bib-sidebar {
  width: 160px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  background: rgba(6, 4, 10, 0.8);
  border: 1px solid var(--border);
  padding: 1.25rem 1rem;
  border-radius: 2px;
}
.bib-alphabet-v {
  display: flex;
  flex-direction: column;
}
.bib-letter-v {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.5rem;
  display: block;
  text-decoration: none;
  border-radius: 2px;
  transition: color var(--t), background var(--t);
  background: none;
  border: none;
  text-align: left;
  line-height: 1.7;
  width: 100%;
}
.bib-letter-v-active {
  color: var(--text-muted);
  cursor: pointer;
}
.bib-letter-v-active:hover,
.bib-letter-v-active:focus {
  color: var(--rose);
  outline: none;
}
.bib-letter-v-selected {
  color: var(--rose) !important;
  background: rgba(196, 96, 122, 0.1);
}
.bib-letter-v-inactive {
  color: var(--text-dim);
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

/* --- Bib main column --- */
.bib-main { flex: 1; min-width: 0; }

.bib-search-wrap { margin-bottom: 2rem; }
#bibSearch {
  width: 100%;
  box-sizing: border-box;
  background: rgba(6, 4, 10, 0.9);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.75rem 1rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  border-radius: 2px;
  outline: none;
  transition: border-color var(--t);
}
#bibSearch:focus        { border-color: var(--rose); }
#bibSearch::placeholder { color: var(--text-dim); }

.bib-title {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.bib-title h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #f5dfe8;
  margin-bottom: 0.5rem;
}
.bib-title p {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

#bib-no-results {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 2.5rem 0;
  text-align: center;
  margin: 0;
}

@media (max-width: 768px) {
  .bib-layout {
    flex-direction: column;
    padding: 1.5rem 1rem 3rem;
    gap: 1.5rem;
  }
  .bib-sidebar {
    width: 100%;
    position: static;
  }
  .bib-alphabet-v {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.15rem;
  }
  .bib-letter-v { width: auto; padding: 0.25rem 0.5rem; }
}

/* ============================================
   === ARTIKLER/GUIDE-GLIDEMIDLER.HTML ===
   ============================================ */

.compat-table-wrap {
  overflow-x: auto;
  margin: 2rem 0;
}
.compat-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 0.9rem;
}
.compat-table th,
.compat-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border: 1px solid var(--border);
}
.compat-table thead th {
  background: rgba(255,255,255,0.05);
  color: var(--rose);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.compat-table tbody tr:nth-child(even) td {
  background: rgba(255,255,255,0.02);
}
.compat-table td:first-child {
  font-weight: 600;
  color: var(--text);
}
.compat-table td {
  color: var(--text-muted);
}
.compat-yes  { color: #7ecb9e !important; }
.compat-no   { color: var(--rose) !important; font-weight: 600; }
.compat-warn { color: #e8c97a !important; }

/* ============================================
   === INDEX.HTML ===
   ============================================ */

/* Editor's pick prev/next button row */
.pick-controls {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

/* ============================================
   === OM-OSS.HTML ===
   ============================================ */

/* Shared hero h1 (also used by sesong/index.html) */
.lib-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #f5dfe8;
  margin-bottom: 1rem;
}

/* About-page hero subtitle */
.about-hero-sub {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.85;
}

/* Contact section top divider */
.about-kontakt {
  border-top: 1px solid var(--border-soft);
}

/* Contact section centred wrapper */
.about-kontakt-inner {
  text-align: center;
}

/* Contact section lead paragraph */
.about-kontakt-sub {
  max-width: 400px;
  margin: 0 auto 2rem;
}

/* ============================================
   === SESONG/INDEX.HTML ===
   ============================================ */

/* Sesong hero subtitle (margin-bottom 2.5rem) */
.lib-hero-sub {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.85;
}

/* "Vi jobber med sesonginnhold" paragraph */
.sesong-coming-soon {
  text-align: center;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 1rem 0 2.5rem;
  line-height: 1.85;
}

/* Placeholder cards — not clickable */
.lib-card-placeholder {
  cursor: default;
}

/* === TYPOGRAPHY – FONT FAMILIES === */

/* Editorial pages (bibliotek, artikler, anbefalinger product pages): Spectral */
body.page-ed h1,
body.page-ed h2,
body.page-ed h3,
body.page-ed .article-title,
body.page-ed .bib-title h1,
body.page-ed .article-body,
body.page-ed .article-body h2,
body.page-ed .article-body h3 {
  font-family: var(--serif-editorial);
  font-weight: 300;
}

body.page-ed .article-body p {
  font-family: var(--serif-editorial);
  font-weight: 300;
  line-height: 1.9;
}

/* === SCROLL REVEAL === */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === REDUSERT BEVEGELSE === */

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn::before {
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}
