/* AminosPure — Research peptide catalog
   Blue & white design system · UX / SEO / AEO focused */

:root {
  --navy: #0a2540;
  --blue-900: #0b3d6e;
  --blue-700: #0d5cad;
  --blue-600: #1a6fc4;
  --blue-500: #2b84d8;
  --blue-100: #e8f2fb;
  --blue-50: #f4f8fc;
  --white: #ffffff;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --amber-50: #fffbeb;
  --amber-200: #fde68a;
  --amber-800: #92400e;
  --red-50: #fef2f2;
  --red-700: #b91c1c;
  --green-50: #ecfdf5;
  --green-700: #047857;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.06);
  --shadow: 0 4px 16px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 37, 64, 0.12);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1120px;
  --header-h: 72px;
  --banner-h: 40px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--blue-900);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Research banner */
.research-banner {
  background: var(--navy);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
  padding: 0.55rem 1rem;
  letter-spacing: 0.01em;
  position: sticky;
  top: 0;
  z-index: 60;
}

.research-banner strong {
  color: #93c5fd;
  font-weight: 600;
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: var(--banner-h);
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.logo:hover { color: var(--navy); }

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--blue-600), var(--navy));
  display: grid;
  place-items: center;
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: 0 2px 8px rgba(13, 92, 173, 0.35);
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  text-decoration: none;
  color: var(--slate-600);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--blue-700);
  background: var(--blue-50);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
  color: var(--navy);
}

.nav-toggle svg {
  display: block;
  width: 22px;
  height: 22px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.2;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--blue-700);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(13, 92, 173, 0.25);
}

.btn-primary:hover {
  background: var(--blue-900);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: var(--white);
  color: var(--blue-700);
  border-color: var(--slate-200);
}

.btn-secondary:hover {
  border-color: var(--blue-500);
  color: var(--blue-900);
  background: var(--blue-50);
}

.btn-ghost {
  background: transparent;
  color: var(--slate-600);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--slate-100);
  color: var(--navy);
}

.btn-lg {
  padding: 0.95rem 1.5rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 0.85rem;
  font-size: 0.8125rem;
}

/* Hero */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 80% 0%, rgba(43, 132, 216, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(13, 92, 173, 0.08), transparent 50%),
    linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--slate-100);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue-700);
  background: var(--white);
  border: 1px solid var(--blue-100);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--slate-600);
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 28rem;
}

.stat {
  padding: 0.75rem 0;
  border-top: 2px solid var(--blue-100);
}

.stat-value {
  display: block;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--slate-500);
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.hero-card h2 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.trust-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.9375rem;
  color: var(--slate-700);
}

.trust-list li:last-child { border-bottom: none; }

.trust-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--blue-100);
  color: var(--blue-700);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 700;
}

.disclaimer-box {
  background: var(--amber-50);
  border: 1px solid var(--amber-200);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.8125rem;
  color: var(--amber-800);
  line-height: 1.5;
}

/* Sections */
.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-alt {
  background: var(--blue-50);
  border-block: 1px solid var(--slate-100);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.section-kicker {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-700);
  margin-bottom: 0.5rem;
}

.section-head p {
  color: var(--slate-600);
  font-size: 1.0625rem;
  margin: 0;
}

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease);
}

.feature-card:hover {
  box-shadow: var(--shadow);
  border-color: #bfdbfe;
  transform: translateY(-2px);
}

.feature-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--blue-700);
  color: white;
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--slate-600);
}

/* Product grid */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.search-wrap {
  flex: 1 1 240px;
  position: relative;
}

.search-wrap svg {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-500);
  pointer-events: none;
}

.search-input,
.filter-select {
  width: 100%;
  font-family: inherit;
  font-size: 0.9375rem;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--slate-900);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.search-input {
  padding-left: 2.5rem;
}

.search-input:focus,
.filter-select:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(43, 132, 216, 0.15);
  outline: none;
}

.filter-select {
  flex: 0 1 180px;
  cursor: pointer;
}

.results-meta {
  font-size: 0.875rem;
  color: var(--slate-500);
  margin-bottom: 1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease);
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  box-shadow: var(--shadow);
  border-color: #93c5fd;
  transform: translateY(-3px);
  color: inherit;
}

.product-visual {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 30% 30%, rgba(43, 132, 216, 0.18), transparent 55%),
    linear-gradient(160deg, var(--blue-50), var(--slate-100));
  display: grid;
  place-items: center;
  position: relative;
  border-bottom: 1px solid var(--slate-100);
}

.vial {
  width: 56px;
  height: 88px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(232,242,251,0.95));
  border: 1.5px solid #93c5fd;
  border-radius: 8px 8px 12px 12px;
  position: relative;
  box-shadow: 0 8px 20px rgba(13, 92, 173, 0.12);
}

.vial::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 12px;
  background: var(--navy);
  border-radius: 3px 3px 2px 2px;
}

.vial::after {
  content: "";
  position: absolute;
  bottom: 12px;
  left: 8px;
  right: 8px;
  height: 28px;
  background: linear-gradient(180deg, rgba(27, 122, 199, 0.15), rgba(13, 92, 173, 0.35));
  border-radius: 4px;
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--white);
  color: var(--blue-700);
  border: 1px solid var(--blue-100);
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
}

.product-body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.35rem;
}

.product-body h3 {
  font-size: 1.05rem;
  margin: 0;
  color: var(--navy);
}

.product-cas {
  font-size: 0.75rem;
  color: var(--slate-500);
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.product-desc {
  font-size: 0.875rem;
  color: var(--slate-600);
  margin: 0.25rem 0 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--slate-100);
}

.product-price {
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
}

.product-price span {
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--slate-500);
}

.product-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue-700);
}

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
}

.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--blue-500);
  margin-bottom: 0.75rem;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item[open] {
  border-color: #93c5fd;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--blue-700);
  flex-shrink: 0;
  line-height: 1;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item .faq-answer {
  padding: 0 1.15rem 1.15rem;
  color: var(--slate-600);
  font-size: 0.975rem;
}

.faq-item .faq-answer p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-900) 55%, var(--blue-700) 100%);
  color: var(--white);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 32rem;
  margin: 0 auto 1.5rem;
}

.cta-band .btn-primary {
  background: var(--white);
  color: var(--blue-900);
}

.cta-band .btn-primary:hover {
  background: var(--blue-50);
  color: var(--navy);
}

.cta-band .btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-band .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 1.5rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
  max-width: 22rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li { margin-bottom: 0.45rem; }

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-col a:hover { color: var(--white); }

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.55;
}

.footer-legal p { margin-bottom: 0.75rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-left: 1rem;
}

.footer-bottom a:hover { color: white; }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(180deg, var(--blue-50), var(--white));
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--slate-100);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--slate-500);
  text-decoration: none;
}

.breadcrumbs a:hover { color: var(--blue-700); }

.breadcrumbs span[aria-hidden] { color: var(--slate-300); }

/* Product detail */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 2.5rem 0 1rem;
}

.product-gallery {
  background:
    radial-gradient(circle at 40% 35%, rgba(43, 132, 216, 0.15), transparent 55%),
    linear-gradient(160deg, var(--blue-50), var(--slate-100));
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: sticky;
  top: calc(var(--banner-h) + var(--header-h) + 1rem);
}

.product-gallery .vial {
  width: 90px;
  height: 140px;
  transform: scale(1.4);
}

.product-info .product-cas {
  margin-bottom: 0.5rem;
}

.product-info h1 {
  margin-bottom: 0.5rem;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-900);
}

.tag-muted {
  background: var(--slate-100);
  color: var(--slate-600);
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 1rem 0;
}

.price-block .amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.price-block .note {
  font-size: 0.875rem;
  color: var(--slate-500);
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.size-chip {
  padding: 0.55rem 0.95rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-600);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  line-height: 1.2;
}

.size-chip:hover {
  border-color: var(--blue-500);
  color: var(--blue-700);
  background: var(--blue-50);
}

.size-chip:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
}

.size-chip.active {
  border-color: var(--blue-700);
  color: var(--blue-700);
  background: var(--blue-50);
  box-shadow: 0 0 0 3px rgba(43, 132, 216, 0.15);
}

.size-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-500);
  margin-bottom: 0.4rem;
}

.selected-size-hint {
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin: 0.5rem 0 0;
}

.qty-row {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.qty-input {
  width: 5.5rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.55rem 0.65rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  color: var(--navy);
}

.qty-input:focus {
  border-color: var(--blue-500);
  outline: none;
  box-shadow: 0 0 0 3px rgba(43, 132, 216, 0.15);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.25rem 0 0.5rem;
}

.product-actions-note {
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin: 0 0 1rem;
}

/* Header cart */
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  color: var(--navy);
  text-decoration: none;
  border: 1.5px solid var(--slate-200);
  background: var(--white);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.cart-link:hover {
  border-color: var(--blue-500);
  background: var(--blue-50);
  color: var(--blue-900);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--blue-700);
  color: white;
  font-size: 0.6875rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}

.cart-badge[hidden] {
  display: none !important;
}

.cart-toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 200;
  background: var(--navy);
  color: white;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: transform 0.25s var(--ease), opacity 0.25s ease;
  pointer-events: none;
  max-width: min(90vw, 360px);
  text-align: center;
}

.cart-toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Cart / checkout */
.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.75fr;
  gap: 1.5rem;
  align-items: start;
}

.cart-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--white);
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 560px;
}

.cart-table th {
  text-align: left;
  padding: 0.85rem 1rem;
  background: var(--blue-50);
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1px solid var(--slate-200);
}

.cart-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--slate-100);
  vertical-align: top;
}

.cart-table tr:last-child td {
  border-bottom: none;
}

.cart-item-name {
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}

.cart-item-name:hover {
  color: var(--blue-700);
}

.cart-item-meta {
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin-top: 0.2rem;
}

.cart-item-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--blue-700);
  margin-top: 0.35rem;
}

.cart-num {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.cart-qty {
  width: 4.25rem;
  font-family: inherit;
  font-weight: 600;
  padding: 0.4rem 0.45rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
}

.cart-summary {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--banner-h) + var(--header-h) + 1rem);
}

.cart-summary h2 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  font-size: 0.95rem;
  color: var(--slate-600);
}

.cart-summary-total {
  border-top: 1px solid var(--slate-200);
  margin-top: 0.5rem;
  padding-top: 0.85rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.cart-summary-note {
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin: 0.75rem 0;
}

.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  max-width: 28rem;
  margin: 0 auto;
}

.cart-empty h2 {
  margin-bottom: 0.5rem;
}

.checkout-form {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.checkout-lead {
  color: var(--slate-600);
  margin-bottom: 1.25rem;
}

.checkout-section-title {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.85rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--slate-100);
}

.checkout-form h2:first-child {
  margin-top: 0;
}

.ship-options {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ship-option {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.ship-option:has(input:checked) {
  border-color: var(--blue-700);
  background: var(--blue-50);
}

.ship-option input {
  margin-top: 0.2rem;
  accent-color: var(--blue-700);
}

.ship-option-body {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex: 1;
  font-size: 0.9rem;
}

.ship-option-label {
  color: var(--slate-700);
  font-weight: 500;
}

.ship-option-price {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.form-field select {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate-900);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.75rem;
  background: var(--white);
  min-height: 44px;
}

.form-field select:focus {
  border-color: var(--blue-500);
  outline: none;
  box-shadow: 0 0 0 3px rgba(43, 132, 216, 0.15);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-600);
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field input,
.form-field textarea {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate-900);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.75rem;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue-500);
  outline: none;
  box-shadow: 0 0 0 3px rgba(43, 132, 216, 0.15);
}

.checkout-attest {
  margin: 1.5rem 0 1rem;
  padding: 1rem;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
}

.checkout-attest h3 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.form-error {
  color: var(--red-700);
  background: var(--red-50);
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.form-error[hidden] {
  display: none !important;
}

.checkout-lines {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
  max-height: 280px;
  overflow-y: auto;
}

.checkout-line {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.875rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--slate-100);
}

.confirm-card {
  max-width: 40rem;
}

.confirm-items {
  margin: 0.75rem 0 1rem;
  padding-left: 1.2rem;
}

.confirm-items li {
  margin-bottom: 0.4rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.chip-save {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--green-700);
  background: var(--green-50);
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  vertical-align: middle;
}

.size-chip.active .chip-save {
  background: rgba(4, 120, 87, 0.12);
}

.size-picker .size-label {
  margin-top: 0;
}

.size-picker .size-options + .size-label {
  margin-top: 1rem;
}

.inquire-box {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin: 1.25rem 0;
}

.inquire-box p {
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
  color: var(--slate-600);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1.5rem 0;
}

.specs-table th,
.specs-table td {
  text-align: left;
  padding: 0.7rem 0.5rem;
  border-bottom: 1px solid var(--slate-200);
}

.specs-table th {
  color: var(--slate-500);
  font-weight: 500;
  width: 40%;
}

.specs-table td {
  color: var(--navy);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.content-block {
  max-width: 720px;
  margin-bottom: 2rem;
}

.content-block h2 {
  margin-top: 2rem;
  padding-top: 0.5rem;
}

.content-block h2:first-child {
  margin-top: 0;
}

.ref-list {
  list-style: none;
  padding: 0;
}

.ref-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.875rem;
  color: var(--slate-600);
}

.ref-list a { word-break: break-word; }

.research-areas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}

.research-area {
  background: var(--slate-50, var(--slate-100));
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

.research-area strong {
  display: block;
  color: var(--navy);
  font-size: 0.875rem;
  margin-bottom: 0.2rem;
}

.research-area span {
  font-size: 0.8125rem;
  color: var(--slate-600);
}

/* COA table */
.coa-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--white);
}

.coa-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 560px;
}

.coa-table th {
  background: var(--blue-50);
  color: var(--navy);
  font-weight: 600;
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--slate-200);
}

.coa-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--slate-100);
  color: var(--slate-700);
}

.coa-table tr:last-child td { border-bottom: none; }

.coa-table tr:hover td { background: var(--blue-50); }

.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green-700);
  background: var(--green-50);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

/* Prose / legal */
.prose {
  max-width: 720px;
}

.prose h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
}

.prose h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

.prose ul li { margin-bottom: 0.4rem; }

.notice {
  background: var(--red-50);
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  color: var(--red-700);
  font-size: 0.9rem;
  margin: 1.5rem 0;
}

.notice strong { color: var(--red-700); }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--slate-500);
  grid-column: 1 / -1;
}

/* Related */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

/* Mobile nav */
@media (max-width: 900px) {
  .hero-grid,
  .product-layout,
  .footer-grid,
  .feature-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    position: static;
    aspect-ratio: 16 / 10;
  }

  .hero-stats {
    max-width: none;
  }

  .research-areas {
    grid-template-columns: 1fr;
  }

  .nav-toggle { display: block; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--slate-200);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    box-shadow: var(--shadow);
  }

  .nav.is-open { display: flex; }

  .nav a {
    padding: 0.85rem 1rem;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .cart-layout,
  .checkout-layout,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }

  .site-header { position: sticky; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}

/* Age verification gate */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(10, 37, 64, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.age-gate[hidden] {
  display: none !important;
}

.age-gate-card {
  width: min(100%, 560px);
  max-height: min(94vh, 820px);
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem 1.75rem 1.35rem;
  text-align: center;
}

.age-gate-card .logo {
  justify-content: center;
  margin-bottom: 0.75rem;
}

.age-gate-card h2 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.age-gate-card p {
  color: var(--slate-600);
  font-size: 0.9rem;
  margin-bottom: 0.55rem;
  line-height: 1.45;
}

.age-gate-form {
  text-align: left;
  margin-top: 0.9rem;
}

.age-gate-form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.age-gate-fields {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 1fr;
  gap: 0.5rem;
}

.age-gate-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.age-gate-field span {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-500);
}

.age-gate-field select,
.age-gate-field input {
  width: 100%;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-900);
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.55rem;
  min-height: 44px;
}

.age-gate-field select:focus,
.age-gate-field input:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(43, 132, 216, 0.15);
  outline: none;
}

.age-gate-attest {
  margin-top: 0.85rem;
  text-align: left;
}

.age-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--slate-700);
  margin: 0.4rem 0;
  cursor: pointer;
}

.age-check input {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  accent-color: var(--blue-700);
}

.age-gate-error {
  margin: 0.65rem 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--red-700);
  background: var(--red-50);
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.7rem;
  line-height: 1.4;
}

.age-gate-error[hidden] {
  display: none !important;
}

.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.95rem;
}

.age-gate-actions .btn {
  width: 100%;
}

.age-gate-actions .btn-lg {
  padding: 0.85rem 1.25rem;
}

.age-gate-note {
  font-size: 0.72rem;
  color: var(--slate-500);
  margin: 0.75rem 0 0;
  line-height: 1.4;
  text-align: center;
}

body.age-gate-open {
  overflow: hidden;
}

@media (max-width: 420px) {
  .age-gate-fields {
    grid-template-columns: 1fr;
  }
}

/* Print */
@media print {
  .research-banner,
  .site-header,
  .cta-band,
  .site-footer .footer-grid {
    display: none;
  }

  .age-gate {
    display: none !important;
  }
}
