/* ============================================================
   PeptVault — Standalone Product Landing Page Stylesheet
   Brand-matched to index.html (:root tokens reused verbatim).
   Self-contained: landing pages do not depend on the SPA.
   ============================================================ */

:root {
  --green: #78c800;
  --green-dark: #5fa300;
  --bg: #111314;
  --bg2: #181b1e;
  --bg3: #1f2326;
  --border: #2a2e33;
  --text: #e8eaed;
  --muted: #8a9099;
  --white: #fff;
  --amber: #f5a623;
  --amber-bg: rgba(245, 166, 35, 0.08);
  --radius: 14px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Policy bar ---------- */
.policy-bar {
  background: var(--amber-bg);
  border-bottom: 1px solid rgba(245, 166, 35, 0.25);
  color: #f3c98b;
  font-size: 12.5px;
  text-align: center;
  padding: 7px 18px;
  letter-spacing: 0.2px;
}
.policy-bar strong { color: var(--amber); font-weight: 600; }

/* ---------- Nav ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 19, 20, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.logo { font-weight: 800; font-size: 22px; letter-spacing: -0.5px; }
.logo span { color: var(--green); }
.nav-links { display: flex; gap: 22px; align-items: center; font-size: 14.5px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--green);
  color: #0d1117 !important;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
}
.nav-cta:hover { background: var(--green-dark); }
@media (max-width: 720px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ---------- Breadcrumb ---------- */
.crumb { font-size: 13px; color: var(--muted); padding: 18px 0 0; }
.crumb a:hover { color: var(--green); }
.crumb span { margin: 0 7px; opacity: 0.5; }
.crumb .here { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #0d1117, #111a0d 50%, #0d1117);
  border-bottom: 1px solid var(--border);
  padding-bottom: 56px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
  padding-top: 30px;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
}

.product-media {
  background: radial-gradient(circle at 50% 40%, rgba(120, 200, 0, 0.10), transparent 70%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}
.product-media img { max-height: 420px; width: auto; filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.55)); }

.cat-badge {
  display: inline-block;
  background: rgba(120, 200, 0, 0.12);
  color: var(--green);
  border: 1px solid rgba(120, 200, 0, 0.3);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 999px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
h1.product-title {
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.08;
  margin: 16px 0 6px;
  letter-spacing: -1px;
  font-weight: 800;
}
.product-sub { color: var(--muted); font-size: 16px; margin: 0 0 22px; }
.product-sub b { color: var(--text); font-weight: 600; }

.price-row { display: flex; align-items: baseline; gap: 10px; margin: 0 0 4px; }
.price-label { color: var(--muted); font-size: 14px; }
.price-amount { font-size: 38px; font-weight: 800; color: var(--white); letter-spacing: -1px; }
.price-vat { color: var(--muted); font-size: 13px; margin: 0 0 20px; }

/* Dose pills */
.dose-label { font-size: 13px; color: var(--muted); margin: 6px 0 9px; font-weight: 600; letter-spacing: 0.3px; }
.dose-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
.dose-pill {
  border: 1px solid var(--border);
  background: var(--bg2);
  color: var(--text);
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.dose-pill:hover { border-color: var(--green-dark); }
.dose-pill.active {
  border-color: var(--green);
  background: rgba(120, 200, 0, 0.12);
  color: var(--green);
}

/* CTA */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-primary {
  background: var(--green);
  color: #0d1117;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 12px;
  transition: border-color 0.15s;
}
.btn-ghost:hover { border-color: var(--muted); }

/* Blue Telegram button (next to add-to-cart) */
.btn-telegram {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #38bdf8;
  color: #06243a;
  font-weight: 700;
  font-size: 15.5px;
  padding: 14px 26px;
  border-radius: 12px;
  transition: background 0.15s, transform 0.1s;
}
.btn-telegram:hover { background: #22a8e8; transform: translateY(-1px); }
.btn-telegram svg { width: 18px; height: 18px; }

/* Standout "In den Warenkorb" button — glow pulse + shine sweep */
.btn-cart {
  position: relative;
  overflow: hidden;
  background: #ff7a1a;
  color: #2a1400;
  font-size: 16.5px;
  padding: 16px 32px;
  box-shadow: 0 8px 22px rgba(255, 122, 26, 0.42);
  animation: cartGlow 2.4s ease-in-out infinite;
}
.btn-cart:hover { background: #ff6a00; transform: translateY(-1px); }
@keyframes cartGlow {
  0%, 100% { box-shadow: 0 8px 20px rgba(255, 122, 26, 0.35); }
  50% { box-shadow: 0 13px 36px rgba(255, 145, 45, 0.72); }
}
.btn-cart::after {
  content: "";
  position: absolute;
  top: 0;
  left: -160%;
  width: 55%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  animation: cartShine 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes cartShine {
  0%, 15% { left: -160%; }
  60%, 100% { left: 160%; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-cart, .btn-cart::after { animation: none; }
}

/* Nav cart link + count badge */
.nav-cart { display: inline-flex; align-items: center; gap: 7px; }
.nav-cart-count {
  background: #0d1117;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  min-width: 19px;
  height: 19px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}
.nav-cart-count[hidden] { display: none; }

/* ---------- Cart drawer ---------- */
.pv-cart-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); opacity: 0; visibility: hidden; transition: opacity 0.25s; z-index: 200; }
.pv-cart-overlay.open { opacity: 1; visibility: visible; }
.pv-cart-panel {
  position: fixed; top: 0; right: 0; height: 100%; width: 400px; max-width: 92vw;
  background: var(--bg2); border-left: 1px solid var(--border);
  transform: translateX(100%); transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 201; display: flex; flex-direction: column;
}
.pv-cart-panel.open { transform: translateX(0); box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5); }
.pv-cart-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--border); font-size: 19px; font-weight: 800; }
.pv-cart-close { background: none; border: none; color: var(--muted); font-size: 28px; line-height: 1; cursor: pointer; padding: 0; }
.pv-cart-close:hover { color: var(--text); }
.pv-cart-items { flex: 1; overflow-y: auto; padding: 16px 18px; }
.pv-cart-empty { color: var(--muted); text-align: center; padding: 48px 12px; }
.pv-cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.pv-cart-item img { width: 56px; height: 56px; object-fit: contain; background: var(--bg3); border-radius: 8px; }
.pv-ci-name { font-weight: 600; font-size: 14.5px; }
.pv-ci-price { color: var(--green); font-weight: 700; font-size: 14px; margin: 3px 0 7px; }
.pv-qty { display: inline-flex; align-items: center; gap: 10px; }
.pv-qty button { width: 26px; height: 26px; border-radius: 6px; border: 1px solid var(--border); background: var(--bg3); color: var(--text); cursor: pointer; font-size: 16px; line-height: 1; }
.pv-qty button:hover { border-color: var(--green); color: var(--green); }
.pv-qty span { min-width: 16px; text-align: center; font-weight: 600; }
.pv-ci-remove { background: none; border: none; color: var(--muted); font-size: 20px; cursor: pointer; align-self: start; }
.pv-ci-remove:hover { color: #ff5a5a; }
.pv-cart-foot { border-top: 1px solid var(--border); padding: 18px 20px; background: var(--bg); }
.pv-cart-ship { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.pv-cart-ship b { color: var(--text); }
.pv-ship.ok { color: var(--green); }
.pv-cart-total-row { display: flex; justify-content: space-between; align-items: center; font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.pv-ack { display: flex; gap: 10px; font-size: 11.5px; color: var(--muted); line-height: 1.45; margin-bottom: 14px; cursor: pointer; }
.pv-ack input { margin-top: 2px; flex: 0 0 auto; accent-color: var(--green); }
.pv-ack b { color: var(--text); }
.pv-ack.error { color: #ff8a8a; }
.pv-ack.error input { outline: 2px solid #ff5a5a; outline-offset: 1px; }
.pv-checkout { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; background: #38bdf8; color: #06243a; font-weight: 800; font-size: 15.5px; padding: 14px; border: none; border-radius: 10px; cursor: pointer; transition: background 0.18s, transform 0.1s; }
.pv-checkout:hover { background: #22a8e8; transform: translateY(-1px); }
.pv-checkout svg { width: 18px; height: 18px; }

/* Research note */
.research-note {
  display: flex;
  gap: 12px;
  background: var(--amber-bg);
  border: 1px solid rgba(245, 166, 35, 0.25);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 24px 0 0;
  font-size: 13px;
  color: #f3c98b;
  line-height: 1.5;
}
.research-note svg { flex: 0 0 18px; margin-top: 1px; }
.research-note b { color: var(--amber); }

/* ---------- Trust band ---------- */
.trust {
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}
.trust-item {
  background: var(--bg2);
  padding: 22px 18px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.trust-item svg { flex: 0 0 26px; color: var(--green); }
.trust-item b { display: block; font-size: 14.5px; color: var(--text); }
.trust-item span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 760px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Sections ---------- */
.section { padding: 60px 0; }
.section h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
}
.section .lead { color: var(--muted); font-size: 15px; margin: 0 0 30px; max-width: 760px; }

.content-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 880px) { .content-grid { grid-template-columns: 1fr; gap: 30px; } }

.desc-body { font-size: 15.5px; color: #c8ccd2; line-height: 1.75; }

/* Spec list */
.spec-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 22px;
}
.spec-card dl { margin: 0; }
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}
.spec-row:last-child { border-bottom: none; }
.spec-row dt { color: var(--muted); font-size: 14px; }
.spec-row dd { margin: 0; font-weight: 600; font-size: 14px; text-align: right; color: var(--text); }
.spec-row dd.green { color: var(--green); }

/* Price table */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.price-table th, .price-table td {
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
}
.price-table th { color: var(--muted); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.4px; background: var(--bg3); }
.price-table tr:last-child td { border-bottom: none; }
.price-table td.dose { font-weight: 600; }
.price-table td.amt { text-align: right; font-weight: 700; color: var(--white); }
.price-table tr:hover td { background: rgba(120, 200, 0, 0.04); }

/* ---------- Related ---------- */
.related { background: var(--bg2); border-top: 1px solid var(--border); }
.rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 880px) { .rel-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .rel-grid { grid-template-columns: 1fr; } }
.rel-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  transition: border-color 0.15s, transform 0.12s;
  display: flex;
  flex-direction: column;
}
.rel-card:hover { border-color: var(--green-dark); transform: translateY(-2px); }
.rel-card .rel-img {
  background: var(--bg3);
  border-radius: 10px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.rel-card .rel-img img { max-height: 130px; width: auto; }
.rel-card h3 { font-size: 16px; margin: 0 0 4px; font-weight: 700; }
.rel-card .rel-cat { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.rel-card .rel-price { margin-top: auto; font-weight: 700; color: var(--green); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; }
.faq-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}
.faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary:hover { color: var(--green); }
.faq-item .faq-icon { color: var(--green); font-size: 1.45rem; font-weight: 400; line-height: 1; transition: transform 0.2s; flex: 0 0 auto; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 20px 16px; color: var(--muted); line-height: 1.65; font-size: 14.5px; }

/* ---------- Footer ---------- */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 48px 0 36px;
  font-size: 13.5px;
  color: var(--muted);
}
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 26px; } }
footer .logo { font-size: 20px; margin-bottom: 12px; }
footer p { margin: 0 0 10px; max-width: 420px; line-height: 1.6; }
footer h4 { color: var(--text); font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; margin: 0 0 14px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li { margin-bottom: 9px; }
footer ul a:hover { color: var(--green); }
.foot-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
}
.foot-disclaimer {
  background: var(--amber-bg);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 12.5px;
  color: #d8b483;
  line-height: 1.6;
  margin-bottom: 32px;
}
