/* ============================================================
   ThinkCentrum.nl — Hoofdstijlblad
   ============================================================ */

:root {
  --blauw: #1e3a5f;
  --blauw-licht: #2563eb;
  --rood: #dc2626;
  --groen: #16a34a;
  --oranje: #d97706;
  --grijs-1: #f8f9fa;
  --grijs-2: #e9ecef;
  --grijs-3: #dee2e6;
  --grijs-4: #6c757d;
  --donker: #1a1a2e;
  --tekst: #212529;
  --wit: #ffffff;
  --radius: 6px;
  --schaduw: 0 2px 12px rgba(0,0,0,0.08);
  --schaduw-hover: 0 6px 24px rgba(0,0,0,0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--tekst); background: var(--grijs-1); font-size: 15px; line-height: 1.6; }
a { color: var(--blauw-licht); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── TOPBAR ── */
.topbar { background: var(--donker); color: #aaa; font-size: 12px; padding: 6px 0; }
.topbar-inner { display: flex; gap: 24px; align-items: center; }

/* ── HEADER ── */
.header { background: var(--wit); border-bottom: 3px solid var(--blauw); box-shadow: var(--schaduw); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; gap: 32px; padding: 14px 20px; }

.logo { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; text-decoration: none; }
.logo-think { color: var(--blauw); }
.logo-centrum { color: var(--blauw-licht); }
.logo-nl { color: var(--rood); }

.nav { display: flex; gap: 24px; flex: 1; }
.nav a { color: var(--tekst); font-weight: 500; font-size: 14px; padding: 4px 0; border-bottom: 2px solid transparent; transition: border-color 0.2s, color 0.2s; }
.nav a:hover { color: var(--blauw-licht); border-bottom-color: var(--blauw-licht); text-decoration: none; }

.winkelwagen-btn { background: var(--blauw); color: var(--wit); padding: 9px 18px; border-radius: var(--radius); font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; position: relative; transition: background 0.2s; }
.winkelwagen-btn:hover { background: var(--blauw-licht); text-decoration: none; color: #fff; }
.wagen-badge { background: var(--rood); color: #fff; border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }

/* ── SUBNAV ── */
.subnav { background: var(--blauw); }
.subnav-inner { display: flex; gap: 0; }
.subnav a { color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 500; padding: 10px 16px; display: block; border-right: 1px solid rgba(255,255,255,0.1); transition: background 0.2s, color 0.2s; }
.subnav a:hover { background: var(--blauw-licht); color: #fff; text-decoration: none; }

/* ── HERO ── */
.hero { background: linear-gradient(135deg, var(--donker) 0%, var(--blauw) 100%); color: #fff; padding: 60px 0; text-align: center; }
.hero h1 { font-size: 38px; font-weight: 800; margin-bottom: 12px; }
.hero h1 span { color: #60a5fa; }
.hero p { font-size: 18px; color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 28px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 28px; border-radius: var(--radius); font-weight: 700; font-size: 14px; cursor: pointer; border: none; transition: all 0.2s; text-decoration: none; }
.btn-primair { background: var(--blauw-licht); color: #fff; }
.btn-primair:hover { background: #1d4ed8; color: #fff; text-decoration: none; }
.btn-secundair { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.btn-secundair:hover { background: rgba(255,255,255,0.25); color: #fff; text-decoration: none; }
.btn-rood { background: var(--rood); color: #fff; }
.btn-rood:hover { background: #b91c1c; color: #fff; text-decoration: none; }

/* ── GRADE UITLEG ── */
.grade-uitleg { background: var(--wit); padding: 32px 0; border-bottom: 1px solid var(--grijs-3); }
.grade-uitleg h2 { text-align: center; font-size: 20px; margin-bottom: 20px; color: var(--blauw); }
.grade-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grade-kaart { border: 2px solid var(--grijs-3); border-radius: var(--radius); padding: 20px; text-align: center; }
.grade-kaart.grade-a { border-color: var(--groen); }
.grade-kaart.grade-b { border-color: var(--blauw-licht); }
.grade-kaart.grade-c { border-color: var(--oranje); }
.grade-letter { font-size: 36px; font-weight: 800; margin-bottom: 8px; }
.grade-a .grade-letter { color: var(--groen); }
.grade-b .grade-letter { color: var(--blauw-licht); }
.grade-c .grade-letter { color: var(--oranje); }
.grade-kaart h3 { font-size: 15px; margin-bottom: 6px; }
.grade-kaart p { font-size: 13px; color: var(--grijs-4); }

/* ── PRODUCT GRID ── */
.sectie { padding: 40px 0; }
.sectie-titel { font-size: 22px; font-weight: 700; color: var(--blauw); margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.sectie-titel a { font-size: 13px; color: var(--blauw-licht); font-weight: 500; margin-left: auto; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.product-kaart { background: var(--wit); border: 1px solid var(--grijs-3); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; }
.product-kaart:hover { box-shadow: var(--schaduw-hover); transform: translateY(-2px); }
.product-kaart-foto { position: relative; background: #f0f4f8; height: 180px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-kaart-foto img { max-height: 160px; max-width: 90%; object-fit: contain; }
.product-kaart-foto .grade-badge { position: absolute; top: 10px; left: 10px; }
.product-kaart-info { padding: 14px; }
.product-kaart-naam { font-size: 14px; font-weight: 600; color: var(--tekst); margin-bottom: 6px; line-height: 1.4; }
.product-kaart-specs { font-size: 12px; color: var(--grijs-4); margin-bottom: 10px; line-height: 1.6; }
.product-kaart-prijs { font-size: 20px; font-weight: 800; color: var(--blauw); }
.product-kaart-excl { font-size: 11px; color: var(--grijs-4); }
.product-kaart-footer { padding: 0 14px 14px; display: flex; gap: 8px; }
.product-kaart-footer .btn { flex: 1; text-align: center; padding: 8px 12px; font-size: 13px; }

/* ── GRADE BADGE ── */
.grade-badge { padding: 3px 10px; border-radius: 3px; font-size: 11px; font-weight: 700; color: #fff; }
.grade-A { background: var(--groen); }
.grade-B { background: var(--blauw-licht); }
.grade-C { background: var(--oranje); }

/* ── PRODUCT DETAIL ── */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 40px 0; align-items: start; }
.product-gallerij { position: sticky; top: 80px; }
.product-foto-main { width: 100%; height: 360px; object-fit: contain; background: #f0f4f8; border: 1px solid var(--grijs-3); border-radius: var(--radius); cursor: zoom-in; }
.product-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.product-thumb { width: 70px; height: 52px; object-fit: contain; background: #f0f4f8; border: 2px solid var(--grijs-3); border-radius: 4px; cursor: pointer; transition: border-color 0.15s; }
.product-thumb.actief { border-color: var(--blauw-licht); }
.product-thumb:hover { border-color: var(--blauw); }

.product-info h1 { font-size: 24px; font-weight: 800; color: var(--blauw); margin-bottom: 10px; line-height: 1.3; }
.product-grade-rij { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; font-size: 13px; color: var(--grijs-4); }
.product-prijs-blok { background: var(--grijs-1); border: 1px solid var(--grijs-3); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.product-prijs-incl { font-size: 32px; font-weight: 800; color: var(--blauw); }
.product-prijs-excl { font-size: 13px; color: var(--grijs-4); margin-top: 2px; }
.product-garantie { font-size: 13px; color: var(--groen); font-weight: 600; margin-top: 8px; }
.product-voorraad { font-size: 13px; font-weight: 600; margin-top: 6px; }
.voorraad-ok { color: var(--groen); }
.voorraad-laag { color: var(--oranje); }
.voorraad-nee { color: var(--rood); }

.bestel-blok { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.bestel-blok .btn { padding: 14px; font-size: 15px; text-align: center; }

.usps-lijst { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.usps-lijst li { display: flex; gap: 8px; align-items: flex-start; }
.usps-lijst li::before { content: '✓'; color: var(--groen); font-weight: 700; flex-shrink: 0; }

/* ── SPECS TABEL ── */
.specs-tabs { border-bottom: 2px solid var(--grijs-3); display: flex; gap: 0; margin-bottom: 24px; }
.specs-tab { padding: 12px 24px; font-size: 14px; font-weight: 600; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; color: var(--grijs-4); transition: color 0.2s; }
.specs-tab.actief { color: var(--blauw); border-bottom-color: var(--blauw); }
.specs-inhoud { display: none; }
.specs-inhoud.actief { display: block; }

.spec-cat-titel { background: var(--grijs-1); border: 1px solid var(--grijs-3); border-bottom: none; padding: 9px 16px; font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--blauw); text-transform: uppercase; }
.spec-rij { display: grid; grid-template-columns: 220px 1fr; border: 1px solid var(--grijs-3); border-top: none; }
.spec-rij:nth-child(even) { background: var(--grijs-1); }
.spec-naam { padding: 10px 16px; font-size: 13px; color: var(--grijs-4); border-right: 1px solid var(--grijs-3); }
.spec-waarde { padding: 10px 16px; font-size: 13px; color: var(--tekst); }
.spec-waarde ul { margin: 0; padding-left: 16px; }

/* ── WINKELWAGEN ── */
.wagen-tabel { width: 100%; border-collapse: collapse; background: var(--wit); border-radius: var(--radius); overflow: hidden; box-shadow: var(--schaduw); }
.wagen-tabel th { background: var(--blauw); color: #fff; padding: 12px 16px; text-align: left; font-size: 13px; }
.wagen-tabel td { padding: 14px 16px; border-bottom: 1px solid var(--grijs-3); font-size: 14px; vertical-align: middle; }
.wagen-totaal { background: var(--wit); border-radius: var(--radius); padding: 24px; box-shadow: var(--schaduw); }
.wagen-totaal-rij { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; border-bottom: 1px solid var(--grijs-3); }
.wagen-totaal-rij.totaal { font-size: 20px; font-weight: 800; color: var(--blauw); border-bottom: none; padding-top: 12px; }

/* ── CHECKOUT FORM ── */
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.form-groep { margin-bottom: 16px; }
.form-groep label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: var(--blauw); }
.form-groep input, .form-groep select, .form-groep textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--grijs-3); border-radius: var(--radius); font-size: 14px; font-family: inherit; transition: border-color 0.2s; }
.form-groep input:focus, .form-groep select:focus { border-color: var(--blauw-licht); outline: none; }
.form-rij { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── BETAALMETHODE ── */
.betaal-opties { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.betaal-optie { border: 2px solid var(--grijs-3); border-radius: var(--radius); padding: 12px 20px; cursor: pointer; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; transition: border-color 0.2s; }
.betaal-optie.actief { border-color: var(--blauw-licht); background: #eff6ff; }
.betaal-optie input[type=radio] { accent-color: var(--blauw-licht); }

/* ── ADMIN ── */
.admin-wrap { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--donker); color: #fff; padding: 24px 0; }
.admin-sidebar .logo { display: block; padding: 0 20px 24px; font-size: 18px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 16px; }
.admin-sidebar nav a { display: flex; align-items: center; gap: 10px; padding: 10px 20px; color: rgba(255,255,255,0.75); font-size: 14px; transition: background 0.2s, color 0.2s; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.actief { background: rgba(255,255,255,0.1); color: #fff; text-decoration: none; }
.admin-main { padding: 32px; background: var(--grijs-1); }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.admin-header h1 { font-size: 22px; font-weight: 700; color: var(--blauw); }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.stat-kaart { background: var(--wit); border-radius: var(--radius); padding: 20px; box-shadow: var(--schaduw); text-align: center; }
.stat-kaart .getal { font-size: 32px; font-weight: 800; color: var(--blauw); }
.stat-kaart .label { font-size: 13px; color: var(--grijs-4); margin-top: 4px; }

.kaart { background: var(--wit); border-radius: var(--radius); box-shadow: var(--schaduw); padding: 24px; margin-bottom: 24px; }
.kaart h2 { font-size: 17px; font-weight: 700; color: var(--blauw); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--grijs-3); }

table.data-tabel { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data-tabel th { background: var(--grijs-1); padding: 10px 12px; text-align: left; border-bottom: 2px solid var(--grijs-3); font-weight: 600; color: var(--blauw); }
table.data-tabel td { padding: 10px 12px; border-bottom: 1px solid var(--grijs-3); vertical-align: middle; }
table.data-tabel tr:hover td { background: var(--grijs-1); }

/* ── ALERTS ── */
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; font-size: 14px; }
.alert-succes { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.alert-fout { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-info { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }

/* ── LIGHTBOX ── */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.93); z-index: 9999; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox-img { max-width: 82vw; max-height: 88vh; object-fit: contain; }
.lightbox-sluit { position: fixed; top: 20px; right: 28px; color: #fff; font-size: 32px; cursor: pointer; z-index: 10000; }
.lightbox-pijl { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; font-size: 32px; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10000; transition: background 0.15s; }
.lightbox-pijl:hover { background: rgba(255,255,255,0.2); }
.lightbox-pijl.links { left: 20px; }
.lightbox-pijl.rechts { right: 20px; }
.lightbox-teller { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); color: #aaa; font-size: 12px; letter-spacing: 2px; z-index: 10000; }

/* ── USP BALK ── */
.usp-balk { background: var(--blauw); color: #fff; padding: 24px 0; margin-top: 48px; }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.usp-item { display: flex; align-items: center; gap: 14px; }
.usp-icon { font-size: 28px; }
.usp-item strong { display: block; font-size: 14px; font-weight: 700; }
.usp-item span { font-size: 12px; opacity: 0.8; }

/* ── FOOTER ── */
.footer { background: var(--donker); color: rgba(255,255,255,0.8); padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.65); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.7); font-size: 13px; transition: color 0.2s; }
.footer-col ul li a:hover { color: #fff; text-decoration: none; }
.footer-betaal { display: flex; gap: 10px; margin-top: 16px; }
.footer-betaal img { height: 28px; filter: brightness(0) invert(1); opacity: 0.7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 16px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.4); }

/* ── BREADCRUMB ── */
.breadcrumb { padding: 12px 0; font-size: 13px; color: var(--grijs-4); }
.breadcrumb a { color: var(--grijs-4); }
.breadcrumb span { margin: 0 6px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .grade-grid { grid-template-columns: 1fr; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .admin-wrap { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .usp-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
