/* ==========================================================================
   Meneer van der Wafel — stroopwafel.se
   Varm vintage-bagerikänsla: gräddvitt papper, kakao, karamell & tegelrött
   ========================================================================== */

@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/fraunces-var.woff2') format('woff2');
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: 'Caveat';
  src: url('/fonts/caveat-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

:root {
  --paper: #faf3e6;
  --paper-deep: #f3e7d2;
  --card: #fffdf8;
  --ink: #38220f;
  --ink-soft: #6b4f38;
  --caramel: #b06a1f;
  --caramel-dark: #8f5416;
  --syrup: #7a4a12;
  --red: #a33529;
  --red-dark: #872a20;
  --gold: #d9a441;
  --cream-line: #e6d5b8;
  --shadow: 0 10px 30px -12px rgba(56, 34, 15, .25);
  --shadow-lg: 0 24px 60px -20px rgba(56, 34, 15, .35);
  --radius: 18px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-hand: 'Caveat', 'Bradley Hand', cursive;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  /* subtilt våffelrutmönster i bakgrunden */
  background-image:
    repeating-linear-gradient(45deg, rgba(176,106,31,.04) 0 2px, transparent 2px 26px),
    repeating-linear-gradient(-45deg, rgba(176,106,31,.04) 0 2px, transparent 2px 26px);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--caramel-dark); }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; }

.script {
  font-family: var(--font-hand);
  font-weight: 600;
  color: var(--red);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  display: block;
  transform: rotate(-2deg);
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
section { padding: 72px 0; }

/* ---------- Toppbanner (marquee) ---------- */
.topbar {
  background: var(--syrup);
  color: #f7ecda;
  font-size: .84rem;
  letter-spacing: .04em;
  overflow: hidden;
  position: relative;
  z-index: 60;
}
.topbar__track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  padding: 8px 0;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.topbar__track span { display: inline-flex; align-items: center; gap: .5rem; }
.topbar__track .dot { color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .topbar__track { animation: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 243, 230, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream-line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
  flex: 0 0 auto;      /* nooit indrukken, anders loopt het menu door de naam heen */
}
.brand img {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--card);
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.12rem;
  line-height: 1.05;
  white-space: nowrap;
}
.brand__name small {
  display: block;
  font-family: var(--font-hand);
  font-size: .95rem;
  font-weight: 600;
  color: var(--red);
}
.nav { display: flex; gap: 4px; align-items: center; }
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
  padding: 9px 13px;
  border-radius: 999px;
  transition: background .18s, color .18s;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--paper-deep); color: var(--ink); }
/* Het Nederlandse menu heeft langere woorden dan het Zweedse, dus de
   tussenruimte krimpt tot ruim voorbij 1280 om overloop te voorkomen. */
@media (min-width: 1201px) {
  .site-header__inner { gap: 14px; }
  .nav { gap: 2px; }
  .nav a { padding: 9px 8px; font-size: .89rem; }
  .nav a.nav__cta { padding: 9px 14px; }
}
.nav a.nav__cta {
  background: var(--red);
  color: #fff;
  margin-left: 6px;
}
.nav a.nav__cta:hover { background: var(--red-dark); color: #fff; }

/* --- Taalkeuze: vijf talen passen niet meer als losse knopjes ---------- */
.lang-menu { position: relative; margin-left: 8px; }
.lang-menu > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1.5px solid var(--cream-line);
  border-radius: 999px;
  padding: 5px 12px;
  background: var(--card);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
}
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: .55;
}
.lang-menu[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.lang-menu ul {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
  list-style: none;
  margin: 0;
  padding: 6px;
  min-width: 180px;
  background: var(--card);
  border: 1.5px solid var(--cream-line);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(60, 35, 15, .14);
}
.lang-menu li a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 12px;
  border-radius: 9px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: .92rem;
}
.lang-menu li a small { color: var(--ink-soft); font-weight: 800; letter-spacing: .04em; }
.lang-menu li a:hover { background: var(--paper-deep); }
.lang-menu li a[aria-current="true"] { background: var(--ink); color: var(--paper); }
.lang-menu li a[aria-current="true"] small { color: inherit; opacity: .7; }
@media (max-width: 1200px) {
  .nav .lang-menu { align-self: flex-start; margin: 8px 0 0 8px; }
  .nav .lang-menu ul { position: static; box-shadow: none; margin-top: 8px; }
}

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--ink);
  background: var(--card);
  color: var(--ink);
  font-weight: 700;
  font-size: .92rem;
  padding: 9px 16px;
  border-radius: 999px;
  transition: transform .15s, box-shadow .15s;
}
.cart-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.cart-btn__count {
  position: absolute;
  top: -8px; right: -8px;
  min-width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border: 2px solid var(--paper);
  transition: transform .2s;
}
.cart-btn__count.bump { animation: bump .35s; }
@keyframes bump { 40% { transform: scale(1.35); } }

.burger {
  display: none;
  border: none;
  background: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.burger span { width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .2s; }

@media (max-width: 700px) {
  .brand__name { font-size: .98rem; }
  .brand img { width: 40px; height: 40px; }
  .cart-btn { padding: 9px 12px; }
  .cart-btn .cart-btn__label { display: none; }
  .site-header__inner { gap: 10px; }
}
@media (max-width: 1200px) {
  .burger { display: flex; }
  .nav {
    position: fixed;
    inset: calc(var(--header-h) + 37px) 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--cream-line);
    flex-direction: column;
    align-items: stretch;
    padding: 14px 22px 20px;
    gap: 6px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-130%);
    transition: transform .28s ease;
    z-index: -1;
  }
  .nav.open { transform: translateY(0); }
  .nav a { font-size: 1.05rem; padding: 12px 14px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 80px; overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.hero p.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 34em; margin: 20px 0 30px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--card);
  border: 1px solid var(--cream-line);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: 0 2px 8px -4px rgba(56,34,15,.18);
}
.chip svg { width: 16px; height: 16px; color: var(--caramel); flex: none; }

.hero__img {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
}
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__stamp {
  position: absolute;
  right: 6%;
  bottom: -34px;
  width: 132px; height: 132px;
  border-radius: 50%;
  background: var(--red);
  color: #fff3df;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 900;
  transform: rotate(8deg);
  box-shadow: var(--shadow-lg);
  border: 3px dashed rgba(255, 243, 223, .55);
  z-index: 2;
}
.hero__stamp b { font-size: 1.5rem; line-height: 1; }
.hero__stamp span { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; padding: 0 10px; }

@media (max-width: 900px) {
  .hero { padding: 40px 0 60px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__img { transform: none; }
  .hero__stamp { width: 110px; height: 110px; bottom: -20px; }
}

/* ---------- Knappar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 15px 30px;
  border: 2px solid transparent;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:active { transform: scale(.97); }
.btn--primary {
  background: linear-gradient(160deg, var(--caramel), var(--caramel-dark));
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(176, 106, 31, .55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(176, 106, 31, .6); }
.btn--red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(163, 53, 41, .5);
}
.btn--red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--small { padding: 10px 20px; font-size: .92rem; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ---------- Sektionshuvuden ---------- */
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); margin-top: 12px; font-size: 1.05rem; }

/* ---------- USP-rad ---------- */
.usps { background: var(--card); border-block: 1px solid var(--cream-line); padding: 54px 0; }
.usps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.usp { text-align: center; padding: 0 8px; }
.usp__icon {
  width: 62px; height: 62px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--cream-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--caramel);
}
.usp__icon svg { width: 28px; height: 28px; }
.usp h3 { font-size: 1.05rem; margin-bottom: 6px; }
.usp p { font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 900px) { .usps__grid { grid-template-columns: repeat(2, 1fr); gap: 30px 18px; } }

/* ---------- Produktkort ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 26px;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--cream-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-card__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #f3ead9; }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__badge {
  position: absolute;
  top: 14px; left: -34px;
  background: var(--red);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 40px;
  transform: rotate(-35deg);
  box-shadow: var(--shadow);
}
.product-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__body h3 { font-size: 1.14rem; }
.product-card__body p { font-size: .9rem; color: var(--ink-soft); flex: 1; }
.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}
.price { font-family: var(--font-display); font-weight: 900; font-size: 1.45rem; color: var(--syrup); }
.price small { font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.add-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
  padding: 11px 18px;
  transition: background .15s, transform .15s;
}
.add-btn:hover { background: var(--caramel-dark); transform: translateY(-1px); }
.add-btn svg { width: 16px; height: 16px; }

/* ---------- Berättelse / split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split__img {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split .btn { margin-top: 26px; }
.split ul.checks { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.split ul.checks li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-soft); }
.split ul.checks svg { width: 20px; height: 20px; color: var(--caramel); flex: none; margin-top: 3px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- CTA-band ---------- */
.cta-band {
  background:
    radial-gradient(120% 160% at 10% 0%, rgba(217, 164, 65, .25), transparent 50%),
    linear-gradient(150deg, #4a2d14, var(--syrup));
  color: #f9eeda;
  border-radius: 28px;
  padding: 58px 54px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1.5px dashed rgba(249, 238, 218, .28);
  border-radius: 20px;
  pointer-events: none;
}
.cta-band h2 { color: #fff8ec; }
.cta-band p { color: rgba(249, 238, 218, .8); margin-top: 8px; max-width: 32em; }
.cta-band .btn { position: relative; z-index: 1; }

/* ---------- Tidslinje (historia) ---------- */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 34px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 6px; bottom: 6px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(var(--gold), var(--caramel));
}
.timeline__item { position: relative; padding: 0 0 40px 22px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: '';
  position: absolute;
  left: -34px; top: 7px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--red);
  border: 4px solid var(--paper);
  box-shadow: 0 0 0 2px var(--red);
}
.timeline__year {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--red);
}
.timeline__item p { color: var(--ink-soft); margin-top: 6px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--cream-line);
  border-radius: 14px;
  padding: 4px 22px;
  transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--caramel);
  transition: transform .2s;
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--ink-soft); }

/* ---------- Marknadslista ---------- */
.event-list { display: grid; gap: 16px; max-width: 760px; margin: 0 auto; }
.event-card {
  display: flex;
  gap: 22px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--cream-line);
  border-radius: 16px;
  padding: 18px 24px;
  box-shadow: 0 4px 14px -8px rgba(56,34,15,.2);
}
.event-card__date {
  flex: none;
  width: 74px; height: 74px;
  border-radius: 14px;
  background: var(--paper-deep);
  border: 1px solid var(--cream-line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
}
.event-card__date b { font-size: 1.55rem; line-height: 1; color: var(--red); }
.event-card__date span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.event-card h3 { font-size: 1.1rem; }
.event-card p { font-size: .9rem; color: var(--ink-soft); }
.event-empty {
  text-align: center;
  background: var(--card);
  border: 1.5px dashed var(--cream-line);
  border-radius: 16px;
  padding: 44px 26px;
  color: var(--ink-soft);
  max-width: 760px;
  margin: 0 auto;
}

/* ---------- Butik / varukorg ---------- */
.page-hero { padding: 56px 0 30px; }
.page-hero p { color: var(--ink-soft); max-width: 40em; margin-top: 12px; font-size: 1.08rem; }

.cart-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-items { display: grid; gap: 14px; }
.cart-item {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 16px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--cream-line);
  border-radius: 14px;
  padding: 12px 16px;
}
.cart-item img { width: 84px; height: 72px; object-fit: cover; border-radius: 10px; }
.cart-item h4 { font-family: var(--font-display); font-size: 1rem; }
.cart-item .unit { font-size: .85rem; color: var(--ink-soft); }
.qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--cream-line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--paper);
}
.qty button {
  border: none;
  background: none;
  width: 34px; height: 34px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}
.qty button:hover { background: var(--paper-deep); }
.qty span { min-width: 30px; text-align: center; font-weight: 700; font-size: .95rem; }
.cart-item__right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-item__right .line-price { font-weight: 800; font-family: var(--font-display); color: var(--syrup); }
.link-remove { border: none; background: none; color: var(--red); font-size: .8rem; text-decoration: underline; }

.order-box {
  background: var(--card);
  border: 1px solid var(--cream-line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.order-box h3 { margin-bottom: 18px; }
.order-box .row { display: flex; justify-content: space-between; padding: 7px 0; font-size: .96rem; color: var(--ink-soft); }
.order-box .row.total {
  border-top: 2px solid var(--cream-line);
  margin-top: 10px;
  padding-top: 14px;
  font-weight: 900;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
}
.order-box .btn { width: 100%; margin-top: 18px; }
.order-box .secure { text-align: center; font-size: .8rem; color: var(--ink-soft); margin-top: 12px; }

/* fraktmätare */
.ship-meter { margin: 16px 0 4px; }
.ship-meter p { font-size: .85rem; color: var(--ink-soft); margin-bottom: 7px; }
.ship-meter p b { color: var(--caramel-dark); }
.ship-meter__bar { height: 9px; border-radius: 999px; background: var(--paper-deep); overflow: hidden; }
.ship-meter__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--caramel));
  transition: width .4s ease;
}

/* formulär */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
label.field { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  font: inherit;
  padding: 13px 15px;
  border: 1.5px solid var(--cream-line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--caramel);
  box-shadow: 0 0 0 3px rgba(176, 106, 31, .15);
}
.form-note { font-size: .85rem; color: var(--ink-soft); }
.form-error {
  background: #fbe9e5;
  border: 1px solid #eec4bc;
  color: var(--red-dark);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: .92rem;
  display: none;
}
.form-error.show { display: block; }

/* ---------- Varukorgs-drawer ---------- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(40, 24, 10, .45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  z-index: 90;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(430px, 100vw);
  background: var(--paper);
  z-index: 95;
  transform: translateX(105%);
  transition: transform .3s cubic-bezier(.22,.8,.3,1);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(40, 24, 10, .3);
}
.drawer.open { transform: translateX(0); }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--cream-line);
}
.drawer__head h3 { font-size: 1.2rem; }
.drawer__close { border: none; background: none; font-size: 1.6rem; line-height: 1; color: var(--ink-soft); padding: 6px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 24px; display: grid; gap: 12px; align-content: start; }
.drawer__body .cart-item { grid-template-columns: 64px 1fr auto; padding: 10px 12px; }
.drawer__body .cart-item img { width: 64px; height: 56px; }
.drawer__empty { text-align: center; color: var(--ink-soft); padding: 46px 10px; }
.drawer__empty .btn { margin-top: 16px; }
.drawer__foot { border-top: 1px solid var(--cream-line); padding: 18px 24px 22px; background: var(--card); }
.drawer__foot .row { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 4px; }
.drawer__foot .row small { color: var(--ink-soft); font-weight: 500; }
.drawer__foot .btn { width: 100%; margin-top: 12px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%, 140%);
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  padding: 13px 26px;
  font-weight: 600;
  font-size: .95rem;
  box-shadow: var(--shadow-lg);
  transition: transform .3s cubic-bezier(.22,.8,.3,1);
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 40px);
}
.toast.show { transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 80px;
  background: #33200e;
  color: #d9c6a8;
  padding: 64px 0 34px;
  font-size: .94rem;
}
.site-footer a { color: #f0dfc0; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.footer-grid h4,
.footer-grid .footer-heading {
  font-family: var(--font-display);
  color: #fff5e4;
  font-size: 1rem;
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; display: grid; gap: 9px; }
.footer-brand p { margin-top: 12px; max-width: 30em; color: #bfa987; }
.footer-brand .script { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(217, 198, 168, .2);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: .82rem;
  color: #a68d69;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Scroll-reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Sticky mobil-CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 14px; right: 14px; bottom: 14px;
  z-index: 40;
}
.mobile-cta .btn { width: 100%; box-shadow: var(--shadow-lg); }
@media (max-width: 700px) {
  .mobile-cta.show-on-mobile { display: block; }
  body.has-mobile-cta { padding-bottom: 84px; }
}

/* ---------- Prose (villkor etc.) ---------- */
.prose { max-width: 720px; }
.prose h2 { margin: 36px 0 12px; font-size: 1.4rem; }
.prose p, .prose li { color: var(--ink-soft); margin-bottom: 12px; }
.prose ul { padding-left: 22px; }

/* ---------- Tack-sida ---------- */
.thanks {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  padding: 90px 0 60px;
}
.thanks__icon {
  width: 96px; height: 96px;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
}

/* ==========================================================================
   Brödsmulor
   ========================================================================== */
.breadcrumbs { padding: 18px 0 0; font-size: .86rem; color: var(--ink-soft); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: '›'; margin-right: 6px; color: var(--cream-line); }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--caramel); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); }

/* ==========================================================================
   Produktsida
   ========================================================================== */
.product-detail { padding-top: 26px; }
.product-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.product-detail__media {
  background: #f3ead9;
  border: 1px solid var(--cream-line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.product-detail__media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.product-detail__info h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 6px 0 10px; }
.product-detail__price {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--caramel-dark);
  margin-bottom: 16px;
}
.product-facts { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 10px; }
.product-facts li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  font-size: .95rem;
}
.product-facts li::before {
  content: '';
  position: absolute;
  left: 0; top: .45em;
  width: 14px; height: 8px;
  border-left: 2.4px solid var(--caramel);
  border-bottom: 2.4px solid var(--caramel);
  transform: rotate(-45deg);
}
.product-detail__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.product-detail__synonym { margin-top: 20px; font-size: .88rem; color: var(--ink-soft); }
.product-card__body h3 a { color: inherit; text-decoration: none; }
.product-card__body h3 a:hover { color: var(--caramel); }

@media (max-width: 860px) {
  .product-detail__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ==========================================================================
   Marknadskalender
   ========================================================================== */
.event-list { display: grid; gap: 14px; }
.event-card__full { font-size: .84rem; color: var(--ink-soft); margin-top: 2px; }
.event-card--past { opacity: .72; }
.market-archive { margin-top: 46px; }
.market-archive > summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  list-style: none;
  padding: 14px 0;
  border-top: 1px solid var(--cream-line);
}
.market-archive > summary::-webkit-details-marker { display: none; }
.market-archive > summary::after { content: ' +'; color: var(--caramel); }
.market-archive[open] > summary::after { content: ' −'; }
.market-archive .event-list { margin-top: 18px; }
.footer-address { font-style: normal; margin-top: 18px; font-size: .92rem; line-height: 1.7; color: #bfa987; }
.footer-address strong { color: #fff5e4; font-weight: 600; }

/* Kop die alleen voor schermlezers en de documentstructuur bestaat */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
/* De vraag is een echte kop, maar houdt de opmaak van de samenvatting */
.faq summary h3 { font: inherit; margin: 0; }

/* ==========================================================================
   Innehåll och näringsvärde
   ========================================================================== */
.product-info { border-top: 1px solid var(--cream-line); border-bottom: 1px solid var(--cream-line); }
.product-info > summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.product-info > summary h2 { font-size: 1.24rem; margin: 0; }
.product-info > summary::-webkit-details-marker { display: none; }
.product-info > summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--caramel);
  flex: none;
}
.product-info[open] > summary::after { content: '−'; }
.product-info__body { padding-bottom: 24px; color: var(--ink-soft); font-size: .94rem; }
.product-info__body p { margin-bottom: 14px; }
.product-info__body strong { color: var(--ink); }
.nutrition { width: 100%; max-width: 420px; border-collapse: collapse; margin: 18px 0; }
.nutrition caption { text-align: left; font-weight: 600; color: var(--ink); padding-bottom: 8px; }
.nutrition th, .nutrition td { text-align: left; padding: 7px 0; border-bottom: 1px solid var(--cream-line); font-weight: 400; }
.nutrition td { text-align: right; }

/* De hele productkaart is klikbaar, met de titel als link */
.product-card__body h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.product-card:hover .product-card__body h3 a { color: var(--caramel); text-decoration: underline; }
.product-card__more {
  display: inline-block;
  margin-bottom: 4px;
  color: var(--caramel);
  font-weight: 600;
  font-size: .88rem;
}
.product-card:hover .product-card__more { text-decoration: underline; }
.product-card__foot { position: relative; z-index: 2; }
.product-card__media { cursor: pointer; }

/* Zichtbare bijwerkdatum op informatiepagina's */
.page-updated { color: var(--ink-soft); font-size: .88rem; margin-top: 14px; }
.prose { max-width: 46em; }
.prose p { margin-bottom: 16px; color: var(--ink-soft); }
.prose h2 { margin-top: 36px; margin-bottom: 12px; }
.prose h3 { margin-top: 26px; margin-bottom: 8px; }
.prose ul, .prose ol { margin: 0 0 16px 22px; color: var(--ink-soft); }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.answer-first {
  background: var(--card);
  border: 1px solid var(--cream-line);
  border-left: 4px solid var(--caramel);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 28px;
}
.answer-first p { margin: 0; color: var(--ink); font-size: 1.05rem; }
.compare { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .93rem; }
.compare th, .compare td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--cream-line); }
.compare thead th { font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--cream-line); }
.compare tbody th { font-weight: 400; color: var(--ink-soft); }
.table-scroll { overflow-x: auto; }

/* ==========================================================================
   Länklista, interna länkar i löpande innehåll
   ========================================================================== */
.linklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px 34px;
}
.linklist li {
  border-top: 1px solid var(--cream-line);
  padding-top: 14px;
}
.linklist a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.04rem;
  color: var(--ink);
  text-decoration: none;
}
.linklist a:hover { color: var(--caramel); text-decoration: underline; }
.linklist span { display: block; margin-top: 4px; font-size: .9rem; color: var(--ink-soft); }

/* <picture> mag geen eigen box maken, anders klopt height:100% op de img niet */
picture { display: contents; }

/* Aanmeldvinkje bij het afrekenen */
.field.opt-in {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-top: 4px;
}
.field.opt-in input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--caramel); }

/* ==========================================================================
   Nyhetsbrev in de footer
   ========================================================================== */
.newsletter {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 20px 40px;
  align-items: center;
  padding-bottom: 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid rgba(217, 198, 168, .2);
}
.newsletter__note { color: #bfa987; font-size: .92rem; max-width: 34em; }
.newsletter__form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.newsletter__form input[type="email"] {
  flex: 1 1 200px;
  min-width: 0;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(217, 198, 168, .35);
  background: rgba(255, 253, 248, .08);
  color: #fff5e4;
  font: inherit;
  font-size: .95rem;
}
.newsletter__form input[type="email"]::placeholder { color: #bfa987; }
.newsletter__form input[type="email"]:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.newsletter__msg { flex: 1 0 100%; font-size: .88rem; margin: 0; }
.newsletter__msg.is-ok { color: var(--gold); }
.newsletter__msg.is-error { color: #ffb4a6; }
@media (max-width: 780px) {
  .newsletter { grid-template-columns: 1fr; }
}

/* --- Bewijs van de markt ---------------------------------------------- */
.bevis { padding: 40px 0 10px; }
.bevis__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 26px;
}
.bevis__grid figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #efe6d8;
  box-shadow: 0 2px 14px rgba(90, 60, 30, .10);
}
.bevis__grid img {
  width: 100%;
  height: auto;            /* anders wint het height-attribuut van aspect-ratio */
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
@media (max-width: 760px) {
  .bevis__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
