/* Selvhostede skrifttyper (variable fonte, latin subset) — ingen kald til Google Fonts */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('/fonts/inter-var.woff2') format('woff2');
}

/* Tokens.
   z-stige: header 50 < dropdown 60 < skip 80 < cookiebanner 100 < aldersgate 200 */
:root {
  --bg: #faf9f5;
  --bg-soft: #f0ede5;
  --ink: #1a1f1a;
  --ink-soft: #2a302a;
  --muted: #6b6f6b;
  --accent: #2d4a2b;
  --line: rgba(0,0,0,0.08);
  --max: 1280px;
  --radius: 0;
  --gutter: clamp(16px, 4vw, 32px);
  --section-pad: clamp(56px, 10vw, 112px);
  --header-h: 60px;
  --z-header: 50;
  --z-dropdown: 60;
  --z-skip: 80;
  --z-banner: 100;
  --z-gate: 200;
}
@media (min-width: 900px) {
  :root { --header-h: 78px; }
}

/* Base */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; overflow-x: clip; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

body {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1.15;
  color: var(--ink);
}

p { color: var(--ink-soft); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container.narrow { max-width: 640px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  top: 8px; left: 8px;
  z-index: var(--z-skip);
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  transform: translateY(-200%);
  transition: transform 0.15s ease;
}
.skip-link:focus-visible { transform: none; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky; top: 0; z-index: var(--z-header);
}
@supports (backdrop-filter: blur(8px)) {
  @media (min-width: 900px) {
    .site-header {
      background: rgba(250, 249, 245, 0.92);
      backdrop-filter: saturate(120%) blur(8px);
    }
  }
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-h);
  padding: 0 var(--gutter);
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 1rem + 1.6vw, 1.75rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  justify-self: start;
}
.primary-nav {
  display: flex;
  gap: 36px;
  font-size: 0.95rem;
  justify-self: center;
}
.primary-nav a {
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}
.primary-nav a:hover,
.primary-nav a.active { border-bottom-color: currentColor; }

.nav-item.has-dropdown { position: relative; }
.nav-drop-btn {
  background: none;
  border: none;
  padding: 6px 0;
  font: inherit;
  color: inherit;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}
.nav-drop-btn:hover,
.nav-drop-btn.active { border-bottom-color: currentColor; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  min-width: 180px;
  padding: 8px 0;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  z-index: var(--z-dropdown);
}
.dropdown a {
  display: block;
  padding: 12px 22px;
  font-size: 0.92rem;
}
.dropdown a:hover { background: var(--bg-soft); }
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown,
.nav-drop-btn[aria-expanded="true"] + .dropdown { display: block; }
.nav-mobile-only { display: none; }

.header-actions { display: flex; gap: 4px; justify-self: end; }
.icon-btn {
  background: none; border: none;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  border-radius: 50%;
  transition: background 0.15s ease;
}
.icon-btn:hover { background: rgba(0,0,0,0.05); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: '';
  display: block;
  width: 20px; height: 1.5px;
  background: currentColor;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { transition: transform 0.15s ease, top 0.15s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }
@keyframes navIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 899px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .nav-toggle { display: inline-flex; }
  .brand { justify-self: center; }
  .has-dropdown { display: none; }
  .nav-mobile-only { display: flex; }
  /* No-JS: nav bliver i flowet og ombrydes under bjælken */
  .primary-nav {
    grid-column: 1 / -1;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 20px;
    padding-bottom: 8px;
  }
  /* Med JS: sammenklappet fuldbredde-panel under headeren.
     position: fixed (ikke absolute) — WebKit opløser absolut positionerede
     grid-børn mod deres grid-areal, hvilket gav en smal centreret strimmel. */
  .js .primary-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    width: 100%;
    justify-self: auto;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 4px var(--gutter) 12px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
  }
  .js .primary-nav.open { display: flex; animation: navIn 0.18s ease; }
  .primary-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }
  .primary-nav a:hover,
  .primary-nav a.active { border-bottom-color: var(--line); color: var(--accent); }
}

/* Hero */
.hero {
  position: relative;
  height: min(86vh, 760px);
  height: min(86svh, 760px);
  min-height: min(520px, 100vh);
  min-height: min(520px, 100svh);
  overflow: hidden;
}
.hero-image {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  background-color: #ece9e2;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,20,16,0.38) 0%, rgba(15,20,16,0.24) 45%, rgba(15,20,16,0.55) 100%);
}
.hero-content {
  position: relative;
  height: 100%;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 24px;
}
.hero-content .eyebrow { color: rgba(255,255,255,0.9); }
.hero-content h1 {
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  max-width: 20ch;
  margin-bottom: 32px;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
@media (min-width: 720px) {
  .hero-content h1 span { display: block; }
}
.hero-lede {
  max-width: 48ch;
  color: #fff;
  font-size: clamp(1rem, 0.9rem + 0.8vw, 1.1rem);
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

/* Buttons & links */
.btn {
  display: inline-block;
  padding: 14px 36px;
  min-height: 44px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-light:hover { background: var(--ink); color: #fff; }
.btn-dark {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 14px 30px;
  min-height: 44px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}
.btn-dark:hover { background: #000; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px;
  min-height: 44px;
  font-size: 0.95rem;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: gap 0.2s ease;
}
.link-arrow:hover { gap: 14px; }

/* Band */
.band {
  background: #0f1410;
  color: #d8d8d2;
  padding: clamp(48px, 8vw, 72px) 24px;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  font-style: italic;
  letter-spacing: 0.01em;
}

/* Sections */
section.collections,
section.featured,
section.story { padding: var(--section-pad) 0; }

.section-head {
  margin-bottom: clamp(32px, 6vw, 56px);
  max-width: 640px;
}
.section-head h1,
.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin-bottom: 14px;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* Grids */
.grid { display: grid; gap: 32px; }
.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 380px));
  justify-content: center;
}
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 28px; }
@media (max-width: 639px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
}

/* Cards */
.card { display: block; }
.card-image {
  aspect-ratio: 4 / 5;
  background-color: #ece9e2;
  overflow: hidden;
}
.card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.card:hover .card-image img { transform: scale(1.03); }
.card h3 {
  margin-top: 22px;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 500;
  display: flex; justify-content: space-between; align-items: baseline;
}
.card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Story split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 899px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
}
.split-image {
  aspect-ratio: 4 / 5;
  background-color: #ece9e2;
  overflow: hidden;
}
.split-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.split-text h2 { font-size: clamp(2rem, 3.6vw, 2.6rem); margin-bottom: 20px; }
.split-text p { font-size: 1.05rem; }

/* Products */
.product-link { display: block; }
.product-media {
  aspect-ratio: 1 / 1;
  background-color: #ece9e2;
  overflow: hidden;
  margin-bottom: 16px;
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-link:hover img,
.product-link:focus-visible img { transform: scale(1.03); }
.product h3 { font-size: 1.2rem; font-weight: 500; margin-bottom: 2px; }
.product .meta { color: var(--muted); font-size: 0.85rem; margin-bottom: 6px; }
.product .price { font-size: 0.95rem; color: var(--ink); }

/* Newsletter */
.newsletter {
  background: var(--bg-soft);
  padding: var(--section-pad) 24px;
  text-align: center;
}
.newsletter h2 { font-size: clamp(2rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.newsletter > .container > p { color: var(--muted); margin-bottom: 32px; }
.newsletter .notice { max-width: 460px; margin: 0 auto 24px; text-align: left; }
.subscribe {
  display: flex;
  max-width: 460px;
  margin: 0 auto;
  border-bottom: 1px solid var(--ink);
}
.subscribe input {
  flex: 1;
  min-width: 0;
  padding: 14px 4px;
  border: none;
  background: transparent;
  font: inherit;
  color: var(--ink);
}
.subscribe input::placeholder { color: var(--muted); }
.subscribe button {
  background: none; border: none;
  min-width: 44px; min-height: 44px;
  padding: 12px 8px;
  font-size: 1.25rem;
  color: var(--ink);
}
.newsletter .small { margin-top: 16px; }
.newsletter .small a { text-decoration: underline; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  font-size: 0.9rem;
  color: var(--muted);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 719px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.brand-small {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.25rem, 3vw, 1.4rem);
  color: var(--ink);
  margin-bottom: 4px;
}
.footer-links {
  display: flex; flex-direction: column;
}
.footer-links a {
  color: var(--muted);
  padding: 10px 0;
}
.footer-links a:hover { color: var(--ink); }

/* Product detail page */
.product-detail { padding: clamp(48px, 8vw, 80px) 0 clamp(64px, 10vw, 120px); }
.product-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 899px) {
  .product-detail-inner { grid-template-columns: 1fr; gap: 32px; }
}
.product-detail-image {
  aspect-ratio: 4 / 5;
  background-color: #ece9e2;
  overflow: hidden;
}
.product-detail-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.product-detail-body { padding-top: 24px; }
.product-detail-body .eyebrow a {
  color: inherit;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.product-detail-body h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 10px;
}
.product-detail-meta {
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 0.95rem;
}
.product-detail-price {
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  margin-bottom: 28px;
}
.product-detail-description {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 52ch;
}
.product-detail-id {
  margin-top: 40px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--muted);
}

/* Age gate */
.age-gate {
  position: fixed; inset: 0;
  z-index: var(--z-gate);
  background: rgba(15, 20, 16, 0.97);
  display: flex;
  padding: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.age-gate-card {
  background: var(--bg);
  width: 100%; max-width: 480px;
  margin: auto;
  padding: 56px 48px;
  text-align: center;
  animation: modalIn 0.25s cubic-bezier(.2, .7, .2, 1);
}
@keyframes modalIn {
  from { transform: translateY(16px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.age-gate-brand {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-size: clamp(1.3rem, 4vw, 1.5rem);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.age-gate-card h2 { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: 10px; }
.age-gate-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin: 28px 0 20px;
}
.age-gate-actions .btn-light { border: 1px solid var(--line); }
.age-gate-legal { line-height: 1.5; }
body.age-locked { overflow: hidden; }
@media (max-width: 639px) {
  .age-gate-actions { flex-direction: column; }
  .age-gate-actions .btn { width: 100%; }
}
@media (max-width: 479px) {
  .age-gate-card { padding: 40px 24px; }
}

/* Age info page */
.age-info { padding: clamp(64px, 10vw, 120px) var(--gutter) clamp(80px, 12vw, 140px); text-align: center; }
.age-info h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.age-info p { margin-bottom: 12px; }

/* Legal pages */
.legal { padding: clamp(48px, 8vw, 80px) var(--gutter) clamp(64px, 10vw, 120px); }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 8px; }
.legal-updated { margin-bottom: 40px; }
.legal h2 { font-size: clamp(1.25rem, 3vw, 1.5rem); margin: 40px 0 12px; }
.legal p, .legal li { margin-bottom: 12px; overflow-wrap: anywhere; }
.legal ul, .legal ol { padding-left: 22px; margin-bottom: 12px; }
.legal li { margin-bottom: 6px; }
.legal a { text-decoration: underline; overflow-wrap: anywhere; }
.legal table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 16px 0 24px;
}
.legal th, .legal td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.legal th {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal .table-wrap { overflow-x: auto; }

/* Cookie consent (banner + indstillinger på cookiepolitik-siden).
   Banneret ligger sidst i body og er sticky i bunden: det reserverer sin egen
   plads i flowet, så det aldrig permanent dækker indhold eller CTA'er. */
.cookie-banner {
  position: sticky;
  bottom: 0;
  z-index: var(--z-banner);
  max-height: 70vh;
  max-height: 70svh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.08);
  padding: 20px var(--gutter);
}
.cookie-banner-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  align-items: center;
}
.cookie-banner-text { flex: 1 1 380px; }
.cookie-banner-text p { margin-bottom: 2px; }
.cookie-banner-text a { text-decoration: underline; }
.cookie-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
}
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-actions .btn { min-width: 140px; text-align: center; }
.cookie-custom summary {
  cursor: pointer;
  text-decoration: underline;
  font-size: 0.9rem;
  color: var(--ink-soft);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.cookie-banner .cookie-custom[open] { flex-basis: 100%; order: 5; }
.cookie-purposes { padding: 16px 0 4px; max-width: 640px; }
.cookie-purpose {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.cookie-purpose input {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 4px;
  accent-color: var(--accent);
}
.cookie-purpose input:disabled { opacity: 0.55; }
.cookie-purpose label { font-weight: 500; }
.cookie-purpose p { margin: 2px 0 0; }
.cookie-save { margin-top: 4px; }
.cookie-settings {
  border: 1px solid var(--line);
  padding: 24px 28px;
  margin: 32px 0;
}
.cookie-settings .cookie-form { flex-direction: column; align-items: flex-start; }
.cookie-settings .cookie-custom summary { display: none; } /* altid udfoldet inline */
@media (max-width: 639px) {
  .cookie-banner { padding: 16px var(--gutter); }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1 1 auto; }
}

/* Cart */
a.icon-btn {
  color: inherit;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cart-badge {
  position: absolute;
  top: 0; right: 0;
  background: var(--accent);
  color: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  padding: 3px 5px;
  min-width: 18px;
  text-align: center;
}
.cart-page { padding: clamp(48px, 8vw, 80px) var(--gutter) clamp(64px, 10vw, 120px); }
.cart-empty { margin-bottom: 20px; }
.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
.cart-table th {
  text-align: left;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
}
.cart-table td {
  padding: 16px 8px;
  border-bottom: 1px solid var(--line);
}
.cart-table td:nth-child(2), .cart-table td:nth-child(4),
.cart-table th:nth-child(2), .cart-table th:nth-child(4) { text-align: right; }
.cart-qty input {
  width: 72px;
  min-height: 44px;
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  text-align: center;
}
.cart-qty input:focus { border-color: var(--accent); }
.cart-remove { min-height: 44px; padding: 10px 18px; font-size: 0.8rem; }
.cart-summary {
  margin-top: 32px;
  margin-left: auto;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cart-summary p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0;
}
.cart-hint { justify-content: flex-end; }
.cart-total {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  border-top: 1px solid var(--ink);
  padding-top: 12px;
  margin-top: 8px;
}
.cart-summary .btn-dark { margin-top: 16px; text-align: center; width: 100%; }
@media (max-width: 719px) {
  .cart-table thead { display: none; }
  .cart-table tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }
  .cart-table td { border: none; padding: 0; }
  .cart-table td:first-child { grid-column: 1 / -1; font-size: 1.05rem; }
  .cart-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .cart-table td:nth-child(2) { text-align: left; }
  .cart-table td:nth-child(4) { text-align: right; align-self: end; }
  .cart-table td:last-child { grid-column: 1 / -1; }
  .cart-table .cart-remove { width: 100%; }
}

/* Checkout */
.checkout-page { padding: clamp(48px, 8vw, 80px) var(--gutter) clamp(64px, 10vw, 120px); }
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.checkout-details {
  border: 1px solid var(--line);
  padding: 20px 24px;
}
.checkout-details summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 500;
  min-height: 44px;
  align-items: center;
}
.checkout-details[open] summary { margin-bottom: 12px; }
@media (min-width: 720px) {
  .checkout-grid form { grid-column: 1; grid-row: 1; }
  .checkout-details { grid-column: 2; grid-row: 1; border: none; padding: 0; }
  .checkout-details summary { display: none; } /* open-attribut → altid åben på desktop */
}
@media (max-width: 719px) { .checkout-grid { grid-template-columns: 1fr; gap: 32px; } }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 6px;
}
.form-field input {
  width: 100%;
  padding: 12px;
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}
.form-field input:focus { border-color: var(--accent); }
.form-field input:focus-visible { outline-offset: 0; }
.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 20px 0;
  font-size: 0.9rem;
}
.form-check input {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--accent);
}
.form-check a { text-decoration: underline; }
.checkout-summary p { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 8px; }
.checkout-summary .cart-total { margin-bottom: 16px; }
.checkout-login-hint { margin-bottom: 20px; }
.checkout-login-hint a { text-decoration: underline; }
.notice, .notice-error {
  border: 1px solid var(--line);
  padding: 20px 24px;
  margin-bottom: 28px;
}
.notice-error { border-color: #a4442f; color: #a4442f; }
.notice-error ul { margin: 8px 0 0 18px; }
@media (max-width: 639px) {
  .checkout-grid .btn-dark,
  .konto-page .btn { width: 100%; text-align: center; }
}

/* Konto */
.account-link.is-logged-in::after {
  content: '';
  position: absolute;
  top: 4px; right: 4px;
  width: 6px; height: 6px;
  background: var(--accent);
}
.konto-page { padding: clamp(48px, 8vw, 80px) var(--gutter) clamp(64px, 10vw, 120px); }
.konto-nav {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.konto-nav a {
  padding: 10px 0 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  color: var(--muted);
}
.konto-nav a:hover { color: var(--ink); }
.konto-nav a.active { color: var(--ink); border-bottom-color: var(--accent); }
.order-lines { margin-top: 10px; }
.order-lines summary {
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  text-decoration: underline;
  color: var(--ink-soft);
}
.order-lines[open] summary { margin-bottom: 8px; }
.order-lines p { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 6px; }
.order-lines .order-address { display: block; margin-top: 12px; }
.konto-page h3 { margin: 40px 0 16px; font-size: clamp(1.15rem, 3vw, 1.35rem); }
.konto-links { margin-top: 24px; font-size: 0.9rem; }
.konto-links a { text-decoration: underline; }
.konto-logout { margin-top: 40px; }
.order-item {
  border: 1px solid var(--line);
  padding: 16px 20px;
  margin-bottom: 12px;
}
.order-item-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.order-state {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.order-item .order-total { text-align: right; margin: 0; }
.konto-delete {
  margin-top: 56px;
  border: 1px solid #a4442f;
  padding: 24px 28px;
}
.konto-delete h3 { margin-top: 0; color: #a4442f; }
.konto-delete a { text-decoration: underline; }
.btn-danger {
  background: #a4442f;
  color: #fff;
  border: none;
  cursor: pointer;
}
.btn-danger:hover { background: #7d3223; }

/* Landscape-kompakt (lave viewports) */
@media (max-height: 520px) {
  .hero { min-height: 100vh; min-height: 100svh; height: auto; padding: 96px 0 48px; }
  .age-gate-card { padding: 24px; }
  .age-gate-card h2 { font-size: 1.4rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* Print — kvittering og juridiske sider printer rent */
@media print {
  .site-header, .site-footer, .cookie-banner, .skip-link, .nav-toggle { display: none !important; }
  body { background: #fff; }
  .hero, .band, .newsletter { display: none; }
  a { text-decoration: none; }
}

/* Bekræftelseskode (6 cifre) */
.code-input {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.4em;
  text-align: center;
  padding: 14px 12px;
}
.konto-resend {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* Søgeside */
.soeg-page { padding: clamp(48px, 8vw, 80px) var(--gutter) clamp(64px, 10vw, 120px); }
.soeg-form { margin-bottom: 32px; }
.soeg-form .form-field { margin-bottom: 12px; }
.soeg-antal { margin-bottom: 24px; }
.soeg-page .grid { margin-top: 8px; }

/* Google-login */
.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: #fff;
  color: #1f1f1f;
  border: 1px solid #747775;
  font-family: 'Inter', system-ui, sans-serif;
  text-transform: none;
  letter-spacing: 0;
}
.btn-google:hover { background: #f7f8f8; }
.btn-google .google-g { flex: none; }

/* "eller"-skillelinje mellem Google og adgangskode */
.login-eller {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--muted);
  font-size: 0.85rem;
}
.login-eller::before,
.login-eller::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* Beskedfelt (kontaktformular) */
.form-field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  line-height: 1.6;
  resize: vertical;
  min-height: 140px;
}
.form-field textarea:focus { outline: none; border-color: var(--accent); }

/* Honningkrukke — skal være usynlig for mennesker, men ikke display:none,
   da nogle robotter springer skjulte felter over. */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Kontakt- og om-siderne */
.kontakt-side, .om-side { padding: clamp(48px, 8vw, 80px) var(--gutter) clamp(64px, 10vw, 120px); }
.kontakt-info {
  border: 1px solid var(--line);
  padding: 24px 28px;
  margin: 8px 0 40px;
}
.kontakt-info h2 { margin-bottom: 12px; font-size: 1.2rem; }
.kontakt-info p { margin-bottom: 12px; }
.kontakt-info a { text-decoration: underline; }
.kontakt-side h2 { margin: 32px 0 16px; font-size: clamp(1.15rem, 3vw, 1.35rem); }
.kontakt-form { margin-top: 8px; }
.om-side h2 { margin: 36px 0 12px; font-size: clamp(1.2rem, 3vw, 1.5rem); }
.om-side p { margin-bottom: 14px; }
.om-links { margin-top: 36px; }
.om-links .link-arrow { margin-top: 8px; }
