/* ============================================================
   QUARTZ MØLLE — CSS
   Blue #273071 accent, readable Inter typography
   ============================================================ */

:root {
  --cream: #faf7f2;
  --warm-white: #f5f0e8;
  --dark: #000000;
  --mid: #2a2a2a;

  /* Brand blue (from label artwork) */
  --brand-blue: #273071;
  --brand-blue-dark: #1b2252;
  --brand-blue-light: #3a4599;
  --brand-blue-softbg: rgba(39, 48, 113, 0.08);

  --text: #1a1611;
  --text-light: rgba(255,255,255,0.9);
  --nav-h: 72px;
}

/* html brand blue only for initial paint flash before body covers it */
html {
  background: #000000;
  scroll-behavior: smooth;
  overscroll-behavior: none;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: #000000;
  color: var(--text);
  overflow-x: hidden;
  overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.6;
}

/* ── NAV ── */
/* Desktop: absolute so it sits in the header and scrolls away with the page (doesn't follow). */
/* Mobile: fixed (overridden in the responsive block) so the burger is always reachable. */
.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: var(--nav-h);
  background: transparent;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav-logo img.brand-mark { height: 44px; width: auto; }
.nav-logo img.eco-mark {
  height: 28px;
  width: auto;
  opacity: 0.95;
}

.nav-links {
  display: flex;
  gap: 2rem;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.nav-links a,
.nav-links a:visited {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.9;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
  transition: opacity 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.nav-links a:hover,
.nav-links a.nav-btn:hover { opacity: 1; }

.nav-cta {
  background: #fff;
  color: var(--dark) !important;
  text-decoration: none;
  padding: 0.6rem 1.5rem;
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  background: #f5f0e8;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(0,0,0,0.2);
}

/* Inner-page nav variant (product + success) — dark text on light backgrounds */
.nav.nav-light .nav-links a,
.nav.nav-light .nav-links a:visited {
  color: var(--dark);
  text-shadow: none;
}

.nav.nav-light .nav-cta {
  background: var(--dark);
  color: #fff !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.nav.nav-light .nav-cta:hover {
  background: var(--mid);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.nav.nav-light .nav-burger span { background: var(--dark); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s;
}

/* ── MOBILE MENU (blue tint instead of brown) ── */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99;
  background: rgba(39, 48, 113, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77,0,0.175,1), visibility 0s linear 0.4s;
  visibility: hidden;
}

.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.4s cubic-bezier(0.77,0,0.175,1), visibility 0s linear 0s;
}

.mobile-menu a,
.mobile-menu button {
  color: #fff;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-cta {
  background: #fff !important;
  color: var(--dark) !important;
  padding: 0.7rem 2rem;
  border-radius: 40px;
  font-family: 'Inter', sans-serif !important;
  font-size: 1rem !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

/* ── VIDEO SECTIONS (crossfade) ── */
.video-section {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100vh;
  height: 100lvh; /* match video which uses 100lvh - section ends at same point as video */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  height: 100lvh; /* largest viewport height - fills under iOS bottom bar entirely */
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  will-change: opacity;
  transition: opacity 900ms cubic-bezier(0.4, 0.0, 0.2, 1);
  pointer-events: none;
}

.video-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  height: 100lvh;
  z-index: 1;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  will-change: opacity;
  transition: opacity 900ms cubic-bezier(0.4, 0.0, 0.2, 1);
  pointer-events: none;
}

.overlay-dark   { background: rgba(0,0,0,0.55); }
.overlay-medium { background: rgba(0,0,0,0.55); }

.video-section.is-active .video-bg,
.video-section.is-active .video-overlay {
  opacity: 1;
}

/* When user has scrolled past all video sections, hide the fixed videos entirely
   so iOS overscroll bounce past the footer doesn't reveal them underneath. */
body.past-videos .video-bg,
body.past-videos .video-overlay {
  /* Keep videos visible always - rely on z-index stacking instead of fade-out */
}

/* ── HERO CONTENT ── */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  animation: fadeUp 1.2s ease both;
  padding: 0 1.5rem;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-logo {
  width: min(260px, 48vw);
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.5));
}

.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
  margin-top: 0.3rem;
}

.hero-sub {
  color: var(--text-light);
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  max-width: 600px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: #fff;
  color: var(--dark);
  text-decoration: none;
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.btn-primary:hover {
  background: #f5f0e8;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.3);
}

.btn-ghost {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.7);
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s, border-color 0.2s;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.btn-dark {
  display: inline-block;
  background: var(--dark);
  color: #fff;
  text-decoration: none;
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-dark:hover { background: var(--mid); transform: translateY(-2px); }

/* ── TEXT BLOCKS (over video) ── */
.text-block {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  animation: fadeUp 0.8s ease both;
}

.text-left  { margin-right: auto; margin-left: 8vw; }
.text-right { margin-left: auto; margin-right: 8vw; text-align: right; align-items: flex-end; }

.text-block h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.text-block p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 400;
}

.text-block .season-note {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  font-style: italic;
  margin-top: -0.3rem;
}

/* ── EYEBROW ── */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

.eyebrow-dark { color: var(--brand-blue); }

/* ── SCROLL HINT ── */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%      { opacity: 1; transform: scaleY(1.2); }
}

/* ── HIGHLIGHTS ── */
.highlights {
  position: relative;
  z-index: 2;
  background: var(--cream);
  padding: 6rem 2rem;
}

.highlights-header {
  text-align: center;
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.highlights-header h2.dark {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.01em;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.highlights-cta { text-align: center; margin-top: 3rem; }

/* Product Card */
.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  display: block;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.13);
}

.product-card-img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  display: block;
  background: #fff;
}

.product-card-body { padding: 1.2rem 1.4rem 1.5rem; }

.product-card-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 0.6rem;
}

.badge-bestseller {
  background: #f0ece3;
  color: var(--dark);
  border: 1px solid #e0d9c8;
}

.product-card-name {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
  letter-spacing: -0.005em;
}

.product-card-sub {
  font-size: 0.88rem;
  color: #666;
  margin-bottom: 0.8rem;
}

.product-card-price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
}

/* ── WHY (brand blue block, replaces green/brown) ── */
.why {
  position: relative;
  z-index: 2;
  background: var(--brand-blue);
  padding: 6rem 2rem;
}

.why-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-text .eyebrow {
  color: rgba(255,255,255,0.75);
}

.why-text h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.why-list li {
  color: rgba(255,255,255,0.88);
  font-size: 1rem;
  line-height: 1.6;
  padding-left: 1.2rem;
  border-left: 3px solid rgba(255,255,255,0.45);
}

.why-list li strong {
  color: #fff;
  font-weight: 700;
}

.why-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.why-image img {
  width: 100%;
  max-width: 380px;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.35));
}

/* ── CONTACT ── */
.contact {
  position: relative;
  z-index: 2;
  background: var(--warm-white);
  padding: 6rem 2rem;
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info h2 {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.01em;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.6;
}

.contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--dark); }
.contact-item a { color: var(--dark); text-decoration: none; font-weight: 500; }
.contact-item a:hover { text-decoration: underline; }

.socials {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.socials a:hover { background: var(--mid); transform: translateY(-2px); }

.contact-map iframe {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

/* ── FOOTER (always dark, compact) ── */
.footer {
  position: relative;
  z-index: 3;
  background: var(--dark);
  padding: 2rem 2rem 3.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo { height: 40px; width: auto; }

.footer-inner p {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}

.footer-inner p a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-weight: 500;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

/* ── SHOP PAGE (blue hero) ── */
.shop-hero {
  padding: calc(var(--nav-h) + 4rem) 2rem 4rem;
  background: var(--brand-blue);
  text-align: center;
}

.shop-hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.shop-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

.shop-hero .eyebrow { color: rgba(255,255,255,0.75); }

.shop-main {
  background: var(--cream);
  padding: 4rem 2rem 6rem;
  min-height: 60vh;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.shop-loading {
  text-align: center;
  padding: 4rem;
  color: #888;
  font-size: 1rem;
  grid-column: 1/-1;
}

/* ── PRODUCT PAGE (blue hero band) ── */
.product-page {
  padding-top: 0;
  background: var(--cream);
  min-height: 100vh;
}

.product-hero-band {
  background: var(--brand-blue);
  padding: calc(var(--nav-h) + 3rem) 2rem 3rem;
  text-align: center;
  color: #fff;
}

.product-hero-band .eyebrow {
  color: rgba(255,255,255,0.7);
}

.product-page-inner {
  max-width: 1000px;
  margin: -3rem auto 0;
  padding: 3rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 2;
}

.product-page-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
  background: #fff;
}

.product-page-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-page-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  width: fit-content;
}

.product-page-name {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.product-page-type {
  color: #666;
  font-size: 1rem;
  margin-top: -1rem;
}

.product-page-desc {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.75;
}

.weight-selector h3 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.75rem;
}

.weight-options {
  display: flex;
  gap: 0.75rem;
}

.weight-btn {
  padding: 0.65rem 1.5rem;
  border: 2px solid #ddd;
  border-radius: 40px;
  background: #fff;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.weight-btn:hover { border-color: var(--dark); }
.weight-btn.active {
  border-color: var(--dark);
  background: var(--dark);
  color: #fff;
}

.product-price-display {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  color: var(--dark);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Quantity stepper on product page */
.qty-selector {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0 0 1.5rem;
}
.qty-label {
  font-size: 0.78rem;
  color: #888;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.qty-stepper {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e5e0d2;
  border-radius: 999px;
  height: 44px;
  padding: 0 4px;
}
.qty-btn {
  width: 36px;
  height: 36px;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  -webkit-tap-highlight-color: transparent;
  background: transparent !important;
  font-size: 1.1rem;
  font-weight: 400;
  color: #273071;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  transition: opacity 0.15s;
  line-height: 1;
  padding: 0;
  margin: 0;
}
.qty-btn:focus,
.qty-btn:focus-visible { outline: none; box-shadow: none; }
.qty-btn:hover { opacity: 0.6; }
.qty-btn:active { opacity: 0.4; }
.qty-input {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #222;
  -moz-appearance: textfield;
  appearance: textfield;
  padding: 0;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty-input:focus { outline: none; }

.btn-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--dark);
  color: #fff;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.05rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
  width: fit-content;
}

.btn-buy:hover { background: var(--mid); transform: translateY(-2px); }
.btn-buy:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 2rem;
  transition: gap 0.2s;
}

.btn-back:hover { gap: 0.3rem; }

.certifications {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cert-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  background: var(--brand-blue-softbg);
  color: var(--brand-blue);
  border: 1px solid rgba(39, 48, 113, 0.2);
}

/* ── ACCORDIONS (Fragt Regler + Næringsindhold) ── */
.accordion {
  border-top: 1px solid rgba(0,0,0,0.08);
  margin-top: 0.5rem;
}

.accordion-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: left;
}

.accordion-header .chevron {
  transition: transform 0.3s;
  flex-shrink: 0;
}

.accordion-item.open .accordion-header .chevron {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-item.open .accordion-body {
  max-height: 1000px;
}

.accordion-content {
  padding: 0 0 1.2rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
}

.accordion-content p { margin-bottom: 0.8rem; }
.accordion-content p:last-child { margin-bottom: 0; }
.accordion-content strong { font-weight: 700; color: var(--dark); }

/* Nutrition table */
.nutrition-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.nutrition-table caption {
  text-align: left;
  padding: 0 0 0.5rem;
  color: #666;
  font-size: 0.82rem;
  font-weight: 500;
}

.nutrition-table th,
.nutrition-table td {
  padding: 0.5rem 0;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nutrition-table th {
  font-weight: 500;
  color: var(--text);
}

.nutrition-table td {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--dark);
  font-weight: 600;
}

.nutrition-table tr.indent th {
  padding-left: 1rem;
  color: #666;
  font-weight: 400;
}

/* ── MODAL (Om os) ── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem;
  overflow-y: auto;
}

.modal-backdrop.open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-content {
  background: var(--cream);
  max-width: 720px;
  width: 100%;
  border-radius: 16px;
  padding: 3rem 2.5rem;
  margin: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  position: relative;
  animation: modalRise 0.35s cubic-bezier(0.2, 0.8, 0.3, 1);
}

@keyframes modalRise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.modal-close:hover { background: rgba(0,0,0,0.15); }

.modal-content h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.modal-content p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.1rem;
}

.modal-content p:last-child { margin-bottom: 0; }

/* ── FORHANDLERE PAGE ── */
.forhandlere-hero {
  padding: calc(var(--nav-h) + 3rem) 2rem 3rem;
  background: var(--brand-blue);
  text-align: center;
  color: #fff;
}

.forhandlere-hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

.forhandlere-hero p {
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* Cream body surrounding the map */
.forhandlere-body {
  background: var(--warm-white);
  min-height: 60vh;
}

.forhandlere-map-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

#forhandlere-map {
  width: 100%;
  height: 70vh;
  min-height: 520px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 40px rgba(0,0,0,0.15);
  z-index: 1;
}

/* Custom Leaflet marker */
.q-marker {
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  border: 3px solid var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  overflow: hidden;
}

.q-marker img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.q-cluster {
  width: 48px;
  height: 48px;
  background: var(--brand-blue);
  color: #fff;
  border-radius: 50%;
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  font-family: 'Inter', sans-serif;
}

.leaflet-popup-content {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  line-height: 1.5;
}

.leaflet-popup-content strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--dark);
}

.leaflet-popup-content a {
  color: var(--brand-blue);
  font-weight: 600;
  display: inline-block;
  margin-top: 0.4rem;
}

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  background: var(--dark);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-size: 0.95rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
}

.toast.show    { transform: translateY(0); opacity: 1; }
.toast.success { border-left: 4px solid #4caf50; }
.toast.error   { border-left: 4px solid #f44336; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav { position: fixed; } /* stays pinned so status bar area stays consistent */
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-logo img.eco-mark { display: none; }

  .text-left, .text-right {
    margin: 0 auto;
    text-align: center;
    align-items: center;
  }

  .why-inner { grid-template-columns: 1fr; gap: 3rem; }
  .why-image { text-align: center; }
  .why-image img { max-width: 260px; }

  .contact-inner { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; text-align: center; }

  .product-page-inner { grid-template-columns: 1fr; }

  .highlights-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

  .modal-content { padding: 2.5rem 1.5rem; }

  #forhandlere-map { height: 60vh; min-height: 420px; }
}

@media (max-width: 480px) {
  .hero-logo { width: 55vw; }
}

/* ── MOBILE: smaller blue hero bands on shop + product pages ── */
@media (max-width: 768px) {
  .shop-hero {
    padding: calc(var(--nav-h) + 1.25rem) 1rem 1.5rem;
  }
  .shop-hero h1 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    margin-bottom: 0.4rem;
  }
  .shop-hero p {
    font-size: 0.9rem;
  }
  .shop-hero .eyebrow {
    font-size: 0.7rem;
    margin-bottom: 0.4rem;
    display: block;
  }

  .product-hero-band {
    padding: calc(var(--nav-h) + 1rem) 1rem 1.25rem;
  }

  .forhandlere-hero {
    padding: calc(var(--nav-h) + 1.25rem) 1rem 1.5rem;
  }
  .forhandlere-hero h1 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    margin-bottom: 0.4rem;
  }
  .forhandlere-hero p {
    font-size: 0.9rem;
  }
}

/* ── CART BUTTON IN NAV ── */
.cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-left: auto;   /* push cart + anything after it (Shop Nu / burger) to the right as a group */
  margin-right: 0.75rem;
}

.cart-btn:hover { opacity: 0.85; }

.nav.nav-light .cart-btn { color: var(--dark); }

.cart-count {
  position: absolute;
  top: -2px;
  right: -4px;
  background: #fff;
  color: var(--dark);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  padding: 3px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
  display: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.cart-count.has-items { display: inline-block; }

.nav.nav-light .cart-count {
  background: var(--dark);
  color: #fff;
}

/* ── CART DRAWER ── */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  pointer-events: none;
}

.cart-drawer.open {
  display: block;
  pointer-events: auto;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.25s;
}

.cart-drawer.open .cart-backdrop { opacity: 1; }

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: -8px 0 32px rgba(0,0,0,0.25);
}

.cart-drawer.open .cart-panel { transform: translateX(0); }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.cart-head h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
}

.cart-close {
  background: rgba(0,0,0,0.06);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  transition: background 0.2s;
}

.cart-close:hover { background: rgba(0,0,0,0.12); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

.cart-empty {
  text-align: center;
  color: #888;
  padding: 3rem 0;
  font-size: 0.95rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  align-items: flex-start;
}

.cart-item img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  background: #f5f5f5;
}

.cart-item-info {
  min-width: 0;
}

.cart-item-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.25;
}

.cart-item-sub {
  font-size: 0.8rem;
  color: #777;
  margin-top: 2px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(0,0,0,0.15);
  background: #fff;
  border-radius: 6px;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  color: var(--dark);
  font-family: inherit;
}

.qty-btn:hover { border-color: var(--dark); }

.qty-val {
  min-width: 24px;
  text-align: center;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  color: var(--dark);
  font-weight: 600;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 4px;
  margin-left: 0.4rem;
  display: inline-flex;
  transition: color 0.2s;
}

.cart-item-remove:hover { color: #c62828; }

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.cart-foot {
  padding: 1.25rem 1.5rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(0,0,0,0.08);
  background: #fff;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--dark);
}

.cart-total-row span:last-child {
  font-size: 1.25rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.cart-foot .btn-buy {
  width: 100%;
}

.cart-error {
  color: #c62828;
  font-size: 0.85rem;
  text-align: center;
  margin-bottom: 0.75rem;
  min-height: 1em;
  line-height: 1.4;
}

.cart-secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  color: #777;
  font-size: 0.78rem;
}

.cart-secure-note svg { color: #888; }

/* ── Size-selector attention flash (replaces the old toast) ── */
.weight-selector.needs-attention h3 {
  animation: flashAttention 0.6s ease-in-out 2;
  color: #c62828;
}

@keyframes flashAttention {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
