:root {
  --navy: #0b2438;
  --navy-2: #173b59;
  --ink: #1c2d3e;
  --muted: #6a7688;
  --page: #f6f8fb;
  --panel: #ffffff;
  --line: #dbe3ee;
  --teal: #34c7b6;
  --teal-dark: #178d82;
  --aqua: #d8fbf7;
  --accent-blue: #4f88d8;
  --shadow: 0 18px 44px rgba(12, 31, 52, 0.12);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: var(--navy);
  border-bottom: 5px solid var(--teal);
  box-shadow: 0 8px 24px rgba(4, 16, 28, 0.16);
}

.brand img {
  width: min(300px, 52vw);
  height: auto;
  display: block;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #fff;
  font-weight: 900;
}

nav a {
  padding: 12px 14px;
  border-radius: 4px;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  min-height: 680px;
  background:
    linear-gradient(90deg, rgba(11, 36, 56, 0.96), rgba(11, 36, 56, 0.7)),
    url("assets/lab-hero.png") center / cover;
  color: #fff;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 7vw, 96px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6.25rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  max-width: 880px;
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(2.25rem, 4vw, 4.45rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.15;
}

h4 {
  margin: 26px 0 10px;
  color: var(--navy);
  font-size: 1.35rem;
}

p,
li {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.62;
}

.hero-copy p:not(.eyebrow) {
  max-width: 760px;
  color: #e9f4f6;
  font-size: 1.25rem;
}

.hero-product {
  display: grid;
  place-items: center;
  padding: clamp(28px, 5vw, 72px);
  position: relative;
}

.hero-vial {
  transform: scale(1.22);
}

.hero-badge {
  position: absolute;
  right: clamp(22px, 5vw, 72px);
  bottom: clamp(28px, 7vw, 120px);
  display: grid;
  gap: 5px;
  max-width: 260px;
  padding: 18px 20px;
  border-radius: 8px;
  border: 1px solid rgba(52, 199, 182, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(216, 251, 247, 0.92));
  box-shadow: var(--shadow);
}

.hero-badge strong {
  color: var(--teal-dark);
  font-size: 2.2rem;
  line-height: 1;
}

.hero-badge span {
  color: var(--navy);
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.button,
form button,
.gate-actions button,
.gate-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid var(--teal);
}

.primary,
form button {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-color: var(--teal);
  color: #061620;
}

.primary:hover,
form button:hover {
  background: linear-gradient(135deg, var(--aqua), var(--teal));
  color: #061620;
}

.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.notice-band {
  padding: 22px clamp(18px, 5vw, 72px);
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #e9f4f6;
  font-size: 1.08rem;
  line-height: 1.55;
}

.notice-band strong {
  color: var(--teal);
}

.section {
  padding: clamp(54px, 8vw, 104px) clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 34px;
}

.section-head p:not(.eyebrow) {
  max-width: 900px;
}

.shop-section {
  background:
    linear-gradient(90deg, rgba(52, 199, 182, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(52, 199, 182, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff, #f8fbfd);
  background-size: 44px 44px, 44px 44px, auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 28px;
}

.product-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 26px;
  border: 1px solid rgba(52, 199, 182, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 253, 252, 0.96)),
    var(--panel);
  box-shadow: var(--shadow);
}

.sale-badge {
  position: absolute;
  top: 0;
  right: 26px;
  padding: 10px 20px;
  border-radius: 0 0 5px 5px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 900;
}

.product-card h3 {
  margin: 22px 0 12px;
  padding-bottom: 10px;
  border-bottom: 4px solid var(--teal);
}

.product-summary {
  min-height: 52px;
}

.vial-visual {
  display: grid;
  place-items: center;
  min-height: 330px;
  margin: 18px 0 8px;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f7f9fc);
  overflow: hidden;
}

.product-photo img {
  display: block;
  width: min(260px, 88%);
  height: 318px;
  object-fit: contain;
}

.product-photo.large-vial img {
  width: min(292px, 94%);
  height: 352px;
}

.product-photo.large-vial {
  min-height: 368px;
}

.photo-vial .vial-cap {
  display: none;
}

.photo-vial .vial-body {
  position: relative;
  display: block;
  width: 226px;
  height: 318px;
  border: 0;
  border-radius: 0;
  background: url("assets/peptide-vial-base.png") center / contain no-repeat;
  box-shadow: none;
}

.photo-vial.large-vial .vial-body {
  width: 258px;
  height: 336px;
}

.photo-vial.large-vial {
  min-height: 360px;
}

.vial-label {
  position: absolute;
  left: 50%;
  top: 46%;
  display: grid;
  place-items: center;
  width: 128px;
  min-height: 112px;
  padding: 11px 8px;
  border-radius: 0 18px 18px 0;
  background: linear-gradient(180deg, var(--navy), var(--navy-2));
  border-bottom: 8px solid #fff;
  border-top: 8px solid #fff;
  text-align: center;
  transform: translate(-50%, -50%);
}

.photo-vial.large-vial .vial-label {
  width: 142px;
  min-height: 122px;
}

.vial-label span,
.vial-label small {
  color: #dceef1;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.vial-label strong {
  color: #fff;
  font-size: 1.18rem;
  line-height: 1.05;
}

.fresh-coa {
  display: inline-flex;
  align-self: center;
  justify-content: center;
  margin-top: -2px;
  padding: 8px 16px;
  border: 2px solid var(--teal);
  border-radius: 999px;
  background: rgba(216, 251, 247, 0.58);
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.fresh-coa:hover,
.fresh-coa:focus-visible {
  background: var(--teal);
  color: #061620;
  outline: none;
}

.price {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 1.2rem;
  font-weight: 900;
}

.product-actions {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 10px;
  margin-top: auto;
}

.quantity-label {
  grid-template-columns: 1fr;
  align-items: center;
  color: var(--navy);
}

.quantity-label input {
  min-height: 48px;
  text-align: center;
}

.cart-button {
  align-self: end;
  min-height: 48px;
  border: 1px solid var(--navy);
  border-radius: 6px;
  background: linear-gradient(135deg, var(--navy), #0f3d5f);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 12px 14px;
}

.detail-link,
.report-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: none;
}

.cart-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr) 220px 210px;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
  box-shadow: var(--shadow);
}

.cart-panel h3,
.cart-note,
.empty-cart {
  margin: 0;
}

.cart-items {
  display: grid;
  gap: 8px;
}

.cart-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
}

.cart-line button {
  border: 0;
  background: transparent;
  color: var(--teal-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.cart-total {
  display: grid;
  gap: 6px;
}

.cart-total span {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.cart-total strong {
  color: var(--navy);
  font-size: 1.45rem;
}

.coa-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(52, 199, 182, 0.16), transparent 34%),
    #f8fbfd;
}

.coa-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 14px;
}

.coa-grid a {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 14px;
  border: 2px solid var(--teal);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, var(--aqua));
  color: var(--teal-dark);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.details-section {
  display: grid;
  gap: 22px;
  background: #fff;
}

.detail-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.detail-card h3 {
  padding-bottom: 10px;
  border-bottom: 4px solid var(--teal);
  font-size: clamp(1.7rem, 3vw, 3rem);
}

.detail-card ul {
  margin: 0;
  padding-left: 22px;
}

.detail-card li {
  margin: 5px 0;
}

.compliance {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 36px;
  background: var(--navy);
}

.compliance h2,
.compliance li,
.compliance p {
  color: #fff;
}

.compliance ul {
  margin: 0;
  padding-left: 24px;
}

.compliance li {
  margin: 10px 0;
}

.inquiry form,
.reviews-section form {
  display: grid;
  gap: 16px;
  max-width: 900px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.form-note {
  margin: -4px 0 4px;
  padding: 14px 16px;
  border-left: 4px solid var(--teal);
  border-radius: 6px;
  background: #f5fbfb;
  color: var(--muted);
  font-size: 0.98rem;
}

.form-note.error {
  border-left-color: #b4232c;
  background: #fff6f6;
  color: #8f1f28;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 900;
}

.form-status.error {
  color: #b4232c;
}

.reviews-section {
  background:
    linear-gradient(135deg, rgba(52, 199, 182, 0.12), transparent 34%),
    #fff;
}

.review-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 1.25fr);
  gap: 28px;
  align-items: start;
}

.review-policy {
  padding: 28px;
  border: 1px solid rgba(52, 199, 182, 0.28);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f5fbfb);
  box-shadow: var(--shadow);
}

.review-policy ul {
  margin: 0;
  padding-left: 22px;
}

.checkout-choice {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(52, 199, 182, 0.34);
  border-radius: 8px;
  background: #f5fbfb;
}

.checkout-choice legend {
  padding: 0 8px;
  color: var(--navy);
  font-weight: 900;
}

.choice-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.choice-option input {
  width: auto;
  margin-top: 5px;
}

.choice-option span {
  display: grid;
  gap: 3px;
}

.choice-option small {
  color: var(--muted);
  font-weight: 700;
}

.account-fields {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-left: 4px solid var(--teal);
  background: #f8fbfd;
}

.account-fields[hidden] {
  display: none;
}

.bot-field {
  display: none;
}

.legal-hero {
  background: var(--navy);
  color: #fff;
}

.legal-hero h1,
.legal-hero p {
  color: #fff;
}

.legal-content {
  display: grid;
  gap: 20px;
  background: #fff;
}

.legal-content article {
  max-width: 1040px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.legal-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.legal-content ul {
  margin: 0;
  padding-left: 22px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.98);
  color: #061620;
  font: inherit;
  padding: 12px 14px;
}

textarea[readonly] {
  background: #f8fbfd;
}

.check,
.remember-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}

.check input,
.remember-check input {
  width: auto;
  margin-top: 4px;
}

footer {
  display: grid;
  grid-template-columns: 70px minmax(0, 900px);
  gap: 18px;
  align-items: center;
  padding: 30px clamp(18px, 5vw, 72px);
  background: #061620;
}

footer img {
  width: 70px;
  height: 70px;
}

footer p {
  margin: 0;
  color: #dceef1;
  font-size: 0.92rem;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(14, 22, 35, 0.78);
  backdrop-filter: blur(10px);
}

.age-gate.hidden {
  display: none;
}

.gate-card {
  width: min(660px, 100%);
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 2px;
  background: rgba(245, 247, 250, 0.96);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  text-align: center;
}

.gate-card img {
  width: min(440px, 100%);
  display: block;
  margin: 0 auto 26px;
}

.gate-card h1 {
  color: var(--navy);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.05;
}

.gate-card p {
  color: var(--navy);
  font-size: 1.23rem;
}

.gate-question {
  margin-top: 30px;
  font-weight: 800;
}

.gate-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.gate-actions button,
.gate-actions a {
  min-height: 54px;
  border-color: #2e2f33;
  background: #2e2f33;
  color: #fff;
}

.remember-check {
  justify-content: center;
  margin-top: 22px;
}

@media (max-width: 1120px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }

  .coa-grid {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }
}

@media (max-width: 920px) {
  .site-header,
  .hero,
  .compliance,
  .detail-card,
  .review-layout {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
  }

  .hero {
    min-height: 0;
  }

  .hero-product {
    min-height: 420px;
  }

  .hero-badge {
    right: 22px;
    bottom: 22px;
  }

  .product-grid,
  .cart-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  nav {
    gap: 4px;
    font-size: 0.92rem;
  }

  nav a {
    padding: 9px 8px;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }

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

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