/*
Theme Name: PeptidePraat Pro
Theme URI: https://peptidepraat.nl
Author: PeptidePraat
Author URI: https://peptidepraat.nl
Description: Professioneel, donker kennisplatform-thema voor PeptidePraat – encyclopedie, kennisbank, community, onderzoek, kwaliteit & veiligheid. Responsive, modern, onafhankelijk.
Version: 3.2.57
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: peptidepraat
License: GNU General Public License v2 or later
*/

/* ============================================================
   PeptidePraat Theme – Core Styles
   ============================================================ */

:root {
  --bg: #1b2d48;
  --bg-soft: #243754;
  --panel: #2d4466;
  --panel-2: #355178;
  --text: #f8fbff;
  --muted: #c7d6eb;
  --blue: #4d9fff;
  --blue-light: #7ec8ff;
  --cyan: #5eead4;
  --line: rgba(255,255,255,0.16);
  --glow: rgba(77,159,255,0.25);
  --max: 1140px;
  --radius: 18px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse 80% 50% at 70% -10%, rgba(30,80,180,0.35) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 10% 90%, rgba(20,60,140,0.2) 0%, transparent 50%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color .2s, background .2s; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(27,45,72,0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 20px;
  min-height: 72px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 800; letter-spacing: -0.02em; white-space: nowrap;
}
.brand-logo {
  width: 38px; height: 38px; border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 0 20px var(--glow);
  flex-shrink: 0;
}
.brand-logo img { width: 38px; height: 38px; display: block; }
.brand-logo svg { width: 22px; height: 22px; }
.brand-text { font-size: 1.15rem; }
.brand-text span { color: var(--blue-light); }

.main-nav {
  margin-left: auto;
  display: flex; align-items: center; gap: 2px;
  font-size: 0.88rem; font-weight: 600;
  list-style: none; margin: 0 0 0 auto; padding: 0;
}
.main-nav li { margin: 0; position: relative; }
.main-nav a {
  color: var(--muted);
  padding: 8px 11px;
  border-radius: 10px;
  display: block;
}
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.main-nav .menu-item-has-children > a::after {
  content: " ▾";
  font-size: 0.72em;
  opacity: 0.7;
}
.main-nav .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 220px;
  padding: 8px;
  margin: 0;
  list-style: none;
  background: #1b2d48;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  z-index: 120;
}
.main-nav .sub-menu a { white-space: nowrap; }
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu { display: block; }
.header-auth {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: 12px;
}
.header-auth .btn-sm { padding: 7px 12px; font-size: 0.82rem; border-radius: 999px; }
.header-guest { color: var(--muted); font-size: 0.82rem; font-weight: 600; white-space: nowrap; }
.header-guest:hover { color: var(--text); }
.header-user { color: var(--muted); font-size: 0.82rem; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 700; font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer; transition: all .2s;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #0ea5e9);
  color: #fff;
  box-shadow: 0 4px 20px rgba(59,130,246,0.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 28px rgba(59,130,246,0.45); color: #fff; }
.btn-secondary {
  background: rgba(255,255,255,0.06);
  border-color: var(--line);
  color: var(--text);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); color: var(--text); }
.btn-ghost { background: transparent; color: var(--blue-light); }
.btn-ghost:hover { color: #fff; }

/* ===== HERO ===== */
.hero { padding: 100px 0 80px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--blue-light);
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 900;
  margin: 0 0 20px;
}
.gradient-text {
  background: linear-gradient(105deg, #fff 20%, #7ec8ff 70%, #5eead4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 28px;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual {
  position: relative;
  min-height: 380px;
  border-radius: 28px;
  border: 1px solid rgba(126,200,255,0.18);
  background:
    radial-gradient(circle at 30% 40%, rgba(59,130,246,0.25), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(6,182,212,0.2), transparent 45%),
    linear-gradient(160deg, #0c1a33, #081225);
  overflow: hidden;
  display: grid; place-items: center;
}
.hero-visual .molecule {
  width: 220px; height: 220px;
  opacity: 0.9;
  filter: drop-shadow(0 0 30px rgba(77,159,255,0.4));
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.orb-1 { width: 120px; height: 120px; background: #3b82f6; top: 10%; left: 15%; opacity: 0.35; }
.orb-2 { width: 90px; height: 90px; background: #06b6d4; bottom: 15%; right: 20%; opacity: 0.3; }
.orb-3 { width: 60px; height: 60px; background: #818cf8; top: 50%; right: 10%; opacity: 0.25; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-alt {
  background: rgba(45,68,102,0.65);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head {
  display: flex; flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 40px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
}
.section-intro {
  color: var(--muted);
  max-width: 380px;
  font-size: 1rem;
  margin: 0;
}

/* ===== CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  display: block;
}
.card:hover {
  border-color: rgba(126,200,255,0.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.card .icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59,130,246,0.25), rgba(6,182,212,0.15));
  display: grid; place-items: center;
  font-weight: 800; font-size: 0.9rem;
  color: var(--blue-light);
  margin-bottom: 16px;
}
.card h3 {
  font-size: 1.15rem;
  font-weight: 750;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(77,159,255,0.12);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

/* ===== PEPTIDE GRID ===== */
.peptide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.peptide-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: all .2s;
  display: flex;
  flex-direction: column;
}
.peptide-card:hover {
  border-color: rgba(126,200,255,0.3);
  transform: translateY(-2px);
}
.peptide-card .code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.8rem;
  color: var(--cyan);
  margin-bottom: 6px;
}
.peptide-card h3 {
  font-size: 1.2rem;
  font-weight: 750;
  margin: 0 0 8px;
}
.peptide-card p {
  color: var(--muted);
  font-size: 0.92rem;
  flex-grow: 1;
  margin: 0 0 16px;
}
.peptide-card .tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  color: var(--muted);
}

/* ===== PAGE CONTENT ===== */
.page-hero {
  padding: 70px 0 40px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  margin: 0 0 12px;
}
.page-hero p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0;
}
.content-wrap { padding: 50px 0 80px; }
.page-wrap { padding: 50px 0 80px; }
.prose {
  max-width: 720px;
  color: var(--muted);
}
.prose h2 {
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 750;
  margin: 36px 0 14px;
  letter-spacing: -0.02em;
}
.prose h3 {
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 28px 0 10px;
}
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 20px 1.3em; padding: 0; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--text); }
.prose a { color: var(--blue-light); }
.prose a:hover { text-decoration: underline; }

.info-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 0 14px 14px 0;
  padding: 20px 22px;
  margin: 28px 0;
  color: var(--muted);
}
.info-box strong { color: var(--blue-light); }

/* ===== FILTER / SEARCH ===== */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 32px;
  align-items: center;
}
.search-input {
  flex: 1;
  min-width: 200px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  font-family: inherit;
}
.search-input:focus { border-color: rgba(77,159,255,0.5); }
.search-input::placeholder { color: var(--muted); }
.filter-btn {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all .15s;
  font-family: inherit;
}
.filter-btn:hover,
.filter-btn.active {
  background: rgba(77,159,255,0.15);
  border-color: rgba(77,159,255,0.4);
  color: var(--blue-light);
}

/* ===== COMMUNITY / FORUM ===== */
.community-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}
.forum-topics {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.topic-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color .2s;
}
.topic-card:hover { border-color: rgba(126,200,255,0.25); }
.topic-avatar {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  display: grid; place-items: center;
  font-weight: 800; font-size: 0.85rem;
  flex-shrink: 0;
  color: #fff;
}
.topic-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 4px;
}
.topic-meta {
  font-size: 0.8rem;
  color: var(--muted);
}
.sidebar-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 90px;
}
.sidebar-panel h3 {
  font-size: 1rem;
  font-weight: 750;
  margin: 0 0 16px;
}
.chat-box {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 320px;
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-msg {
  background: var(--panel);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.88rem;
  max-width: 90%;
}
.chat-msg.own {
  align-self: flex-end;
  background: rgba(59,130,246,0.2);
  border: 1px solid rgba(59,130,246,0.25);
}
.chat-msg .who {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue-light);
  margin-bottom: 2px;
}
.chat-input-row {
  display: flex;
  border-top: 1px solid var(--line);
  padding: 10px;
  gap: 8px;
}
.chat-input-row input {
  flex: 1;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  font-family: inherit;
}
.chat-input-row button {
  background: linear-gradient(135deg, #3b82f6, #0ea5e9);
  border: none;
  border-radius: 10px;
  color: #fff;
  padding: 0 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(77,159,255,0.5);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 30px;
  background: rgba(27,45,72,0.55);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 14px;
  max-width: 260px;
}
.footer-title {
  font-weight: 750;
  font-size: 0.9rem;
  margin-bottom: 16px;
  color: var(--text);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--blue-light); }
.copyright {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

/* ===== BLOG / ARCHIVE ===== */
.entry-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color .2s, transform .2s;
}
.entry-card:hover {
  border-color: rgba(126,200,255,0.25);
  transform: translateY(-2px);
}
.entry-card h2 {
  font-size: 1.25rem;
  font-weight: 750;
  margin: 0 0 8px;
}
.entry-meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 10px;
}

/* ===== 404 ===== */
.error-404 {
  text-align: center;
  padding: 100px 0;
}
.error-404 h1 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 12px;
  background: linear-gradient(105deg, #fff, #7ec8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 280px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .header-auth { width: 100%; justify-content: flex-end; order: 3; padding: 8px 0 4px; }
  .header-inner { flex-wrap: wrap; }
  .community-aside { order: -1; }
  .sidebar-panel { position: static; }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(27,45,72,0.98);
    flex-direction: column;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--line);
    gap: 4px;
    align-items: stretch;
  }
  .main-nav.open { display: flex; }
  .menu-toggle { display: block; }
  .main-nav .sub-menu {
    position: static;
    display: block;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 8px 14px;
    min-width: 0;
  }
}
@media (max-width: 600px) {
  .cards, .peptide-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 60px 0 50px; }
  .section { padding: 50px 0; }
  .actions { flex-direction: column; }
  .actions .btn { width: 100%; }
  .container { width: min(calc(100% - 28px), var(--max)); }
}

/* WooCommerce light support */
.woocommerce .button,
.woocommerce button.button {
  background: linear-gradient(135deg, #3b82f6, #0ea5e9) !important;
  color: #fff !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: 12px;
  background: var(--panel);
  border-color: var(--line);
  color: var(--text);
}

/* ===== PEPTIDE DETAIL ===== */
.breadcrumb {
  font-size: 0.9rem;
  margin: 0 0 12px;
}
.breadcrumb a { color: var(--blue-light); }
.breadcrumb a:hover { text-decoration: underline; }

.peptide-detail-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}
.peptide-content code {
  background: rgba(94,234,212,0.12);
  color: var(--cyan);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.88em;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
}
.meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}
.meta-list li strong { color: var(--text); font-weight: 600; }
.meta-list li:last-child { border-bottom: 0; }
.related-peptides {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.related-link {
  color: var(--muted);
  font-size: 0.92rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.related-link:hover { color: var(--blue-light); }
.related-link:last-child { border-bottom: 0; }

a.peptide-card {
  text-decoration: none;
  color: inherit;
}
a.peptide-card:hover h3 { color: var(--blue-light); }

@media (max-width: 900px) {
  .peptide-detail-layout { grid-template-columns: 1fr; }
}

/* ===== COMMUNITY CHAT (improved) ===== */
.chat-panel { padding: 0; overflow: hidden; }
.chat-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 18px 18px 12px; border-bottom: 1px solid var(--line);
}
.chat-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; color: var(--muted); margin-top: 4px;
}
.chat-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #34d399; box-shadow: 0 0 8px rgba(52,211,153,0.6);
}
.chat-box { height: 380px; border: 0; border-radius: 0; background: var(--bg-soft); }
.chat-messages { padding: 14px 16px; gap: 12px; }
.chat-msg {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px 14px 14px 4px;
  padding: 10px 12px;
  font-size: 0.88rem;
  max-width: 92%;
  line-height: 1.45;
}
.chat-msg.own {
  align-self: flex-end;
  border-radius: 14px 14px 4px 14px;
  background: linear-gradient(135deg, rgba(59,130,246,0.25), rgba(6,182,212,0.12));
  border-color: rgba(59,130,246,0.3);
}
.chat-msg.system {
  align-self: center;
  max-width: 100%;
  background: rgba(255,255,255,0.03);
  border-style: dashed;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}
.chat-input-row {
  padding: 12px; gap: 10px;
  background: rgba(6,13,26,0.5);
  border-top: 1px solid var(--line);
}
.chat-input-row input {
  border-radius: 12px; padding: 12px 14px;
}
.chat-input-row button {
  background: linear-gradient(135deg, #3b82f6, #0ea5e9);
  border: none; border-radius: 12px;
  color: #fff; font-weight: 700;
  padding: 0 16px; cursor: pointer;
  font-family: inherit; font-size: 0.9rem;
}
.chat-footnote {
  font-size: 0.75rem; color: var(--muted);
  margin: 0; padding: 10px 16px 14px;
  border-top: 1px solid var(--line);
}

/* ===== SHOP ===== */
.shop-grid { grid-template-columns: repeat(3, 1fr); }
.shop-card { display: flex; flex-direction: column; }
.shop-img {
  height: 140px; border-radius: 12px; margin-bottom: 14px;
  background: linear-gradient(145deg, #152744, #0c1a33);
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.shop-img::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(77,159,255,0.25), transparent 55%);
}
.shop-img-2::after { background: radial-gradient(circle at 70% 40%, rgba(6,182,212,0.22), transparent 50%); }
.shop-img-3::after { background: radial-gradient(circle at 50% 60%, rgba(129,140,248,0.25), transparent 50%); }
.shop-img-4::after { background: radial-gradient(circle at 40% 20%, rgba(94,234,212,0.2), transparent 50%); }
.shop-img-5::after { background: radial-gradient(circle at 60% 70%, rgba(59,130,246,0.3), transparent 55%); }
.shop-img-6::after { background: radial-gradient(circle at 50% 40%, rgba(251,191,36,0.15), transparent 50%); }
.shop-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 14px; gap: 10px;
}
.shop-price { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
@media (max-width: 900px) {
  .shop-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .shop-grid { grid-template-columns: 1fr; }
}


/* Shop extras */
.shop-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 12px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  background: #0a0a0a;
}
.shop-howto {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
  align-items: start;
}
.shop-howto h2 { margin-top: 0; }
.shop-howto ol { color: var(--muted); line-height: 1.7; padding-left: 1.2em; }
.shop-pay-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.shop-pay-box p { color: var(--muted); margin: 8px 0 14px; }
.shop-note { font-size: 0.9rem; }
.shop-order { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line, #d8dee8); }
.shop-form-items { display: grid; gap: 10px; margin: 16px 0 28px; }
.shop-form-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; background: var(--panel, #fff); border: 1px solid var(--line, #d8dee8); border-radius: 12px; padding: 12px 14px; }
.shop-form-name { flex: 1 1 200px; font-weight: 600; }
.shop-form-name span { font-weight: 500; color: var(--muted); margin-left: 8px; }
.shop-qty input, .shop-size select, .shop-form-grid input, .shop-form-grid textarea {
  width: 100%; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line, #c9d2de); background: #fff;
}
.shop-qty { width: 90px; }
.shop-size { width: 110px; }
.shop-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.shop-form-grid label { display: grid; gap: 6px; font-weight: 600; font-size: 0.92rem; }
.shop-form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .shop-form-grid { grid-template-columns: 1fr; } }
.shop-wa { white-space: nowrap; }
@media (max-width: 800px) {
  .shop-howto { grid-template-columns: 1fr; }
}

/* ===== BBPRESS – dark theme ===== */
#bbpress-forums,
.bbp-embed #bbpress-forums {
  font-family: var(--font);
  color: var(--text);
  background: transparent;
  font-size: 0.95rem;
}
#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-topics,
#bbpress-forums ul.bbp-replies,
#bbpress-forums ul.bbp-lead-topic {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--panel);
}
#bbpress-forums li.bbp-header,
#bbpress-forums li.bbp-footer {
  background: var(--panel-2) !important;
  color: var(--muted) !important;
  border: 0 !important;
  padding: 12px 16px;
}
#bbpress-forums li.bbp-body ul.forum,
#bbpress-forums li.bbp-body ul.topic {
  background: transparent !important;
  border-top: 1px solid var(--line) !important;
  padding: 16px;
}
#bbpress-forums .bbp-forum-title,
#bbpress-forums .bbp-topic-permalink {
  color: var(--blue-light) !important;
  font-weight: 700;
}
#bbpress-forums .bbp-forum-content,
#bbpress-forums .bbp-forum-info,
#bbpress-forums .bbp-topic-meta,
#bbpress-forums .bbp-author-name {
  color: var(--muted) !important;
}
#bbpress-forums fieldset.bbp-form,
#bbpress-forums div.bbp-template-notice,
#bbpress-forums div.indicator-hint {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 14px;
}
#bbpress-forums div.bbp-template-notice p,
#bbpress-forums div.bbp-template-notice a {
  color: var(--muted);
}
#bbpress-forums input[type="text"],
#bbpress-forums input[type="search"],
#bbpress-forums textarea,
#bbpress-forums select {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  padding: 10px 12px;
}
#bbpress-forums button,
#bbpress-forums .button,
#bbpress-forums input[type="submit"] {
  background: linear-gradient(135deg, #3b82f6, #0ea5e9);
  border: 0;
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  padding: 10px 16px;
  cursor: pointer;
}
.bbp-breadcrumb {
  color: var(--muted);
  margin-bottom: 16px;
}
.bbp-breadcrumb a { color: var(--blue-light); }
#bbpress-forums .bbp-pagination-links a,
#bbpress-forums .bbp-pagination-links span {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
}
.bbp-embed { overflow-x: auto; }

.hero-vial {
  position: relative;
  z-index: 2;
  width: min(100%, 380px);
  height: auto;
  margin: 0 auto;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  object-fit: cover;
}

.hero-brand-stack {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.hero-logo {
  width: min(100%, 420px);
  height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.28);
}
.hero-vial {
  position: relative;
  z-index: 2;
  width: min(100%, 280px);
  height: auto;
  margin: 0 auto;
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  object-fit: cover;
}
.brand-mark {
  height: 42px;
  width: auto;
  max-width: 210px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 700px) {
  .brand-mark { height: 34px; max-width: 160px; }
  .hero-vial { width: min(100%, 220px); }
}

.hero-banner { padding-top: 28px; padding-bottom: 48px; }
.hero-band {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 32px;
}
.hero-logo-wide {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.28);
}
.hero-vial-side {
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: none;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 22px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.35);
}
.hero-copy h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  line-height: 1.08;
  margin: 8px 0 16px;
}
.hero-copy p { max-width: 720px; color: var(--muted); }
@media (max-width: 800px) {
  .hero-band { grid-template-columns: 1fr; }
  .hero-vial-side { max-height: none; }
}

.hero-unified {
  width: min(100%, 860px);
  height: auto;
  max-height: 340px;
  display: block;
  margin-inline: auto;
  border-radius: 20px;
  object-fit: contain;
  object-position: center;
  background: #07101c;
  box-shadow: 0 16px 40px rgba(0,0,0,0.32);
}
.hero-band { display: block !important; margin-bottom: 28px; }

.hero-band-split {
  display: grid !important;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: center;
}
.hero-logo-panel,
.hero-vial-panel {
  background: #07101c;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-panel img,
.hero-vial-panel img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;
}
.hero-vial-panel img {
  padding: 12px 12px 28px;
}
@media (max-width: 800px) {
  .hero-band-split { grid-template-columns: 1fr; }
}

.hero-banner { padding-top: 18px; padding-bottom: 28px; }
.hero-band { margin-bottom: 22px !important; }
@media (max-width: 800px) {
  .hero-unified { max-height: 240px; width: 100%; }
}

.hero-banner { padding-top: 10px !important; padding-bottom: 28px !important; }
.hero-strip {
  width: 100%;
  margin: 0 0 22px;
  border-radius: 14px;
  overflow: hidden;
  height: 148px;
  background: #07101c;
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
}
.hero-strip .hero-unified,
.hero-unified {
  width: 100% !important;
  max-width: none !important;
  height: 148px !important;
  max-height: 148px !important;
  object-fit: cover !important;
  object-position: center 45% !important;
  display: block;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
@media (max-width: 800px) {
  .hero-strip, .hero-strip .hero-unified, .hero-unified {
    height: 110px !important;
    max-height: 110px !important;
  }
}

.hero-strip-live {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 132px !important;
  padding: 10px 28px;
  background: linear-gradient(90deg, #243a5c 0%, #2d4a73 55%, #2a456c 100%);
  border: 1px solid rgba(77,159,255,0.12);
}
.hero-wordmark {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.hw-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 14px;
  border: 2px solid #4d9fff;
  background:
    radial-gradient(circle at 30% 30%, #4d9fff 0 6px, transparent 7px),
    radial-gradient(circle at 70% 28%, #4d9fff 0 5px, transparent 6px),
    radial-gradient(circle at 28% 70%, #4d9fff 0 5px, transparent 6px),
    radial-gradient(circle at 72% 72%, #4d9fff 0 6px, transparent 7px),
    linear-gradient(#4d9fff,#4d9fff) 50% 32%/18px 2px no-repeat,
    linear-gradient(#4d9fff,#4d9fff) 32% 55%/2px 16px no-repeat,
    linear-gradient(#4d9fff,#4d9fff) 68% 58%/2px 14px no-repeat;
}
.hw-name {
  font-size: clamp(1.6rem, 3.4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  color: #fff;
}
.hw-name span { color: #4d9fff; }
.hw-url {
  margin-top: 6px;
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  color: #8aa4c4;
  text-transform: lowercase;
}
.hero-vial-mini {
  height: 112px !important;
  width: auto !important;
  max-width: 92px;
  object-fit: contain !important;
  display: block;
  border-radius: 10px;
}
@media (max-width: 700px) {
  .hero-strip-live { height: 108px !important; padding: 8px 14px; }
  .hw-icon { width: 40px; height: 40px; flex-basis: 40px; }
  .hero-vial-mini { height: 88px !important; max-width: 72px; }
}

.hero-vials {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 18px;
  flex: 1;
  min-width: 0;
  padding-left: 20px;
}
.hero-vials img {
  width: auto !important;
  object-fit: contain !important;
  display: block;
  filter: none;
  opacity: 1;
  transform: translateY(-2px);
}
.hero-vials .v1 { height: 96px !important; }
.hero-vials .v2 { height: 128px !important; }
.hero-vials .v3 { height: 148px !important; }
.hero-vials .v4 { height: 112px !important; }
.hero-strip-live { height: 168px !important; overflow: visible; }
@media (max-width: 800px) {
  .hero-vials { gap: 10px; }
  .hero-vials .v1 { height: 56px !important; }
  .hero-vials .v2 { height: 78px !important; }
  .hero-vials .v3 { height: 92px !important; }
  .hero-vials .v4 { display: none; }
}

.hero-strip-live { height: 180px !important; overflow: visible !important; }
.hero-vials { gap: 22px !important; align-items: flex-end !important; }
.hero-vials img {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}
.hero-vials .v1 { height: 118px !important; }
.hero-vials .v2 { height: 156px !important; }
.hero-vials .v3 { height: 172px !important; }
.hero-vials .v4 { display: none !important; }

.hero-vials img { box-shadow: none !important; filter: none !important; background: none !important; }

body {
  background: #1e334f !important;
  background-image:
    radial-gradient(1200px 500px at 10% -10%, rgba(110,170,255,0.22), transparent 55%),
    radial-gradient(900px 400px at 90% 0%, rgba(90,200,220,0.12), transparent 50%) !important;
}
.hero, .hero-banner, .page-hero {
  background: linear-gradient(180deg, #2a466c 0%, #1e334f 100%) !important;
}
.site-header { background: rgba(36,58,92,0.92) !important; }

.hero-vials-one { justify-content: flex-end !important; }
.hero-vials-one .v-main {
  height: 168px !important;
  width: auto !important;
  max-width: 120px;
  object-fit: contain !important;
  background: none !important;
  box-shadow: none !important;
  filter: none !important;
  border-radius: 8px;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}
.hero-visual {
  display: flex;
  justify-content: center;
}
.hero-visual img {
  width: min(280px, 100%);
  height: auto;
  max-height: 340px;
  object-fit: contain;
  border-radius: 16px;
}
.hero-strip, .hero-strip-live { display: none !important; }
@media (max-width: 800px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual img { max-height: 220px; width: 160px; }
}

.hero-visual img {
  width: min(420px, 100%) !important;
  max-height: 420px !important;
  object-fit: contain !important;
  border-radius: 18px;
}

.hero-visual {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
}
.hero-visual img {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  -webkit-mask-image: radial-gradient(ellipse 58% 72% at 50% 50%, #000 38%, transparent 70%);
  mask-image: radial-gradient(ellipse 58% 72% at 50% 50%, #000 38%, transparent 70%);
}

.shop-brand { margin: 0 0 18px; }
.shop-logo-main {
  width: min(420px, 100%);
  height: auto;
  display: block;
  border-radius: 16px;
}
.peptide-vial-thumb {
  width: 100%;
  height: 160px;
  object-fit: contain;
  margin: 0 0 12px;
  background: transparent;
}
.peptide-hero-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
}
.peptide-vial-hero {
  width: 220px;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  background: transparent;
  -webkit-mask-image: radial-gradient(ellipse 60% 72% at 50% 50%, #000 40%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 72% at 50% 50%, #000 40%, transparent 72%);
}
@media (max-width: 700px) {
  .peptide-hero-row { grid-template-columns: 1fr; }
  .peptide-vial-hero { width: 180px; }
}


.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #052e16 !important;
  font-weight: 700; font-size: 0.92rem;
  padding: 12px 16px; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
  text-decoration: none !important;
}
.wa-float:hover { filter: brightness(1.05); color: #052e16 !important; }
@media (max-width: 640px) {
  .wa-float span { display: none; }
  .wa-float { padding: 13px; }
}


body.page-template-page-community .page-hero,
.page-community .page-hero {
  padding: 28px 0 12px;
}
body.page-template-page-community .page-hero h1 {
  margin: 6px 0 8px;
}
@media (max-width: 960px) {
  body.page-template-page-community .page-hero {
    padding: 16px 0 8px;
  }
  body.page-template-page-community .content-wrap {
    padding-top: 8px;
  }
}

.pp-forum-bar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin: 0 0 18px; padding: 12px 14px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
}
.pp-forum-bar .btn { text-decoration: none; }
.pp-forum-bar-user { color: var(--muted); margin-right: auto; }

#bbpress-forums #bbp-search-form,
#bbpress-forums .bbp-search-form {
  display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px;
}
#bbpress-forums #bbp-search-form input[type="text"],
#bbpress-forums .bbp-search-form input[type="text"] {
  flex: 1; min-width: 140px;
}
#bbpress-forums li.bbp-body ul.forum,
#bbpress-forums li.bbp-body ul.topic {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  align-items: start;
}
#bbpress-forums .bbp-forum-info,
#bbpress-forums .bbp-topic-title { grid-column: 1 / -1; }
#bbpress-forums .bbp-forum-topic-count,
#bbpress-forums .bbp-forum-reply-count,
#bbpress-forums .bbp-topic-voice-count,
#bbpress-forums .bbp-topic-reply-count { display: none; }
#bbpress-forums .bbp-forum-freshness,
#bbpress-forums .bbp-topic-freshness {
  color: var(--muted); font-size: 0.82rem; justify-self: end;
}
#bbpress-forums li.bbp-header .bbp-forum-topic-count,
#bbpress-forums li.bbp-header .bbp-forum-reply-count,
#bbpress-forums li.bbp-header .bbp-forum-freshness,
#bbpress-forums li.bbp-header .bbp-topic-voice-count,
#bbpress-forums li.bbp-header .bbp-topic-reply-count { display: none; }
#bbpress-forums li.bbp-header {
  font-size: 0.78rem; letter-spacing: .04em; text-transform: uppercase;
}

@media (max-width: 700px) {
  .bbp-breadcrumb { display: none; }
  #bbpress-forums li.bbp-header,
  #bbpress-forums li.bbp-footer { display: none; }
  #bbpress-forums li.bbp-body ul.forum,
  #bbpress-forums li.bbp-body ul.topic {
    grid-template-columns: 1fr;
    padding: 14px !important;
  }
  #bbpress-forums .bbp-forum-freshness,
  #bbpress-forums .bbp-topic-freshness { justify-self: start; }
}

#bbpress-forums div.bbp-reply-header,
#bbpress-forums div.bbp-topic-header {
  background: var(--panel-2) !important;
  border: 0 !important;
  color: var(--muted);
  border-radius: 14px 14px 0 0;
}
#bbpress-forums div.bbp-reply-content,
#bbpress-forums div.bbp-topic-content {
  background: var(--panel);
  color: var(--text);
  border-radius: 0 0 14px 14px;
  padding: 16px 18px 20px !important;
  margin-bottom: 12px;
}
#bbpress-forums .bbp-reply-author,
#bbpress-forums .bbp-topic-author { color: var(--muted); }
#bbpress-forums li.bbp-body div.hentry {
  background: transparent !important;
  border: 1px solid var(--line) !important;
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
}

/* Forums: geen dubbele knoppen, geen kapotte zoekbalk */
body.bbpress .page-hero,
body.forum .page-hero,
.bbpress .page-hero {
  padding: 18px 0 6px;
}
body.bbpress .page-hero .kicker { display: none; }
body.bbpress .page-hero h1 { font-size: 1.7rem; margin: 0; }
#bbpress-forums #bbp-search-form,
#bbpress-forums .bbp-search-form,
.bbp-search-form {
  display: none !important;
}
.pp-forum-bar { display: none !important; }
#bbpress-forums .bbp-forum-content {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
}

/* Abonneren hide + editor opruimen */
.bbp-forum-subscription,
.bbp-topic-subscription,
#subscription-toggle,
.subscription-toggle {
  display: none !important;
}
#bbpress-forums div.bbp-template-notice.info,
#bbpress-forums div.bbp-template-notice {
  font-size: 0.9rem;
  padding: 10px 14px;
}
#bbpress-forums fieldset.bbp-form legend {
  color: var(--text);
  font-weight: 700;
  padding: 0;
}
#bbpress-forums .quicktags-toolbar,
#bbpress-forums .wp-editor-tools,
#bbpress-forums .wp-media-buttons {
  display: none !important;
}
#bbpress-forums textarea.bbp-the-content,
#bbpress-forums textarea {
  background: var(--bg-soft) !important;
  color: var(--text) !important;
  border: 1px solid var(--line) !important;
  min-height: 140px;
}

.community-stack { display: grid; gap: 28px; }
.page-hero-tight { padding: 22px 0 8px; }
.content-wrap-tight { padding-top: 8px; }
.chat-panel-wide { max-width: 100%; }
.forum-heading { font-size: 1.15rem; margin: 0 0 12px; font-weight: 750; }
.pp-forum-list { display: grid; gap: 10px; }
.pp-forum-card {
  display: flex; gap: 14px; align-items: center; justify-content: space-between;
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 18px; color: inherit;
}
.pp-forum-card-text strong { display: block; font-size: 1.02rem; margin-bottom: 4px; }
.pp-forum-card-text p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.45; }
.pp-forum-card-meta { color: var(--muted); font-size: 0.78rem; text-align: right; white-space: nowrap; }
.wa-banner {
  display: block; text-align: center; background: #25D366; color: #052e16 !important;
  font-weight: 800; padding: 14px; border-radius: 14px;
}
@media (max-width: 700px) {
  .pp-forum-card { flex-direction: column; align-items: flex-start; }
  .pp-forum-card-meta { text-align: left; }
}

.pp-forum-icon {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 1.25rem;
  background: rgba(126,200,255,.12); border: 1px solid var(--line);
}
.pp-forum-card { align-items: flex-start; }

.pp-forum-card:hover { border-color: var(--blue); background: var(--panel-2); }

/* ===== Lab protocols ===== */
.lab-card { cursor: pointer; text-align: left; font: inherit; color: inherit; width: 100%; }
.lab-more { display: inline-block; margin-top: 10px; color: var(--blue-light); font-size: 13px; font-weight: 600; }
.lab-dlg { border: 1px solid var(--line); border-radius: 18px; background: var(--panel); color: var(--text); padding: 0; width: min(440px, calc(100% - 24px)); }
.lab-dlg::backdrop { background: rgba(10,18,32,.7); }
.lab-dlg-inner { padding: 22px 20px 18px; }
.lab-dlg-inner h3 { margin: 0 0 10px; }
.lab-dlg-inner ul { color: var(--muted); line-height: 1.55; padding-left: 18px; margin: 0 0 16px; }
.lab-dlg-inner .btn { width: 100%; }

.protocol-list { color: var(--muted); line-height: 1.6; padding-left: 1.2em; }
.protocol-list li { margin-bottom: 8px; }

.protocol-block { scroll-margin-top: 90px; }

/* ===== 3.2 extras ===== */
.path-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.path-card {
  display:block; padding:22px 18px; border-radius:18px;
  background:var(--panel); border:1px solid var(--line); color:inherit; text-decoration:none;
}
.path-card:hover { border-color:var(--blue); background:var(--panel-2); }
.path-n { display:block; color:var(--cyan); font-weight:800; letter-spacing:.08em; font-size:.78rem; margin-bottom:10px; }
.path-card h2, .path-card h3 { margin:0 0 8px; font-size:1.15rem; }
.path-card p { margin:0; color:var(--muted); font-size:.92rem; line-height:1.45; }
.split-cta { display:grid; grid-template-columns:1fr 1fr; gap:28px; align-items:start; }
.split-cta h2 { margin:8px 0 12px; }
.muted-note { color:var(--muted); font-size:.9rem; }
.strip-disc {
  margin-top:18px; padding:10px 12px; border-radius:12px;
  background:rgba(94,234,212,.08); border:1px solid var(--line);
  color:var(--muted); font-size:.88rem;
}
.coa-steps { display:grid; gap:12px; margin:24px 0; }
.coa-step { background:var(--panel); border:1px solid var(--line); border-radius:16px; padding:16px 18px; }
.coa-step h2 { margin:0 0 8px; font-size:1.05rem; }
.coa-step p { margin:0; color:var(--muted); }
.gloss { display:grid; gap:10px; }
.gloss-item { background:var(--panel); border:1px solid var(--line); border-radius:14px; padding:14px 16px; }
.gloss-item dt { font-weight:800; margin-bottom:6px; }
.gloss-item dd { margin:0; color:var(--muted); }
.check-list { color:var(--text); line-height:1.7; font-size:1.05rem; }
.header-search input {
  background:var(--bg-soft); border:1px solid var(--line); color:var(--text);
  border-radius:999px; padding:8px 14px; width:140px;
}
.screen-reader-text { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
@media (max-width: 900px) {
  .path-grid, .split-cta { grid-template-columns:1fr 1fr; }
  body { font-size: 17px; }
}
@media (max-width: 640px) {
  .path-grid, .split-cta { grid-template-columns:1fr; }
  .header-search { display:none; }
  h1 { font-size: 1.85rem; }
}


/* Onderzoek: kleine affiliate shop-knoppen */
.shop-research-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}
.shop-research-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
}
.shop-research-card h3 { margin-top: 0.35rem; }
.btn-mini {
  display: inline-block;
  font-size: 0.82rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: var(--text, #e8eef7);
  border: 1px solid rgba(255,255,255,0.16);
  text-decoration: none;
}
.btn-mini:hover { background: rgba(255,255,255,0.14); color: #fff; }
.muted { opacity: 0.75; font-size: 0.92rem; }
@media (max-width: 720px) {
  .shop-research-grid { grid-template-columns: 1fr; }
}

.shop-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.75rem;
  padding: 0.35rem 0.85rem 0.35rem 0.35rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text, #e8eef7);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}
.shop-pill img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
}
.shop-pill-sub {
  display: block;
  font-weight: 400;
  font-size: 0.68rem;
  opacity: 0.55;
  letter-spacing: 0.02em;
}
.shop-pill:hover { background: rgba(255,255,255,0.12); color: #fff; }

.shop-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 1.5rem 0 2.25rem;
}
.shop-btns a { margin-right: 0.5rem; margin-bottom: 0.75rem; }
.shop-btns a { display: inline-block; line-height: 0; }
.shop-btns img {
  width: min(100%, 420px);
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
}
.shop-btns a:hover img { filter: brightness(1.08); }

.video-block { margin: 2rem 0 2.6rem; }
.video-embed {
  position: relative;
  width: 100%;
  max-width: 920px;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #0b1220;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
  margin: 0 0 40px;
}
.video-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0 0 28px;
}
.video-jump a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.86rem;
  font-weight: 700;
}
@media (max-width: 800px) {
  .video-grid { grid-template-columns: 1fr; }
}

.partner-logs {
  margin: 2.4rem 0 2.6rem;
  padding: 1.4rem 1.5rem 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(94,234,212,0.22);
  background: linear-gradient(180deg, rgba(15,118,110,0.18), rgba(15,23,42,0.35));
}
.partner-logs h2 { margin-top: 0.35rem; }
.partner-logs .muted-note {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: -0.4rem;
}
.card-partner { border-color: rgba(94,234,212,0.28); }
.header-textlink {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}
.header-textlink:hover { color: #fff; }

.calc-box { display:grid; gap:14px; max-width:420px; margin:18px 0; }
.calc-box label { display:grid; gap:6px; font-weight:600; }
.calc-box input { font-size:1.15rem; padding:10px 12px; border:1px solid #c9d4e8; border-radius:8px; }
.calc-formula { font-family:ui-monospace,monospace; background:#eef3fb; padding:10px 12px; border-radius:8px; }
.calc-out { font-size:1.15rem; font-weight:700; }

.brand-stack { display:flex; flex-direction:column; align-items:flex-start; gap:6px; }
.logs-chip {
  display:inline-block;
  padding:4px 10px;
  border-radius:999px;
  background:#12345c;
  color:#fff;
  font-size:0.72rem;
  font-weight:700;
  letter-spacing:0.02em;
  text-decoration:none;
  line-height:1.2;
}
.logs-chip:hover { background:#1c4f8a; color:#fff; }


/* ===== Lab skin 3.2.55 ===== */
:root {
  --bg: #08111c;
  --bg-soft: #0d1826;
  --panel: #101c2c;
  --panel-2: #162536;
  --text: #eef4fb;
  --muted: #9aafc6;
  --blue: #3d8bfd;
  --blue-light: #8ec5ff;
  --cyan: #5eead4;
  --line: rgba(142,197,255,0.16);
  --glow: rgba(61,139,253,0.18);
  --radius: 14px;
}
body {
  background:
    radial-gradient(ellipse 70% 40% at 80% -10%, rgba(40,90,180,0.22), transparent 55%),
    linear-gradient(180deg, #0b1522 0%, #08111c 40%, #071018 100%);
  background-attachment: fixed;
  letter-spacing: 0.01em;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(142,197,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142,197,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 70%);
  z-index: 0;
}
.site-header, main, .site-footer { position: relative; z-index: 1; }
.site-header {
  background: rgba(8,17,28,0.82);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.brand-text { letter-spacing: 0.08em; font-weight: 700; }
.kicker, .path-n, .badge {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.page-hero, .hero, .hero-banner {
  border-bottom: 1px solid var(--line);
}
.page-hero h1, .hero h1 {
  letter-spacing: -0.03em;
  font-weight: 650;
}
.card, .path-card, .info-box, .video-block, .calc-box {
  background: linear-gradient(180deg, rgba(22,37,54,0.92), rgba(13,24,38,0.92));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.card:hover, .path-card:hover {
  border-color: rgba(94,234,212,0.45);
  transform: translateY(-2px);
}
.btn, .btn-primary, .btn-secondary {
  border-radius: 10px;
  letter-spacing: 0.02em;
}
.btn-primary {
  background: linear-gradient(180deg, #4b97ff, #2f74d8);
  border: 1px solid rgba(255,255,255,0.12);
}
.main-nav a {
  letter-spacing: 0.03em;
}
.site-footer {
  background: #070e16;
  border-top: 1px solid var(--line);
}


/* ===== Premium light 3.2.55 ===== */
:root {
  --bg: #f6f3ee;
  --bg-soft: #fffdf9;
  --panel: #ffffff;
  --panel-2: #f3efe8;
  --text: #172033;
  --muted: #5d6b80;
  --blue: #1e4d8c;
  --blue-light: #1e4d8c;
  --cyan: #0f766e;
  --line: rgba(23,32,51,0.10);
  --glow: rgba(30,77,140,0.08);
  --radius: 16px;
}
body {
  background:
    radial-gradient(ellipse 50% 30% at 90% 0%, rgba(30,77,140,0.06), transparent 60%),
    #f6f3ee !important;
  color: #172033 !important;
  letter-spacing: 0;
}
body::before { display: none !important; }
.site-header {
  background: rgba(246,243,238,0.9) !important;
  border-bottom: 1px solid rgba(23,32,51,0.08) !important;
  box-shadow: none !important;
}
.brand-text, .brand-text span { color: #172033 !important; letter-spacing: 0.12em; }
.main-nav a, .header-textlink, .header-user { color: #243044 !important; }
.header-search input {
  background: #fff !important;
  color: #172033 !important;
  border: 1px solid rgba(23,32,51,0.12) !important;
}
.hero, .hero-banner, .page-hero {
  background: transparent !important;
  border-bottom: 0 !important;
  color: #172033 !important;
}
.hero h1, .page-hero h1, h1, h2, h3 { color: #172033 !important; letter-spacing: -0.03em; }
.gradient-text { background: none !important; -webkit-text-fill-color: #1e4d8c !important; color: #1e4d8c !important; }
.kicker { color: #0f766e !important; letter-spacing: 0.16em; }
.hero p, .page-hero p, .section-intro, .card p, .muted, .prose p { color: #5d6b80 !important; }
.card, .path-card, .info-box, .video-block {
  background: #fff !important;
  border: 1px solid rgba(23,32,51,0.08) !important;
  box-shadow: 0 10px 30px rgba(23,32,51,0.05) !important;
  color: #172033 !important;
}
.card:hover, .path-card:hover {
  border-color: rgba(30,77,140,0.28) !important;
  transform: translateY(-3px);
}
.btn-primary {
  background: #1e4d8c !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
}
.btn-secondary {
  background: transparent !important;
  color: #172033 !important;
  border: 1px solid rgba(23,32,51,0.16) !important;
  border-radius: 999px !important;
}
.section-alt { background: transparent !important; }
.site-footer {
  background: #172033 !important;
  color: #e8eef6 !important;
  border-top: 0 !important;
}
.site-footer a, .site-footer p, .site-footer h3, .site-footer h4 { color: #e8eef6 !important; }
.logs-chip { background: #172033 !important; }

.helix-visual { display:flex; align-items:center; justify-content:flex-end; }
.helix-visual img { width:min(420px, 100%); height:auto; opacity:0.9; }
@media (max-width: 860px) { .helix-visual { display:none; } }


/* ===== Warm stone 3.2.55 ===== */
:root {
  --bg: #e7e1d8;
  --bg-soft: #efeae2;
  --panel: #f7f4ef;
  --panel-2: #efe8de;
  --text: #1c2740;
  --muted: #5c6576;
  --blue: #1c2740;
  --blue-light: #1c2740;
  --cyan: #8a7358;
  --line: rgba(28,39,64,0.10);
}
body {
  background: #e7e1d8 !important;
  color: #1c2740 !important;
}
.site-header {
  background: rgba(231,225,216,0.92) !important;
  border-bottom: 1px solid rgba(28,39,64,0.08) !important;
}
.brand-text, .brand-text span, .main-nav a, .header-textlink, .header-user,
.hero h1, .page-hero h1, h1, h2, h3 { color: #1c2740 !important; }
.gradient-text { color: #1c2740 !important; -webkit-text-fill-color: #1c2740 !important; }
.kicker { color: #8a7358 !important; }
.hero p, .page-hero p, .section-intro, .card p, .prose p { color: #5c6576 !important; }
.card, .path-card, .info-box, .video-block {
  background: #f7f4ef !important;
  border: 1px solid rgba(28,39,64,0.08) !important;
  box-shadow: 0 12px 28px rgba(28,39,64,0.05) !important;
}
.btn-primary { background: #1c2740 !important; color: #f7f4ef !important; }
.btn-secondary { color: #1c2740 !important; border-color: rgba(28,39,64,0.2) !important; }
.helix-visual img { opacity: 0.55; }

/* stronger stone */
body, .site-header { background: #ddd4c6 !important; }
.hero, .hero-banner, .page-hero, .section, .section-alt, .content-wrap { background: transparent !important; }
.card, .path-card, .info-box { background: #f4efe6 !important; }
.helix-visual img { opacity: 0.85; width: min(460px, 100%); }
