/* ==========================================================================
   PeptideMan — stylesheet  ·  black & gold  ·  no external dependencies
   ========================================================================== */

:root {
  --bg: #0b0b0d;
  --bg-alt: #141417;
  --bg-card: #151518;
  --bg-deep: #060607;
  --ink: #f5f2ea;
  --ink-soft: #b7b1a3;
  --ink-faint: #8b8577;
  --line: #26262b;
  --line-strong: #3a3a42;
  --accent: #c9a227;          /* gold */
  --accent-hover: #e2ba3c;
  --accent-deep: #a3811c;
  --accent-tint: rgba(201, 162, 39, .12);
  --on-accent: #0b0b0d;
  --warn-bg: rgba(201, 162, 39, .08);
  --warn-line: rgba(201, 162, 39, .38);
  --warn-ink: #e9d8a6;
  --ok: #6fcf97;
  --radius: 10px;
  --radius-sm: 7px;
  --maxw: 1120px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 14px 40px rgba(0, 0, 0, .45);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.25rem; }
li { margin: .3rem 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
small { font-size: .85rem; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 40px 0; }
.grid { display: grid; gap: 24px; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.lead { font-size: 1.15rem; color: var(--ink-soft); }

/* ---------- skip link ---------- */
.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--accent); color: var(--on-accent); padding: 12px 18px; border-radius: 0 0 8px 0; font-weight: 600; }
.skip:focus { left: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 13, .82);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand__mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(145deg, #e2ba3c, #b3881d);
  color: var(--on-accent); display: grid; place-items: center; font-weight: 800; font-size: .95rem;
}
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav a { color: var(--ink-soft); font-size: .95rem; font-weight: 500; padding: 8px 12px; border-radius: 7px; }
.nav a:hover { color: var(--ink); background: var(--bg-alt); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.nav__cart { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px 12px !important; }
.nav__cart:hover { border-color: var(--accent); }
.nav__cart-count { min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: .78rem; font-weight: 700; display: inline-grid; place-items: center; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); border-radius: 8px; width: 42px; height: 40px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 66px 0 auto 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px; box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 12px; font-size: 1rem; }
  .nav__cart { justify-content: space-between; }
}

/* ---------- top disclaimer strip ---------- */
.topbar { background: var(--bg-deep); color: var(--ink-soft); font-size: .82rem; text-align: center; padding: 7px 20px; letter-spacing: .01em; border-bottom: 1px solid var(--line); }
.topbar strong { color: var(--accent); font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: .98rem;
  padding: 12px 22px; border-radius: 9px; border: 1px solid transparent;
  cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: linear-gradient(145deg, #e2ba3c, #b98f1f); color: var(--on-accent); }
.btn--primary:hover { background: linear-gradient(145deg, #ecc85a, #cb9f2a); color: var(--on-accent); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--block { width: 100%; }
.btn--sm { padding: 9px 16px; font-size: .9rem; }

/* ---------- hero ---------- */
.hero { padding: 84px 0 64px; position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin-bottom: 1.6rem; max-width: 44ch; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.hero__card ul { list-style: none; padding: 0; margin: 0; }
.hero__card li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.hero__card li:last-child { border-bottom: 0; }
.hero__card svg { flex-shrink: 0; color: var(--accent); margin-top: 3px; }
@media (max-width: 860px) { .hero__grid { grid-template-columns: 1fr; gap: 32px; } .hero { padding: 56px 0 48px; } }

/* ---------- trust row ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust__item { text-align: center; padding: 8px; }
.trust__num { font-size: 1.7rem; font-weight: 800; color: var(--accent); letter-spacing: -.02em; }
.trust__label { font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 720px) { .trust { grid-template-columns: repeat(2, 1fr); gap: 24px; } }

/* ---------- product grid ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .products { grid-template-columns: 1fr; } }

.card {
  display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.card__imgwrap { display: block; margin: -22px -22px 16px; border-bottom: 1px solid var(--line); background: #0e0e10; }
.card__img { width: 100%; aspect-ratio: 1472 / 704; object-fit: cover; display: block; border-radius: var(--radius) var(--radius) 0 0; }
.card__tag { align-self: flex-start; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); background: var(--accent-tint); padding: 4px 9px; border-radius: 6px; margin-bottom: 14px; }
.card__name { font-size: 1.15rem; margin: 0 0 4px; }
.card__name a { color: var(--ink); }
.card__name a:hover { color: var(--accent); text-decoration: none; }
.card__spec { font-size: .86rem; color: var(--ink-faint); margin: 0 0 10px; }
.card__desc { font-size: .92rem; color: var(--ink-soft); flex-grow: 1; margin: 0 0 16px; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__price { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.card__stock { font-size: .8rem; color: var(--ok); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.card__stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }

/* ---------- product detail ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; gap: 28px; } }
.pdp__media { background: #0e0e10; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.pdp__media img { width: 100%; aspect-ratio: 1472 / 704; object-fit: cover; display: block; }
.pdp__vial { width: 120px; height: 190px; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .55)); }
.pdp__buy { border: 1px solid var(--line); border-radius: 14px; padding: 24px; background: var(--bg-card); position: sticky; top: 86px; }
.pdp__price { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.pdp__price small { font-size: .95rem; font-weight: 500; color: var(--ink-faint); }
.spec-table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: .93rem; }
.spec-table th, .spec-table td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { color: var(--ink-soft); font-weight: 500; width: 42%; }
.qty { display: flex; align-items: center; gap: 0; border: 1px solid var(--line-strong); border-radius: 9px; overflow: hidden; }
.qty button { width: 40px; height: 44px; border: 0; background: var(--bg-alt); font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--line); }
.qty input { width: 48px; height: 44px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font: inherit; font-weight: 600; background: var(--bg-card); color: var(--ink); }
.buy-row { display: flex; gap: 10px; align-items: stretch; margin: 8px 0 12px; }
.coa-btn { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 10px; }
.coa-btn svg { flex-shrink: 0; }

/* ---------- callout / disclaimer box ---------- */
.callout { background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-ink); border-radius: var(--radius); padding: 16px 18px; font-size: .92rem; }
.callout strong { color: var(--accent); }
.callout--info { background: var(--accent-tint); border-color: var(--warn-line); color: var(--ink-soft); }
.callout--plain { background: var(--bg-alt); border-color: var(--line); color: var(--ink-soft); }
.callout--plain strong { color: var(--ink); }

/* ---------- feature list ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 820px) { .features { grid-template-columns: 1fr; } }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--bg-card); }
.feature h3 { font-size: 1.05rem; display: flex; align-items: center; gap: 9px; }
.feature svg { color: var(--accent); flex-shrink: 0; }
.feature p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 1.4rem; font-weight: 400; color: var(--accent); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item__body { padding: 0 0 20px; color: var(--ink-soft); max-width: 70ch; }

/* ---------- breadcrumb ---------- */
.crumb { font-size: .85rem; color: var(--ink-faint); padding: 18px 0 0; }
.crumb a { color: var(--ink-soft); }
.crumb span { margin: 0 6px; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 520px; }
.data-table th, .data-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.data-table thead th { background: var(--bg-alt); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }

/* ---------- cart ---------- */
.cart-line { display: grid; grid-template-columns: 1fr auto auto auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line__name { font-weight: 600; }
.cart-line__name span { display: block; font-weight: 400; font-size: .85rem; color: var(--ink-faint); }
.cart-line__remove { background: none; border: 0; color: var(--ink-faint); cursor: pointer; font-size: .85rem; text-decoration: underline; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.3rem; font-weight: 800; padding: 20px 0; color: var(--ink); }
@media (max-width: 620px) { .cart-line { grid-template-columns: 1fr auto; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; font: inherit; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--bg-alt); color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-deep); color: var(--ink-soft); padding: 56px 0 28px; font-size: .92rem; border-top: 1px solid var(--line); }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: var(--accent); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.1rem; margin-bottom: 12px; }
.footer-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; color: var(--ink-faint); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- age gate + cookie banner ---------- */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .8); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 20px; }
.modal { background: var(--bg-card); border: 1px solid var(--line-strong); border-radius: 16px; max-width: 460px; width: 100%; padding: 32px; text-align: center; box-shadow: var(--shadow); }
.modal h2 { font-size: 1.35rem; }
.modal p { color: var(--ink-soft); font-size: .95rem; }
.modal__row { display: flex; gap: 12px; margin-top: 20px; }
.modal__row .btn { flex: 1; }

.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; background: var(--bg-card); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: var(--shadow); padding: 18px 20px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; max-width: 720px; margin: 0 auto; font-size: .9rem; color: var(--ink-soft); }
.cookie-bar p { margin: 0; flex: 1 1 280px; }
.cookie-bar .btn { flex-shrink: 0; }
[hidden] { display: none !important; }

/* ---------- CoA document ---------- */
.coa-doc { max-width: 800px; margin: 40px auto; background: #fff; color: #14141a; border-radius: 12px; padding: 48px; box-shadow: var(--shadow); }
.coa-doc h1 { color: #14141a; font-size: 1.6rem; }
.coa-doc a { color: #a3811c; }
.coa-doc__head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 2px solid #c9a227; padding-bottom: 18px; margin-bottom: 26px; gap: 20px; }
.coa-doc__brand { font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.coa-doc table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.coa-doc th, .coa-doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #e2e2e6; font-size: .95rem; }
.coa-doc th { width: 40%; color: #55555f; font-weight: 600; }
.coa-doc__sign { margin-top: 36px; display: flex; justify-content: space-between; gap: 30px; font-size: .88rem; color: #55555f; }
.coa-doc__note { margin-top: 26px; padding: 14px 16px; background: #faf6ea; border: 1px solid #ecdcae; border-radius: 8px; font-size: .84rem; color: #6b5a1e; }
.coa-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* real certificate images */
.coa-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.coa-thumb { margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #101012; }
.coa-thumb img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: top; display: block; transition: transform .2s ease; }
.coa-thumb:hover img { transform: scale(1.03); }
.coa-thumb figcaption { padding: 10px 12px; font-size: .84rem; line-height: 1.4; }
.coa-thumb figcaption a { text-decoration: none; font-weight: 600; }
.coa-figure { margin: 0 0 30px; }
.coa-figure img { width: 100%; max-width: 540px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; display: block; }
.coa-figure figcaption { font-size: .88rem; color: var(--ink-soft); margin-top: 10px; max-width: 540px; }
@media print {
  .site-header, .site-footer, .topbar, .crumb, .coa-actions, .cookie-bar, .modal-backdrop { display: none !important; }
  body { background: #fff; }
  .coa-doc { box-shadow: none; margin: 0; padding: 0; max-width: none; }
}

/* ---------- utilities ---------- */
.stack > * + * { margin-top: 1rem; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.pill { font-size: .8rem; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; color: var(--ink-soft); }

/* ---------- klantervaring ---------- */
.testimonial { margin: 36px 0 0; padding: 26px 28px; max-width: 760px; background: var(--bg-card); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { margin: 0; font-size: 1.25rem; line-height: 1.5; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.testimonial figcaption { margin-top: 12px; font-size: .9rem; color: var(--ink-faint); }
.testimonial figcaption::before { content: "— "; color: var(--accent); }
.testimonial__detail { margin: 10px 0 0; font-size: .95rem; color: var(--ink-soft); }
.prose .testimonial { margin: 22px 0 26px; }
.features + .testimonial { max-width: none; margin-top: 22px; }
.testimonial--mini { margin-top: 32px; padding: 16px 18px; }
.testimonial--mini blockquote p { font-size: 1rem; }
@media (max-width: 640px) { .testimonial { padding: 20px; } .testimonial blockquote p { font-size: 1.1rem; } .testimonial--mini blockquote p { font-size: .98rem; } }
