/* ============================================================
   DUPEHON — Shared Styles (Scandi Sage)
   V0.3 · Startsida
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  /* Färgpalett — Scandi Sage */
  --sage: #A8B5A0;
  --sage-dark: #7D8C75;
  --sage-light: #E7ECE2;
  --sage-faint: #F1F4EE;
  --gold: #C4A35A;

  /* Ytor */
  --bg: #F7F3ED;
  --bg-alt: #EFEAE0;
  --surface: #FFFFFF;
  --hover: #F2EEE5;

  /* Text */
  --text: #1A1A1A;
  --text-muted: #5E5E5A;
  --text-light: #9E9E9A;

  /* Borders */
  --border: #E6E1D6;
  --border-strong: #D4CFC2;

  /* Mörk */
  --dark: #131311;

  /* Status */
  --stock-green: #4A7C4F;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Radius */
  --radius: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  /* Safe areas (iOS notch) */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

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

*, *::before, *::after {
  -webkit-tap-highlight-color: transparent; /* Ta bort grå blink-effekt på iOS vid tap */
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%; /* Förhindra iOS-zoom på landscape */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: 14px;
  min-height: 100vh;
  min-height: 100svh; /* Small viewport height — korrekt på iOS */
}

::selection { background: var(--sage); color: var(--text); }
a { color: var(--text); }

img {
  max-width: 100%;
  display: block;
  height: auto;
}

/* iOS input-fix: förhindra auto-zoom när input fokuseras (kräver minst 16px font) */
input, select, textarea, button {
  font-family: inherit;
  font-size: 16px; /* Minimum för att förhindra iOS-zoom */
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0; /* Reset iOS rounded corners */
}

/* Touch target minimum: 44x44px enligt iOS guidelines, 48x48 för Android */
button, a, input[type="radio"], input[type="checkbox"], select {
  min-height: 44px;
  touch-action: manipulation; /* Eliminerar 300ms click-delay */
}

/* Förhindra text-selection på UI-element som inte ska markeras */
button, .btn, .tab, .icon-btn, .cat-pill, .filter-chip, .tag, .stock-badge,
.faq-q, .pd-acc-q {
  -webkit-user-select: none;
  user-select: none;
}

/* Skip-link för skärmläsare */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--dark);
  color: var(--bg);
  padding: 8px 16px;
  z-index: 1000;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* Focus-states för tangentbordsnavigering */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--sage-dark);
  outline-offset: 2px;
}

/* Screen reader only (osynlig visuellt) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Container ---------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  padding-left: max(24px, var(--safe-left));
  padding-right: max(24px, var(--safe-right));
}

.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
  padding-left: max(24px, var(--safe-left));
  padding-right: max(24px, var(--safe-right));
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: inline-block;
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--dark);
  color: var(--bg);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2px;
  padding: 8px 24px;
  text-align: center;
}

.topbar strong { color: var(--sage); font-weight: 600; }
.topbar span { opacity: 0.6; margin: 0 10px; }

/* ---------- Nav (desktop) ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--text);
}

.logo-mark { width: 26px; height: 26px; flex-shrink: 0; }

.logo-text {
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.nav-mid {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: color 200ms var(--ease);
  padding: 6px 0;
  position: relative;
}

.nav-link:hover { color: var(--sage-dark); }

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--text);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Search box i nav */
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 14px;
  width: 220px;
  transition: border-color 180ms var(--ease);
}
.search-box:focus-within { border-color: var(--text); }

.search-box svg {
  width: 16px; height: 16px;
  stroke: var(--text-muted); fill: none; stroke-width: 1.7;
  flex-shrink: 0;
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-family: inherit;
  font-size: 13px;
  width: 100%;
  color: var(--text);
}
.search-box input::placeholder { color: var(--text-light); }

/* Icon knappar i nav */
.icon-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: none; background: transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: background 200ms var(--ease);
  position: relative;
}

.icon-btn:hover { background: var(--hover); }
.icon-btn svg { width: 20px; height: 20px; stroke: var(--text); fill: none; stroke-width: 1.6; }

.cart-count {
  position: absolute; top: 2px; right: 2px;
  background: var(--dark); color: var(--bg);
  font-size: 10px; font-weight: 700;
  min-width: 17px; height: 17px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 5px;
}

/* Mobile top nav */
.mobile-top { display: none; }

/* ---------- Mobile slide-out meny ---------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 100%;
  max-width: 360px;
  background: var(--bg);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 350ms var(--ease);
  display: flex;
  flex-direction: column;
  padding-top: var(--safe-top);
  box-shadow: 4px 0 32px rgba(0,0,0,0.1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease);
}

.mobile-menu-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-close {
  width: 40px; height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 200ms var(--ease);
}
.mobile-menu-close:hover { background: var(--hover); }
.mobile-menu-close svg { width: 22px; height: 22px; stroke: var(--text); fill: none; stroke-width: 1.8; }

.mobile-menu-links {
  padding: 16px 0;
  flex: 1;
}

.mobile-menu-link {
  display: block;
  padding: 16px 22px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background 150ms var(--ease);
  border-bottom: 1px solid var(--border);
}
.mobile-menu-link:last-child { border-bottom: none; }
.mobile-menu-link:hover,
.mobile-menu-link:active { background: var(--hover); }

.mobile-menu-footer {
  padding: 20px 22px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.mobile-menu-footer a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 0;
}
.mobile-menu-footer a:hover { color: var(--text); }

/* ---------- Knappar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 100px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 220ms var(--ease);
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.btn-primary { background: var(--dark); color: var(--bg); }
.btn-primary:hover { transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
  padding: 12px 22px;
}
.btn-outline:hover { background: var(--text); color: var(--bg); }

.btn-sage { background: var(--sage); color: var(--text); }
.btn-sage:hover { background: #B8C4B0; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  background: var(--hover);
  border-color: var(--text);
}

.btn-arrow svg {
  width: 13px; height: 13px;
  transition: transform 250ms var(--ease);
}
.btn-arrow:hover svg { transform: translateX(3px); }

.btn-sm {
  padding: 9px 16px;
  font-size: 12px;
  border-radius: 100px;
  font-weight: 600;
  background: var(--dark);
  color: var(--bg);
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 200ms var(--ease);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.btn-sm:hover { background: var(--sage-dark); }

/* ---------- Hero ---------- */
.hero {
  background: var(--bg-alt);
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 20px;
}

.hero-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--sage-dark);
  border-radius: 50%;
}

.hero h1 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}

.hero h1 em {
  font-style: italic;
  color: var(--sage-dark);
}

.hero-sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-facts {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fact-label {
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 600;
}

.fact-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.hero-visual {
  aspect-ratio: 1;
  background: var(--sage-light);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.35) 0%, transparent 60%);
}

.hero-visual img,
.hero-visual svg {
  position: relative;
  z-index: 1;
  width: 80%;
  height: auto;
}

/* ---------- Kategoripills ---------- */
.category-bar {
  background: var(--surface);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.cat-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.cat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: 6px;
}

.cat-pill {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  background: var(--bg-alt);
  transition: all 180ms var(--ease);
  white-space: nowrap;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.cat-pill:hover { background: var(--sage); }
.cat-pill.active { background: var(--text); color: var(--bg); }

/* ---------- Section headers ---------- */
.sec-head {
  margin-bottom: 28px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.sec-head h2 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.01em;
}

.sec-head h2 em { font-style: italic; }

.sec-head p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.sec-head .link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--text);
  padding-bottom: 1px;
}

/* ---------- Populära (featured produkter) ---------- */
.popular { padding: 56px 0 40px; }

.popular-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.featured {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-decoration: none;
  color: var(--text);
  transition: all 220ms var(--ease);
  display: flex;
  flex-direction: column;
}

.featured:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.featured-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.featured-meta {
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--stock-green);
}

.stock-badge::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--stock-green);
  border-radius: 50%;
}

.stock-badge.pending { color: var(--text-muted); }
.stock-badge.pending::before { background: var(--text-muted); }

.featured-image {
  aspect-ratio: 1;
  background: var(--bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
  transition: transform 500ms var(--ease);
}

.featured-image img,
.featured-image svg {
  max-width: 76%;
  height: auto;
}

.featured:hover .featured-image { transform: scale(1.02); }

.featured h3 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  line-height: 1.15;
}

.featured h3 em { font-style: italic; }

.featured-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.featured-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  padding: 12px 0;
  border-top: 1px dashed var(--border);
  border-bottom: 1px dashed var(--border);
  margin-bottom: 16px;
  font-size: 12px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.spec-row .lbl { color: var(--text-muted); }
.spec-row .val { font-weight: 500; color: var(--text); text-align: right; }

.featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.featured-price {
  display: flex;
  flex-direction: column;
}

.featured-price .price {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.featured-price .price.muted { color: var(--text-muted); }

.featured-price .price-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: -2px;
}

/* ---------- Produktgrid (woocommerce-stil) ---------- */
.products { padding: 24px 0 80px; }

.products-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  gap: 20px;
  flex-wrap: wrap;
}

.products-head h2 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.01em;
}

.products-head h2 em { font-style: italic; }

.products-meta {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.products-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sort-select {
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: inherit;
  font-size: 12px;
  color: var(--text);
  outline: none;
  cursor: pointer;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 14px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  text-decoration: none;
  color: var(--text);
  transition: all 200ms var(--ease);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.card-img {
  aspect-ratio: 1;
  background: var(--bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.card-img .inner {
  transition: transform 500ms var(--ease);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img img,
.card-img svg {
  max-width: 78%;
  height: auto;
}

.card:hover .card-img .inner { transform: scale(1.05); }

/* Tags på produktkort */
.tag {
  position: absolute;
  top: 10px; left: 10px;
  padding: 4px 8px;
  border-radius: 100px;
  font-size: 9px;
  letter-spacing: 0.8px;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
  z-index: 2;
}

.tag-new { background: var(--dark); color: var(--bg); border-color: var(--dark); }
.tag-best { background: var(--sage); color: #2F3E27; border-color: var(--sage); }

/* Wishlist knapp */
.wish {
  position: absolute;
  top: 10px; right: 10px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 200ms var(--ease);
  z-index: 2;
}
.wish:hover { border-color: var(--text); }
.wish svg { width: 14px; height: 14px; stroke: var(--text); fill: none; stroke-width: 1.6; }
.wish.saved { background: var(--dark); border-color: var(--dark); }
.wish.saved svg { stroke: var(--bg); fill: var(--bg); }

.card-brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.card-stock {
  color: var(--stock-green);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-stock::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--stock-green);
  border-radius: 50%;
}

.card-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}

.card-variant {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
}

.spec-chip {
  font-size: 10px;
  padding: 3px 8px;
  background: var(--bg-alt);
  border-radius: 4px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.2px;
}

.card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  gap: 8px;
}

.card-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.005em;
}

.card-add {
  padding: 7px 14px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
  border-radius: 100px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 180ms var(--ease);
  letter-spacing: 0.2px;
}
.card-add:hover { background: var(--text); color: var(--bg); }

/* ---------- Varför Dupehon ---------- */
.why {
  background: var(--surface);
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: start;
}

.why-left h2 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

.why-left h2 em { font-style: italic; }

.why-left p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 12px;
}

.why-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.why-item {
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.why-item-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 10px;
}

.why-item h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}

.why-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ---------- FAQ ---------- */
.faq { padding: 72px 0; }

.faq-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  align-items: start;
}

.faq-left h2 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

.faq-left h2 em { font-style: italic; }

.faq-left p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  border-top: 1px solid var(--border);
  padding: 18px 0;
}

.faq-item:last-child { border-bottom: 1px solid var(--border); }

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  gap: 20px;
  user-select: none;
}

.faq-q svg {
  width: 16px; height: 16px;
  stroke: var(--text); fill: none; stroke-width: 1.8;
  transition: transform 300ms var(--ease);
  flex-shrink: 0;
}

.faq-item.open .faq-q svg { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms var(--ease), margin-top 400ms var(--ease);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.faq-item.open .faq-a {
  max-height: 400px;
  margin-top: 14px;
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--dark);
  color: var(--bg);
  padding: 56px 0;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.newsletter h2 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  line-height: 1.1;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
  color: var(--bg);
}

.newsletter h2 em {
  font-style: italic;
  color: var(--sage);
}

.newsletter p {
  color: rgba(247,243,237,0.6);
  font-size: 13px;
  max-width: 420px;
}

.nl-form {
  display: flex;
  gap: 8px;
}

.nl-input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  color: var(--bg);
  font-family: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color 180ms var(--ease);
}
.nl-input:focus { border-color: var(--sage); }
.nl-input::placeholder { color: rgba(247,243,237,0.35); }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-alt);
  color: var(--text-muted);
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--text);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 9px;
  transition: color 200ms var(--ease);
}

.footer-col a:hover { color: var(--text); }

.footer-brand p {
  font-size: 13px;
  line-height: 1.65;
  margin-top: 14px;
  max-width: 300px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-light);
  flex-wrap: wrap;
  gap: 12px;
  letter-spacing: 0.2px;
}

/* ---------- Bottom tabs (mobil) ---------- */
.bottom-tabs {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(247,243,237,0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--border);
  padding: 7px 0 calc(7px + env(safe-area-inset-bottom));
  z-index: 90;
}

.tabs-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: 500px;
  margin: 0 auto;
}

.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none; border: none;
  font-family: inherit;
  font-size: 9px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 5px 0;
  text-decoration: none;
  letter-spacing: 0.2px;
  position: relative;
}

.tab.active { color: var(--text); }
.tab svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.6; }

.badge-dot {
  position: absolute;
  top: 0; right: calc(50% - 16px);
  background: var(--dark); color: var(--bg);
  font-size: 9px; font-weight: 700;
  min-width: 15px; height: 15px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  background: var(--dark);
  color: var(--bg);
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  z-index: 200;
  opacity: 0;
  transition: all 350ms var(--ease);
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Placeholder-sidor (för tomma skal) ---------- */
.placeholder {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.placeholder h1 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

.placeholder h1 em { font-style: italic; color: var(--sage-dark); }

.placeholder p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 440px;
  margin-bottom: 28px;
}

/* ============================================================
   RESPONSIV
   ============================================================ */

@media (max-width: 1080px) {
  .popular-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .search-box { width: 160px; }
}

@media (max-width: 900px) {
  /* Dölj desktop nav */
  .nav { display: none; }

  /* Visa mobil top nav */
  .mobile-top {
    display: flex;
    position: sticky; top: 0; z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 14px 20px;
    justify-content: space-between;
    align-items: center;
  }

  /* Visa bottom tabs */
  .bottom-tabs { display: block; }
  body { padding-bottom: 68px; }

  .hero { padding: 40px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .container { padding: 0 18px; }

  .popular-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }

  .why-inner,
  .faq-inner,
  .newsletter-inner { grid-template-columns: 1fr; gap: 28px; }

  .why-right { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }

  .nl-form { flex-direction: column; }

  .why { padding: 48px 0; }
  .faq { padding: 56px 0; }
}

@media (max-width: 500px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-top { grid-template-columns: 1fr; }

  /* Kategoripills blir rullbara horisontellt */
  .cat-pills {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .cat-pills::-webkit-scrollbar { display: none; }

  .card { padding: 10px; }
  .card-specs { gap: 3px; }
  .spec-chip { font-size: 9px; padding: 2px 6px; }
}

/* ============================================================
   V0.4 — PRODUKTSIDA (product.html)
   ============================================================ */

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding: 18px 0;
  font-size: 12px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 180ms var(--ease);
}

.breadcrumb a:hover { color: var(--text); }

.breadcrumb-sep {
  margin: 0 8px;
  color: var(--text-light);
}

.breadcrumb-current {
  color: var(--text);
  font-weight: 500;
}

/* ---------- Product detail layout ---------- */
.product-detail {
  padding: 24px 0 80px;
}

.product-detail-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* ---------- Product gallery (vänster) ---------- */
.pd-gallery {
  position: sticky;
  top: 90px;
}

.pd-main-img {
  aspect-ratio: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
}

.pd-main-img img,
.pd-main-img svg {
  max-width: 78%;
  height: auto;
}

.pd-tag {
  position: absolute;
  top: 16px; left: 16px;
  padding: 5px 11px;
  border-radius: 100px;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--dark);
  color: var(--bg);
}

.pd-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.pd-thumb {
  aspect-ratio: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 180ms var(--ease);
}

.pd-thumb:hover { border-color: var(--border-strong); }
.pd-thumb.active { border-color: var(--text); }

.pd-thumb img,
.pd-thumb svg {
  max-width: 70%;
  height: auto;
}

/* ---------- Product info (höger) ---------- */
.pd-info {
  padding-top: 12px;
}

.pd-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 12px;
}

.pd-name {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-bottom: 6px;
}

.pd-name em { font-style: italic; }

.pd-variant {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.pd-price-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.pd-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.015em;
}

.pd-price.muted { color: var(--text-muted); }

.pd-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--stock-green);
}

.pd-stock::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--stock-green);
  border-radius: 50%;
}

.pd-stock.pending { color: var(--text-muted); }
.pd-stock.pending::before { background: var(--text-muted); }

.pd-description {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

/* ---------- Variant / size selector ---------- */
.pd-options {
  margin-bottom: 24px;
}

.pd-option-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 10px;
}

.pd-option-label .guide {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: underline;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  cursor: pointer;
}

.pd-sizes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pd-size {
  padding: 10px 18px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all 180ms var(--ease);
}

.pd-size:hover { border-color: var(--text); }
.pd-size.active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.pd-size.out {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* ---------- Qty + add to cart ---------- */
.pd-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.pd-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--surface);
  overflow: hidden;
}

.pd-qty-btn {
  width: 42px;
  height: 50px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  transition: background 180ms var(--ease);
}

.pd-qty-btn:hover { background: var(--hover); }

.pd-qty-val {
  min-width: 34px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.pd-add {
  flex: 1;
  padding: 15px 28px;
  border-radius: 100px;
  background: var(--dark);
  color: var(--bg);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 220ms var(--ease);
}

.pd-add:hover { transform: translateY(-1px); background: var(--sage-dark); }

.pd-add.pending {
  background: var(--sage);
  color: var(--text);
}

.pd-add.pending:hover { background: #B8C4B0; }

.pd-wish-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 180ms var(--ease);
  flex-shrink: 0;
}

.pd-wish-btn:hover { border-color: var(--text); }
.pd-wish-btn svg { width: 18px; height: 18px; stroke: var(--text); fill: none; stroke-width: 1.6; }
.pd-wish-btn.saved { background: var(--dark); border-color: var(--dark); }
.pd-wish-btn.saved svg { stroke: var(--bg); fill: var(--bg); }

/* ---------- Trust signals inline ---------- */
.pd-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.pd-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.pd-trust-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--sage-dark);
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
}

.pd-trust-item strong {
  display: block;
  font-weight: 600;
  font-size: 12px;
  color: var(--text);
}

.pd-trust-item span {
  font-size: 11px;
  color: var(--text-muted);
}

/* ---------- Specs table ---------- */
.pd-specs-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: 20px;
}

.pd-specs-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 14px;
}

.pd-specs-list {
  display: flex;
  flex-direction: column;
}

.pd-specs-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  gap: 12px;
  font-size: 13px;
}

.pd-specs-row:first-child { border-top: none; padding-top: 0; }
.pd-specs-row:last-child { padding-bottom: 0; }

.pd-specs-row .lbl {
  color: var(--text-muted);
}

.pd-specs-row .val {
  font-weight: 500;
  color: var(--text);
  text-align: right;
}

/* ---------- Accordion sections ---------- */
.pd-accordion {
  border-top: 1px solid var(--border);
}

.pd-acc-item {
  border-bottom: 1px solid var(--border);
}

.pd-acc-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 18px 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  user-select: none;
}

.pd-acc-q svg {
  width: 14px;
  height: 14px;
  stroke: var(--text);
  fill: none;
  stroke-width: 1.8;
  transition: transform 300ms var(--ease);
  flex-shrink: 0;
}

.pd-acc-item.open .pd-acc-q svg { transform: rotate(45deg); }

.pd-acc-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms var(--ease), padding-bottom 400ms var(--ease);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.pd-acc-item.open .pd-acc-a {
  max-height: 500px;
  padding-bottom: 18px;
}

/* ---------- Related produkter ---------- */
.related {
  padding: 32px 0 80px;
  border-top: 1px solid var(--border);
}

.related-head {
  margin-bottom: 28px;
}

.related-head h2 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  letter-spacing: -0.01em;
}

.related-head h2 em { font-style: italic; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* ---------- Placeholder (för sidor som ej byggts än) ---------- */
.placeholder-section {
  padding: 80px 24px;
  text-align: center;
}

/* ============================================================
   RESPONSIV — Produktsida
   ============================================================ */

@media (max-width: 1080px) {
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .product-detail { padding: 16px 0 56px; }
  .product-detail-inner { grid-template-columns: 1fr; gap: 28px; }
  .pd-gallery { position: static; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-name { font-size: 1.8rem; }
}

@media (max-width: 500px) {
  .pd-trust { grid-template-columns: 1fr; }
  .pd-actions { flex-wrap: wrap; }
  .pd-add { width: 100%; order: -1; }
  .related-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ============================================================
   V0.5 — VARUKORG (cart.html)
   ============================================================ */

.cart-page { padding: 32px 0 100px; }

.cart-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
  flex-wrap: wrap;
}

.cart-header h1 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}

.cart-header h1 em { font-style: italic; }

.cart-count-text {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 18px;
  align-items: start;
}

.cart-item-img {
  aspect-ratio: 1;
  background: var(--bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cart-item-img img, .cart-item-img svg { max-width: 78%; height: auto; }

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 4px;
}

.cart-item-category {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--sage-dark);
}

.cart-item-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.cart-item-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.cart-item-controls {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 10px;
  flex-wrap: wrap;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--surface);
  overflow: hidden;
}

.qty-control button {
  width: 32px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
  transition: background 180ms var(--ease);
}

.qty-control button:hover { background: var(--hover); }

.qty-control .qty-val {
  min-width: 28px;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  padding: 6px 2px;
  text-decoration: underline;
  transition: color 180ms var(--ease);
}

.cart-item-remove:hover { color: var(--text); }

.cart-item-price {
  text-align: right;
  padding-top: 4px;
}

.cart-item-price .price {
  font-size: 15px;
  font-weight: 700;
}

.cart-item-price .each {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 2px;
}

/* Cart Summary */
.cart-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  position: sticky;
  top: 90px;
}

.cart-summary h3 {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  font-size: 14px;
}

.summary-row.total {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 6px;
  font-size: 18px;
  font-weight: 700;
}

.summary-shipping-note {
  font-size: 12px;
  color: var(--sage-dark);
  background: var(--sage-faint);
  padding: 10px 12px;
  border-radius: var(--radius);
  margin: 12px 0 20px;
  text-align: center;
  font-weight: 500;
}

.summary-shipping-note:empty { display: none; }

.summary-cta {
  width: 100%;
  margin-top: 4px;
  padding: 16px 28px;
  font-size: 14px;
}

.summary-trust {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trust-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.trust-mini svg { width: 16px; height: 16px; stroke: var(--sage-dark); flex-shrink: 0; }

/* Empty cart */
.cart-empty {
  text-align: center;
  padding: 80px 24px;
  max-width: 480px;
  margin: 0 auto;
}

.cart-empty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  color: var(--text-light);
}

.cart-empty-icon svg { width: 100%; height: 100%; }

.cart-empty h2 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

.cart-empty h2 em { font-style: italic; color: var(--sage-dark); }

.cart-empty p {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 14px;
}

/* ============================================================
   V0.6 — CHECKOUT (checkout.html)
   ============================================================ */

.checkout-page { padding: 32px 0 80px; }

.checkout-header {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.checkout-header h1 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  letter-spacing: -0.015em;
}

.checkout-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-light);
  flex-wrap: wrap;
}

.checkout-steps .step {
  color: var(--text-light);
  font-weight: 500;
}

.checkout-steps .step.active { color: var(--text); }
.checkout-steps .step-sep { color: var(--border-strong); }

.checkout-secure {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.checkout-secure svg { width: 15px; height: 15px; stroke: var(--sage-dark); }

.checkout-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

.checkout-form { }

.form-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
}

.form-section h2 {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
}

.form-row {
  margin-bottom: 14px;
}

.form-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.form-field span small {
  color: var(--text-light);
  font-weight: 400;
  text-transform: none;
}

.form-field input,
.form-field select {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  background: var(--surface);
  color: var(--text);
  outline: none;
  transition: border-color 180ms var(--ease);
}

.form-field input:focus,
.form-field select:focus { border-color: var(--text); }

.form-field input.error { border-color: #D85A30; background: #FDF0EB; }

.field-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Shipping option */
.shipping-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 180ms var(--ease);
  background: var(--surface);
}

.shipping-option.selected {
  border-color: var(--text);
  background: var(--sage-faint);
}

.shipping-option input[type="radio"] { margin: 0; }

.shipping-body { flex: 1; }
.shipping-name { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.shipping-desc { font-size: 12px; color: var(--text-muted); }
.shipping-price { font-weight: 700; font-size: 14px; }

.payment-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}

.payment-methods {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pay-badge {
  padding: 6px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.form-agree {
  padding: 16px 0;
  margin-bottom: 16px;
}

.form-agree label {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.5;
}

.form-agree input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
}

.form-agree a { color: var(--text); }

.checkout-pay-btn {
  width: 100%;
  padding: 16px 28px;
  font-size: 14px;
  gap: 10px;
}

.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--bg);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.checkout-error {
  background: #FDF0EB;
  color: #A13817;
  border: 1px solid #F4C5B5;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  margin-top: 14px;
  display: none;
}

.checkout-error.visible { display: block; }

/* Checkout summary */
.checkout-summary { }

.summary-sticky {
  position: sticky;
  top: 90px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.summary-sticky h3 {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 20px;
}

.summary-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}

.summary-item {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 12px;
  align-items: start;
}

.summary-item-img {
  aspect-ratio: 1;
  background: var(--bg);
  border-radius: var(--radius);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.summary-item-img svg, .summary-item-img img { max-width: 70%; height: auto; }

.summary-item-qty {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--dark);
  color: var(--bg);
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.summary-item-info { padding-top: 2px; }
.summary-item-name { font-size: 13px; font-weight: 600; margin-bottom: 2px; line-height: 1.3; }
.summary-item-meta { font-size: 11px; color: var(--text-muted); }

.summary-item-price {
  font-weight: 600;
  font-size: 13px;
  padding-top: 2px;
  white-space: nowrap;
}

.summary-divider {
  border-top: 1px solid var(--border);
  margin: 10px 0;
}

/* ============================================================
   V0.7 — SUCCESS / ORDERBEKRÄFTELSE
   ============================================================ */

.success-page { padding: 48px 0 100px; }

.success-hero {
  text-align: center;
  margin-bottom: 40px;
}

.success-check {
  width: 72px;
  height: 72px;
  color: var(--sage-dark);
  margin: 0 auto 24px;
}

.success-check svg { width: 100%; height: 100%; }

.success-hero h1 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.success-hero h1 em { font-style: italic; }

.success-sub {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.order-number {
  display: inline-block;
  background: var(--sage-faint);
  color: var(--text);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 13px;
  letter-spacing: 0.2px;
}

.success-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 14px;
}

.success-box h3 {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
}

.success-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 12px;
}

.success-address {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
}

.success-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.success-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.success-step .step-num {
  width: 30px;
  height: 30px;
  background: var(--sage-light);
  color: var(--sage-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.success-step strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 3px;
}

.success-step p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.success-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ============================================================
   V0.8 — FAQ SIDA
   ============================================================ */

.faq-page { padding: 32px 0 100px; }

.faq-page-hero {
  text-align: center;
  margin-bottom: 40px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.faq-page-hero h1 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  letter-spacing: -0.02em;
  margin: 18px 0 14px;
}

.faq-page-hero h1 em { font-style: italic; }

.faq-page-hero p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

.faq-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px 0 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

.faq-nav-pill {
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: all 180ms var(--ease);
}

.faq-nav-pill:hover { border-color: var(--text); background: var(--bg-alt); }

.faq-page-content {
  max-width: 820px;
  margin: 0 auto;
}

.faq-category {
  margin-bottom: 56px;
  scroll-margin-top: 90px;
}

.faq-category h2 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.contact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
}

.contact-box > p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.55;
}

.contact-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-method {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 4px;
}

.contact-method a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.contact-method a:hover { color: var(--sage-dark); }

.contact-method small {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ============================================================
   V0.9c — LEGAL PAGES (integritet, villkor)
   ============================================================ */

.legal-page { padding: 32px 0 100px; }

.legal-header {
  text-align: center;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.legal-header h1 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin: 16px 0 10px;
}

.legal-updated {
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 0.3px;
}

.legal-content { }

.legal-content h2 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.005em;
  margin: 32px 0 12px;
}

.legal-content p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
  font-size: 14px;
}

.legal-content ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.legal-content li {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 6px;
  font-size: 14px;
}

.legal-content a {
  color: var(--text);
  text-decoration: underline;
}

.legal-content strong { color: var(--text); font-weight: 600; }

.legal-disclaimer {
  background: #FDF0EB;
  color: #8A4A33;
  border: 1px solid #F4C5B5;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 13px;
  margin-top: 40px;
}

/* ============================================================
   RESPONSIV — nya sidor
   ============================================================ */

@media (max-width: 900px) {
  /* Cart */
  .cart-layout { grid-template-columns: 1fr; gap: 20px; }
  .cart-summary { position: static; }
  .cart-item { grid-template-columns: 80px 1fr; }
  .cart-item-price {
    grid-column: 1 / -1;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    margin-top: 10px;
  }

  /* Checkout */
  .checkout-layout { grid-template-columns: 1fr; gap: 20px; }
  .summary-sticky { position: static; }
  .form-row.two { grid-template-columns: 1fr; }
  .checkout-header { flex-direction: column; align-items: flex-start; }

  /* Contact */
  .contact-methods { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 500px) {
  .cart-item { padding: 14px; gap: 12px; }
  .cart-item-controls { gap: 10px; }
  .form-section { padding: 18px; }
  .summary-sticky { padding: 18px; }
}

/* ============================================================
   MOBILE OPTIMERING — komplett
   ============================================================ */

/* ---------- Safe areas för bottom tabs (iOS notch) ---------- */
.bottom-tabs {
  padding-bottom: max(7px, var(--safe-bottom));
}

/* Body-padding för mobile när bottom tabs syns — justera för safe area */
@media (max-width: 900px) {
  body { padding-bottom: calc(68px + var(--safe-bottom)); }
}

/* ---------- iOS input fixes ---------- */
/* Iput font-size = 16px minimum överallt (redan i base, men specifikt för form-field) */
.form-field input,
.form-field select,
.form-field textarea,
.search-box input,
.nl-input,
.pd-qty-val {
  font-size: 16px; /* Förhindra iOS zoom vid fokus */
}

/* På desktop: sänk tillbaka till 14px för estetik */
@media (min-width: 901px) {
  .form-field input,
  .form-field select,
  .form-field textarea,
  .search-box input {
    font-size: 14px;
  }
  .nl-input { font-size: 14px; }
}

/* Fixar iOS checkbox/radio med custom styling */
input[type="checkbox"],
input[type="radio"] {
  -webkit-appearance: auto;
  appearance: auto;
  min-height: auto;
  width: 18px;
  height: 18px;
  accent-color: var(--text);
  cursor: pointer;
}

/* Custom styling på select för iOS */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%231A1A1A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

/* Phone input: stäng av autocapitalize och autocorrect-quirks */
input[type="tel"],
input[type="email"],
input[type="number"] {
  -webkit-autocapitalize: none;
}

/* ---------- Horizontal scrollers (momentum scrolling) ---------- */
.cat-pills,
.filters,
.faq-nav,
.pd-thumbs {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

/* ---------- Höjda touch targets på mobil ---------- */
@media (max-width: 900px) {
  .nav-link,
  .footer-col a,
  .breadcrumb a {
    padding: 10px 0;
    display: inline-block;
    min-height: 44px;
  }

  .footer-col a {
    padding: 8px 0;
    min-height: auto;
  }

  /* Filter chips bredare på mobil för lättare tap */
  .cat-pill,
  .filter-chip {
    padding: 10px 16px;
    font-size: 13px;
  }

  /* Qty-knappar större på mobil */
  .qty-control button {
    width: 40px;
    height: 44px;
    font-size: 18px;
  }

  .pd-qty-btn {
    width: 48px;
    height: 52px;
    font-size: 18px;
  }

  /* Product card extra tap area */
  .card {
    position: relative;
  }

  .card .card-add,
  .card .wish {
    min-height: 40px;
    min-width: 40px;
  }

  /* FAQ q: större tap target */
  .faq-q,
  .pd-acc-q {
    padding: 20px 0;
    min-height: 60px;
  }

  /* Top nav mobile: höjd så logo center kan tappas enkelt */
  .mobile-top {
    min-height: 56px;
  }

  /* Bottom tab: större tap target */
  .tab {
    min-height: 48px;
    padding: 6px 0;
  }
}

/* ---------- 320px stöd (iPhone SE / mini) ---------- */
@media (max-width: 360px) {
  .container { padding: 0 14px; }
  .container-narrow { padding: 0 14px; }

  /* Mindre hero på riktigt små skärmar */
  .hero { padding: 32px 0 40px; }
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 14px; }

  /* Single column produktgrid */
  .product-grid { grid-template-columns: 1fr; }

  /* Smalare padding */
  .card { padding: 12px; }
  .form-section { padding: 16px; }
  .cart-item { padding: 12px; gap: 10px; }
  .cart-summary,
  .summary-sticky { padding: 16px; }

  /* Knappar full-bredd */
  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-ctas,
  .success-actions,
  .cart-item-controls {
    width: 100%;
  }

  .hero-ctas > *,
  .success-actions > * {
    flex: 1;
  }

  /* Filter pills kompaktare */
  .cat-pill,
  .filter-chip {
    padding: 8px 14px;
    font-size: 12px;
  }

  /* Facts kompaktare i hero */
  .hero-facts {
    gap: 16px;
  }

  /* Topbar mindre text */
  .topbar {
    font-size: 11px;
    padding: 8px 16px;
  }

  .topbar span { margin: 0 6px; }

  /* Newsletter form stackad */
  .nl-form {
    flex-direction: column;
  }

  /* Footer enkol */
  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  /* Legal content */
  .legal-content h2 { font-size: 16px; }
  .legal-content p,
  .legal-content li { font-size: 13px; }

  /* FAQ accordion */
  .faq-q { font-size: 14px; }
  .faq-a { font-size: 13px; }

  /* Checkout steps horizontal scroll om behövs */
  .checkout-steps {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .checkout-steps::-webkit-scrollbar { display: none; }
}

/* ---------- Landscape-fix för mobil ---------- */
@media (max-width: 900px) and (orientation: landscape) {
  .hero { min-height: auto; }
  .bottom-tabs {
    padding: 4px 0 calc(4px + var(--safe-bottom));
  }
  .tab svg { width: 18px; height: 18px; }
  .tab { font-size: 9px; }
}

/* ---------- Disable animations för prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Dark mode (automatisk anpassning via prefers-color-scheme) ---------- */
/* NOT: behåll light mode som default — men stöd dark mode preferences senare */
/* @media (prefers-color-scheme: dark) {
   :root { ... }
} */

/* ---------- Print-stilar ---------- */
@media print {
  .nav, .mobile-top, .bottom-tabs, .topbar,
  .toast, .newsletter, .hero-ctas, .btn, .cart-item-controls,
  .card-add, .wish, .pd-actions, .checkout-pay-btn {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    font-size: 11pt;
    padding: 0;
  }

  a { color: black; text-decoration: underline; }
  .container, .container-narrow { max-width: 100%; padding: 0; }
}

/* ---------- Loading state ---------- */
.skeleton {
  background: linear-gradient(90deg, var(--bg-alt) 25%, var(--hover) 50%, var(--bg-alt) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: var(--radius);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}


/* ============================================================
   HERO COMPACT — 3-sekunderssälj, produkterna synliga under
   ============================================================ */
.hero-compact {
  padding: 28px 0 36px;
}

.hero-compact .hero-inner {
  gap: 40px;
  align-items: center;
}

.hero-compact h1 {
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  margin-bottom: 14px;
}

.hero-compact .hero-eyebrow { margin-bottom: 14px; }
.hero-compact .hero-sub { margin-bottom: 22px; }
.hero-compact .hero-ctas { margin-bottom: 20px; }
.hero-compact .hero-facts { padding-top: 18px; }

.hero-compact .hero-visual {
  aspect-ratio: 4 / 3;
  max-height: 360px;
}

/* Entré: mjuk uppglidning i sekvens */
@keyframes heroUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroVisual {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}

.hero-compact .hero-eyebrow,
.hero-compact h1,
.hero-compact .hero-sub,
.hero-compact .hero-ctas,
.hero-compact .hero-facts {
  opacity: 0;
  animation: heroUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-compact .hero-eyebrow { animation-delay: 0.05s; }
.hero-compact h1            { animation-delay: 0.14s; }
.hero-compact .hero-sub     { animation-delay: 0.26s; }
.hero-compact .hero-ctas    { animation-delay: 0.36s; }
.hero-compact .hero-facts   { animation-delay: 0.46s; }

.hero-compact .hero-visual {
  opacity: 0;
  animation: heroVisual 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

/* Shoppa-knappen: större, drar blicken en gång, pil rör sig vid hover */
.hero-compact .btn-primary {
  padding: 15px 30px;
  font-size: 15px;
}

@keyframes ctaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(26,26,26, 0.28); }
  100% { box-shadow: 0 0 0 14px rgba(26,26,26, 0); }
}
.hero-compact .btn-primary {
  animation: heroUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.36s forwards,
             ctaPulse 1.1s ease-out 1.5s 2;
}

.hero-compact .btn-primary svg {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-compact .btn-primary:hover svg {
  transform: translateX(4px);
}

/* Mobil: bilden bort, produkterna direkt under knappen */
@media (max-width: 768px) {
  .hero-compact { padding: 20px 0 28px; }
  .hero-compact .hero-visual { display: none; }
  .hero-compact .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-compact h1 { font-size: clamp(2.1rem, 9vw, 2.6rem); }
  .hero-compact .hero-facts { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-compact .hero-eyebrow, .hero-compact h1, .hero-compact .hero-sub,
  .hero-compact .hero-ctas, .hero-compact .hero-facts, .hero-compact .hero-visual,
  .hero-compact .btn-primary {
    animation: none; opacity: 1; transform: none;
  }
}


/* ============================================================
   HERO-SLIDER — crossfade med mjuk zoom
   ============================================================ */
.hero-slider { padding: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.9s ease, transform 5s ease-out;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 2;
}
.hero-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.hero-dot.active {
  background: #fff;
  transform: scale(1.25);
}

/* Mobil: visa slidern, men kort så produkterna syns snabbt */
@media (max-width: 768px) {
  .hero-compact .hero-visual.hero-slider {
    display: block;
    aspect-ratio: 16 / 9;
    max-height: 220px;
    margin-top: 18px;
  }
}
