@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* Clinical system pass: shared across PDP and contact routes. */
.sg-marquee {
  width: 100%;
  height: 34px;
  overflow: hidden;
  border-bottom: 1px solid rgba(20, 20, 20, .14);
  background: #f3f2ef;
  color: #141414;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 34px;
  white-space: nowrap;
}

.sg-marquee-track,
.sg-marquee-rep {
  width: max-content;
  display: flex;
  align-items: center;
}

.sg-marquee-track { will-change: transform; }
.sg-marquee-rep { flex: none; }

.sg-marquee-item {
  min-height: 34px;
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  padding: 0 26px;
}

.sg-marquee-key {
  color: rgba(20, 20, 20, .44);
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 700;
  text-transform: uppercase;
}

.sg-header {
  top: 0;
  border-bottom: 1px solid rgba(20, 20, 20, .14);
  background: rgba(249, 250, 248, .94);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
}

.sg-header-inner {
  width: min(1460px, calc(100% - 64px));
  min-height: 66px;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
}

.sg-header-inner > .sg-wordmark {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
}

.sg-wordmark {
  gap: 1px;
  color: #151719;
  font-family: var(--heading);
  font-size: 19px;
  font-weight: 500;
}

.sg-wordmark span { color: #151719; font-weight: 300; }

.sg-nav {
  grid-column: 1;
  grid-row: 1;
  justify-content: flex-start;
  gap: 22px;
}

.sg-nav a,
.sg-header-button {
  color: #25292b;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.sg-nav a:hover,
.sg-nav a[aria-current="page"] { color: #111; }

.sg-header-actions {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  gap: 16px;
}

.sg-icon-button,
.sg-header-button {
  min-height: 32px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.sg-header-button strong { color: #111; }

.sg-disclaimer {
  margin-top: 14px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  background: #f4f5f3;
  color: #54595b;
  font-size: 11px;
  line-height: 17px;
}

.breadcrumb { margin-top: 18px; font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.pdp-shell { margin-top: 44px; }

.pdp-image-frame {
  border-radius: 3px;
  background:
    linear-gradient(rgba(20,20,20,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,20,20,.025) 1px, transparent 1px),
    #f4f5f3;
  background-size: 34px 34px;
}

.pdp-image-frame::before { background: radial-gradient(circle at 50% 45%, rgba(0, 92, 135, .08), transparent 44%); }

.eyebrow {
  color: #515759;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.pdp-summary h1 {
  margin-top: 12px;
  font-family: var(--heading);
  font-size: 38px;
  font-weight: 700;
  line-height: 39.9px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.pdp-meta { margin-top: 16px; }
.format-badge, .status-badge { min-height: 26px; border-radius: 2px; font-size: 10px; }
.status-badge {
  padding: 3px 9px 3px 5px;
  border: 1px solid rgba(39, 133, 77, .16);
  border-radius: 999px;
  background: rgba(39, 133, 77, .09);
  color: #217343;
}
.status-badge::before {
  content: "\2713";
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  margin-right: 6px;
  border-radius: 50%;
  background: rgba(39, 133, 77, .14);
  color: #217343;
  font: 700 10px/1 var(--body);
}
.pdp-price { margin-top: 20px; font-size: 23px; font-weight: 700; }
.pdp-intro { margin-top: 15px; color: #373b3c; font-size: 13px; line-height: 24px; }
.pricing-table { margin-top: 22px; font-size: 13px; }
.pricing-table th, .pricing-table td { padding: 11px 8px; }
.pricing-table th { font-family: var(--mono); font-size: 9px; text-transform: uppercase; }

.primary-button,
.secondary-button {
  min-height: 46px;
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.primary-button { border-color: #151719; background: #151719; }
.primary-button:hover { border-color: #000; background: #000; }

.technology-card {
  padding: 22px 24px;
  border-color: var(--line);
  border-radius: 3px;
  background: #f1f3f2;
}

.technology-card::after { color: rgba(20,20,20,.04); }
.technology-card h2 { font-size: 16px; font-weight: 700; }
.technology-card p { color: #565c5e; font-size: 12px; line-height: 19px; }
.trust-feature strong { font-size: 12px; font-weight: 700; }
.trust-feature p { font-size: 11px; line-height: 17px; }

.handling-visual {
  border-radius: 3px;
  background:
    linear-gradient(125deg, rgba(13,13,15,.98), rgba(22,31,35,.94)),
    #0d0d0f;
}

.handling-visual h2 { font-size: 22px; font-weight: 700; }
.handling-visual p { color: #afb5b7; font-size: 12px; line-height: 18px; }
.accordion button { font-family: var(--heading); font-size: 12px; font-weight: 700; }

.research-content h2,
.section-heading h2 {
  margin-bottom: 16px;
  font-family: var(--heading);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: uppercase;
}

.research-content > p,
.research-content p,
.research-content li { color: #333738; font-size: 13px; line-height: 24px; }
.research-content section + section { margin-top: 46px; }
.research-notice { border-left-color: #151719; background: #f1f3f2; font-size: 12px; }
.related-card { border-color: var(--line); }
.related-card h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; }

.contact-hero {
  min-height: 500px;
  background:
    linear-gradient(90deg, rgba(13,13,15,.98), rgba(13,13,15,.82) 54%, rgba(13,13,15,.28)),
    url("somagenix-pen-packshot.webp") 82% 50% / cover no-repeat,
    #0d0d0f;
}

.contact-hero h1 { max-width: 730px; font-size: clamp(42px, 5vw, 66px); font-weight: 300; line-height: 1; }
.contact-hero p { color: #c6c9c9; font-size: 13px; line-height: 20px; }
.contact-proof div { background: rgba(18, 22, 24, .7); }
.contact-proof strong { font-size: 12px; }
.contact-proof span { color: #afb5b7; }
.contact-aside h2 { font-size: 30px; font-weight: 700; }
.contact-aside > p { font-size: 13px; line-height: 20px; }
.contact-form { border-color: var(--line); box-shadow: none; }
.form-field label { font-family: var(--mono); font-size: 9px; text-transform: uppercase; }

.sg-signup {
  min-height: 390px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 72px 24px;
  border-top: 1px solid #232327;
  background: #0d0d0f;
  color: #fff;
}

.sg-signup::before,
.sg-signup::after { content: ""; position: absolute; pointer-events: none; }

.sg-signup::before {
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.024) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.024) 0 1px, transparent 1px 34px);
}

.sg-signup::after {
  width: 760px;
  height: 340px;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(117,178,198,.24), rgba(255,255,255,.06) 38%, transparent 72%);
}

.sg-signup-card {
  width: min(1120px, 100%);
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  gap: 72px;
  padding: 44px 48px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(255,255,255,.086), rgba(255,255,255,.027) 58%, rgba(255,255,255,.05));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 24px 60px rgba(0,0,0,.45);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  backdrop-filter: blur(22px) saturate(1.4);
}

.sg-signup-k {
  color: #a9aca6;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.sg-signup h2 { max-width: 650px; margin-top: 12px; font-size: clamp(29px, 3vw, 40px); font-weight: 300; line-height: 1.16; }
.sg-signup-card > div > p:not(.sg-signup-k) { max-width: 580px; margin-top: 14px; color: #b6b8b7; font-size: 13px; line-height: 20px; }
.sg-signup-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }

.sg-signup-form input,
.sg-signup-form button { min-height: 50px; border-radius: 6px; color: #fff; font: inherit; }
.sg-signup-form input { min-width: 0; padding: 0 16px; border: 1px solid rgba(255,255,255,.22); outline: 0; background: rgba(255,255,255,.05); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sg-signup-form input::placeholder { color: #96999a; }
.sg-signup-form button { padding: 0 18px; border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); font-family: var(--mono); font-size: 9px; font-weight: 700; text-transform: uppercase; -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5); }
.sg-signup-action small, .sg-signup-status { display: block; margin-top: 11px; color: #85898a; font-size: 10px; line-height: 16px; }
.sg-signup-status { color: #d9e7ea; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.sg-footer {
  color: #17191a;
  border-top: 1px solid var(--line);
  background-color: #f7f8f6;
  background-image: linear-gradient(rgba(20,20,20,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(20,20,20,.025) 1px, transparent 1px);
  background-size: 34px 34px;
}

.sg-footer-grid,
.sg-footer-products,
.sg-footer-bottom { width: min(1320px, calc(100% - 48px)); margin: 0 auto; }

.sg-footer-grid { grid-template-columns: 1.45fr repeat(3, 1fr); gap: 0; padding: 54px 0 38px; border-bottom: 1px solid var(--line); }
.sg-footer-grid > div { min-height: 138px; padding: 0 30px; border-left: 1px solid var(--line); }
.sg-footer-grid > div:first-child { padding-left: 0; border-left: 0; }
.sg-footer .sg-wordmark { color: #17191a; }
.sg-footer .sg-wordmark span { color: #17191a; }
.sg-footer-intro { max-width: 350px; margin-top: 15px; color: #4d5254; font-size: 11px; line-height: 17px; }
.sg-footer-est { margin-top: 12px; color: #747879; font-family: var(--mono); font-size: 8px; }
.sg-footer h3 { margin-bottom: 13px; color: #737778; font-family: var(--mono); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.sg-footer li { margin: 5px 0; color: #35393a; font-size: 11px; line-height: 16px; }
.sg-footer a:hover { color: #000; }

.sg-footer-products { padding: 26px 0; border-bottom: 1px solid var(--line); }
.sg-footer-products > p { color: #8a8d8e; font-family: var(--mono); font-size: 8px; font-weight: 700; text-transform: uppercase; }
.sg-footer-products > div { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 14px; }
.sg-footer-products a { color: #414647; font-size: 10px; }

.sg-footer-bottom { padding: 18px 0 26px; border-top: 0; color: #777b7c; font-size: 9px; line-height: 14px; }
.sg-footer-bottom strong { color: #25292a; }

@media (max-width: 860px) {
  .sg-header-inner { min-height: 58px; grid-template-columns: 1fr auto 1fr; gap: 8px; }
  .sg-header-inner > .sg-wordmark { grid-column: 2; grid-row: 1; justify-self: center; font-size: 17px; }
  .sg-nav { grid-column: 1; grid-row: 1; order: initial; display: block; overflow: visible; padding: 0; }
  .sg-nav a { display: none; }
  .sg-nav a:first-child { display: inline; }
  .sg-header-actions { grid-column: 3; grid-row: 1; }
  .sg-header-actions .sg-header-button:first-child { display: none; }
  .sg-header-button { padding: 0; }
}

@media (max-width: 620px) {
  .sg-header-inner { width: calc(100% - 28px); }
  .pdp-summary h1 { font-size: 31px; line-height: 33px; }
  .research-content h2, .section-heading h2 { font-size: 20px; }
  .contact-hero { min-height: 540px; background: linear-gradient(135deg, rgba(13,13,15,.98), rgba(21,30,34,.92)), #0d0d0f; }
  .contact-hero h1 { font-size: 42px; }
  .sg-signup { min-height: 0; padding: 48px 14px; }
  .sg-signup-card { grid-template-columns: 1fr; gap: 28px; padding: 28px 22px; }
  .sg-signup h2 { font-size: 28px; }
  .sg-signup-form { grid-template-columns: 1fr; }
  .sg-footer-grid, .sg-footer-products, .sg-footer-bottom { width: calc(100% - 28px); }
  .sg-footer-grid { grid-template-columns: 1fr 1fr; padding: 40px 0 28px; }
  .sg-footer-grid > div { min-height: 0; padding: 22px 14px; border: 0; }
  .sg-footer-grid > div:first-child { grid-column: 1 / -1; padding: 0 0 24px; }
  .sg-footer-products > div { grid-template-columns: 1fr 1fr; gap: 10px 18px; }
  .sg-footer-bottom { grid-template-columns: 1fr; gap: 10px; }
}

.pdp-meta .status-badge {
  padding: 3px 9px 3px 5px;
  border: 1px solid rgba(39, 133, 77, .16);
  border-radius: 999px;
  background: rgba(39, 133, 77, .09);
  color: #217343;
}

.pdp-meta .status-badge::before {
  content: "\2713";
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  margin-right: 6px;
  border-radius: 50%;
  background: rgba(39, 133, 77, .14);
  color: #217343;
  font: 700 10px/1 var(--body);
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #07141c;
  --ink-soft: #34444d;
  --muted: #66747b;
  --paper: #f7f8f8;
  --surface: #ffffff;
  --mist: #edf3f5;
  --blue: #00658f;
  --blue-bright: #1194cb;
  --blue-deep: #032d49;
  --blue-night: #031b2e;
  --cyan: #8dddf2;
  --green: #27854d;
  --green-soft: #e9f5ed;
  --peach: #fff0e9;
  --line: #d8dfe2;
  --line-dark: rgba(255, 255, 255, .18);
  --shadow: 0 20px 48px rgba(4, 26, 40, .1);
  --shadow-soft: 0 10px 28px rgba(4, 26, 40, .07);
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --heading: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "IBM Plex Mono", Menlo, Monaco, Consolas, monospace;
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  line-height: 20px;
}

body.cart-open { overflow: hidden; }

button,
input,
select,
textarea { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--heading); }

.sg-topline {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 22px;
  background: #10161a;
  color: #f6fbfd;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
}

.sg-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(7, 20, 28, .12);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.sg-header-inner {
  width: min(1460px, calc(100% - 48px));
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}

.sg-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  color: var(--ink);
  font-family: var(--heading);
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.sg-wordmark span {
  color: var(--blue);
  font-weight: 500;
}

.sg-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.sg-nav a {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}

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

.sg-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sg-icon-button,
.sg-header-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.sg-icon-button {
  width: 40px;
  padding: 0;
}

.sg-header-button { padding: 0 15px; }
.sg-header-button strong { color: var(--blue); }

.sg-disclaimer {
  width: min(1460px, calc(100% - 48px));
  margin: 18px auto 0;
  padding: 13px 16px;
  border-left: 3px solid var(--blue-bright);
  background: #eef6f8;
  color: #3f535c;
  font-size: 12px;
  line-height: 1.55;
}

.sg-disclaimer strong { color: var(--ink); }

.breadcrumb {
  width: min(1460px, calc(100% - 48px));
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { margin: 0 8px; color: #9ba5aa; }

.pdp-shell {
  width: min(1320px, calc(100% - 48px));
  margin: 54px auto 0;
}

.pdp-main {
  display: grid;
  grid-template-columns: minmax(430px, .9fr) minmax(520px, 1.1fr);
  gap: clamp(54px, 7vw, 110px);
  align-items: start;
}

.pdp-gallery {
  position: sticky;
  top: 116px;
}

.pdp-image-frame {
  min-height: 690px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e2e7e9;
  border-radius: 6px;
  background:
    linear-gradient(rgba(0, 101, 143, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 101, 143, .035) 1px, transparent 1px),
    #f4f6f6;
  background-size: 24px 24px;
}

.pdp-image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(141, 221, 242, .18), transparent 44%);
  pointer-events: none;
}

.pdp-image-frame img {
  width: min(86%, 520px);
  height: 630px;
  position: relative;
  z-index: 1;
  object-fit: contain;
  object-position: center;
}

.zoom-button {
  width: 44px;
  height: 44px;
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(7, 20, 28, .1);
  border-radius: 50%;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.pdp-image-note {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 13px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.pdp-summary h1 {
  max-width: 720px;
  margin-top: 10px;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 600;
  line-height: 1.05;
}

.pdp-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.format-badge,
.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 0 11px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
}

.format-badge { background: var(--ink); color: #fff; }
.status-badge { background: var(--green-soft); color: var(--green); }
.status-badge::before { content: ""; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: currentColor; }

.pdp-price {
  margin-top: 24px;
  font-family: var(--heading);
  font-size: 29px;
  font-weight: 600;
}

.pdp-intro {
  max-width: 670px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.pricing-table {
  width: 100%;
  margin-top: 28px;
  border-collapse: collapse;
  font-size: 14px;
}

.pricing-table th,
.pricing-table td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.pricing-table th {
  color: var(--ink-soft);
  font-family: var(--heading);
  font-size: 12px;
  font-weight: 600;
}

.pricing-table th:last-child,
.pricing-table td:last-child { text-align: right; }

.purchase-row {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 12px;
  margin-top: 24px;
}

.quantity-control {
  min-height: 52px;
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.quantity-control button {
  align-self: stretch;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 17px;
}

.quantity-control input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-weight: 700;
  text-align: center;
  -moz-appearance: textfield;
}

.quantity-control input::-webkit-outer-spin-button,
.quantity-control input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }

.primary-button,
.secondary-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 4px;
  font-family: var(--heading);
  font-size: 12px;
  font-weight: 600;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.primary-button {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
}

.primary-button:hover { background: #004d71; border-color: #004d71; transform: translateY(-1px); }
.secondary-button { border: 1px solid var(--ink); background: transparent; color: var(--ink); }
.secondary-button:hover { background: var(--ink); color: #fff; }

.shipping-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
}

.shipping-note b { color: var(--ink); }

.technology-card {
  position: relative;
  overflow: hidden;
  margin-top: 32px;
  padding: 24px 26px;
  border: 1px solid rgba(0, 101, 143, .18);
  border-radius: 6px;
  background:
    linear-gradient(130deg, rgba(255,255,255,.72), rgba(255,255,255,.28)),
    #e2f2f7;
}

.technology-card::after {
  content: "SG";
  position: absolute;
  right: -12px;
  bottom: -40px;
  color: rgba(0, 101, 143, .08);
  font-family: var(--heading);
  font-size: 118px;
  font-weight: 700;
  line-height: 1;
}

.technology-card > * { position: relative; z-index: 1; }
.technology-card h2 { font-size: 18px; font-weight: 600; }
.technology-card p { max-width: 600px; margin-top: 6px; color: #36535f; font-size: 13px; line-height: 1.65; }

.trust-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 34px;
  border: 1px solid var(--line);
  background: var(--line);
}

.trust-feature {
  min-height: 128px;
  padding: 20px;
  background: var(--surface);
}

.trust-feature strong {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 600;
}

.trust-feature strong::before {
  content: "\2713";
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font: 700 11px/1 var(--body);
}

.trust-feature p { margin: 8px 0 0 28px; color: var(--muted); font-size: 12px; line-height: 1.6; }

.handling-panel { margin-top: 30px; }

.handling-visual {
  min-height: 230px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 210px;
  align-items: center;
  gap: 20px;
  overflow: hidden;
  padding: 32px;
  border-radius: 6px;
  background: linear-gradient(125deg, #032d49 0%, #00658f 62%, #43a9cd 100%);
  color: #fff;
}

.handling-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 32px 32px;
}

.handling-visual > * { position: relative; z-index: 1; }
.handling-visual h2 { margin-top: 8px; font-size: 26px; line-height: 1.15; }
.handling-visual p { max-width: 500px; margin-top: 10px; color: #c5dce6; font-size: 13px; }
.handling-visual img { width: 210px; height: 190px; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(0,0,0,.28)); }

.accordion-list { margin-top: 12px; }

.accordion {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.accordion:first-child { border-top: 1px solid var(--line); }

.accordion button {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}

.accordion button span:last-child { color: var(--blue); font-size: 20px; font-weight: 400; }
.accordion-content { display: none; padding: 0 4px 20px; color: var(--muted); font-size: 13px; }
.accordion.open .accordion-content { display: block; }

.research-band {
  margin-top: 86px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.research-layout {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px minmax(0, 820px);
  gap: 80px;
  padding: 80px 0 100px;
}

.research-aside {
  position: sticky;
  top: 118px;
  align-self: start;
}

.research-aside p { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.research-index { margin-top: 24px; border-top: 1px solid var(--line); }
.research-index a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.research-index a:hover { color: var(--blue); }

.research-content > p {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
}

.research-content section { scroll-margin-top: 120px; }
.research-content section + section { margin-top: 54px; }

.research-content h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.2;
}

.research-content p { color: var(--ink-soft); font-size: 15px; line-height: 1.85; }
.research-content p + p { margin-top: 16px; }
.research-content ul { margin: 18px 0 0; padding-left: 21px; }
.research-content li { margin: 11px 0; padding-left: 4px; color: var(--ink-soft); font-size: 15px; line-height: 1.75; }
.research-content li strong { color: var(--ink); }

.research-notice {
  margin-top: 44px;
  padding: 22px 24px;
  border-left: 3px solid var(--blue);
  background: var(--mist);
  color: var(--ink-soft);
  font-size: 13px;
}

.related-section {
  width: min(1460px, calc(100% - 48px));
  margin: 0 auto;
  padding: 78px 0 92px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 26px;
}

.section-heading h2 { margin-top: 8px; font-size: clamp(26px, 3vw, 40px); font-weight: 600; }
.section-heading a { color: var(--blue); font-size: 12px; font-weight: 700; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.related-card { min-width: 0; border: 1px solid var(--line); background: #fff; }
.related-card-image { height: 330px; display: grid; place-items: center; overflow: hidden; background: #f1f4f4; }
.related-card-image img { width: 90%; height: 300px; object-fit: contain; }
.related-card-body { padding: 19px; }
.related-card h3 { min-height: 48px; font-size: 15px; font-weight: 600; line-height: 1.45; }
.related-card p { margin-top: 10px; color: var(--ink-soft); font-size: 13px; }
.related-card a { margin-top: 17px; }

.sg-footer { background: linear-gradient(125deg, #07141c 0%, #082b3d 100%); color: #fff; }

.sg-footer-grid {
  width: min(1460px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 70px;
  padding: 66px 0 42px;
}

.sg-footer .sg-wordmark { color: #fff; }
.sg-footer .sg-wordmark span { color: var(--cyan); }
.sg-footer-intro { max-width: 380px; margin-top: 17px; color: #a8c0ca; font-size: 12px; }
.sg-footer h3 { margin-bottom: 15px; color: #d8e8ee; font-size: 12px; font-weight: 600; }
.sg-footer ul { margin: 0; padding: 0; list-style: none; }
.sg-footer li { margin: 8px 0; color: #8facb8; font-size: 12px; }
.sg-footer a:hover { color: #fff; }

.sg-footer-bottom {
  width: min(1460px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line-dark);
  color: #7897a4;
  font-size: 10px;
  line-height: 1.6;
}

.cart-drawer { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.cart-backdrop { position: absolute; inset: 0; opacity: 0; background: rgba(2, 13, 21, .48); transition: opacity .2s ease; }
.cart-panel { width: min(420px, 94vw); height: 100%; position: absolute; top: 0; right: 0; display: flex; flex-direction: column; transform: translateX(100%); background: #fff; box-shadow: -20px 0 60px rgba(2, 13, 21, .2); transition: transform .24s ease; }
.cart-open .cart-drawer { pointer-events: auto; }
.cart-open .cart-backdrop { opacity: 1; }
.cart-open .cart-panel { transform: translateX(0); }
.cart-head { min-height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 18px; font-weight: 600; }
.cart-close { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: #fff; }
.cart-body { flex: 1; overflow: auto; padding: 20px 24px; }
.cart-item { display: grid; grid-template-columns: 66px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 66px; height: 80px; object-fit: contain; background: #f2f4f4; }
.cart-item strong { display: block; font-family: var(--heading); font-size: 13px; }
.cart-item span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.cart-foot { padding: 20px 24px 26px; border-top: 1px solid var(--line); }
.cart-foot p { margin-bottom: 14px; color: var(--muted); font-size: 11px; }

.contact-hero {
  min-height: 520px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  align-items: end;
  gap: 70px;
  padding: 84px max(24px, calc((100vw - 1320px) / 2)) 72px;
  background:
    linear-gradient(90deg, rgba(3,27,46,.96), rgba(0,101,143,.83)),
    url("somagenix-pen-packshot.webp") 86% 50% / 580px auto no-repeat,
    var(--blue-deep);
  color: #fff;
}

.contact-hero::after {
  content: "B2B";
  position: absolute;
  right: -10px;
  bottom: -95px;
  color: rgba(255,255,255,.055);
  font-family: var(--heading);
  font-size: min(30vw, 390px);
  font-weight: 700;
  line-height: 1;
}

.contact-hero > * { position: relative; z-index: 1; }
.contact-hero h1 { max-width: 780px; margin-top: 12px; font-size: clamp(44px, 6vw, 86px); font-weight: 500; line-height: .99; }
.contact-hero p { max-width: 640px; margin-top: 20px; color: #c6dce5; font-size: 16px; }
.contact-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.25); }
.contact-proof div { min-height: 116px; padding: 20px; background: rgba(3, 27, 46, .62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.contact-proof strong { display: block; font-family: var(--heading); font-size: 14px; }
.contact-proof span { display: block; margin-top: 7px; color: #a7c5d1; font-size: 11px; }

.contact-layout {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 80px;
  padding: 90px 0 110px;
}

.contact-aside h2 { margin-top: 10px; font-size: 34px; font-weight: 600; line-height: 1.18; }
.contact-aside > p { margin-top: 16px; color: var(--muted); font-size: 14px; }
.contact-points { margin-top: 30px; border-top: 1px solid var(--line); }
.contact-point { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-point strong { display: block; font-family: var(--heading); font-size: 13px; }
.contact-point span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 32px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-soft); }
.form-field { min-width: 0; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { display: block; margin-bottom: 8px; color: var(--ink-soft); font-family: var(--heading); font-size: 11px; font-weight: 600; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 3px;
  outline: 0;
  background: #fbfcfc;
  color: var(--ink);
  font-size: 13px;
}
.form-field textarea { min-height: 132px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,101,143,.08); }
.form-consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 11px; }
.form-consent input { margin-top: 4px; }
.form-status { grid-column: 1 / -1; display: none; padding: 14px 16px; background: var(--green-soft); color: var(--green); font-size: 12px; font-weight: 700; }
.form-status.show { display: block; }

@media (max-width: 1100px) {
  .sg-header-inner { gap: 24px; }
  .sg-nav { gap: 17px; }
  .pdp-main { grid-template-columns: minmax(360px, .9fr) minmax(460px, 1.1fr); gap: 44px; }
  .pdp-image-frame { min-height: 590px; }
  .pdp-image-frame img { height: 540px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .sg-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 42px; }
  .sg-footer-grid > div:last-child { grid-column: 2; }
  .contact-hero { grid-template-columns: 1fr; gap: 40px; }
  .contact-proof { max-width: 620px; }
}

@media (max-width: 860px) {
  .sg-header-inner { min-height: 70px; grid-template-columns: 1fr auto; }
  .sg-nav { grid-column: 1 / -1; order: 3; justify-content: flex-start; overflow-x: auto; padding: 0 0 12px; }
  .sg-nav a { white-space: nowrap; }
  .sg-header-button span { display: none; }
  .pdp-shell { margin-top: 34px; }
  .pdp-main { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; }
  .pdp-image-frame { min-height: 620px; }
  .pdp-image-frame img { height: 580px; }
  .research-layout { grid-template-columns: 1fr; gap: 40px; }
  .research-aside { position: static; }
  .research-index { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .sg-header-inner,
  .sg-disclaimer,
  .breadcrumb,
  .pdp-shell,
  .research-layout,
  .related-section,
  .sg-footer-grid,
  .sg-footer-bottom,
  .contact-layout { width: min(100% - 28px, 1460px); }
  .sg-header-inner { gap: 12px; }
  .sg-wordmark { font-size: 18px; }
  .sg-header-actions { gap: 6px; }
  .sg-header-button { padding: 0 10px; }
  .sg-nav { gap: 20px; }
  .sg-disclaimer { margin-top: 12px; }
  .breadcrumb { margin-top: 16px; }
  .pdp-shell { margin-top: 28px; }
  .pdp-gallery { width: min(100%, 340px); margin-inline: auto; }
  .pdp-image-frame { min-height: 440px; }
  .pdp-image-frame img { width: 92%; height: 414px; }
  .pdp-image-note { flex-direction: column; gap: 3px; }
  .pdp-summary h1 { font-size: 31px; }
  .pdp-intro { font-size: 14px; }
  .purchase-row { grid-template-columns: 106px 1fr; }
  .primary-button, .secondary-button { padding: 0 12px; font-size: 11px; }
  .technology-card { padding: 21px; }
  .trust-features { grid-template-columns: 1fr; }
  .handling-visual { grid-template-columns: 1fr 120px; min-height: 210px; padding: 24px 20px; }
  .handling-visual h2 { font-size: 21px; }
  .handling-visual img { width: 120px; height: 170px; }
  .research-band { margin-top: 62px; }
  .research-layout { padding: 56px 0 72px; }
  .research-index { grid-template-columns: 1fr; }
  .research-content h2 { font-size: 27px; }
  .research-content p, .research-content li { font-size: 14px; }
  .related-section { padding: 56px 0 70px; }
  .related-grid { grid-template-columns: 1fr; }
  .related-card-image { height: 380px; }
  .related-card-image img { height: 350px; }
  .sg-footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 22px; padding-top: 48px; }
  .sg-footer-grid > div:first-child { grid-column: 1 / -1; }
  .sg-footer-grid > div:last-child { grid-column: auto; }
  .sg-footer-bottom { grid-template-columns: 1fr; gap: 14px; }
  .contact-hero { min-height: 590px; padding: 70px 20px 50px; background: linear-gradient(135deg, rgba(3,27,46,.98), rgba(0,101,143,.88)), var(--blue-deep); }
  .contact-hero h1 { font-size: 46px; }
  .contact-proof { grid-template-columns: 1fr 1fr; }
  .contact-layout { padding: 58px 0 76px; }
  .contact-form { grid-template-columns: 1fr; padding: 20px; }
  .form-field.full, .form-consent, .form-status { grid-column: auto; }
}

/* Priority overrides for selectors defined by the original storefront sheet. */
.sg-header { top: 0; border-bottom-color: rgba(20,20,20,.14); background: rgba(249,250,248,.94); }
.sg-header-inner { width: min(1460px, calc(100% - 64px)); min-height: 66px; grid-template-columns: 1fr auto 1fr; gap: 28px; }
.sg-header-inner > .sg-wordmark { grid-column: 2; grid-row: 1; justify-self: center; }
.sg-wordmark { gap: 1px; color: #151719; font-size: 19px; font-weight: 500; }
.sg-wordmark span { color: #151719; font-weight: 300; }
.sg-nav { grid-column: 1; grid-row: 1; justify-content: flex-start; gap: 22px; }
.sg-nav a, .sg-header-button { color: #25292b; font-family: var(--mono); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.sg-nav a:hover, .sg-nav a[aria-current="page"] { color: #111; }
.sg-header-actions { grid-column: 3; grid-row: 1; justify-self: end; gap: 16px; }
.sg-icon-button, .sg-header-button { min-height: 32px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.sg-header-button strong { color: #111; }
.sg-disclaimer { margin-top: 14px; padding: 11px 14px; border: 1px solid var(--line); background: #f4f5f3; color: #54595b; font-size: 11px; line-height: 17px; }
.breadcrumb { margin-top: 18px; font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.pdp-shell { margin-top: 44px; }
.pdp-image-frame { border-radius: 3px; background: linear-gradient(rgba(20,20,20,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(20,20,20,.025) 1px, transparent 1px), #f4f5f3; background-size: 34px 34px; }
.pdp-image-frame::before { background: radial-gradient(circle at 50% 45%, rgba(0,92,135,.08), transparent 44%); }
.eyebrow { color: #515759; font-family: var(--mono); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.pdp-summary h1 { margin-top: 12px; font-size: 38px; font-weight: 700; line-height: 39.9px; letter-spacing: 0; text-transform: uppercase; }
.pdp-meta { margin-top: 16px; }
.format-badge, .status-badge { min-height: 26px; border-radius: 2px; font-size: 10px; }
.pdp-price { margin-top: 20px; font-size: 23px; font-weight: 700; }
.pdp-intro { margin-top: 15px; color: #373b3c; font-size: 13px; line-height: 24px; }
.pricing-table { margin-top: 22px; font-size: 13px; }
.pricing-table th, .pricing-table td { padding: 11px 8px; }
.pricing-table th { font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.primary-button, .secondary-button { min-height: 46px; border-radius: 3px; font-family: var(--mono); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.primary-button { border-color: #151719; background: #151719; }
.primary-button:hover { border-color: #000; background: #000; }
.technology-card { padding: 22px 24px; border-color: var(--line); border-radius: 3px; background: #f1f3f2; }
.technology-card::after { color: rgba(20,20,20,.04); }
.technology-card h2 { font-size: 16px; font-weight: 700; }
.technology-card p { color: #565c5e; font-size: 12px; line-height: 19px; }
.handling-visual { border-radius: 3px; background: linear-gradient(125deg, rgba(13,13,15,.98), rgba(22,31,35,.94)), #0d0d0f; }
.handling-visual h2 { font-size: 22px; font-weight: 700; }
.handling-visual p { color: #afb5b7; font-size: 12px; line-height: 18px; }
.research-content h2, .section-heading h2 { margin-bottom: 16px; font-size: 22px; font-weight: 700; line-height: 1.15; letter-spacing: 0; text-transform: uppercase; }
.research-content > p, .research-content p, .research-content li { color: #333738; font-size: 13px; line-height: 24px; }
.research-content section + section { margin-top: 46px; }
.research-notice { border-left-color: #151719; background: #f1f3f2; font-size: 12px; }
.contact-hero { min-height: 500px; background: linear-gradient(90deg, rgba(13,13,15,.98), rgba(13,13,15,.82) 54%, rgba(13,13,15,.28)), url("somagenix-pen-packshot.webp") 82% 50% / cover no-repeat, #0d0d0f; }
.contact-hero h1 { max-width: 730px; font-size: clamp(42px, 5vw, 66px); font-weight: 300; line-height: 1; }
.contact-hero p { color: #c6c9c9; font-size: 13px; line-height: 20px; }
.contact-form { border-color: var(--line); box-shadow: none; }
.form-field label { font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.sg-footer { color: #17191a; border-top: 1px solid var(--line); background-color: #f7f8f6; background-image: linear-gradient(rgba(20,20,20,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(20,20,20,.025) 1px, transparent 1px); background-size: 34px 34px; }
.sg-footer-grid, .sg-footer-products, .sg-footer-bottom { width: min(1320px, calc(100% - 48px)); margin: 0 auto; }
.sg-footer-grid { grid-template-columns: 1.45fr repeat(3, 1fr); gap: 0; padding: 54px 0 38px; border-bottom: 1px solid var(--line); }
.sg-footer-grid > div { min-height: 138px; padding: 0 30px; border-left: 1px solid var(--line); }
.sg-footer-grid > div:first-child { padding-left: 0; border-left: 0; }
.sg-footer .sg-wordmark, .sg-footer .sg-wordmark span { color: #17191a; }
.sg-footer-intro { max-width: 350px; margin-top: 15px; color: #4d5254; font-size: 11px; line-height: 17px; }
.sg-footer h3 { margin-bottom: 13px; color: #737778; font-family: var(--mono); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.sg-footer li { margin: 5px 0; color: #35393a; font-size: 11px; line-height: 16px; }
.sg-footer-bottom { padding: 18px 0 26px; border-top: 0; color: #777b7c; font-size: 9px; line-height: 14px; }

@media (max-width: 860px) {
  .sg-header-inner { min-height: 58px; grid-template-columns: 1fr auto 1fr; gap: 8px; }
  .sg-header-inner > .sg-wordmark { grid-column: 2; grid-row: 1; justify-self: center; font-size: 17px; }
  .sg-nav { grid-column: 1; grid-row: 1; order: initial; display: block; overflow: visible; padding: 0; }
  .sg-nav a { display: none; }
  .sg-nav a:first-child { display: inline; }
  .sg-header-actions { grid-column: 3; grid-row: 1; }
  .sg-header-actions .sg-header-button:first-child { display: none; }
  .sg-header-button { padding: 0; }
}

@media (max-width: 620px) {
  body { font-size: 13px; }
  .sg-header-inner { width: calc(100% - 28px); }
  .pdp-summary h1 { font-size: 31px; line-height: 33px; }
  .research-content h2, .section-heading h2 { font-size: 20px; }
  .research-content p, .research-content li { font-size: 13px; line-height: 22px; }
  .contact-hero { min-height: 540px; background: linear-gradient(135deg, rgba(13,13,15,.98), rgba(21,30,34,.92)), #0d0d0f; }
  .contact-hero h1 { font-size: 42px; }
  .sg-footer-grid, .sg-footer-products, .sg-footer-bottom { width: calc(100% - 28px); }
  .sg-footer-grid { grid-template-columns: 1fr 1fr; gap: 0; padding: 40px 0 28px; }
  .sg-footer-grid > div { min-height: 0; padding: 22px 14px; border: 0; }
  .sg-footer-grid > div:first-child { grid-column: 1 / -1; padding: 0 0 24px; }
  .sg-footer-products > div { grid-template-columns: 1fr 1fr; gap: 10px 18px; }
  .sg-footer-bottom { grid-template-columns: 1fr; gap: 10px; }
}

/* Responsive PDP canvas: larger media stage, calmer type, and complete mobile packshots. */
.pdp-shell {
  width: min(1640px, calc(100% - clamp(64px, 7vw, 128px)));
  margin-top: clamp(40px, 4vw, 62px);
}

.pdp-main {
  grid-template-columns: minmax(520px, 1.06fr) minmax(500px, .94fr);
  gap: clamp(64px, 7vw, 132px);
}

.pdp-image-frame {
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 5;
}

.pdp-image-frame img {
  position: absolute;
  inset: 6%;
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.pdp-summary { padding-top: clamp(4px, 1.2vw, 20px); }
.pdp-summary h1 { max-width: 680px; font-size: clamp(32px, 2.5vw, 42px); line-height: 1.04; }
.pdp-intro { max-width: 720px; }

@media (min-width: 1720px) {
  .pdp-shell { width: min(1680px, calc(100% - 144px)); }
  .pdp-main { grid-template-columns: minmax(640px, 1.08fr) minmax(560px, .92fr); }
  .pdp-image-frame { max-height: 900px; }
  .pdp-summary { padding-top: 26px; }
}

@media (max-width: 1100px) {
  .pdp-shell { width: min(100% - 48px, 980px); }
  .pdp-main { grid-template-columns: minmax(400px, .94fr) minmax(440px, 1.06fr); gap: 44px; }
}

@media (max-width: 860px) {
  .pdp-shell { width: min(100% - 48px, 760px); }
  .pdp-main { grid-template-columns: 1fr; gap: 42px; }
  .pdp-gallery { width: 100%; }
  .pdp-image-frame { aspect-ratio: 5 / 6; }
  .pdp-image-frame img { width: 90%; height: 90%; }
  .pdp-summary { padding-top: 0; }
}

@media (max-width: 620px) {
  .pdp-shell { width: calc(100% - 28px); margin-top: 26px; }
  .pdp-main { gap: 34px; }
  .pdp-gallery { width: 100%; max-width: none; }
  .pdp-image-frame { min-height: 0; aspect-ratio: 4 / 5; }
  .pdp-image-frame img { width: 92%; height: 92%; }
  .pdp-image-note { flex-direction: row; align-items: center; gap: 12px; font-size: 8px; }
  .pdp-image-note span:last-child { text-align: right; }
  .pdp-summary h1 { font-size: 28px; line-height: 30px; }
  .pdp-intro { max-width: none; font-size: 13px; line-height: 21px; }
  .pricing-table { font-size: 12px; }
  .pricing-table th, .pricing-table td { padding: 12px 7px; }
  .purchase-row { grid-template-columns: 96px minmax(0, 1fr); gap: 9px; }
  .quantity-control { grid-template-columns: 30px 1fr 30px; }
  .primary-button, .secondary-button { padding-inline: 10px; font-size: 8.5px; }
}

/* Shared PDP inventory state: elevated, compact, and visibly verified. */
.pdp-meta .status-badge {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px 4px 5px;
  gap: 7px;
  border: 1px solid rgba(32, 119, 70, .2);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(225,242,232,.8));
  color: #1f6c40;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 7px 18px rgba(31,108,64,.09);
  -webkit-backdrop-filter: blur(12px) saturate(1.25);
  backdrop-filter: blur(12px) saturate(1.25);
  font-size: 10px;
  font-weight: 700;
}

.pdp-meta .status-badge::before {
  content: "\2713";
  width: 17px;
  height: 17px;
  margin: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  background: #2b8250;
  color: #fff;
  box-shadow: 0 2px 7px rgba(31,108,64,.22), inset 0 1px 0 rgba(255,255,255,.28);
  font: 700 10px/1 var(--sans);
}

/* Shared MoMo-inspired rolling glass command buttons. */
.sg-flip-button {
  --sg-button-bg: rgba(255,255,255,.4);
  --sg-button-panel: rgba(255,255,255,.68);
  --sg-button-label: #151719;
  min-height: 42px;
  height: 42px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(20,24,25,.28);
  border-radius: 6px;
  background: var(--sg-button-bg);
  color: var(--sg-button-label);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.88), 0 12px 28px rgba(15,22,24,.07);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.sg-flip-button.sg-flip-dark {
  --sg-button-bg: rgba(18,21,22,.86);
  --sg-button-panel: rgba(43,47,48,.94);
  --sg-button-label: #fff;
  border-radius: 6px;
  border-color: rgba(255,255,255,.32);
  background: var(--sg-button-bg);
  color: var(--sg-button-label);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 14px 32px rgba(10,14,15,.14);
}

.sg-flip-button.sg-flip-light {
  border-radius: 6px;
  border-color: rgba(20,24,25,.28);
  background: var(--sg-button-bg);
  color: var(--sg-button-label);
}

.sg-signup-form .sg-flip-button {
  height: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: 6px;
  background: var(--sg-button-bg);
  color: var(--sg-button-label);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.sg-signup-form .sg-flip-button.sg-flip-dark {
  border-color: rgba(255,255,255,.32);
  background: var(--sg-button-bg);
}

.sg-flip-button::before,
.sg-flip-button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--sg-button-panel);
  pointer-events: none;
  transition: transform .46s ease;
}

.sg-flip-button::before {
  transform: translateY(100%) scaleY(.5);
  transform-origin: center bottom;
}

.sg-flip-button::after {
  transform: translateY(0) scaleY(1);
  transform-origin: center top;
}

.sg-flip-button > .sg-flip-label {
  width: 100%;
  height: 100%;
  min-height: inherit;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  padding-inline: 18px;
  color: var(--sg-button-label);
  line-height: 1;
  white-space: nowrap;
  transition: transform .34s cubic-bezier(.22, 1, .36, 1);
}

.sg-flip-button > .sg-flip-label[aria-hidden="true"] {
  position: absolute;
  inset: 100% 0 auto;
}

.sg-flip-button:hover {
  transform: translateY(-1px);
  border-color: rgba(20,24,25,.48);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.94), 0 16px 34px rgba(15,22,24,.1);
}

.sg-flip-button.sg-flip-dark:hover { border-color: rgba(255,255,255,.58); }
.sg-flip-button:hover::before { transform: translateY(0) scaleY(1); }
.sg-flip-button:hover::after { transform: translateY(-100%) scaleY(.5); }
.sg-flip-button:hover > .sg-flip-label { transform: translateY(-100%); }
.sg-flip-button:focus-visible { outline: 2px solid #2d8eb4; outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .sg-flip-button,
  .sg-flip-button::before,
  .sg-flip-button::after,
  .sg-flip-button > .sg-flip-label { transition: none; }
}

/* Seamless product canvases, clearer commerce type, and responsive navigation. */
.pdp-image-frame,
.related-card-image,
.cart-item img {
  background: #f1f1f1;
}

.pdp-image-frame { aspect-ratio: 4 / 5; }
.pdp-image-frame::before { display: none; }

.pdp-image-frame img {
  inset: 0;
  width: 100%;
  height: 100%;
}

.related-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.related-card-image {
  height: auto;
  aspect-ratio: 4 / 5;
}

.pricing-table th {
  color: #454a4c;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.pricing-table td { font-variant-numeric: tabular-nums; }

.purchase-row .primary-button,
.purchase-row .primary-button .sg-flip-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.trust-value { display: none; }

/* Final SomaGenix wordmark lockup: bold core, light graphite suffix. */
.sg-wordmark {
  gap: 0;
  color: #151719;
  font-family: var(--sans);
  font-weight: 700;
}

.sg-wordmark span,
.sg-footer .sg-wordmark span {
  color: #666a6c;
  font-weight: 300;
}

/* Elevated PDP metadata chips. */
.pdp-meta { gap: 8px; }

.pdp-meta .format-badge,
.pdp-meta .status-badge {
  min-height: 30px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}

.pdp-meta .format-badge {
  gap: 7px;
  padding: 0 12px 0 10px;
  border: 1px solid rgba(255,255,255,.22);
  background: linear-gradient(180deg, rgba(39,43,44,.96), rgba(18,21,22,.98));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 9px 20px rgba(10,14,15,.14);
}

.pdp-meta .format-badge::before {
  content: "";
  width: 2px;
  height: 13px;
  border-radius: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(159,173,177,.46));
  box-shadow: 0 0 8px rgba(255,255,255,.22);
}

.pdp-meta .status-badge {
  min-height: 30px;
  padding: 4px 11px 4px 5px;
  gap: 7px;
  border-color: rgba(32,119,70,.22);
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(222,241,230,.84));
  box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 9px 20px rgba(31,108,64,.11);
}

.sg-nav a,
.sg-header-button {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.mobile-menu-toggle {
  width: 38px;
  height: 38px;
  display: none;
  place-content: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #151719;
}

.mobile-menu-toggle span {
  width: 18px;
  height: 1px;
  display: block;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.mobile-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu-panel { display: none; }

@media (max-width: 860px) {
  .sg-header-inner > .mobile-menu-toggle {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    display: grid;
  }

  .sg-nav { display: none; }

  .mobile-menu-panel:not([hidden]) {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 40;
    display: grid;
    padding: 10px 14px 16px;
    border-bottom: 1px solid rgba(20,20,20,.16);
    background: rgba(247,248,246,.96);
    box-shadow: 0 20px 42px rgba(15,20,22,.12);
    -webkit-backdrop-filter: blur(22px) saturate(1.15);
    backdrop-filter: blur(22px) saturate(1.15);
  }

  .mobile-menu-panel a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(20,20,20,.1);
    color: #1d2021;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
  }

  .mobile-menu-panel a::after { content: "→"; font-weight: 400; }
  .mobile-menu-panel a:last-child { border-bottom: 0; }
}

@media (max-width: 620px) {
  .purchase-row .primary-button,
  .purchase-row .primary-button .sg-flip-label { font-size: 10.5px; }

  .trust-features {
    display: block;
    margin-top: 26px;
    padding: 4px 18px;
    overflow: hidden;
    border: 1px solid rgba(20,24,25,.14);
    border-radius: 8px;
    background: linear-gradient(160deg, rgba(255,255,255,.82), rgba(237,240,239,.62));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.96), 0 18px 42px rgba(20,24,25,.07);
    -webkit-backdrop-filter: blur(20px) saturate(1.25);
    backdrop-filter: blur(20px) saturate(1.25);
  }

  .trust-feature {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(20,24,25,.11);
    background: transparent;
  }

  .trust-feature:last-child { border-bottom: 0; }
  .trust-feature strong { min-width: 0; font-size: 12.5px; line-height: 17px; }
  .trust-feature strong::before { flex: 0 0 19px; }
  .trust-feature p { display: none; }

  .trust-value {
    display: block;
    color: #5f6567;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
  }
}
