/* Verkoeld: verkoeling zonder de planeet op te warmen */
:root {
  --navy: #0b2545;
  --navy-soft: #13315c;
  --ice: #eef6fb;
  --ice-deep: #d7ebf5;
  --accent: #ff6b4a; /* warmte / urgentie */
  --teal: #0f8b8d;
  --text: #1b2a3a;
  --muted: #5b6b7b;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 2px 12px rgba(11, 37, 69, 0.08);
  --shadow-lift: 0 10px 30px rgba(11, 37, 69, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--ice);
  line-height: 1.55;
}

img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.topbar {
  background: var(--navy);
  color: #cfe3f0;
  font-size: 0.82rem;
  text-align: center;
  padding: 7px 16px;
}
.topbar strong { color: #fff; }

header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(238, 246, 251, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ice-deep);
}
.site-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.logo {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo { text-transform: lowercase; letter-spacing: -0.03em; }
.logo .dot { color: var(--teal); margin-left: 1px; }
.logo-mark { flex: none; border-radius: 9px; }
nav.main { display: flex; gap: 18px; margin-left: auto; font-weight: 600; font-size: 0.95rem; }
nav.main a { color: var(--navy-soft); padding: 6px 2px; }
nav.main a:hover { color: var(--teal); }

.cart-btn {
  position: relative;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 700;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-btn:hover { background: var(--navy-soft); }
.cart-count {
  background: var(--accent);
  border-radius: 999px;
  min-width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  padding: 0 6px;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 55%, #1d4e89 100%);
  color: #fff;
  padding: 72px 20px 84px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 74, 0.35), transparent 70%);
}
.hero-inner { max-width: 1100px; margin: 0 auto; position: relative; }
.hero .kicker {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 640px;
}
.hero h1 em { font-style: normal; color: #8fd6d8; }
.hero p.sub {
  margin-top: 18px;
  max-width: 540px;
  font-size: 1.08rem;
  color: #c9dcec;
}
.hero-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 26px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(255, 107, 74, 0.4); }
.btn-ghost { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); }

/* ---------- USP bar ---------- */
.usps {
  background: #fff;
  border-bottom: 1px solid var(--ice-deep);
}
.usps .wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  padding: 16px 20px;
}
.usp { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; color: var(--navy-soft); }
.usp svg { flex: none; color: var(--teal); }

/* ---------- Sections ---------- */
section.block { padding: 64px 0; }
.block h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 8px;
}
.block .lead { color: var(--muted); max-width: 620px; margin-bottom: 28px; }

/* ---------- Verkoeld-systeem ---------- */
.system { background: #fff; border-bottom: 1px solid var(--ice-deep); }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.step {
  text-align: left;
  background: var(--ice);
  border: 1.5px solid var(--ice-deep);
  border-radius: var(--radius);
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--teal); }
.step .n {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.step h3 { color: var(--navy); font-size: 1.05rem; }
.step p { color: var(--muted); font-size: 0.88rem; flex: 1; }
.step .steplink { color: var(--teal); font-weight: 700; font-size: 0.88rem; margin-top: 6px; }

/* ---------- Category filter ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filter {
  border: 1.5px solid var(--ice-deep);
  background: #fff;
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-soft);
}
.filter.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Product grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card-media {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--navy);
}
.card-media svg.picto { width: 84px; height: 84px; opacity: 0.9; }
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 10px;
  letter-spacing: 0.02em;
}
.watt-chip {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.watt-chip.nulwatt { background: var(--navy); color: #8fd6d8; }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 1.02rem; color: var(--navy); line-height: 1.3; }
.card-body p.short { font-size: 0.86rem; color: var(--muted); flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.price { font-weight: 800; font-size: 1.12rem; color: var(--navy); }
.add-btn {
  background: var(--teal);
  color: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 0.86rem;
}
.add-btn:hover { background: #0c7274; }

/* media gradients per categorie */
.m-slapen { background: linear-gradient(140deg, #dceefb, #b8d8f0); }
.m-huis { background: linear-gradient(140deg, #dff3ee, #b9e2da); }
.m-lichaam { background: linear-gradient(140deg, #fdeee6, #f9d5c5); }

/* ---------- Gidsen ---------- */
.guides { background: #fff; border-top: 1px solid var(--ice-deep); }
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.guide-card {
  background: var(--ice);
  border: 1.5px solid var(--ice-deep);
  border-radius: var(--radius);
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--teal); }
.gtag {
  align-self: flex-start;
  background: var(--navy);
  color: #8fd6d8;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 12px;
  letter-spacing: 0.03em;
}
.guide-card h3 { color: var(--navy); font-size: 1.08rem; line-height: 1.3; }
.guide-card p { color: var(--muted); font-size: 0.88rem; flex: 1; }
.gmeta { color: var(--teal); font-weight: 700; font-size: 0.85rem; }

/* gids-artikel in modal */
.article { padding: 34px 36px 38px; }
.article > h3 { color: var(--navy); font-size: 1.45rem; line-height: 1.25; margin: 14px 0 12px; }
.article h4 { color: var(--navy); font-size: 1.02rem; margin: 22px 0 6px; }
.article p { color: var(--muted); font-size: 0.94rem; margin-bottom: 10px; }
.article ul { margin: 8px 0 14px; padding-left: 20px; }
.article li { color: var(--navy-soft); font-size: 0.92rem; margin-bottom: 8px; }
.article .article-cta { margin-top: 24px; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* ---------- Missie / impact ---------- */
.impact { background: var(--navy); color: #dfeaf4; }
.impact h2 { color: #fff; }
.impact .lead { color: #a9c3d8; }
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 12px;
}
.stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 22px;
}
.stat .num { font-size: 2rem; font-weight: 800; color: #8fd6d8; letter-spacing: -0.02em; }
.stat .num.hot { color: var(--accent); }
.stat p { font-size: 0.9rem; margin-top: 6px; color: #b9cede; }

/* ---------- Nieuwsbrief ---------- */
.signup { background: #fff; border-top: 1px solid var(--ice-deep); }
.signup-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}
.signup form { display: flex; gap: 10px; flex-wrap: wrap; }
.signup input[type="email"] {
  border: 1.5px solid var(--ice-deep);
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 0.95rem;
  min-width: 260px;
}
.signup input[type="email"]:focus { outline: 2px solid var(--teal); border-color: transparent; }
.signup .note { font-size: 0.8rem; color: var(--muted); width: 100%; }

/* ---------- FAQ ---------- */
.faq details {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  padding: 18px 22px;
}
.faq summary { font-weight: 700; color: var(--navy); cursor: pointer; }
.faq details p { margin-top: 10px; color: var(--muted); font-size: 0.94rem; }

/* ---------- Footer ---------- */
footer.site {
  background: var(--navy);
  color: #9db8cd;
  padding: 40px 20px;
  font-size: 0.88rem;
}
footer .site-inner { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; padding: 0; }
footer .logo { color: #fff; font-size: 1.2rem; }
.foot-col { display: flex; flex-direction: column; gap: 7px; }
.foot-col strong { color: #fff; }
.foot-col a:hover { color: #fff; }

/* ---------- Cart drawer ---------- */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 37, 69, 0.45);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: #fff;
  z-index: 60;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(11, 37, 69, 0.2);
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--ice-deep);
}
.drawer-head h3 { color: var(--navy); }
.close-x { font-size: 1.4rem; color: var(--muted); line-height: 1; padding: 4px 8px; }
.drawer-items { flex: 1; overflow-y: auto; padding: 14px 22px; }
.line {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--ice);
}
.line .thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.line .thumb svg { width: 30px; height: 30px; }
.line .info { flex: 1; min-width: 0; }
.line .info h4 { font-size: 0.9rem; color: var(--navy); }
.line .info .unit { font-size: 0.8rem; color: var(--muted); }
.qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty button {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--ice);
  font-weight: 700;
  color: var(--navy);
}
.line .amt { font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.drawer-foot { padding: 18px 22px; border-top: 1px solid var(--ice-deep); }
.ship-msg { font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; }
.ship-msg.ok { color: var(--teal); font-weight: 700; }
.ship-bar {
  height: 6px;
  border-radius: 999px;
  background: var(--ice);
  overflow: hidden;
  margin-bottom: 14px;
}
.ship-bar span { display: block; height: 100%; background: var(--teal); border-radius: 999px; transition: width 0.25s ease; }
.sum-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 6px;
}
.total-row { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.1rem; color: var(--navy); margin: 8px 0 14px; }
.drawer-foot .btn { width: 100%; justify-content: center; }
.empty-msg { text-align: center; color: var(--muted); padding: 40px 12px; }

/* ---------- Modals (product + checkout) ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }
.modal-card {
  background: #fff;
  border-radius: 18px;
  max-width: 760px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lift);
}
.modal .close-x { position: absolute; top: 14px; right: 16px; z-index: 2; background: #fff; border-radius: 50%; }
.pd { display: grid; grid-template-columns: 1fr 1fr; }
.pd-media { min-height: 320px; display: flex; align-items: center; justify-content: center; color: var(--navy); position: relative; }
.pd-media svg.picto { width: 130px; height: 130px; }
.pd-body { padding: 30px 30px 34px; }
.pd-body h3 { font-size: 1.4rem; color: var(--navy); line-height: 1.25; }
.pd-body .price { font-size: 1.5rem; margin: 10px 0 14px; display: block; }
.pd-body p.desc { color: var(--muted); font-size: 0.95rem; }
.pd-body ul { margin: 16px 0 22px; padding-left: 0; list-style: none; }
.pd-body li {
  font-size: 0.9rem;
  color: var(--navy-soft);
  padding: 6px 0 6px 26px;
  position: relative;
}
.pd-body li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 800;
}
.checkout-body { padding: 34px; }
.checkout-body h3 { color: var(--navy); font-size: 1.35rem; margin-bottom: 4px; }
.checkout-body .sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 22px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--navy-soft); margin-bottom: 5px; }
.field input {
  width: 100%;
  border: 1.5px solid var(--ice-deep);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.95rem;
}
.field input:focus { outline: 2px solid var(--teal); border-color: transparent; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-note {
  background: var(--ice);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.82rem;
  color: var(--muted);
  margin: 16px 0 20px;
}
.success {
  text-align: center;
  padding: 20px 10px;
}
.success .big { font-size: 2.6rem; }
.success h3 { color: var(--navy); margin: 10px 0 6px; }
.success p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 80;
  transition: transform 0.25s ease;
  box-shadow: var(--shadow-lift);
}
.toast.show { transform: translateX(-50%) translateY(0); }

@media (max-width: 640px) {
  .pd { grid-template-columns: 1fr; }
  .pd-media { min-height: 200px; }
  nav.main { display: none; }
  .field-row { grid-template-columns: 1fr; }
}
