/* ==========================================================
   Fenix Scripts — shared styles
   Design tokens live in :root so re-theming is a one-stop edit.
   ========================================================== */

:root{
  --bg: #08090d;
  --bg-alt: #0e1016;
  --card: #13151c;
  --card-hover: #171a23;
  --border: #22252f;
  --border-light: #2c303c;

  --text: #f4f5f7;
  --text-dim: #9aa0ac;
  --text-faint: #5c6270;

  --accent: #2f9eea;
  --accent-2: #1a6fc4;
  --accent-soft: rgba(47,158,234,0.12);
  --accent-glow: rgba(47,158,234,0.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

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

html{ scroll-behavior:smooth; }

body{
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}

a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
img{ max-width:100%; display:block; }
button{ font-family:inherit; cursor:pointer; }

:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:3px;
}

.container{
  max-width:1180px;
  margin:0 auto;
  padding:0 24px;
}

/* ---------- background texture ---------- */
body{
  background-image:
    radial-gradient(ellipse 900px 500px at 50% -10%, rgba(47,158,234,0.16), transparent 60%),
    radial-gradient(ellipse 600px 400px at 90% 10%, rgba(47,158,234,0.06), transparent 60%),
    radial-gradient(circle, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: auto, auto, 28px 28px;
  background-repeat:no-repeat, no-repeat, repeat;
}

/* Zachte, langzaam driftende gloed-vlekken achter de content — subtiel, geen
   felle kleuren, puur om de achtergrond wat leven te geven. */
body::before, body::after{
  content:''; position:fixed; z-index:-1; border-radius:50%;
  filter:blur(100px); pointer-events:none;
}
body::before{
  width:480px; height:480px; top:-140px; left:-120px;
  background:radial-gradient(circle, rgba(47,158,234,.4), transparent 70%);
  animation:auroraDrift1 24s ease-in-out infinite;
}
body::after{
  width:420px; height:420px; top:8%; right:-150px;
  background:radial-gradient(circle, rgba(111,90,217,.26), transparent 70%);
  animation:auroraDrift2 28s ease-in-out infinite;
}
@keyframes auroraDrift1{
  0%,100%{ transform:translate(0,0); }
  50%{ transform:translate(50px,40px); }
}
@keyframes auroraDrift2{
  0%,100%{ transform:translate(0,0); }
  50%{ transform:translate(-40px,30px); }
}
@media (prefers-reduced-motion: reduce){
  body::before, body::after{ animation:none; }
}

/* ================= HEADER ================= */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(8,9,13,0.82);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  max-width:1180px; margin:0 auto; padding:0 24px;
  height:68px;
  display:flex; align-items:center; justify-content:space-between;
  gap:24px;
}
.logo{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.logo img{ height:30px; width:auto; }
.logo span{ font-family:var(--font-display); font-size:19px; letter-spacing:-0.01em; }
.logo strong{ font-weight:700; color:var(--accent); }

.main-nav{
  display:flex; align-items:center; gap:4px;
  font-size:14.5px; font-weight:500;
}
.main-nav > a, .main-nav .dropdown > button{
  display:flex; align-items:center; gap:6px;
  padding:9px 14px; border-radius:var(--radius-sm);
  color:var(--text-dim); background:none; border:none; font-size:14.5px; font-weight:500;
  transition:color .15s ease, background .15s ease;
}
.main-nav > a:hover, .main-nav .dropdown > button:hover,
.main-nav > a.active{
  color:var(--text); background:var(--card);
}
.chev{ width:11px; height:11px; opacity:.7; transition:transform .15s ease; }
.dropdown{ position:relative; }
.dropdown:hover .chev{ transform:rotate(180deg); }
.dropdown-menu{
  position:absolute; top:calc(100% + 8px); left:0;
  min-width:200px;
  background:var(--card); border:1px solid var(--border-light);
  border-radius:var(--radius-md);
  padding:6px;
  opacity:0; visibility:hidden; transform:translateY(-6px);
  transition:all .15s ease;
  box-shadow:0 20px 40px rgba(0,0,0,0.45);
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu{
  opacity:1; visibility:visible; transform:translateY(0);
}
.dropdown-menu a{
  display:flex; align-items:center; gap:10px;
  padding:9px 10px; border-radius:var(--radius-sm);
  font-size:14px; color:var(--text-dim);
}
.dropdown-menu a:hover{ background:var(--bg-alt); color:var(--text); }

.header-actions{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.currency-select{
  background:var(--card); border:1px solid var(--border-light);
  color:var(--text-dim); font-size:13px; font-weight:600;
  padding:8px 10px; border-radius:var(--radius-sm);
}
.lang-toggle{
  display:flex; background:var(--card); border:1px solid var(--border-light);
  border-radius:var(--radius-sm); overflow:hidden; flex-shrink:0;
}
.lang-btn{
  background:none; border:none; color:var(--text-dim);
  font-size:12px; font-weight:700; letter-spacing:.02em;
  padding:8px 11px; transition:color .15s ease, background .15s ease;
}
.lang-btn.active{ background:var(--accent-soft); color:var(--accent); }
.lang-btn:not(.active):hover{ color:var(--text); }
.btn-discord{
  display:flex; align-items:center; gap:8px;
  background:var(--card); border:1px solid var(--border-light);
  color:var(--text); font-size:14px; font-weight:600;
  padding:9px 16px; border-radius:var(--radius-sm);
  transition:border-color .2s ease, background .2s ease, transform .25s cubic-bezier(.34,1.56,.64,1);
}
.btn-discord:hover{ border-color:var(--accent); background:var(--accent-soft); transform:translateY(-2px) rotate(-1.5deg) scale(1.03); }

.admin-shortcut{
  display:flex; align-items:center; justify-content:center;
  width:38px; height:38px; flex-shrink:0;
  background:var(--card); border:1px solid var(--border-light); border-radius:var(--radius-sm);
  font-size:15px; transition:border-color .15s ease, background .15s ease;
}
.admin-shortcut:hover{ border-color:var(--accent); background:var(--accent-soft); }

.mobile-toggle{
  display:none; background:none; border:1px solid var(--border-light);
  color:var(--text); width:38px; height:38px; border-radius:var(--radius-sm);
  font-size:18px;
}

/* ================= HERO ================= */
.hero{
  text-align:center;
  padding:96px 24px 64px;
  max-width:820px; margin:0 auto;
}
.badge{
  display:inline-flex; align-items:center; gap:6px;
  font-size:12.5px; font-weight:600; letter-spacing:.02em;
  color:var(--accent);
  background:var(--accent-soft); border:1px solid rgba(47,158,234,0.4);
  padding:7px 14px; border-radius:999px;
  margin-bottom:26px;
  box-shadow:0 0 0 1px rgba(47,158,234,.12), 0 4px 16px rgba(47,158,234,.15);
}
.hero h1{
  font-family:var(--font-display);
  font-size:clamp(34px, 5.5vw, 58px);
  line-height:1.08; letter-spacing:-0.02em;
  font-weight:700; margin-bottom:22px;
}
.hero h1 .accent{
  background:linear-gradient(100deg, var(--accent), #8fd0ff);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero p{
  color:var(--text-dim); font-size:17px; max-width:600px; margin:0 auto 34px;
}
.hero-actions{
  display:flex; align-items:center; justify-content:center; gap:12px; margin-bottom:36px; flex-wrap:wrap;
}

.btn-primary{
  display:inline-flex; align-items:center; gap:8px;
  background:linear-gradient(135deg, var(--accent), var(--accent-2));
  color:#fff; font-weight:700; font-size:15px;
  padding:13px 24px; border-radius:var(--radius-sm);
  box-shadow:0 8px 24px var(--accent-glow);
  transition:transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
  border:none;
}
.btn-primary:hover{ transform:translateY(-2px) rotate(-1.5deg) scale(1.03); box-shadow:0 12px 30px var(--accent-glow); }
.btn-secondary{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--card); border:1px solid var(--border-light);
  color:var(--text); font-weight:600; font-size:15px;
  padding:13px 22px; border-radius:var(--radius-sm);
  transition:transform .25s cubic-bezier(.34,1.56,.64,1), border-color .25s ease;
}
.btn-secondary:hover{ border-color:var(--accent); transform:translateY(-2px) rotate(1.5deg) scale(1.03); }
.hero-stats{
  display:flex; align-items:center; justify-content:center; gap:14px;
  flex-wrap:wrap; font-size:13.5px; color:var(--text-faint);
}
.hero-stats b{ color:var(--text-dim); font-weight:600; }

/* ================= SECTION HEADINGS ================= */
.section{ padding:64px 24px; }
.section-head{ text-align:center; max-width:560px; margin:0 auto 42px; }
.eyebrow{
  display:block; font-size:12px; font-weight:700; letter-spacing:.12em;
  text-transform:uppercase; color:var(--accent); margin-bottom:10px;
}
.section-head h2{
  font-family:var(--font-display); font-size:clamp(24px,3vw,32px);
  letter-spacing:-0.01em; margin-bottom:10px;
}
.section-head p{ color:var(--text-dim); font-size:15px; }

/* ================= FEATURES ================= */
.features-grid{
  max-width:1180px; margin:0 auto;
  display:grid; grid-template-columns:repeat(3,1fr); gap:16px;
}
.feature-card{
  background:var(--card); border:1px solid var(--border);
  border-radius:var(--radius-md); padding:22px;
  transition:border-color .15s ease, transform .15s ease;
  position:relative; overflow:hidden;
}
.feature-card:hover{ border-color:var(--border-light); transform:translateY(-2px); }
.feature-card::before{
  content:''; position:absolute; inset:-1px; border-radius:inherit; padding:1px;
  background:conic-gradient(from 0deg, transparent 0%, var(--accent) 15%, transparent 32%);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
  opacity:.7; pointer-events:none;
  animation:glowSpin 5s linear infinite;
}
.feature-card:hover::before{ opacity:1; }

.product-card::before{
  content:''; position:absolute; inset:-1px; border-radius:inherit; padding:1px;
  background:conic-gradient(from 0deg, transparent 0%, var(--accent) 15%, transparent 32%);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
  opacity:0; transition:opacity .35s ease; pointer-events:none;
  animation:glowSpin 4s linear infinite;
  animation-play-state:paused;
}
.product-card:hover::before{ opacity:1; animation-play-state:running; }

@keyframes glowSpin{ to{ transform:rotate(360deg); } }
@media (prefers-reduced-motion: reduce){
  .feature-card::before, .product-card::before{ animation:none !important; opacity:0 !important; }
}
.feature-icon{
  width:38px; height:38px; border-radius:10px;
  background:var(--accent-soft); border:1px solid rgba(47,158,234,.3);
  display:flex; align-items:center; justify-content:center;
  font-size:17px; margin-bottom:14px;
}
.feature-card h3{ font-size:15.5px; margin-bottom:6px; }
.feature-card p{ font-size:13.5px; color:var(--text-dim); }

/* ================= PRODUCT GRID ================= */
.product-grid{
  max-width:1180px; margin:0 auto;
  display:grid; grid-template-columns:repeat(3,1fr); gap:20px;
}
.product-card{
  background:var(--card); border:1px solid var(--border);
  border-radius:var(--radius-md); overflow:hidden; position:relative;
  display:flex; flex-direction:column;
  transition:border-color .15s ease, transform .15s ease;
}
.product-card:hover{ border-color:var(--border-light); transform:translateY(-3px); }
.product-thumb{
  height:150px; position:relative;
  display:flex; align-items:center; justify-content:center;
  font-size:38px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.12), transparent 55%),
    linear-gradient(135deg, var(--thumb-a,#1a6fc4), var(--thumb-b,#0e2f4d));
}
.product-thumb .badge-tag{
  position:absolute; top:10px; left:10px;
  font-size:10.5px; font-weight:700; letter-spacing:.03em;
  background:rgba(0,0,0,0.45); backdrop-filter:blur(6px);
  padding:4px 9px; border-radius:6px; color:#fff;
}
.product-body{ padding:16px 18px 18px; display:flex; flex-direction:column; gap:10px; flex:1; }
.product-tags{ display:flex; gap:6px; flex-wrap:wrap; }
.tag{
  font-size:10.5px; font-weight:700; letter-spacing:.02em;
  padding:3px 8px; border-radius:5px;
  background:var(--bg-alt); border:1px solid var(--border-light); color:var(--text-dim);
}
.product-body h3{ font-size:15.5px; }
.product-desc{ font-size:12.5px; color:var(--text-dim); line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.product-price{ font-size:17px; font-weight:700; color:var(--text); }
.product-price span{ font-size:12px; font-weight:500; color:var(--text-faint); }
.product-actions{ display:flex; gap:8px; margin-top:auto; }
.btn-cart{
  flex:1; display:flex; align-items:center; justify-content:center; gap:6px;
  background:var(--bg-alt); border:1px solid var(--border-light);
  color:var(--text); font-size:13px; font-weight:600;
  padding:10px; border-radius:var(--radius-sm);
  transition:border-color .2s ease, background .2s ease, transform .2s cubic-bezier(.34,1.56,.64,1);
}
.btn-cart:hover{ border-color:var(--accent); background:var(--accent-soft); transform:rotate(-1deg) scale(1.02); }
.view-all{ text-align:center; margin-top:30px; }
.link-arrow{ font-size:14px; font-weight:600; color:var(--accent); }

/* ================= STATS BAR ================= */
.stats-bar{
  max-width:1180px; margin:0 auto; padding:0 24px 64px;
  display:grid; grid-template-columns:repeat(3,1fr); gap:16px;
}
.stat-box{
  background:var(--card); border:1px solid var(--border);
  border-radius:var(--radius-md); padding:28px; text-align:center;
}
.stat-box .num{ font-family:var(--font-display); font-size:32px; font-weight:700; color:var(--accent); }
.stat-box .label{ font-size:13px; color:var(--text-dim); margin-top:4px; }

/* ================= TESTIMONIALS ================= */
/* ================= TESTIMONIALS (auto-scrollend "treintje") ================= */
.testi-track{
  overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.testi-scroll{
  display:flex; gap:16px; width:max-content;
  padding:4px 24px 12px;
  animation:testiScroll 32s linear infinite;
}
.testi-track:hover .testi-scroll{ animation-play-state:paused; }
@keyframes testiScroll{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}
.testi-card{
  flex:0 0 280px;
  background:var(--card); border:1px solid var(--border);
  border-radius:var(--radius-md); padding:18px;
}
.testi-head{ display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.avatar{
  width:34px; height:34px; border-radius:50%;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  display:flex; align-items:center; justify-content:center;
  font-size:13px; font-weight:700; color:#fff;
}
.testi-name{ font-size:13.5px; font-weight:600; }
.stars{ font-size:11px; color:var(--accent); }
.testi-card p{ font-size:13.5px; color:var(--text-dim); }

/* ================= FAQ ================= */
.faq-list{ max-width:720px; margin:0 auto; display:flex; flex-direction:column; gap:10px; }
.faq-item{
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius-md);
  overflow:hidden;
}
.faq-q{
  width:100%; background:none; border:none; color:var(--text);
  display:flex; align-items:center; justify-content:space-between;
  padding:17px 20px; font-size:14.5px; font-weight:600; text-align:left;
}
.faq-q .plus{ font-size:18px; color:var(--accent); transition:transform .2s ease; flex-shrink:0; margin-left:12px; }
.faq-item.open .plus{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .25s ease; }
.faq-a p{ padding:0 20px 17px; font-size:13.5px; color:var(--text-dim); }

/* ================= FOOTER ================= */
.site-footer{ border-top:1px solid var(--border); margin-top:40px; padding:48px 24px 28px; }
.footer-grid{
  max-width:1180px; margin:0 auto;
  display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px;
  padding-bottom:36px;
}
.footer-brand .logo{ margin-bottom:12px; }
.footer-brand p{ font-size:13.5px; color:var(--text-dim); max-width:260px; }
.footer-col h4{ font-size:13px; margin-bottom:14px; color:var(--text); }
.footer-col a{ display:block; font-size:13.5px; color:var(--text-dim); padding:5px 0; transition:color .15s ease; }
.footer-col a:hover{ color:var(--text); }
.footer-bottom{
  max-width:1180px; margin:0 auto; padding-top:22px; border-top:1px solid var(--border);
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px;
}
.footer-bottom p{ font-size:12.5px; color:var(--text-faint); }
.payment-icons{ display:flex; gap:8px; }
.payment-icons span{
  font-size:11px; font-weight:700; color:var(--text-faint);
  border:1px solid var(--border-light); padding:4px 9px; border-radius:5px;
}

/* ================= PAGE HERO (Scripts/Bundles) ================= */
.page-hero{ text-align:center; padding:64px 24px 36px; max-width:680px; margin:0 auto; }
.page-hero h1{ font-family:var(--font-display); font-size:clamp(28px,4vw,40px); letter-spacing:-0.01em; margin-bottom:12px; }
.page-hero p{ color:var(--text-dim); font-size:15.5px; }

/* ================= CATEGORY TABS ================= */
.cat-tabs{
  display:flex; justify-content:center; gap:8px; flex-wrap:wrap;
  padding:0 24px 40px;
}
.cat-tab{
  font-size:13.5px; font-weight:600; color:var(--text-dim);
  background:var(--card); border:1px solid var(--border);
  padding:9px 18px; border-radius:999px;
  transition:all .15s ease;
}
.cat-tab:hover{ border-color:var(--border-light); color:var(--text); }
.cat-tab.active{
  background:var(--accent-soft); border-color:rgba(47,158,234,.4); color:var(--accent);
}

/* ================= BUNDLES BANNER ================= */
.sub-banner{
  max-width:820px; margin:0 auto 48px; text-align:center;
  background:linear-gradient(160deg, var(--card), var(--bg-alt));
  border:1px solid var(--border-light); border-radius:var(--radius-lg);
  padding:40px 30px;
}
.sub-banner .badge{ margin-bottom:18px; }
.sub-banner h2{ font-family:var(--font-display); font-size:26px; margin-bottom:10px; }
.sub-banner p{ color:var(--text-dim); font-size:14.5px; max-width:480px; margin:0 auto 22px; }

/* ================= RESPONSIVE ================= */
@media (max-width:900px){
  .main-nav, .header-actions .currency-select{ display:none; }
  .mobile-toggle{ display:flex; align-items:center; justify-content:center; }
  .features-grid, .product-grid{ grid-template-columns:repeat(2,1fr); }
  .stats-bar{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }

  /* Mobiel navigatiemenu: klapt open onder de header i.p.v. altijd verborgen */
  .main-nav.open{
    display:flex; flex-direction:column; align-items:stretch; gap:2px;
    position:fixed; top:68px; left:0; right:0; z-index:99;
    background:var(--bg-alt); border-bottom:1px solid var(--border);
    padding:12px 20px 20px; max-height:calc(100vh - 68px); overflow-y:auto;
    box-shadow:0 20px 40px rgba(0,0,0,.4);
  }
  .main-nav.open > a, .main-nav.open .dropdown > button{
    width:100%; justify-content:space-between; padding:13px 12px; font-size:15px;
  }
  /* Op touch-schermen werkt :hover niet betrouwbaar — het uitklap-menu
     wordt hier bewust via een tikje (JS) bestuurd i.p.v. hover. */
  .dropdown-menu{ opacity:0; visibility:hidden; }
  .dropdown:hover .dropdown-menu{ opacity:0; visibility:hidden; }
  .dropdown.mobile-open .dropdown-menu{
    opacity:1; visibility:visible;
    position:static; transform:none; box-shadow:none; border:none;
    background:var(--card); margin:4px 0 6px 10px; width:calc(100% - 10px);
  }
}
@media (max-width:560px){
  .features-grid, .product-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .hero{ padding:64px 20px 48px; }
}
@media (max-width:480px){
  .header-inner{ gap:8px; padding:0 14px; }
  .header-actions{ gap:6px; }
  .btn-discord{
    max-width:120px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
    padding:9px 12px;
  }
  .logo span{ font-size:16px; }
}

/* ================================================================
   LOADOUT (winkelwagen) — het signature-element van deze site.
   Een uitschuifpaneel met een geanimeerde scanline bovenaan,
   in plaats van een standaard winkelwagen-dropdown.
   ================================================================ */

.cart-trigger{
  position:relative;
  display:flex; align-items:center; justify-content:center;
  width:40px; height:40px;
  background:var(--card); border:1px solid var(--border-light);
  border-radius:var(--radius-sm);
  color:var(--text); flex-shrink:0;
  transition:border-color .2s ease, background .2s ease, transform .25s cubic-bezier(.34,1.56,.64,1);
}
.cart-trigger:hover{ border-color:var(--accent); background:var(--accent-soft); transform:translateY(-2px) rotate(1.5deg) scale(1.05); }
.cart-trigger svg{ width:18px; height:18px; }
.cart-count{
  position:absolute; top:-6px; right:-6px;
  min-width:18px; height:18px; padding:0 4px;
  border-radius:999px;
  background:linear-gradient(135deg, var(--accent), var(--accent-2));
  color:#fff; font-size:10.5px; font-weight:800;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 0 0 3px var(--bg);
  transform:scale(0);
  transition:transform .25s cubic-bezier(.34,1.56,.64,1);
}
.cart-count.show{ transform:scale(1); }
.cart-count.bump{ animation:cartBump .35s ease; }
@keyframes cartBump{
  0%{ transform:scale(1); }
  35%{ transform:scale(1.45); }
  100%{ transform:scale(1); }
}

.cart-overlay{
  position:fixed; inset:0; z-index:200;
  background:rgba(4,5,8,0.6); backdrop-filter:blur(2px);
  opacity:0; visibility:hidden;
  transition:opacity .25s ease, visibility .25s ease;
}
.cart-overlay.open{ opacity:1; visibility:visible; }

.cart-drawer{
  position:fixed; top:0; right:0; bottom:0; z-index:201;
  width:min(400px, 100vw);
  background:var(--bg-alt);
  border-left:1px solid var(--border-light);
  display:flex; flex-direction:column;
  transform:translateX(100%);
  transition:transform .3s cubic-bezier(.32,.72,0,1);
  box-shadow:-30px 0 60px rgba(0,0,0,0.5);
}
.cart-drawer.open{ transform:translateX(0); }

/* de geanimeerde "scanline" bovenaan het paneel — het handtekening-detail */
.cart-drawer::before{
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg, transparent, var(--accent), #8fd0ff, var(--accent), transparent);
  background-size:200% 100%;
  animation:scanline 3s linear infinite;
}
@keyframes scanline{
  0%{ background-position:200% 0; }
  100%{ background-position:-200% 0; }
}

.cart-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:22px 22px 18px; border-bottom:1px solid var(--border);
  flex-shrink:0;
}
.cart-head-title{ display:flex; flex-direction:column; gap:2px; }
.cart-head-title .eyebrow{ margin-bottom:0; }
.cart-head-title h3{ font-family:var(--font-display); font-size:19px; }
.cart-close{
  width:32px; height:32px; border-radius:var(--radius-sm);
  background:var(--card); border:1px solid var(--border-light);
  color:var(--text-dim); font-size:16px; flex-shrink:0;
  transition:color .15s ease, border-color .15s ease;
}
.cart-close:hover{ color:var(--text); border-color:var(--accent); }

.cart-items{ flex:1; overflow-y:auto; padding:14px; display:flex; flex-direction:column; gap:10px; }

.cart-item{
  display:grid; grid-template-columns:52px 1fr auto; gap:12px;
  align-items:center;
  background:var(--card); border:1px solid var(--border);
  border-radius:var(--radius-md); padding:12px;
}
.cart-item-thumb{
  width:52px; height:52px; border-radius:10px;
  display:flex; align-items:center; justify-content:center; font-size:20px;
  background:linear-gradient(135deg, var(--thumb-a,#1a6fc4), var(--thumb-b,#0e2f4d));
}
.cart-item-info h4{ font-size:13.5px; margin-bottom:3px; line-height:1.3; }
.cart-item-price{ font-size:12.5px; color:var(--accent); font-weight:700; }
.cart-item-actions{ display:flex; flex-direction:column; align-items:flex-end; gap:8px; }
.cart-item-remove{
  font-size:11.5px; color:var(--text-faint); font-weight:600;
  transition:color .15s ease;
}
.cart-item-remove:hover{ color:#e04f4f; }
.qty-stepper{
  display:flex; align-items:center; gap:0;
  background:var(--bg-alt); border:1px solid var(--border-light); border-radius:7px;
  overflow:hidden;
}
.qty-stepper button{
  width:22px; height:22px; background:none; border:none; color:var(--text-dim);
  font-size:13px; font-weight:700; line-height:1;
  transition:color .15s ease, background .15s ease;
}
.qty-stepper button:hover{ color:var(--accent); background:var(--accent-soft); }
.qty-stepper span{ min-width:20px; text-align:center; font-size:12.5px; font-weight:700; }

.cart-empty{
  flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:40px 30px; gap:14px;
}
.cart-empty-icon{
  width:56px; height:56px; border-radius:16px;
  background:var(--accent-soft); border:1px solid rgba(47,158,234,.3);
  display:flex; align-items:center; justify-content:center; font-size:24px;
}
.cart-empty h4{ font-size:15px; }
.cart-empty p{ font-size:13px; color:var(--text-dim); max-width:220px; }

.cart-foot{ border-top:1px solid var(--border); padding:18px 22px 22px; flex-shrink:0; }
.cart-subtotal{
  display:flex; align-items:baseline; justify-content:space-between;
  margin-bottom:14px;
}
.cart-subtotal span:first-child{ font-size:13px; color:var(--text-dim); }
.cart-subtotal .amount{ font-family:var(--font-display); font-size:22px; font-weight:700; color:var(--accent); }
.cart-checkout{
  width:100%; display:flex; align-items:center; justify-content:center; gap:9px;
  background:linear-gradient(135deg, var(--accent), var(--accent-2));
  background-size:200% 100%;
  color:#fff; font-weight:700; font-size:14.5px; letter-spacing:.02em;
  padding:14px; border-radius:var(--radius-sm); border:none;
  box-shadow:0 8px 24px var(--accent-glow);
  transition:background-position .4s ease, transform .15s ease;
}
.cart-checkout:hover{ background-position:100% 0; transform:translateY(-2px); }
.cart-note{ text-align:center; font-size:11.5px; color:var(--text-faint); margin-top:10px; }

/* ---- Toast meldingen (i.p.v. alert()) ---- */
.toast-stack{
  position:fixed; bottom:24px; right:24px; z-index:300;
  display:flex; flex-direction:column; gap:10px;
  pointer-events:none;
}
.toast{
  display:flex; align-items:center; gap:10px;
  background:var(--card); border:1px solid var(--border-light);
  border-left:3px solid var(--accent);
  border-radius:var(--radius-sm);
  padding:13px 16px; min-width:240px; max-width:320px;
  box-shadow:0 12px 30px rgba(0,0,0,0.4);
  font-size:13.5px;
  transform:translateX(120%); opacity:0;
  transition:transform .3s cubic-bezier(.32,.72,0,1), opacity .3s ease;
}
.toast.show{ transform:translateX(0); opacity:1; }
.toast-icon{ font-size:16px; flex-shrink:0; }

@media (max-width:480px){
  .cart-drawer{ width:100vw; }
}

/* ================= SCROLL-REVEAL ANIMATIES ================= */
.reveal{
  opacity:0; transform:translateY(18px);
  transition:opacity .55s ease, transform .55s ease;
}
.reveal.in-view{ opacity:1; transform:translateY(0); }

.feature-card.reveal:nth-child(1),.product-card.reveal:nth-child(1),.faq-item.reveal:nth-child(1){ transition-delay:0s; }
.feature-card.reveal:nth-child(2),.product-card.reveal:nth-child(2),.faq-item.reveal:nth-child(2){ transition-delay:.06s; }
.feature-card.reveal:nth-child(3),.product-card.reveal:nth-child(3),.faq-item.reveal:nth-child(3){ transition-delay:.12s; }
.feature-card.reveal:nth-child(4),.product-card.reveal:nth-child(4),.faq-item.reveal:nth-child(4){ transition-delay:.18s; }
.feature-card.reveal:nth-child(5),.product-card.reveal:nth-child(5){ transition-delay:.24s; }
.feature-card.reveal:nth-child(6),.product-card.reveal:nth-child(6){ transition-delay:.30s; }
.product-card.reveal:nth-child(n+7){ transition-delay:.30s; }

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
}

/* ================= LEGAL PAGES ================= */
.legal-content{
  max-width:720px; margin:0 auto; padding:0 24px 80px;
}
.legal-disclaimer{
  font-size:13px; color:var(--text-faint); font-style:italic;
  background:var(--card); border:1px solid var(--border);
  border-radius:var(--radius-md); padding:14px 18px; margin-bottom:40px;
}
.legal-content section{ margin-bottom:30px; }
.legal-content h2{ font-family:var(--font-display); font-size:18px; margin-bottom:10px; }
.legal-content p{ font-size:14.5px; color:var(--text-dim); line-height:1.7; }

/* ================= CONTACT FORM ================= */
.contact-form{ display:flex; flex-direction:column; gap:18px; max-width:520px; }
.form-group{ display:flex; flex-direction:column; gap:6px; }
.form-group label{ font-size:13px; font-weight:600; color:var(--text-dim); }
.form-group input, .form-group textarea{
  background:var(--card); border:1px solid var(--border-light); border-radius:var(--radius-sm);
  color:var(--text); font-family:inherit; font-size:14px; padding:11px 14px; resize:vertical;
}
.form-group input:focus, .form-group textarea:focus{
  outline:none; border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-soft);
}
.hp-field{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; pointer-events:none; }
.form-status{ font-size:13.5px; margin-top:2px; min-height:18px; }
.form-status.success{
  color:#3ecf8e; background:rgba(62,207,142,.1); border:1px solid rgba(62,207,142,.35);
  border-radius:var(--radius-sm); padding:12px 16px; font-weight:600; font-size:14px;
}
.form-status.error{
  color:#e04f4f; background:rgba(224,79,79,.1); border:1px solid rgba(224,79,79,.35);
  border-radius:var(--radius-sm); padding:12px 16px; font-weight:600; font-size:14px;
}

/* ================= ADMIN PANEL ================= */
.admin-wrap{ max-width:760px; margin:0 auto; padding:0 24px 80px; }
.admin-state{
  text-align:center; padding:60px 30px;
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius-lg);
}
.admin-state h3{ font-family:var(--font-display); font-size:19px; margin-bottom:10px; }
.admin-state p{ color:var(--text-dim); font-size:14px; margin-bottom:20px; }
.admin-header-row{
  display:flex; align-items:center; justify-content:space-between; margin-bottom:22px;
}
.admin-header-row h2{ font-family:var(--font-display); font-size:20px; display:flex; align-items:center; gap:10px; }
.admin-count{
  font-size:12px; font-weight:700; background:var(--accent-soft); color:var(--accent);
  border:1px solid rgba(47,158,234,.3); padding:3px 10px; border-radius:999px;
}

/* ---- Categorie-dashboard ---- */
.admin-category-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.admin-category-card{
  position:relative; text-align:left;
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:26px 22px; cursor:pointer;
  transition:border-color .15s ease, transform .15s ease;
}
.admin-category-card:hover{ border-color:var(--accent); transform:translateY(-2px); }
.admin-category-icon{ font-size:26px; margin-bottom:12px; }
.admin-category-card h3{ font-size:16px; margin-bottom:6px; }
.admin-category-card p{ font-size:13px; color:var(--text-dim); }
.admin-category-badge{
  position:absolute; top:18px; right:18px;
  min-width:22px; height:22px; padding:0 6px; border-radius:999px;
  background:linear-gradient(135deg, var(--accent), var(--accent-2)); color:#fff;
  font-size:11.5px; font-weight:800; display:flex; align-items:center; justify-content:center;
}
.admin-back-btn{
  font-size:13px; font-weight:600; color:var(--text-dim); margin-bottom:18px;
  background:none; border:none; padding:0;
}
.admin-back-btn:hover{ color:var(--accent); }
@media (max-width:600px){
  .admin-category-grid{ grid-template-columns:1fr; }
}
.admin-messages{ display:flex; flex-direction:column; gap:12px; }
.admin-msg{
  background:var(--card); border:1px solid var(--border-light); border-radius:var(--radius-md);
  padding:16px 18px; border-left:3px solid var(--accent);
}
.admin-msg.handled{ opacity:.5; border-left-color:var(--border-light); }
.admin-msg-head{ display:flex; align-items:baseline; justify-content:space-between; gap:10px; flex-wrap:wrap; margin-bottom:8px; }
.admin-msg-head strong{ font-size:14.5px; margin-right:8px; }
.admin-msg-email{ font-size:12.5px; color:var(--accent); }
.admin-msg-date{ font-size:11.5px; color:var(--text-faint); white-space:nowrap; }
.admin-msg-body{ font-size:14px; color:var(--text-dim); line-height:1.6; white-space:pre-wrap; margin-bottom:12px; }
.admin-msg-actions{ display:flex; gap:8px; }
.admin-msg-actions button{
  font-size:12.5px; font-weight:600; padding:7px 12px; border-radius:7px;
  background:var(--bg-alt); border:1px solid var(--border-light); color:var(--text-dim);
  transition:border-color .15s ease, color .15s ease;
}
.admin-msg-actions button:hover{ color:var(--text); border-color:var(--accent); }
.admin-msg-delete:hover{ color:#e04f4f !important; border-color:#e04f4f !important; }

/* ================= KANBAN TAKENBORD ================= */
.kanban-board{
  display:grid; grid-template-columns:repeat(3,1fr); gap:16px;
  align-items:start;
}
.kanban-column{
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius-md);
  padding:14px; display:flex; flex-direction:column; gap:10px; min-height:120px;
}
.kanban-column-head{ display:flex; align-items:center; justify-content:space-between; padding:2px 4px 4px; }
.kanban-column-head h4{ font-size:13.5px; font-weight:700; }
.kanban-column-count{
  font-size:11px; font-weight:700; color:var(--text-dim);
  background:var(--bg-alt); border:1px solid var(--border-light); border-radius:999px; padding:2px 8px;
}
.kanban-card{
  background:var(--bg-alt); border:1px solid var(--border-light); border-radius:var(--radius-sm);
  padding:11px 12px; display:flex; flex-direction:column; gap:6px;
}
.kanban-card-title{ font-size:13.5px; font-weight:600; line-height:1.35; }
.kanban-card-desc{ font-size:12px; color:var(--text-dim); line-height:1.5; white-space:pre-wrap; }
.kanban-card-actions{ display:flex; align-items:center; justify-content:space-between; margin-top:2px; }
.kanban-move-btns{ display:flex; gap:4px; }
.kanban-move-btns button{
  width:24px; height:24px; font-size:12px; border-radius:6px;
  background:var(--card); border:1px solid var(--border-light); color:var(--text-dim);
}
.kanban-move-btns button:hover:not(:disabled){ color:var(--accent); border-color:var(--accent); }
.kanban-move-btns button:disabled{ opacity:.25; cursor:default; }
.kanban-card-delete{ font-size:11px; color:var(--text-faint); }
.kanban-card-delete:hover{ color:#e04f4f; }
.kanban-add{ margin-top:4px; }
.kanban-add input, .kanban-add textarea{
  width:100%; background:var(--card); border:1px solid var(--border-light); border-radius:7px;
  color:var(--text); font-family:inherit; font-size:12.5px; padding:8px 10px; margin-bottom:6px; resize:vertical;
}
.kanban-add button{
  width:100%; font-size:12.5px; font-weight:600; padding:8px; border-radius:7px;
  background:var(--accent-soft); border:1px solid rgba(47,158,234,.35); color:var(--accent);
}
.kanban-add button:hover{ background:rgba(47,158,234,.2); }
@media (max-width:780px){
  .kanban-board{ grid-template-columns:1fr; }
}

/* ================= ADMIN: PRODUCTBEHEER ================= */
.admin-products-list{ display:flex; flex-direction:column; gap:10px; margin-bottom:22px; }
.admin-product-row{
  display:flex; align-items:center; gap:14px;
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius-md);
  padding:12px 14px;
}
.admin-product-thumb{
  width:44px; height:44px; border-radius:9px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; font-size:18px;
  background:linear-gradient(135deg, var(--thumb-a,#1a6fc4), var(--thumb-b,#0e2f4d));
}
.admin-product-info{ flex:1; min-width:0; }
.admin-product-info h4{ font-size:14px; margin-bottom:2px; }
.admin-product-info span{ font-size:12px; color:var(--text-faint); }
.admin-product-actions{ display:flex; gap:8px; flex-shrink:0; }
.admin-product-actions button{
  font-size:12px; font-weight:600; padding:7px 12px; border-radius:7px;
  background:var(--bg-alt); border:1px solid var(--border-light); color:var(--text-dim);
}
.admin-product-actions button:hover{ color:var(--text); border-color:var(--accent); }
.admin-product-delete:hover{ color:#e04f4f !important; border-color:#e04f4f !important; }

.admin-add-product-btn{
  width:100%; font-size:13.5px; font-weight:700; padding:12px;
  border-radius:var(--radius-md); margin-bottom:8px;
  background:var(--accent-soft); border:1px solid rgba(47,158,234,.35); color:var(--accent);
}
.admin-add-product-btn:hover{ background:rgba(47,158,234,.2); }

.product-form{
  background:var(--card); border:1px solid var(--border-light); border-radius:var(--radius-lg);
  padding:24px; margin-top:8px; display:flex; flex-direction:column; gap:16px;
}
.product-form h3{ font-family:var(--font-display); font-size:18px; margin-bottom:2px; }
.pf-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media (max-width:600px){ .pf-row{ grid-template-columns:1fr; } }
.pf-group{ display:flex; flex-direction:column; gap:6px; }
.pf-group label{ font-size:12.5px; font-weight:600; color:var(--text-dim); }
.pf-group input, .pf-group select, .pf-group textarea{
  background:var(--bg-alt); border:1px solid var(--border-light); border-radius:var(--radius-sm);
  color:var(--text); font-family:inherit; font-size:13.5px; padding:10px 12px; resize:vertical;
}
.pf-group input[type="color"]{ padding:4px; height:38px; cursor:pointer; }
.pf-hint{ font-size:11.5px; color:var(--text-faint); }
.pf-checkbox-row{ display:flex; gap:16px; flex-wrap:wrap; }
.pf-checkbox-row label{ display:flex; align-items:center; gap:7px; font-size:13px; color:var(--text-dim); font-weight:500; }
.pf-checkbox-row input{ width:16px; height:16px; accent-color:var(--accent); }

.pf-features{ display:flex; flex-direction:column; gap:10px; }
.pf-feature-row{
  display:grid; grid-template-columns:56px 1fr auto; gap:8px; align-items:start;
  background:var(--bg-alt); border:1px solid var(--border-light); border-radius:var(--radius-sm);
  padding:10px;
}
.pf-feature-row input, .pf-feature-row textarea{
  background:var(--card); border:1px solid var(--border-light); border-radius:6px;
  color:var(--text); font-family:inherit; font-size:12.5px; padding:7px 9px; width:100%;
}
.pf-feature-row .pf-feature-fields{ display:flex; flex-direction:column; gap:6px; }
.pf-feature-remove{
  width:28px; height:28px; border-radius:6px; flex-shrink:0;
  background:var(--card); border:1px solid var(--border-light); color:var(--text-faint);
}
.pf-feature-remove:hover{ color:#e04f4f; border-color:#e04f4f; }
.pf-add-feature{
  align-self:flex-start; font-size:12.5px; font-weight:600; padding:8px 14px;
  border-radius:7px; background:var(--bg-alt); border:1px solid var(--border-light); color:var(--accent);
}
.pf-add-feature:hover{ border-color:var(--accent); }

.pf-actions{ display:flex; gap:10px; margin-top:4px; }
.pf-save{ flex:1; }
.pf-cancel{
  padding:13px 20px; border-radius:var(--radius-sm);
  background:var(--bg-alt); border:1px solid var(--border-light); color:var(--text-dim); font-weight:600; font-size:14px;
}
.pf-cancel:hover{ color:var(--text); }

/* ================= PRODUCT QUICK-VIEW MODAL ================= */
.product-modal-overlay{
  position:fixed; inset:0; z-index:400;
  background:rgba(4,5,8,0.7); backdrop-filter:blur(3px);
  opacity:0; visibility:hidden; transition:opacity .25s ease, visibility .25s ease;
}
.product-modal-overlay.open{ opacity:1; visibility:visible; }

.product-modal{
  position:fixed; top:50%; left:50%; z-index:401;
  width:min(600px, calc(100vw - 32px));
  height:min(760px, calc(100vh - 48px));
  background:var(--bg-alt); border:1px solid var(--border-light);
  border-radius:var(--radius-lg);
  display:flex; flex-direction:column; overflow:hidden;
  transform:translate(-50%, -50%) scale(.95); opacity:0; visibility:hidden;
  transition:transform .25s cubic-bezier(.32,.72,0,1), opacity .25s ease, visibility .25s ease;
  box-shadow:0 30px 80px rgba(0,0,0,.6);
}
.product-modal.open{ transform:translate(-50%, -50%) scale(1); opacity:1; visibility:visible; }

.product-modal-close{
  position:absolute; top:14px; right:14px; z-index:2;
  width:34px; height:34px; border-radius:var(--radius-sm);
  background:rgba(8,9,13,.6); backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,.1); color:#fff; font-size:16px;
}
.product-modal-close:hover{ border-color:var(--accent); color:var(--accent); }

.product-modal-thumb{
  flex-shrink:0;
  height:240px; position:relative;
  display:flex; align-items:center; justify-content:center;
  font-size:72px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.14), transparent 55%),
    linear-gradient(135deg, var(--thumb-a,#1a6fc4), var(--thumb-b,#0e2f4d));
}
.product-modal-thumb .badge-tag{
  position:absolute; top:14px; left:14px;
  font-size:11px; font-weight:700; letter-spacing:.03em;
  background:rgba(0,0,0,0.45); backdrop-filter:blur(6px);
  padding:5px 10px; border-radius:7px; color:#fff;
}
.product-modal-scroll{
  flex:1; overflow-y:auto; padding:22px 24px;
  scrollbar-width:thin; scrollbar-color:var(--accent) transparent;
}
.product-modal-scroll::-webkit-scrollbar{ width:6px; }
.product-modal-scroll::-webkit-scrollbar-track{ background:transparent; }
.product-modal-scroll::-webkit-scrollbar-thumb{
  background:var(--accent); border-radius:999px;
}
.product-modal-scroll::-webkit-scrollbar-thumb:hover{ background:#8fd0ff; }
.product-modal-tags{ display:flex; gap:6px; flex-wrap:wrap; margin-bottom:12px; }
.product-modal-title{ font-family:var(--font-display); font-size:23px; margin-bottom:12px; }
.product-modal-desc{ font-size:14.5px; color:var(--text-dim); line-height:1.7; white-space:pre-wrap; }

.product-modal-foot{
  flex-shrink:0; border-top:1px solid var(--border);
  padding:18px 24px 22px; background:var(--bg-alt);
}
.product-modal-price{ font-size:22px; font-weight:700; color:var(--text); margin-bottom:14px; }
.product-modal-price span{ font-size:13px; font-weight:500; color:var(--text-faint); }
.product-modal-add{
  width:100%; display:flex; align-items:center; justify-content:center; gap:9px;
  background:linear-gradient(135deg, var(--accent), var(--accent-2));
  color:#fff; font-weight:700; font-size:14.5px;
  padding:14px; border-radius:var(--radius-sm); border:none;
  box-shadow:0 8px 24px var(--accent-glow);
  transition:transform .2s cubic-bezier(.34,1.56,.64,1);
}
.product-modal-add:hover{ transform:translateY(-2px) scale(1.02); }

.product-card{ cursor:pointer; }
@media (max-width:480px){
  .product-modal{ width:calc(100vw - 24px); height:calc(100vh - 24px); }
}

/* ================= PRODUCT DETAIL PAGE ================= */
.product-detail-wrap{ max-width:1180px; margin:0 auto; padding:32px 24px 80px; }
.product-back{
  display:inline-flex; align-items:center; gap:6px;
  font-size:13.5px; font-weight:600; color:var(--text-dim); margin-bottom:26px;
}
.product-back:hover{ color:var(--accent); }

.product-detail-grid{
  display:grid; grid-template-columns:1.15fr 1fr; gap:40px; margin-bottom:64px;
}
@media (max-width:860px){
  .product-detail-grid{ grid-template-columns:1fr; gap:28px; }
}

.product-gallery-main{
  position:relative; height:420px; border-radius:var(--radius-lg); overflow:hidden;
  display:flex; align-items:center; justify-content:center; font-size:96px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.14), transparent 55%),
    linear-gradient(135deg, var(--thumb-a,#1a6fc4), var(--thumb-b,#0e2f4d));
  border:1px solid var(--border);
}
.product-gallery-main .badge-tag{
  position:absolute; top:16px; left:16px;
  font-size:11.5px; font-weight:700; letter-spacing:.03em;
  background:rgba(0,0,0,0.45); backdrop-filter:blur(6px);
  padding:6px 12px; border-radius:8px; color:#fff;
}
.product-gallery-thumbs{ display:flex; gap:10px; margin-top:12px; }
.product-gallery-thumbs button{
  width:64px; height:64px; border-radius:var(--radius-sm); overflow:hidden;
  border:2px solid transparent; background:var(--card); font-size:22px;
  display:flex; align-items:center; justify-content:center;
}
.product-gallery-thumbs button.active{ border-color:var(--accent); }

.product-detail-info{ display:flex; flex-direction:column; }
.product-detail-tags{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:16px; }
.fw-badge{
  font-size:11.5px; font-weight:700; letter-spacing:.02em;
  padding:5px 11px; border-radius:7px;
  border:1px solid currentColor; color:var(--fw-color, var(--accent));
  background:color-mix(in srgb, var(--fw-color, var(--accent)) 14%, transparent);
}
.product-detail-info h1{
  font-family:var(--font-display); font-size:clamp(24px,3vw,32px);
  letter-spacing:-0.01em; margin-bottom:12px;
}
.product-detail-trust{
  display:inline-flex; align-items:center; gap:6px; width:fit-content;
  font-size:12.5px; font-weight:600; color:var(--accent);
  background:var(--accent-soft); border:1px solid rgba(47,158,234,.3);
  padding:6px 12px; border-radius:999px; margin-bottom:18px;
}
.product-detail-price{ font-family:var(--font-display); font-size:32px; font-weight:700; margin-bottom:18px; }
.product-detail-price span{ font-size:14px; font-weight:500; color:var(--text-faint); }
.product-detail-desc{ font-size:15px; color:var(--text-dim); line-height:1.75; margin-bottom:26px; white-space:pre-wrap; }
.product-detail-add{
  align-self:flex-start; display:flex; align-items:center; gap:9px;
  font-size:15.5px; padding:15px 30px;
}

.product-features-section{ margin-top:8px; }
.product-features-section .section-head{ text-align:left; margin:0 0 30px; max-width:none; }
.product-features-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:16px;
}
@media (max-width:780px){
  .product-features-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:560px){
  .product-features-grid{ grid-template-columns:1fr; }
}
.product-feature-card{
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius-md);
  padding:20px; position:relative; overflow:hidden;
}
.product-feature-card .feature-icon{ margin-bottom:12px; }
.product-feature-card h4{ font-size:14.5px; margin-bottom:6px; }
.product-feature-card p{ font-size:13px; color:var(--text-dim); line-height:1.55; }

.product-not-found{ text-align:center; padding:100px 24px; }
.product-not-found h2{ font-family:var(--font-display); font-size:22px; margin-bottom:10px; }
.product-not-found p{ color:var(--text-dim); margin-bottom:20px; }

/* ================= LOGIN-SLOT OP PRODUCTEN ================= */
/* Standaard (voordat we weten of iemand ingelogd is, en voor iedereen die
   niet ingelogd is) tonen we een slotje in plaats van prijs/koopknop.
   Zodra <body> de klasse "is-authed" krijgt (zie script.js), draait dit om. */
.product-lock-wrap{ display:none; }
body:not(.is-authed) .product-card .product-price,
body:not(.is-authed) .product-card .product-actions,
body:not(.is-authed) .product-detail-price,
body:not(.is-authed) .product-detail-add{
  display:none !important;
}
body:not(.is-authed) .product-card .product-lock-wrap,
body:not(.is-authed) .product-detail-lock-wrap{
  display:flex !important;
}

.product-lock-btn{
  position:relative; width:100%;
  display:flex; align-items:center; justify-content:center; gap:7px;
  background:var(--bg-alt); border:1px dashed var(--border-light);
  color:var(--text-faint); font-size:13px; font-weight:600;
  padding:10px; border-radius:var(--radius-sm);
  transition:border-color .15s ease, color .15s ease;
}
.product-lock-btn:hover{ border-color:var(--accent); color:var(--accent); }
.lock-tooltip{
  position:absolute; bottom:calc(100% + 8px); left:50%; transform:translateX(-50%) translateY(4px);
  width:200px; background:var(--card); border:1px solid var(--border-light);
  color:var(--text); font-size:11.5px; font-weight:500; line-height:1.4;
  padding:9px 11px; border-radius:8px;
  box-shadow:0 12px 30px rgba(0,0,0,.4);
  opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity .15s ease, transform .15s ease;
}
.product-lock-btn:hover .lock-tooltip{ opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); }

.product-detail-lock-wrap{ display:none; flex-direction:column; gap:4px; }
.product-detail-lock-wrap .product-lock-btn{ padding:15px 30px; font-size:14.5px; }

/* ================= CHAT (klant-kant, contact.html) ================= */
.chat-wrap{ max-width:640px; margin:0 auto; padding:0 24px 60px; }
.chat-body{
  display:flex; flex-direction:column; height:60vh; min-height:420px;
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden;
}
.chat-messages{
  flex:1; overflow-y:auto; padding:20px; display:flex; flex-direction:column; gap:12px;
  scrollbar-width:thin; scrollbar-color:var(--accent) transparent;
}
.chat-messages::-webkit-scrollbar{ width:6px; }
.chat-messages::-webkit-scrollbar-thumb{ background:var(--accent); border-radius:999px; }
.chat-bubble-row{ display:flex; }
.chat-bubble-row.customer{ justify-content:flex-end; }
.chat-bubble-row.admin{ justify-content:flex-start; }
.chat-bubble{ max-width:75%; padding:11px 14px; border-radius:14px; }
.chat-bubble-row.customer .chat-bubble{ background:linear-gradient(135deg, var(--accent), var(--accent-2)); color:#fff; border-bottom-right-radius:4px; }
.chat-bubble-row.admin .chat-bubble{ background:var(--bg-alt); border:1px solid var(--border-light); border-bottom-left-radius:4px; }
.chat-bubble p{ font-size:13.5px; line-height:1.5; white-space:pre-wrap; word-break:break-word; }
.chat-time{ display:block; font-size:10.5px; opacity:.65; margin-top:4px; }
.chat-empty{
  flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:8px; color:var(--text-dim); font-size:13.5px; text-align:center; padding:20px;
}
.chat-input-row{ display:flex; gap:10px; padding:14px; border-top:1px solid var(--border); flex-shrink:0; }
.chat-input-row textarea{
  flex:1; resize:none; background:var(--bg-alt); border:1px solid var(--border-light); border-radius:var(--radius-sm);
  color:var(--text); font-family:inherit; font-size:13.5px; padding:10px 12px; max-height:100px;
}
.chat-input-row textarea:focus{ outline:none; border-color:var(--accent); }
.chat-input-row button{
  flex-shrink:0; padding:0 20px; border-radius:var(--radius-sm);
  background:linear-gradient(135deg, var(--accent), var(--accent-2)); color:#fff; font-weight:700; border:none;
}
.chat-input-row button:disabled{ opacity:.5; }

/* ================= CHAT (admin-kant, admin.html) ================= */
.chat-admin-layout{ display:grid; grid-template-columns:280px 1fr; gap:16px; height:65vh; min-height:460px; }
@media (max-width:760px){ .chat-admin-layout{ grid-template-columns:1fr; height:auto; } }
.chat-admin-list{
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius-md);
  overflow-y:auto; padding:8px; display:flex; flex-direction:column; gap:4px;
}
.chat-admin-item{
  display:flex; align-items:center; gap:10px; padding:10px; border-radius:var(--radius-sm); cursor:pointer;
  transition:background .15s ease; border:none; background:none; width:100%; text-align:left;
}
.chat-admin-item:hover{ background:var(--bg-alt); }
.chat-admin-item.active{ background:var(--accent-soft); }
.chat-admin-item .avatar{ width:34px; height:34px; font-size:13px; flex-shrink:0; }
.chat-admin-item-info{ flex:1; min-width:0; }
.chat-admin-item-info h5{ font-size:13px; margin-bottom:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.chat-admin-item-info p{ font-size:11.5px; color:var(--text-faint); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.chat-admin-unread-dot{ width:8px; height:8px; border-radius:50%; background:var(--accent); flex-shrink:0; }
.chat-admin-thread{
  display:flex; flex-direction:column;
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius-md); overflow:hidden;
}
.chat-admin-empty{ flex:1; display:flex; align-items:center; justify-content:center; color:var(--text-dim); font-size:13.5px; text-align:center; padding:20px; }
.chat-admin-head{ padding:14px 16px; border-bottom:1px solid var(--border); display:flex; align-items:center; gap:10px; flex-shrink:0; }
.chat-admin-head h4{ font-size:14px; }
.chat-admin-head span{ font-size:12px; color:var(--text-faint); }

/* ================= ZWEVEND CHAT-WIDGETJE (alle pagina's) ================= */
.chat-widget-bubble{
  position:fixed; bottom:24px; right:24px; z-index:500;
  width:58px; height:58px; border-radius:50%;
  background:linear-gradient(135deg, var(--accent), var(--accent-2));
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 30px var(--accent-glow);
  border:none; font-size:24px; color:#fff;
  transition:transform .2s cubic-bezier(.34,1.56,.64,1);
}
.chat-widget-bubble:hover{ transform:scale(1.08) rotate(-4deg); }
.widget-unread-dot{
  position:absolute; top:2px; right:2px;
  width:14px; height:14px; border-radius:50%;
  background:#e04f4f; border:2px solid var(--bg); display:none;
}
.chat-widget-bubble.has-unread .widget-unread-dot{ display:block; }

.chat-widget-panel{
  position:fixed; bottom:96px; right:24px; z-index:500;
  width:min(380px, calc(100vw - 32px));
  height:min(560px, calc(100vh - 140px));
  background:var(--bg-alt); border:1px solid var(--border-light);
  border-radius:var(--radius-lg); overflow:hidden;
  display:flex; flex-direction:column;
  box-shadow:0 30px 80px rgba(0,0,0,.6);
  transform:translateY(16px) scale(.96); opacity:0; visibility:hidden;
  transition:transform .22s cubic-bezier(.32,.72,0,1), opacity .22s ease, visibility .22s ease;
}
.chat-widget-panel.open{ transform:translateY(0) scale(1); opacity:1; visibility:visible; }

.chat-widget-header{
  flex-shrink:0; padding:16px 44px 14px 16px;
  background:linear-gradient(135deg, var(--accent), var(--accent-2));
  color:#fff; position:relative;
  display:flex; align-items:center; gap:11px;
}
.chat-widget-avatar{
  width:38px; height:38px; border-radius:11px; flex-shrink:0;
  background:#fff; padding:5px;
  box-shadow:0 4px 12px rgba(0,0,0,.2);
}
.chat-widget-header h4{ font-family:var(--font-display); font-size:15.5px; margin-bottom:1px; }
.chat-widget-header p{ font-size:11.5px; opacity:.9; display:flex; align-items:center; gap:5px; }
.chat-widget-header p::before{
  content:''; width:7px; height:7px; border-radius:50%; background:#3ecf8e;
  box-shadow:0 0 0 2px rgba(255,255,255,.3);
}
.chat-widget-close{
  position:absolute; top:13px; right:13px;
  width:30px; height:30px; border-radius:9px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.15); border:none; color:#fff; font-size:15px; line-height:1;
  transition:background .15s ease, transform .15s ease;
}
.chat-widget-close:hover{ background:rgba(255,255,255,.28); transform:rotate(90deg); }

.chat-widget-typing{
  display:inline-flex; align-items:center; gap:4px; padding:4px 2px;
}
.chat-widget-typing span{
  width:6px; height:6px; border-radius:50%; background:var(--text-faint);
  animation:widgetTypingBounce 1.2s ease-in-out infinite;
}
.chat-widget-typing span:nth-child(2){ animation-delay:.15s; }
.chat-widget-typing span:nth-child(3){ animation-delay:.3s; }
@keyframes widgetTypingBounce{
  0%, 60%, 100%{ transform:translateY(0); opacity:.5; }
  30%{ transform:translateY(-4px); opacity:1; }
}

.chat-widget-status{
  text-align:center; font-size:11px; color:var(--text-faint);
  padding:6px; border-bottom:1px solid var(--border); flex-shrink:0;
}
.chat-bubble-row.bot{ align-items:flex-end; gap:7px; }
.chat-widget-msg-avatar{
  width:22px; height:22px; border-radius:7px; background:#fff; padding:3px;
  flex-shrink:0; box-shadow:0 2px 6px rgba(0,0,0,.15);
}
.chat-bubble-row.bot .chat-bubble{ background:var(--bg-alt); border:1px solid var(--border-light); border-bottom-left-radius:4px; }
.chat-bubble-label{ font-size:10px; font-weight:700; color:var(--accent); margin-bottom:4px; letter-spacing:.02em; }

.chat-widget-escalate{
  align-self:center; margin:6px 0 2px;
  font-size:12.5px; font-weight:600; color:var(--accent);
  background:var(--accent-soft); border:1px solid rgba(47,158,234,.35);
  padding:9px 16px; border-radius:999px; flex-shrink:0;
}
.chat-widget-escalate:hover{ background:rgba(47,158,234,.2); }
@media (max-width:480px){
  .chat-widget-panel{ right:16px; bottom:88px; }
  .chat-widget-bubble{ right:16px; bottom:16px; }
}

/* ---- Compatibiliteit (Frameworks / Inventory / Target / Dependencies) ---- */
.product-compat-section{ margin-top:56px; }
.product-compat-section .section-head{ text-align:left; margin:0 0 26px; max-width:none; }
.compat-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:700px){
  .compat-grid{ grid-template-columns:1fr; }
}
.compat-box{
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius-md);
  padding:20px;
}
.compat-box-head{ display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.compat-icon{
  width:32px; height:32px; border-radius:9px; flex-shrink:0;
  background:var(--accent-soft); border:1px solid rgba(47,158,234,.3);
  display:flex; align-items:center; justify-content:center; font-size:14px;
}
.compat-box-head h4{ font-size:14px; font-weight:700; }
.compat-chips{ display:flex; gap:8px; flex-wrap:wrap; }
.compat-chip{
  font-size:12px; font-weight:600; padding:5px 11px; border-radius:7px;
  border:1px solid var(--chip-color, var(--border-light));
  color:var(--chip-color, var(--text-dim));
  background:color-mix(in srgb, var(--chip-color, transparent) 12%, transparent);
}
.compat-chip-ok{ --chip-color:#3ecf8e; }
.compat-chip-outline{ --chip-color:var(--border-light); color:var(--text-faint); }
