/* ============================================================
   OFFICIAL PEPTIDES — Main Stylesheet
   Dark theme · Red accent · DM Sans typography
   ============================================================ */

/* ---- IMPORTS ---- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300&family=DM+Mono:wght@400;500&display=swap');

/* ---- CSS VARIABLES ---- */
:root {
  /* Colors */
  --bg:           #0A0A0A;
  --bg-2:         #111111;
  --bg-card:      #161616;
  --bg-card-2:    #1E1E1E;
  --border:       #2A2A2A;
  --border-light: #333333;

  --red:          #C8102E;
  --red-dark:     #A00D24;
  --red-light:    rgba(200, 16, 46, 0.12);

  --white:        #FFFFFF;
  --text-primary: #F0F0F0;
  --text-secondary: #A0A0A0;
  --text-muted:   #606060;

  --green:        #22C55E;
  --green-bg:     rgba(34, 197, 94, 0.12);

  --yellow:       #F59E0B;
  --yellow-bg:    rgba(245, 158, 11, 0.12);

  /* Typography */
  --font-sans:    'DM Sans', -apple-system, sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;

  /* Spacing */
  --max-width:    1200px;
  --nav-height:   72px;

  /* Radius */
  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    12px;

  /* Transitions */
  --ease:         200ms ease;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-sans); border: none; background: none; }
input, textarea, select { font-family: var(--font-sans); }

/* ---- LAYOUT ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--white);
}
h1 { font-size: clamp(36px, 5vw, 60px); }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: clamp(20px, 3vw, 28px); }
h4 { font-size: 18px; }
h5 { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
p { color: var(--text-secondary); line-height: 1.7; }

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--red);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: var(--red-dark); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border-light);
}
.btn-outline:hover { border-color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--red);
  padding: 0;
  font-size: 14px;
  font-weight: 500;
}
.btn-ghost:hover { gap: 12px; }
.btn-ghost::after { content: '→'; }

.btn-lg { padding: 16px 32px; font-size: 15px; }
.btn-full { width: 100%; justify-content: center; }

/* ---- BADGES ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.badge-red { background: var(--red); color: var(--white); }
.badge-green { background: var(--green-bg); color: var(--green); }
.badge-dark { background: var(--bg-card-2); color: var(--text-secondary); border: 1px solid var(--border); }

/* ---- PILL TAGS (compound names) ---- */
.pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  background: var(--bg-card-2);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: border-color var(--ease), color var(--ease);
}
.pill:hover { border-color: var(--red); color: var(--white); }

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
#site-header::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--red);
  opacity: 0.6;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1;
}
.logo-sub {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1;
  margin-top: 3px;
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--ease);
}
.site-nav a:hover { color: var(--white); }
.site-nav .nav-cta {
  padding: 8px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--white);
}
.site-nav .nav-cta:hover { border-color: var(--red); color: var(--red); }

/* Header right */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cart-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: all var(--ease);
}
.cart-btn:hover { border-color: var(--white); color: var(--white); }
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all var(--ease);
}

@media (max-width: 900px) {
  .site-nav { display: none; }
  .menu-toggle { display: flex; }
}

/* Page offset for fixed header */
.page-wrap { padding-top: var(--nav-height); }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  margin-top: 80px;
}
.footer-email {
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}
.footer-email-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.footer-email h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}
.footer-email p { font-size: 13px; }
.footer-email-form {
  display: flex;
  gap: 8px;
  flex: 1;
  max-width: 480px;
}
.footer-email-input {
  flex: 1;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 14px;
}
.footer-email-input::placeholder { color: var(--text-muted); }
.footer-email-input:focus { outline: none; border-color: var(--red); }

.footer-main {
  padding: 60px 0 40px;
  display: grid;
  grid-template-columns: 280px repeat(4, 1fr);
  gap: 40px;
}
.footer-brand .logo-name { font-size: 18px; margin-bottom: 12px; color: var(--red); }
.footer-brand p { font-size: 13px; line-height: 1.7; }
.footer-col h6 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color var(--ease);
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { font-size: 12px; color: var(--text-muted); }
.footer-ruo {
  font-size: 11px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-email-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   HOMEPAGE
   ============================================================ */

/* Hero */
.hero {
  padding: 100px 0 80px;
  position: relative;

}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: center;
}
.hero-headline {
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.hero-headline span { color: var(--red); }
.hero-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-trust {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-trust-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-secondary);
}
.hero-trust-pill::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  font-size: 11px;
}

/* Hero visual — bar chart decoration */
.hero-visual {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 200px;
  justify-content: center;
}
.hero-bar {
  width: 40px;
  border-radius: 4px 4px 0 0;
  opacity: 0.8;
}
.hero-bar:nth-child(1) { height: 60%; background: #22C55E; }
.hero-bar:nth-child(2) { height: 80%; background: #8B5CF6; }
.hero-bar:nth-child(3) { height: 55%; background: #F59E0B; }
.hero-bar:nth-child(4) { height: 90%; background: var(--red); }
.hero-bar:nth-child(5) { height: 70%; background: #3B82F6; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

/* Trust bar */
.trust-bar {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  divide: var(--border);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 32px;
  border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: none; }
.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red);
  font-size: 18px;
}
.trust-title { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.trust-sub { font-size: 12px; color: var(--text-muted); }

@media (max-width: 768px) {
  .trust-bar-inner { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); }
}

/* Section layout */
.section { padding: 80px 0; }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}
.section-title { margin-bottom: 0; }
.section-intro {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.7;
}

/* Category cards grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.categories-grid .category-card:nth-child(4),
.categories-grid .category-card:nth-child(5) {
  grid-column: span 1;
}
/* Center last row of 2 */
.categories-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: calc(66.66% + 8px);
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--ease), transform var(--ease);
  position: relative;

}
.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--card-accent, var(--red));
}
.category-card:hover { border-color: var(--border-light); transform: translateY(-2px); }

.category-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.category-card-type {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.06em;
}
.category-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.category-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}
.category-card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.category-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.category-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--card-accent, var(--red));
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--ease);
}
.category-card:hover .category-card-link { gap: 10px; }
.category-card-dots {
  display: flex;
  gap: 4px;
}
.category-card-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-light);
}
.category-card-dots span:first-child { background: var(--card-accent, var(--red)); }

/* Product cards grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .products-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  display: flex;
  flex-direction: column;
  transition: border-color var(--ease), transform var(--ease);
}
.product-card:hover { border-color: var(--red); transform: translateY(-2px); }

.product-card-image {
  position: relative;
  background: var(--bg-card-2);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;

}
.product-card-image img { object-fit: cover; width: 100%; height: 100%; }
.product-card-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
}
.product-card-image-placeholder svg { opacity: 0.3; }
.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.product-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.product-card-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}
.product-card-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.product-card-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}
.product-card-price span { font-size: 12px; color: var(--text-muted); font-weight: 400; }
.product-card-stock {
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  background: var(--green-bg);
  padding: 3px 8px;
  border-radius: 20px;
}
.product-card-cta {
  width: 100%;
  padding: 12px;
  background: transparent;
  border: 1px solid var(--border);
  border-top: none;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.04em;
  transition: all var(--ease);
  cursor: pointer;
  display: block;
}
.product-card:hover .product-card-cta { background: var(--red); color: var(--white); border-color: var(--red); }

/* COA block */
.coa-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: start;
}
.coa-block-eyebrow { color: var(--red); margin-bottom: 20px; }
.coa-block h2 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 16px; }
.coa-block > div > p { font-size: 15px; margin-bottom: 28px; }
.coa-checklist { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.coa-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}
.coa-check::before {
  content: '✓';
  color: var(--red);
  font-weight: 700;
  font-size: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}
.coa-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* COA card */
.coa-card {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

}
.coa-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.coa-card-brand { font-size: 13px; font-weight: 600; color: var(--red); }
.coa-card-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.coa-card-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.coa-card-row:last-child { border-bottom: none; }
.coa-card-field { color: var(--text-muted); }
.coa-card-expected { color: var(--text-muted); font-family: var(--font-mono); font-size: 12px; }
.coa-card-actual { font-weight: 600; color: var(--white); font-family: var(--font-mono); font-size: 12px; }
.coa-card-pass {
  padding: 2px 8px;
  background: var(--green-bg);
  color: var(--green);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}
.coa-card-footer {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
}
.coa-card-verified { font-size: 12px; color: var(--red); display: flex; align-items: center; gap: 6px; }
.coa-card-note { font-size: 11px; color: var(--text-muted); }

@media (max-width: 900px) {
  .coa-block { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
}

/* Reviews */
.reviews-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 40px;
}
.reviews-score {
  display: flex;
  align-items: center;
  gap: 12px;
}
.reviews-score-num { font-size: 48px; font-weight: 700; color: var(--white); line-height: 1; }
.reviews-stars { color: #F59E0B; font-size: 18px; }
.reviews-count { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .reviews-grid { grid-template-columns: 1fr; } }

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.review-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.review-author { margin-left: 12px; }
.review-name { font-size: 14px; font-weight: 600; color: var(--white); }
.review-product { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.review-stars { color: #F59E0B; font-size: 13px; }
.review-title { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.review-body { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.review-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.review-verified { font-size: 11px; color: var(--green); display: flex; align-items: center; gap: 4px; }
.review-date { font-size: 11px; color: var(--text-muted); }

/* Research library */
.research-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .research-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .research-grid { grid-template-columns: 1fr; } }

.research-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--ease);
}
.research-card:hover { border-color: var(--border-light); }
.research-card h3 { font-size: 18px; font-weight: 700; color: var(--white); line-height: 1.3; }
.research-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; flex: 1; }
.research-card-link { font-size: 13px; font-weight: 600; color: var(--red); display: flex; align-items: center; gap: 6px; margin-top: 8px; transition: gap var(--ease); }
.research-card:hover .research-card-link { gap: 10px; }

/* FAQ */
.faq-list { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  background: var(--bg-card);
  transition: background var(--ease);
  cursor: pointer;
}
.faq-question:hover { background: var(--bg-card-2); }
.faq-icon {
  width: 24px;
  height: 24px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 16px;
  flex-shrink: 0;
  transition: transform var(--ease);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;

  transition: max-height 300ms ease, padding 300ms ease;
  background: var(--bg-card);
}
.faq-item.open .faq-answer { max-height: 400px; padding: 0 24px 20px; }
.faq-answer p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ============================================================
   PRODUCT PAGE
   ============================================================ */
.product-page { padding: 40px 0 80px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.breadcrumb a { color: var(--red); transition: color var(--ease); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { color: var(--border-light); }

.product-layout {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 60px;
  align-items: start;
}
@media (max-width: 1000px) { .product-layout { grid-template-columns: 1fr; } }

/* Product image */
.product-image-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
}
.product-image-wrap img { object-fit: contain; width: 100%; height: auto; max-height: 700px; display: block; }
.product-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
}
.product-image-placeholder svg { opacity: 0.2; }
.product-trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);

}
.product-trust-item {
  background: var(--bg-card-2);
  padding: 12px;
  text-align: center;
  font-size: 11px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.product-trust-item svg { color: var(--red); }

/* Product info */
.product-category-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.product-title { font-size: clamp(24px, 3vw, 36px); margin-bottom: 16px; }
.product-price { font-size: 36px; font-weight: 700; color: var(--white); margin-bottom: 20px; }
.product-price small { font-size: 14px; color: var(--text-muted); font-weight: 400; }
.product-short-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }

/* Spec table */
.spec-table {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);

  margin-bottom: 24px;
}
.spec-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  border-bottom: 1px solid var(--border);
}
.spec-row:last-child { border-bottom: none; }
.spec-label {
  padding: 12px 16px;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-card-2);
  font-weight: 500;
}
.spec-value {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  background: var(--bg-card);
}

/* Size variants */
.variant-label { font-size: 12px; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.variants { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.variant-btn {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  cursor: pointer;
  transition: all var(--ease);
}
.variant-btn:hover,
.variant-btn.active { border-color: var(--red); color: var(--white); background: var(--red-light); }

/* Stock + qty */
.stock-status { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--green); margin-bottom: 20px; }
.stock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

.qty-row { display: flex; gap: 12px; margin-bottom: 16px; align-items: center; }
.qty-label { font-size: 12px; color: var(--text-muted); }
.qty-control { display: flex; align-items: center; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.qty-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--bg-card-2); color: var(--white); font-size: 18px; transition: background var(--ease); }
.qty-btn:hover { background: var(--border); }
.qty-num { width: 48px; height: 36px; text-align: center; background: var(--bg-card); border: none; color: var(--white); font-size: 14px; font-family: var(--font-sans); }

.add-to-cart { width: 100%; padding: 16px; font-size: 15px; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 12px; }

/* RUO warning */
.ruo-box {
  background: var(--yellow-bg);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.ruo-box-icon { color: var(--yellow); flex-shrink: 0; font-size: 14px; }
.ruo-box-title { font-size: 12px; font-weight: 600; color: var(--yellow); margin-bottom: 2px; }
.ruo-box-text { font-size: 11px; color: var(--text-muted); line-height: 1.5; }

/* Product content */
.product-content { padding: 60px 0; border-top: 1px solid var(--border); }
.product-content h2 { font-size: 28px; margin-bottom: 24px; }
.product-content h3 { font-size: 18px; margin-bottom: 12px; margin-top: 32px; }
.product-content p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.product-content ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.product-content ul li { font-size: 14px; color: var(--text-secondary); padding-left: 20px; position: relative; line-height: 1.6; }
.product-content ul li::before { content: '·'; position: absolute; left: 0; color: var(--red); font-size: 18px; line-height: 1; top: 2px; }
.product-content .ruo-note { font-size: 12px; color: var(--text-muted); margin-top: 24px; }

/* Related products */
.related-products { padding: 60px 0; border-top: 1px solid var(--border); }
.related-products h2 { font-size: 24px; margin-bottom: 32px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 768px) { .related-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CATEGORY PAGE
   ============================================================ */
.category-page { padding: 40px 0 80px; }
.category-hero { margin-bottom: 40px; }
.category-hero h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 8px; }
.category-hero-meta { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.category-hero-meta span { color: var(--red); }
.category-desc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 32px;
}
.category-desc-card h3 { font-size: 18px; margin-bottom: 12px; }
.category-desc-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }

/* Filter tabs */
.filter-row { display: flex; align-items: center; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.filter-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-right: 8px; }
.filter-btn {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  cursor: pointer;
  transition: all var(--ease);
}
.filter-btn:hover,
.filter-btn.active { border-color: var(--red); color: var(--white); background: var(--red-light); }

/* 5-col product grid for category */
.category-products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 1200px) { .category-products-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) { .category-products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .category-products-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   INNER PAGES (about, faq, lab testing etc.)
   ============================================================ */
.inner-page { padding: 60px 0 80px; }
.inner-page-hero { padding: 60px 0 40px; border-bottom: 1px solid var(--border); margin-bottom: 60px; }
.inner-page-hero h1 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 16px; }
.inner-page-hero p { font-size: 17px; max-width: 600px; }

.prose h2 { font-size: 28px; margin-bottom: 16px; margin-top: 48px; }
.prose h3 { font-size: 20px; margin-bottom: 12px; margin-top: 32px; }
.prose p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; }
.prose ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.prose ul li { font-size: 15px; color: var(--text-secondary); padding-left: 24px; position: relative; line-height: 1.7; }
.prose ul li::before { content: '→'; position: absolute; left: 0; color: var(--red); font-size: 13px; }
.prose strong { color: var(--white); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin: 32px 0; }
.prose table th { padding: 12px 16px; background: var(--bg-card-2); border: 1px solid var(--border); font-size: 12px; text-align: left; color: var(--text-secondary); font-weight: 600; }
.prose table td { padding: 12px 16px; border: 1px solid var(--border); font-size: 13px; color: var(--text-secondary); font-family: var(--font-mono); }
.prose table td:first-child { font-family: var(--font-sans); color: var(--white); font-weight: 500; }

/* ============================================================
   WOOCOMMERCE OVERRIDES
   ============================================================ */
.woocommerce-notices-wrapper { display: none; }
.woocommerce .woocommerce-breadcrumb { display: none; }

/* Cart + checkout dark theme */
.woocommerce-cart table.shop_table,
.woocommerce-checkout table.shop_table {
  background: var(--bg-card);
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg);

}
.woocommerce-cart table.shop_table th,
.woocommerce-checkout table.shop_table th {
  background: var(--bg-card-2);
  color: var(--text-secondary);
  border: 1px solid var(--border) !important;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.woocommerce-cart table.shop_table td,
.woocommerce-checkout table.shop_table td {
  border: 1px solid var(--border) !important;
  color: var(--text-primary);
}

/* WC buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--red) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm) !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 12px 24px !important;
  border: none !important;
  transition: background var(--ease) !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover { background: var(--red-dark) !important; }

/* Form fields */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--white) !important;
  font-family: var(--font-sans) !important;
  padding: 12px 16px !important;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--red) !important;
  outline: none !important;
  box-shadow: none !important;
}
.woocommerce form .form-row label { color: var(--text-secondary) !important; font-size: 13px !important; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-red { color: var(--red); }
.text-muted { color: var(--text-muted); }
.text-mono { font-family: var(--font-mono); }
.mt-0 { margin-top: 0; }
.hidden { display: none; }

/* Divider */
.divider { border: none; border-top: 1px solid var(--border); margin: 60px 0; }

/* Compliance banner */
.compliance-banner {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.compliance-banner strong { color: var(--text-secondary); }

/* Compliance gate modal */
.compliance-gate {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.compliance-gate-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 480px;
  width: 100%;
  text-align: center;
}
.compliance-gate-eyebrow { color: var(--red); justify-content: center; margin-bottom: 20px; }
.compliance-gate h2 { font-size: 22px; margin-bottom: 16px; }
.compliance-gate p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 32px; }
.compliance-gate-btns { display: flex; flex-direction: column; gap: 10px; }
.compliance-gate-exit { font-size: 12px; color: var(--text-muted); margin-top: 8px; }
.compliance-gate-exit a { color: var(--text-muted); text-decoration: underline; }


/* ============================================================
   WOOCOMMERCE REVIEWS — DARK THEME
   ============================================================ */
#reviews { padding: 60px 0; border-top: 1px solid var(--border); }
#reviews h2 { font-size: 24px; margin-bottom: 8px; color: var(--white); }
#reviews .woocommerce-Reviews-title { font-size: 24px; color: var(--white); margin-bottom: 32px; }

/* Review list */
#comments .commentlist { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; }
#comments .commentlist .comment { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
#comments .commentlist .comment_container { display: flex; gap: 16px; }
#comments .commentlist img.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--red); }
#comments .commentlist .comment-text { flex: 1; }
#comments .commentlist .meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
#comments .commentlist .woocommerce-review__author { font-size: 14px; font-weight: 600; color: var(--white); }
#comments .commentlist .woocommerce-review__dash { display: none; }
#comments .commentlist .woocommerce-review__published-date { font-size: 11px; color: var(--text-muted); }
#comments .commentlist .star-rating { color: #F59E0B; font-size: 13px; margin-bottom: 8px; }
#comments .commentlist .description p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* Review form */
#review_form_wrapper { margin-top: 48px; }
#review_form_wrapper h3 { font-size: 20px; color: var(--white); margin-bottom: 24px; }
#commentform { display: flex; flex-direction: column; gap: 16px; }
#commentform .comment-form-rating label { font-size: 13px; color: var(--text-secondary); display: block; margin-bottom: 8px; }
#commentform .stars a { color: var(--text-muted); font-size: 20px; text-decoration: none; transition: color 0.2s; }
#commentform .stars a:hover, #commentform .stars a.active { color: #F59E0B; }
#commentform input[type="text"],
#commentform input[type="email"],
#commentform textarea {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--white) !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  width: 100% !important;
}
#commentform input[type="text"]:focus,
#commentform input[type="email"]:focus,
#commentform textarea:focus { border-color: var(--red) !important; outline: none !important; }
#commentform textarea { min-height: 120px; resize: vertical; }
#commentform .form-submit input[type="submit"] {
  background: var(--red) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  padding: 12px 28px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}
#commentform .form-submit input[type="submit"]:hover { background: var(--red-dark) !important; }
#commentform label { font-size: 12px; color: var(--text-secondary); display: block; margin-bottom: 6px; }
.comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; }
.comment-form-cookies-consent label { font-size: 12px; color: var(--text-muted); }
.woocommerce-noreviews { color: var(--text-muted); font-size: 14px; }
