:root {
  --bg: #f5f1ea;
  --bg-alt: #ebe5d9;
  --ink: #1a1814;
  --ink-soft: #4a463e;
  --accent: #c4623f;
  --accent-deep: #8a3f24;
  --line: #d4ccba;
  --paper: #faf7f1;
  --gold: #b8924a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
.serif { font-family: 'Fraunces', serif; font-weight: 400; }
.italic { font-style: italic; }

a { color: inherit; text-decoration: none; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 241, 234, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  color: inherit;
}
.logo .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  color: var(--ink-soft);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--accent); }
.nav-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  padding: 0.5rem;
  position: relative;
  transition: transform 0.2s;
  display: inline-flex;
}
.icon-btn:hover { transform: translateY(-2px); }
.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--accent);
  color: var(--paper);
  font-size: 0.65rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* Hero */
.hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}
.hero::before {
  content: 'N°01';
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--ink-soft);
  opacity: 0.4;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}
.hero-content .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-content .eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--accent);
}
.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.95;
  font-weight: 300;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.hero p {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.btn {
  padding: 1rem 2rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-radius: 100px;
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(196, 98, 63, 0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 100px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s;
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-block { width: 100%; justify-content: center; }
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  border-radius: 100px;
  background: var(--ink);
  color: var(--paper);
  display: inline-block;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-sm:hover { background: var(--accent); color: var(--paper); }

/* Hero visual */
.hero-visual {
  position: relative;
  height: 520px;
}
.floating-card {
  position: absolute;
  background: var(--paper);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 30px 60px rgba(26, 24, 20, 0.12);
  transition: transform 0.4s ease;
}
.floating-card:hover { transform: translateY(-8px) rotate(0deg) !important; }
.card-1 {
  width: 240px;
  height: 300px;
  top: 0;
  left: 10%;
  transform: rotate(-6deg);
  background: linear-gradient(135deg, #2a2520 0%, #1a1814 100%);
  color: var(--paper);
  z-index: 2;
}
.card-2 {
  width: 220px;
  height: 280px;
  top: 60px;
  right: 5%;
  transform: rotate(8deg);
  background: linear-gradient(135deg, #c4623f 0%, #8a3f24 100%);
  color: var(--paper);
  z-index: 1;
}
.card-3 {
  width: 200px;
  height: 250px;
  bottom: 20px;
  left: 30%;
  transform: rotate(-3deg);
  background: var(--bg-alt);
  z-index: 3;
}
.floating-card .tag {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}
.floating-card .title {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  line-height: 1.2;
  margin-top: auto;
}
.floating-card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.preview-art {
  flex: 1;
  margin: 1rem 0;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  opacity: 0.9;
}
.art-1 {
  background: 
    radial-gradient(circle at 30% 30%, #c4623f 0%, transparent 40%),
    radial-gradient(circle at 70% 70%, #b8924a 0%, transparent 50%),
    #2a2520;
}
.art-2 {
  background: 
    repeating-linear-gradient(45deg, rgba(255,255,255,0.1) 0, rgba(255,255,255,0.1) 1px, transparent 1px, transparent 12px),
    linear-gradient(135deg, #c4623f, #8a3f24);
}
.art-3 {
  background: 
    radial-gradient(ellipse at center, #c4623f 0%, transparent 50%),
    #1a1814;
}

/* Features strip */
.features {
  background: var(--ink);
  color: var(--paper);
  padding: 1.5rem 2rem;
  overflow: hidden;
}
.features-track {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  flex-wrap: wrap;
}
.feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.feature svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Section */
section.products-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 2rem;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 2rem;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
}
.section-title em {
  font-style: italic;
  color: var(--accent);
}
.section-subtitle {
  color: var(--ink-soft);
  margin-top: 1rem;
  max-width: 400px;
}

/* Categories */
.categories {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.category {
  padding: 0.6rem 1.25rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 100px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
  color: var(--ink-soft);
  transition: all 0.3s;
}
.category:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.category.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem 2rem;
}
.product {
  cursor: pointer;
  transition: transform 0.4s ease;
  display: block;
  color: inherit;
}
.product.hidden { display: none; }
.product:hover { transform: translateY(-6px); }
.product-image {
  aspect-ratio: 4/5;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.25rem;
  background: var(--bg-alt);
}
.product-image .visual {
  width: 100%;
  height: 100%;
  position: relative;
  display: block;
  transition: transform 0.6s ease;
}
.product:hover .visual { transform: scale(1.04); }

/* Sikre at alle .visual har riktig kontekst og containment */
.visual {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
}

/* Bilde-visning fix */
.visual.product-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.product-image .badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--paper);
  color: var(--ink);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  z-index: 2;
}
.product-image .badge.new { background: var(--accent); color: var(--paper); }
.quick-add {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 0.85rem;
  border-radius: 100px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  z-index: 3;
}
.product:hover .quick-add {
  opacity: 1;
  transform: translateY(0);
}
.quick-add:hover { background: var(--accent); }
.product-info {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}
.product-meta .category-tag {
  font-size: 0.7rem;
  color: var(--ink-soft);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.product-meta h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.3;
}
.product-price {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 500;
  white-space: nowrap;
}
.product-price .old {
  text-decoration: line-through;
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-right: 0.4rem;
  font-weight: 400;
}

/* Visuals for products */
.v1 { background: linear-gradient(135deg, #2a2520, #1a1814); }
.v1::after {
  content: '';
  position: absolute;
  inset: 20%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  filter: blur(20px);
}
.v2 {
  background: 
    repeating-linear-gradient(135deg, transparent 0, transparent 20px, rgba(0,0,0,0.05) 20px, rgba(0,0,0,0.05) 21px),
    linear-gradient(135deg, #d4a574, #c4623f);
}
.v3 {
  background: linear-gradient(180deg, #ebe5d9 0%, #d4ccba 100%);
}
.v3::after {
  content: '';
  position: absolute;
  inset: 30% 25%;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--accent);
}
.v4 {
  background: 
    radial-gradient(ellipse at top, #b8924a 0%, transparent 60%),
    #1a1814;
}
.v5 {
  background: 
    conic-gradient(from 90deg at 50% 50%, #c4623f, #8a3f24, #c4623f, #d4a574, #c4623f);
}
.v6 {
  background: 
    linear-gradient(45deg, transparent 48%, var(--paper) 49%, var(--paper) 51%, transparent 52%) 0 0/30px 30px,
    linear-gradient(-45deg, transparent 48%, var(--paper) 49%, var(--paper) 51%, transparent 52%) 0 0/30px 30px,
    linear-gradient(135deg, #2a2520, #4a463e);
}
.v7 {
  background: 
    repeating-radial-gradient(circle at 50% 50%, transparent 0, transparent 15px, rgba(196,98,63,0.15) 15px, rgba(196,98,63,0.15) 16px),
    var(--bg-alt);
}
.v8 {
  background: linear-gradient(135deg, #faf7f1 0%, #ebe5d9 100%);
}
.v8::after {
  content: 'Aa';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 8rem;
  color: var(--ink);
  font-weight: 300;
}

/* Newsletter */
.newsletter {
  background: var(--ink);
  color: var(--paper);
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.3;
  border-radius: 50%;
}
.newsletter-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.newsletter h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.newsletter h2 em { font-style: italic; color: var(--accent); }
.newsletter p {
  color: rgba(250, 247, 241, 0.7);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}
.newsletter-form {
  display: flex;
  gap: 0.5rem;
  max-width: 480px;
  margin: 0 auto;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 0.4rem;
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.85rem 1.25rem;
  color: var(--paper);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(250, 247, 241, 0.5); }
.newsletter-form button {
  background: var(--accent);
  color: var(--paper);
  border: none;
  padding: 0.85rem 1.75rem;
  border-radius: 100px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.3s;
}
.newsletter-form button:hover { background: var(--accent-deep); }

/* Footer */
footer {
  background: var(--bg-alt);
  padding: 5rem 2rem 2rem;
}
.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p {
  color: var(--ink-soft);
  max-width: 320px;
  line-height: 1.7;
  font-size: 0.95rem;
}
.footer-col h4 {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-col a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Cart drawer */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 24, 20, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 200;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 460px;
  height: 100vh;
  background: var(--paper);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-header {
  padding: 2rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-header h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 500;
}
.close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--ink);
}
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 2rem;
}
.cart-empty {
  text-align: center;
  color: var(--ink-soft);
  padding: 4rem 2rem;
  font-style: italic;
  font-family: 'Fraunces', serif;
}
.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.cart-item-image {
  width: 80px;
  height: 100px;
  border-radius: 6px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--bg-alt);
}
.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cart-item-info .tag {
  font-size: 0.7rem;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.cart-item-info h4 {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.cart-item-bottom {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.cart-item-bottom .price {
  font-family: 'Fraunces', serif;
  font-weight: 500;
}
.qty-control-mini {
  display: inline-flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 100px;
  overflow: hidden;
}
.qty-control-mini button {
  border: none;
  background: transparent;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--ink);
}
.qty-control-mini button:hover { background: var(--bg-alt); }
.qty-control-mini span {
  padding: 0 0.5rem;
  font-size: 0.85rem;
  min-width: 24px;
  text-align: center;
}
.remove-btn {
  background: none;
  border: none;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.75rem;
  text-decoration: underline;
  font-family: inherit;
  text-align: left;
  padding: 0;
}
.remove-btn:hover { color: var(--accent); }
.cart-footer {
  padding: 1.5rem 2rem 2rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  align-items: baseline;
}
.cart-total .label {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.cart-total .amount {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 500;
}
.checkout-btn {
  display: block;
  text-align: center;
  width: 100%;
  padding: 1.1rem;
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.3s;
  margin-bottom: 0.75rem;
  text-decoration: none;
}
.checkout-btn:hover { background: var(--accent); color: var(--paper); }
.secure-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--ink);
  color: var(--paper);
  padding: 1rem 2rem;
  border-radius: 100px;
  z-index: 300;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  font-size: 0.9rem;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast svg { color: var(--accent); }

/* ============================================ */
/* Product detail page */
/* ============================================ */
.product-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 6rem;
}
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 3rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--accent); }
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
}
.product-detail-visual {
  aspect-ratio: 4/5;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: var(--bg-alt);
}
.product-detail-visual .visual {
  width: 100%;
  height: 100%;
  position: relative;
}
.product-detail-visual .badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: var(--paper);
  color: var(--ink);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}
.product-detail-visual .badge.new { background: var(--accent); color: var(--paper); }

.product-detail-info {
  padding-top: 1rem;
}
.product-detail-info .category-tag {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.product-detail-info h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 1rem;
}
.product-detail-info .lead {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.price-block {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
  font-family: 'Fraunces', serif;
}
.price-block .price {
  font-size: 2rem;
  font-weight: 500;
}
.price-block .old-price {
  font-size: 1.25rem;
  text-decoration: line-through;
  color: var(--ink-soft);
}
.price-block .discount {
  background: var(--accent);
  color: var(--paper);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
}
.quantity-block {
  margin-bottom: 1.5rem;
}
.quantity-block label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}
.quantity-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 100px;
  overflow: hidden;
  background: var(--paper);
}
.quantity-control button {
  width: 40px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--ink);
}
.quantity-control button:hover { background: var(--bg-alt); }
.quantity-control input {
  width: 60px;
  height: 44px;
  border: none;
  background: transparent;
  text-align: center;
  font-family: inherit;
  font-size: 1rem;
  -moz-appearance: textfield;
}
.quantity-control input::-webkit-outer-spin-button,
.quantity-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.action-buttons {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.action-buttons .btn-primary,
.action-buttons .btn-ghost {
  flex: 1;
  min-width: 180px;
  justify-content: center;
}
.product-meta-info {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.meta-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.meta-row:last-child { border-bottom: none; }
.meta-label {
  color: var(--ink-soft);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 500;
}
.meta-value { font-weight: 500; }

.product-description-section,
.related-section {
  margin-top: 5rem;
}
.product-description-section .section-title,
.related-section .section-title {
  margin-bottom: 2rem;
}
.rich-content {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 720px;
}
.rich-content p { margin-bottom: 1.25rem; }
.rich-content h2,
.rich-content h3 {
  font-family: 'Fraunces', serif;
  color: var(--ink);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.rich-content h2 { font-size: 1.5rem; }
.rich-content h3 { font-size: 1.2rem; }
.rich-content ul,
.rich-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.rich-content li { margin-bottom: 0.4rem; }
.rich-content article {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.rich-content article:last-child { border-bottom: none; }
.rich-content em { font-style: italic; }

/* ============================================ */
/* Page (om-oss, journal) */
/* ============================================ */
.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem 6rem;
}
.page-hero {
  text-align: center;
  margin-bottom: 4rem;
}
.page-hero-image {
  height: 400px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  margin-bottom: 3rem;
}
.page-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.page-subtitle {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink-soft);
}
.page-body {
  margin: 0 auto;
}

/* ============================================ */
/* Auth pages */
/* ============================================ */
.auth-page {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  background: 
    radial-gradient(circle at 20% 30%, rgba(196,98,63,0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(184,146,74,0.05) 0%, transparent 50%);
}
.auth-box {
  background: var(--paper);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(26,24,20,0.06);
  width: 100%;
  max-width: 460px;
  border: 1px solid var(--line);
}
.auth-box h1 {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.auth-box h1 em { font-style: italic; color: var(--accent); }
.auth-intro {
  color: var(--ink-soft);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}
.auth-switch {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.auth-switch a { color: var(--accent); font-weight: 500; }

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--paper);
}
.form-group small {
  display: block;
  margin-top: 0.4rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
.alert-success {
  background: #d6e7d9;
  color: #2d6a4f;
  border-left: 3px solid #2d6a4f;
}
.alert-error {
  background: #f0d4cc;
  color: #8a3f24;
  border-left: 3px solid #8a3f24;
}

/* ============================================ */
/* Account page */
/* ============================================ */
.account-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 6rem;
}
.account-header {
  margin-bottom: 3rem;
  text-align: center;
}
.account-header h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.account-header h1 em { font-style: italic; color: var(--accent); }
.account-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
}
.account-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.account-nav a {
  padding: 0.75rem 1rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  border-radius: 8px;
  transition: all 0.2s;
}
.account-nav a:hover { background: var(--bg-alt); color: var(--ink); }
.account-nav a.active {
  background: var(--ink);
  color: var(--paper);
}
.account-section {
  margin-bottom: 4rem;
  scroll-margin-top: 100px;
}
.account-section h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}
.account-section h2 em { font-style: italic; color: var(--accent); }
.account-form {
  max-width: 500px;
  background: var(--paper);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.order-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.order-header {
  padding: 1.25rem 1.5rem;
  background: var(--bg-alt);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.order-header strong { font-family: 'Fraunces', serif; }
.order-date {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.25rem;
}
.order-items {
  padding: 1rem 1.5rem;
}
.order-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.order-item:last-child { border-bottom: none; }
.order-item-visual {
  width: 60px;
  height: 75px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-alt);
}
.order-item-info {
  flex: 1;
}
.order-item-info h4 {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 500;
}
.order-item-info span {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.status {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  margin-right: 0.5rem;
}
.status-pending { background: #f0e4cc; color: #8a6d24; }
.status-completed { background: #d6e7d9; color: #2d6a4f; }
.status-failed { background: #f0d4cc; color: #8a3f24; }
.status-refunded { background: var(--bg-alt); color: var(--ink-soft); }

.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--ink-soft);
  font-style: italic;
  font-family: 'Fraunces', serif;
  background: var(--paper);
  border-radius: 12px;
  border: 1px solid var(--line);
}
.empty-state a { color: var(--accent); font-style: normal; font-family: 'Inter', sans-serif; }

/* ============================================ */
/* Checkout page */
/* ============================================ */
.checkout-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 6rem;
}
.checkout-page > h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.checkout-page > .page-subtitle {
  color: var(--ink-soft);
  margin-bottom: 3rem;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 1rem;
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}
.checkout-section {
  background: var(--paper);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  margin-bottom: 1.5rem;
}
.checkout-section h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.section-help {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 1rem;
}
.section-help a { color: var(--accent); font-weight: 500; }
.customer-info {
  padding: 1rem 1.25rem;
  background: var(--bg);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.customer-info span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.payment-demo {
  padding: 1.5rem;
  background: var(--bg);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--accent);
}

.order-summary {
  background: var(--paper);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  position: sticky;
  top: 100px;
}
.order-summary h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.summary-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}
.summary-item:last-of-type { border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.summary-item-img {
  width: 50px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-alt);
}
.summary-item-img .visual {
  width: 100%;
  height: 100%;
}
.summary-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.summary-item-info strong {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 0.95rem;
}
.summary-item-info span {
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.summary-item-price {
  font-family: 'Fraunces', serif;
  font-weight: 500;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
}
.summary-row.total {
  border-top: 1px solid var(--line);
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  margin-top: 0.5rem;
}

/* Success page */
.success-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  isolation: isolate;
}
.success-icon {
  width: 80px;
  height: 80px;
  background: var(--accent);
  color: var(--paper);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  box-shadow: 0 8px 24px rgba(196, 98, 63, 0.25);
  position: relative;
  z-index: 1;
}
.success-page h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  margin-bottom: 1rem;
}
.success-page h1 em { font-style: italic; color: var(--accent); }
.success-lead {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 3rem;
  line-height: 1.7;
}
.success-card {
  background: var(--paper);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  text-align: left;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}
.success-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.download-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.download-item:last-child { border-bottom: none; }
.download-item-visual {
  width: 60px;
  height: 75px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-alt);
}
.download-item-info {
  flex: 1;
}
.download-item-info h4 {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.download-item-info span {
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.success-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.8s ease-out backwards; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-10px) rotate(var(--r, 0deg)); }
}
.card-1 { --r: -6deg; animation: float 6s ease-in-out infinite; }
.card-2 { --r: 8deg; animation: float 7s ease-in-out infinite 0.5s; }
.card-3 { --r: -3deg; animation: float 8s ease-in-out infinite 1s; }

/* Responsive */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem 4rem;
    gap: 3rem;
  }
  .hero-visual {
    height: 400px;
    order: -1;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  section.products-section { padding: 4rem 1.5rem; }
  .nav { padding: 1rem 1.5rem; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .account-grid { grid-template-columns: 1fr; gap: 2rem; }
  .account-nav {
    flex-direction: row;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1rem;
  }
  .account-nav a { white-space: nowrap; }
}
@media (max-width: 500px) {
  .footer-content { grid-template-columns: 1fr; }
  .features-track { justify-content: flex-start; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .product-grid { gap: 2rem 1rem; }
  .auth-box { padding: 2rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .action-buttons { flex-direction: column; }
}

/* ============================================ */
/* Payment options (checkout)                   */
/* ============================================ */
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.payment-option {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.payment-option:hover {
  border-color: var(--ink-soft);
}
.payment-option input[type="radio"] {
  margin-top: 0.25rem;
  flex-shrink: 0;
  cursor: pointer;
}
.payment-option:has(input:checked) {
  border-color: var(--accent);
  background: rgba(196, 98, 63, 0.04);
}
.payment-option-content {
  flex: 1;
}
.payment-option-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}
.payment-option-header strong {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 500;
}
.vipps-logo,
.demo-icon {
  display: inline-flex;
  align-items: center;
}
.demo-icon { color: var(--ink-soft); }
.payment-option-desc {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

.info-note {
  background: #f0e4cc;
  color: #8a6d24;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  border-left: 3px solid #8a6d24;
}

/* ============================================ */
/* Eide produkter (kjøpt fra før)               */
/* ============================================ */
.product.is-owned .product-image {
  position: relative;
}
.product.is-owned .product-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(45, 106, 79, 0.06);
  pointer-events: none;
  z-index: 1;
}
.badge.owned {
  background: #2d6a4f !important;
  color: #faf7f1 !important;
}
.quick-add.owned-action {
  background: #2d6a4f !important;
}
.quick-add.owned-action:hover {
  background: #1a4a35 !important;
}
.product-price .owned-label {
  color: #2d6a4f;
  font-weight: 500;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

/* Eid-banner på produktdetaljside */
.owned-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.25rem 1.5rem;
  background: rgba(45, 106, 79, 0.08);
  border: 1px solid rgba(45, 106, 79, 0.2);
  border-radius: 10px;
  margin-bottom: 1.5rem;
}
.owned-banner svg {
  color: #2d6a4f;
  flex-shrink: 0;
  margin-top: 0.25rem;
}
.owned-banner strong {
  display: block;
  color: #2d6a4f;
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.owned-banner p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0;
}

/* Warning alert (i kassen) */
.alert-warning {
  background: #f0e4cc;
  color: #6d5919;
  border-left: 3px solid #8a6d24;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.alert-warning a { color: var(--accent); font-weight: 500; }

/* ============================================ */
/* Blogg                                         */
/* ============================================ */
.blog-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}
.blog-header {
  text-align: center;
  margin-bottom: 4rem;
}
.blog-header .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.blog-header h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.blog-header h1 em { font-style: italic; color: var(--accent); }
.blog-intro {
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

.blog-categories {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.blog-categories a {
  padding: 0.55rem 1.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  transition: all 0.2s;
}
.blog-categories a:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.blog-categories a.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* Featured post */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 5rem;
  background: var(--paper);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  color: inherit;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.blog-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(26, 24, 20, 0.08);
}
.blog-featured-image {
  aspect-ratio: 5/4;
  background: var(--bg-alt);
  position: relative;
}
.blog-featured-content {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-featured-content h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0.85rem 0 1.25rem;
}
.blog-featured-content p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Blog meta */
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.blog-meta-dot {
  opacity: 0.5;
}
.blog-category {
  display: inline-block;
  background: rgba(196, 98, 63, 0.1);
  color: var(--accent);
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

.blog-read-more {
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 0.9rem;
  display: inline-block;
}

/* Blog grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 3rem 2rem;
}
.blog-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  transition: transform 0.4s ease;
}
.blog-card:hover {
  transform: translateY(-6px);
}
.blog-card-image {
  aspect-ratio: 16/10;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-alt);
  margin-bottom: 1.25rem;
  position: relative;
}
.blog-card-content {
  display: flex;
  flex-direction: column;
}
.blog-card-content h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.25;
  margin: 0.75rem 0 0.65rem;
}
.blog-card-content p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Image placeholder */
.blog-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
  color: var(--ink-soft);
  opacity: 0.4;
}

/* Single blog post */
.blog-post {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}
.blog-post-header {
  text-align: center;
  margin-bottom: 3rem;
}
.blog-post-header .blog-meta {
  justify-content: center;
  margin-bottom: 1.5rem;
}
.blog-post-header h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.blog-post-lead {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.blog-post-hero {
  margin-bottom: 3rem;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--bg-alt);
}
.blog-post-body {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--ink);
  max-width: none;
}
.blog-post-body h2 {
  font-size: 1.7rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--ink);
}
.blog-post-body h3 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.blog-post-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.blog-related {
  max-width: 1200px;
  margin: 4rem auto 6rem;
  padding: 0 2rem;
}
.blog-related .section-title {
  text-align: center;
  margin-bottom: 3rem;
}

@media (max-width: 800px) {
  .blog-featured {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .blog-featured-content {
    padding: 2rem 1.5rem;
  }
}

/* ============================================ */
/* Rabattkoder i kassen                          */
/* ============================================ */
.discount-block {
  margin: 1rem 0;
  padding: 1rem 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}
.discount-input-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.discount-input-row input {
  flex: 1;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  background: var(--bg);
}
.discount-input-row input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--paper);
}
.discount-input-row .btn-sm {
  padding: 0.65rem 1.25rem;
  white-space: nowrap;
}
.discount-message {
  font-size: 0.8rem;
  margin-top: 0.4rem;
  min-height: 1rem;
}
.discount-message.success { color: #2d6a4f; }
.discount-message.error { color: #8a3f24; }

.discount-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.summary-row.subtotal {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ============================================ */
/* Søkeside                                      */
/* ============================================ */
.search-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}
.search-header {
  margin-bottom: 4rem;
}
.search-form-large {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  max-width: 700px;
  margin: 0 auto;
  transition: border-color 0.2s;
}
.search-form-large:focus-within {
  border-color: var(--accent);
}
.search-form-large svg {
  color: var(--ink-soft);
  flex-shrink: 0;
}
.search-form-large input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.85rem 0;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  color: var(--ink);
}
.search-form-large input::placeholder { color: var(--ink-soft); }
.search-form-large .btn-primary {
  padding: 0.75rem 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.search-stats {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.search-section {
  margin-bottom: 4rem;
}
.search-section .section-title {
  margin-bottom: 2rem;
}
.result-count {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 400;
  font-style: italic;
}

/* Søkeresultater for blogg/sider */
.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.search-result {
  display: block;
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}
.search-result:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}
.search-result h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.search-result p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}
.search-result-type {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
