/* ─────────────────────────────────────────────────────────────────────────
   Nesttun Fisk & Vilt — eksklusiv svart/hvit profil.
   Display: Cormorant Garamond (serif). Brødtekst: Inter.
   Palett: nær-svart blekk, varm offwhite, én tynn linje-grå. Ingen farge.
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --nf-ink:      #0a0a0a;   /* near-black — tekst + mørke flater */
  --nf-ink-2:    #1c1c1c;   /* litt løftet svart */
  --nf-paper:    #fbfbf9;   /* varm offwhite — hovedbakgrunn */
  --nf-paper-2:  #f2f1ec;   /* svakt nedtonet papir (seksjoner) */
  --nf-line:     #d9d7cf;   /* tynne hårlinjer */
  --nf-line-dk:  #2e2e2e;   /* linjer på mørk flate */
  --nf-mut:      #6e6e6a;   /* dempet tekst */
  --nf-mut-dk:   #9a9a94;   /* dempet tekst på mørk flate */
  --nf-gold:     #0a0a0a;   /* "aksent" = bare svart (eksklusivt, monokromt) */
  --nf-maxw:     1200px;
  --nf-pad:      clamp(20px, 5vw, 64px);
  --nf-serif:    "Cormorant Garamond", "Times New Roman", serif;
  --nf-sans:     "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--nf-paper);
  color: var(--nf-ink);
  font-family: var(--nf-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, .nf-serif {
  font-family: var(--nf-serif);
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1.08;
  margin: 0;
}
.nf-kicker {
  font-family: var(--nf-sans);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--nf-mut);
}
.nf-kicker.on-dark { color: var(--nf-mut-dk); }

.nf-wrap { max-width: var(--nf-maxw); margin: 0 auto; padding-left: var(--nf-pad); padding-right: var(--nf-pad); }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.nf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border: 1px solid var(--nf-ink); background: var(--nf-ink); color: var(--nf-paper);
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  border-radius: 0; transition: background .25s ease, color .25s ease, opacity .2s ease;
}
.nf-btn:hover { background: transparent; color: var(--nf-ink); }
.nf-btn[disabled] { opacity: .4; cursor: not-allowed; }
.nf-btn--ghost { background: transparent; color: var(--nf-ink); }
.nf-btn--ghost:hover { background: var(--nf-ink); color: var(--nf-paper); }
.nf-btn--on-dark { border-color: var(--nf-paper); background: var(--nf-paper); color: var(--nf-ink); }
.nf-btn--on-dark:hover { background: transparent; color: var(--nf-paper); }
.nf-btn--ghost.nf-btn--on-dark { background: transparent; color: var(--nf-paper); border-color: var(--nf-paper); }
.nf-btn--ghost.nf-btn--on-dark:hover { background: var(--nf-paper); color: var(--nf-ink); }
.nf-btn--sm { padding: 10px 20px; font-size: 11px; }
.nf-btn--full { width: 100%; }

.nf-link-underline { position: relative; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; padding-bottom: 3px; border-bottom: 1px solid currentColor; }

/* ── Header ──────────────────────────────────────────────────────────── */
.nf-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,0.96);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--nf-line-dk);
  color: var(--nf-paper);
}
.nf-header__bar { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.nf-header__logo img { height: 46px; width: auto; }
.nf-nav { display: flex; align-items: center; gap: 34px; }
.nf-nav a { font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--nf-mut-dk); transition: color .2s ease; }
.nf-nav a:hover, .nf-nav a.is-active { color: var(--nf-paper); }
.nf-header__right { display: flex; align-items: center; gap: 22px; }
.nf-cart-btn { position: relative; display: inline-flex; align-items: center; gap: 9px; color: var(--nf-paper); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; background: none; border: none; }
.nf-cart-badge { min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--nf-paper); color: var(--nf-ink); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-family: var(--nf-sans); letter-spacing: 0; }
.nf-burger { display: none; background: none; border: none; color: var(--nf-paper); padding: 8px; }

/* mobil-meny */
.nf-mobnav { position: fixed; inset: 78px 0 0 0; z-index: 99; background: var(--nf-ink); display: flex; flex-direction: column; padding: 24px var(--nf-pad); gap: 4px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.nf-mobnav.is-open { opacity: 1; transform: none; pointer-events: auto; }
.nf-mobnav a { color: var(--nf-paper); font-family: var(--nf-serif); font-size: 30px; padding: 12px 0; border-bottom: 1px solid var(--nf-line-dk); }

/* ── Hero ────────────────────────────────────────────────────────────── */
.nf-hero { position: relative; background: var(--nf-ink); color: var(--nf-paper); overflow: hidden; }
.nf-hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; min-height: min(88vh, 760px); align-items: center; }
.nf-hero__text { padding: 72px var(--nf-pad); }
.nf-hero__text h1 { font-size: clamp(44px, 6.5vw, 92px); margin: 18px 0 24px; }
.nf-hero__text p { color: var(--nf-mut-dk); font-size: 18px; max-width: 46ch; margin: 0 0 38px; }
.nf-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.nf-hero__media { position: relative; height: 100%; min-height: 360px; cursor: pointer; }
.nf-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.nf-hero__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--nf-ink) 0%, transparent 28%); }
.nf-hero__pill { position: absolute; left: 24px; bottom: 24px; z-index: 2; display: flex; flex-direction: column; gap: 2px; background: rgba(10,10,10,0.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: var(--nf-paper); padding: 12px 18px; border: 1px solid rgba(255,255,255,0.14); }
.nf-hero__pill > span:first-child { font-family: var(--nf-serif); font-size: 20px; line-height: 1.1; }
.nf-hero__pill-price { font-size: 13px; color: var(--nf-mut-dk); }
.nf-hero__pill-price span { opacity: .8; }

/* ── Sections ────────────────────────────────────────────────────────── */
.nf-section { padding: clamp(56px, 9vw, 110px) 0; }
.nf-section--paper2 { background: var(--nf-paper-2); }
.nf-section--dark { background: var(--nf-ink); color: var(--nf-paper); }
.nf-sec-head { text-align: center; max-width: 640px; margin: 0 auto clamp(34px, 5vw, 60px); }
.nf-sec-head h2 { font-size: clamp(32px, 4.6vw, 56px); margin: 14px 0 0; }
.nf-sec-head p { color: var(--nf-mut); margin: 16px 0 0; font-size: 17px; }
.nf-rule { width: 44px; height: 1px; background: currentColor; margin: 0 auto; opacity: .5; }

/* ── Product grid + cards ────────────────────────────────────────────── */
.nf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.nf-card { background: var(--nf-paper); border: 1px solid var(--nf-line); display: flex; flex-direction: column; cursor: pointer; transition: transform .3s ease, box-shadow .3s ease; position: relative; }
.nf-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(10,10,10,0.09); }
.nf-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--nf-paper-2); }
.nf-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.nf-card:hover .nf-card__media img { transform: scale(1.04); }
.nf-card__tag { position: absolute; top: 12px; left: 12px; background: var(--nf-ink); color: var(--nf-paper); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 10px; }
.nf-card__ph { width: 100%; height: 100%; background: var(--nf-ink); display: flex; align-items: center; justify-content: center; }
.nf-card__ph img { width: 48%; max-width: 130px; opacity: 0.45; filter: none; }
.nf-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.nf-card__cat { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--nf-mut); }
.nf-card__name { font-family: var(--nf-serif); font-size: 24px; line-height: 1.1; }
.nf-card__price { margin-top: auto; padding-top: 14px; font-size: 15px; font-weight: 600; }
.nf-card__price span { color: var(--nf-mut); font-weight: 400; font-size: 13px; }

/* ── Filter chips ────────────────────────────────────────────────────── */
.nf-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.nf-chip { padding: 9px 18px; border: 1px solid var(--nf-line); background: transparent; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nf-mut); transition: all .2s ease; }
.nf-chip:hover { border-color: var(--nf-ink); color: var(--nf-ink); }
.nf-chip.is-active { background: var(--nf-ink); border-color: var(--nf-ink); color: var(--nf-paper); }

/* ── PDP ─────────────────────────────────────────────────────────────── */
.nf-pdp { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.nf-pdp__media { aspect-ratio: 1/1; background: var(--nf-paper-2); overflow: hidden; }
.nf-pdp__media img { width: 100%; height: 100%; object-fit: cover; }
.nf-pdp__name { font-size: clamp(36px, 4.6vw, 60px); margin: 10px 0 16px; }
.nf-pdp__price { font-size: 24px; font-weight: 600; margin: 0 0 20px; }
.nf-pdp__price span { font-size: 15px; color: var(--nf-mut); font-weight: 400; }
.nf-pdp__desc { font-size: 17px; color: var(--nf-ink-2); margin: 0 0 28px; max-width: 50ch; }
.nf-opt { margin-bottom: 22px; }
.nf-opt__label { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nf-mut); margin-bottom: 10px; }
.nf-opt__row { display: flex; flex-wrap: wrap; gap: 8px; }
.nf-opt__btn { padding: 9px 16px; border: 1px solid var(--nf-line); background: transparent; font-size: 13px; transition: all .2s ease; }
.nf-opt__btn:hover { border-color: var(--nf-ink); }
.nf-opt__btn.is-active { background: var(--nf-ink); color: var(--nf-paper); border-color: var(--nf-ink); }
.nf-spec { border-top: 1px solid var(--nf-line); margin-top: 30px; }
.nf-spec__row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--nf-line); font-size: 14px; }
.nf-spec__row dt { color: var(--nf-mut); letter-spacing: 0.02em; }
.nf-spec__row dd { margin: 0; text-align: right; font-weight: 500; }

/* qty stepper */
.nf-qty { display: inline-flex; align-items: center; border: 1px solid var(--nf-ink); }
.nf-qty button { width: 42px; height: 44px; background: transparent; border: none; font-size: 18px; }
.nf-qty span { min-width: 44px; text-align: center; font-weight: 600; }

/* ── Cart / bestilling ───────────────────────────────────────────────── */
.nf-cart-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.nf-line { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--nf-line); }
.nf-line__img { width: 92px; height: 92px; flex-shrink: 0; object-fit: cover; background: var(--nf-paper-2); }
.nf-line__name { font-family: var(--nf-serif); font-size: 22px; line-height: 1.1; }
.nf-line__opts { font-size: 13px; color: var(--nf-mut); margin-top: 3px; }
.nf-line__rm { background: none; border: none; color: var(--nf-mut); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 0; }
.nf-line__rm:hover { color: var(--nf-ink); }
.nf-summary { background: var(--nf-paper-2); padding: 30px; border: 1px solid var(--nf-line); position: sticky; top: 100px; }
.nf-summary__row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px; }
.nf-summary__total { display: flex; justify-content: space-between; padding-top: 16px; margin-top: 10px; border-top: 1px solid var(--nf-line); font-size: 20px; font-weight: 600; font-family: var(--nf-serif); }
.nf-field { margin-bottom: 16px; }
.nf-field label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nf-mut); margin-bottom: 7px; }
.nf-field input, .nf-field textarea, .nf-field select {
  width: 100%; padding: 13px 14px; border: 1px solid var(--nf-line); background: var(--nf-paper);
  font-family: var(--nf-sans); font-size: 15px; color: var(--nf-ink); border-radius: 0;
}
.nf-field input:focus, .nf-field textarea:focus, .nf-field select:focus { outline: none; border-color: var(--nf-ink); }
.nf-field textarea { resize: vertical; min-height: 88px; }
.nf-note { font-size: 13px; color: var(--nf-mut); line-height: 1.55; }

/* ── Value props / info strip ────────────────────────────────────────── */
.nf-props { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--nf-line-dk); border: 1px solid var(--nf-line-dk); }
.nf-prop { background: var(--nf-ink); padding: 40px 32px; text-align: center; }
.nf-prop h3 { font-size: 26px; margin-bottom: 10px; }
.nf-prop p { color: var(--nf-mut-dk); font-size: 14px; margin: 0; }

/* ── Featured split ──────────────────────────────────────────────────── */
.nf-split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.nf-split__media { min-height: 440px; background: var(--nf-paper-2); }
.nf-split__media img { width: 100%; height: 100%; object-fit: cover; }
.nf-split__text { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vw, 86px); }
.nf-split__text h2 { font-size: clamp(30px, 4vw, 50px); margin: 14px 0 18px; }
.nf-split__text p { color: var(--nf-mut); font-size: 17px; margin: 0 0 30px; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.nf-footer { background: var(--nf-ink); color: var(--nf-mut-dk); padding: 70px 0 40px; }
.nf-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--nf-line-dk); }
.nf-footer__logo img { height: 64px; width: auto; margin-bottom: 20px; }
.nf-footer__logo p { max-width: 34ch; font-size: 14px; line-height: 1.6; }
.nf-footer h4 { font-family: var(--nf-sans); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--nf-paper); margin: 0 0 16px; }
.nf-footer a, .nf-footer p { font-size: 14px; line-height: 1.9; }
.nf-footer a:hover { color: var(--nf-paper); }
.nf-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; font-size: 12px; letter-spacing: 0.04em; }

/* ── Page intro (om/kontakt) ─────────────────────────────────────────── */
.nf-page-hero { background: var(--nf-ink); color: var(--nf-paper); padding: clamp(60px, 9vw, 120px) 0 clamp(48px, 7vw, 90px); text-align: center; }
.nf-page-hero h1 { font-size: clamp(40px, 6vw, 78px); margin: 16px 0 0; }
.nf-prose { max-width: 680px; margin: 0 auto; }
.nf-prose p { font-size: 18px; color: var(--nf-ink-2); margin: 0 0 22px; }
.nf-prose h2 { font-size: 32px; margin: 40px 0 14px; }

/* ── Toast ───────────────────────────────────────────────────────────── */
.nf-toast { position: fixed; top: 94px; right: 24px; z-index: 200; background: var(--nf-ink); color: var(--nf-paper); padding: 14px 22px; font-size: 13px; letter-spacing: 0.06em; display: flex; align-items: center; gap: 12px; animation: nfToast .3s ease; max-width: calc(100vw - 48px); }
@keyframes nfToast { from { transform: translateY(-12px); opacity: 0; } }

/* ── Empty state ─────────────────────────────────────────────────────── */
.nf-empty { text-align: center; padding: 80px 0; }
.nf-empty h2 { font-size: 34px; margin-bottom: 12px; }
.nf-empty p { color: var(--nf-mut); margin: 0 0 26px; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nf-hero__inner { grid-template-columns: 1fr; }
  .nf-hero__media { display: none; }
  .nf-pdp { grid-template-columns: 1fr; }
  .nf-cart-layout { grid-template-columns: 1fr; }
  .nf-split { grid-template-columns: 1fr; }
  .nf-split__media { min-height: 280px; }
  .nf-props { grid-template-columns: 1fr; }
  .nf-footer__top { grid-template-columns: 1fr; gap: 32px; }
  .nf-summary { position: static; }
}
@media (max-width: 720px) {
  .nf-nav { display: none; }
  .nf-burger { display: inline-flex; }
  .nf-header__bar { height: 64px; }
  .nf-mobnav { inset: 64px 0 0 0; }
  .nf-cart-btn span.nf-cart-word { display: none; }
}
@media (min-width: 721px) { .nf-mobnav { display: none; } }
