:root {
  --ink: #101418;
  --muted: #5f6874;
  --line: #dfe5ec;
  --soft: #f5f7fb;
  --band: #eef2f6;
  --paper: #ffffff;
  --blue: #1268ff;
  --blue-dark: #0848bd;
  --red: #df182c;
  --green: #0b755a;
  --shadow: 0 14px 34px rgba(16, 20, 24, 0.08);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.drawer-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 22px;
  min-height: 76px;
  /* Full-bleed bar, but keep the brand/nav aligned to the same centered
     1440px content column the rest of the page uses. */
  padding-block: 12px;
  padding-inline: max(clamp(18px, 4vw, 56px), calc((100% - 1440px) / 2 + clamp(18px, 4vw, 56px)));
  border-bottom: 1px solid rgba(16, 20, 24, 0.1);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-emblem {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--ink);
  border-left-color: var(--blue);
  border-bottom-color: var(--blue);
  border-radius: 14px;
  color: var(--ink);
  background: var(--paper);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1;
}

.brand-text {
  display: flex;
  flex-wrap: wrap;
  column-gap: 5px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.brand-text span {
  color: var(--blue);
}

.brand-text strong {
  color: var(--ink);
  font-family: inherit;
  font-weight: inherit;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(16, 20, 24, 0.08);
  border-radius: 999px;
  background: var(--paper);
}

.main-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--ink);
  background: var(--soft);
}

.icon-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(16, 20, 24, 0.12);
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper);
}

.icon-button:hover,
.icon-button:focus-visible {
  border-color: rgba(18, 104, 255, 0.4);
  color: var(--blue);
}

.icon-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -4px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid var(--paper);
  border-radius: 999px;
  color: var(--paper);
  background: var(--red);
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1;
}

main {
  overflow: hidden;
}

.hero-shell,
.trust-strip,
.page-shell,
.site-footer,
.catalog-shell,
.standards-section,
.contact-section {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding-inline: clamp(18px, 4vw, 56px);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: clamp(18px, 5vw, 70px);
  align-items: center;
  min-height: min(780px, calc(100dvh - 76px));
  padding-top: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(26px, 4vw, 62px);
  background: var(--band);
  box-shadow: 0 0 0 100vmax var(--band);
  clip-path: inset(0 -100vmax);
}

.hero-copy {
  display: grid;
  gap: 18px;
}

.hero-copy h1,
.page-hero h1,
.contact-copy h1 {
  max-width: 980px;
  margin-bottom: 0;
  font-size: clamp(2.15rem, 5.2vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-product {
  display: grid;
  place-items: center;
  min-height: 430px;
  border: 1px solid rgba(16, 20, 24, 0.1);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-product:hover img,
.hero-product:focus-visible img {
  transform: translateY(-5px) scale(1.015);
}

.hero-product:focus-visible {
  outline: 3px solid rgba(18, 104, 255, 0.32);
  outline-offset: 4px;
}

.hero-product img {
  width: min(100%, 520px);
  max-height: 620px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 180ms ease;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 18px;
  padding-bottom: clamp(28px, 5vw, 64px);
  background: var(--paper);
  box-shadow: 0 0 0 100vmax var(--paper);
  clip-path: inset(0 -100vmax);
}

.trust-card {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 128px;
  padding: 18px;
  border: 1px solid rgba(16, 20, 24, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 28px rgba(16, 20, 24, 0.06);
  overflow: hidden;
}

.trust-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--blue);
}

.trust-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--blue);
  background: rgba(18, 104, 255, 0.09);
}

.trust-card:nth-child(2)::before {
  background: var(--ink);
}

.trust-card:nth-child(2) .trust-icon {
  color: var(--ink);
  background: rgba(16, 20, 24, 0.07);
}

.trust-card:nth-child(3)::before {
  background: var(--green);
}

.trust-card:nth-child(3) .trust-icon {
  color: var(--green);
  background: rgba(11, 117, 90, 0.09);
}

.trust-card:nth-child(4)::before {
  background: var(--blue-dark);
}

.trust-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.trust-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.trust-copy strong {
  font-size: 1.02rem;
  line-height: 1.05;
}

.trust-copy span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.support-grid div {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid rgba(16, 20, 24, 0.1);
  background: var(--paper);
}

.support-grid strong {
  line-height: 1.1;
}

.support-grid span {
  color: var(--muted);
  font-size: 0.9rem;
}

.page-shell {
  padding-top: clamp(34px, 5vw, 78px);
  padding-bottom: clamp(54px, 8vw, 110px);
}

.page-hero {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(24px, 5vw, 56px);
}

.page-hero.narrow {
  max-width: 860px;
}

.page-hero p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.page-hero.split {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  align-items: center;
  gap: clamp(18px, 5vw, 70px);
}

.page-hero.split img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.catalog-shell {
  padding-top: clamp(22px, 3vw, 42px);
  padding-bottom: clamp(36px, 6vw, 86px);
  background: var(--paper);
  box-shadow: 0 0 0 100vmax var(--paper);
  clip-path: inset(0 -100vmax);
}

.catalog-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
  align-items: center;
  gap: 22px;
  margin-bottom: 18px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 0.77rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 560;
}

h1 {
  max-width: 850px;
  margin-bottom: 0;
  font-size: clamp(2.05rem, 4.4vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.catalog-intro h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.intro-copy {
  max-width: 560px;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.catalog-tools {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.search-field {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(16, 20, 24, 0.12);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(16, 20, 24, 0.05);
}

.search-field svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.search-field:focus-within {
  border-color: rgba(18, 104, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(18, 104, 255, 0.12);
}

.segmented-control {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(16, 20, 24, 0.12);
  border-radius: var(--radius);
  background: var(--paper);
}

.filter-button {
  min-width: 78px;
  height: 42px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-size: 0.92rem;
  font-weight: 650;
}

.filter-button:hover,
.filter-button:focus-visible {
  color: var(--ink);
  background: var(--soft);
}

.filter-button.is-active {
  color: var(--paper);
  background: var(--ink);
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(245px, 330px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.catalog-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
  min-height: 520px;
  padding: 18px;
  border: 1px solid rgba(16, 20, 24, 0.1);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.panel-product {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  align-self: center;
  mix-blend-mode: multiply;
  transition: transform 160ms ease;
}

.panel-product-link {
  display: grid;
  color: inherit;
  text-decoration: none;
  border-radius: var(--radius);
  outline: 0;
}

.panel-product-link:hover .panel-product,
.panel-product-link:focus-visible .panel-product {
  transform: translateY(-2px);
}

.panel-label {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
  text-transform: uppercase;
}

.panel-stat {
  margin-bottom: 0;
  font-size: clamp(3.8rem, 8vw, 5.8rem);
  font-weight: 600;
  line-height: 0.82;
}

.panel-stat.sale-name {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(2.25rem, 4vw, 3.6rem);
  line-height: 0.95;
}

.panel-stat-link {
  color: inherit;
  text-decoration: none;
  outline: 0;
}

.panel-stat-link:hover,
.panel-stat-link:focus-visible {
  color: var(--blue);
}

.panel-copy {
  margin-bottom: 0;
  color: var(--muted);
}

.panel-copy strong {
  color: var(--ink);
}

.panel-save {
  color: var(--green);
  font-weight: 650;
}

.panel-link {
  justify-self: start;
  margin-top: 14px;
}

.compliance-note {
  display: grid;
  gap: 3px;
  align-self: end;
  padding-top: 16px;
  border-top: 1px solid rgba(16, 20, 24, 0.14);
}

.compliance-note strong {
  color: var(--green);
}

.compliance-note span {
  color: var(--muted);
  font-size: 0.9rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  min-height: 100%;
  border: 1px solid rgba(16, 20, 24, 0.1);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(16, 20, 24, 0.05);
  overflow: hidden;
}

.product-image-button {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: clamp(10px, 2vw, 20px);
  border: 0;
  border-bottom: 1px solid rgba(16, 20, 24, 0.08);
  background: var(--paper);
}

.product-image-button:hover img,
.product-image-button:focus-visible img {
  transform: translateY(-4px) scale(1.02);
}

.product-image-button img {
  width: min(100%, 260px);
  height: min(100%, 260px);
  object-fit: contain;
  transition: transform 180ms ease;
  mix-blend-mode: multiply;
}

.product-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.product-type,
.product-format {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.1;
  text-transform: uppercase;
}

.product-type {
  color: var(--paper);
  background: var(--blue);
}

.product-card[data-category="blend"] .product-type {
  background: var(--ink);
}

.product-card[data-category="cognitive"] .product-type {
  background: var(--green);
}

.product-card[data-category="supply"] .product-type {
  background: var(--red);
}

.product-format {
  color: var(--muted);
  background: var(--soft);
}

.product-name {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1;
  letter-spacing: 0;
}

.product-composition {
  min-height: 48px;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.amount-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
  text-transform: uppercase;
}

.amount-field select {
  width: 100%;
  min-height: 42px;
  padding: 0 38px 0 12px;
  border: 1px solid rgba(16, 20, 24, 0.14);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fbfcfe;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 650;
  text-transform: none;
  outline: 0;
}

.amount-field select:focus {
  border-color: rgba(18, 104, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(18, 104, 255, 0.12);
}

.amount-field small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
  text-transform: none;
}

.packaging-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.packaging-field > span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
  text-transform: uppercase;
}

.amount-static {
  padding: 10px 12px;
  border: 1px solid rgba(16, 20, 24, 0.1);
  border-radius: var(--radius);
  background: #fbfcfe;
}

.amount-static strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.1;
  text-transform: none;
}

.price-tiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.price-tier {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(16, 20, 24, 0.1);
  border-radius: var(--radius);
  background: #fbfcfe;
  color: inherit;
  font: inherit;
  text-align: left;
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.price-tier:hover,
.price-tier:focus-visible {
  border-color: rgba(18, 104, 255, 0.32);
  background: rgba(18, 104, 255, 0.04);
  outline: 0;
}

.price-tiers .is-active {
  border-color: rgba(18, 104, 255, 0.42);
  background: rgba(18, 104, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(18, 104, 255, 0.08);
}

.price-tiers span,
.price-tiers small {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.1;
}

.price-tiers strong {
  font-size: 0.95rem;
  line-height: 1.1;
}

/* Struck-through regular price shown beside a sale price. */
.price-was {
  margin-left: 4px;
  color: var(--muted);
  font-size: 0.82em;
  font-weight: 500;
  text-decoration: line-through;
  white-space: nowrap;
}

.product-sale {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--red);
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.1;
  text-transform: uppercase;
}

.price-tiers .is-active span {
  color: var(--blue);
}

.stock-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid rgba(16, 20, 24, 0.1);
  border-radius: 999px;
  color: var(--muted);
  background: #fbfcfe;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.1;
}

.stock-in {
  border-color: rgba(34, 139, 94, 0.45);
  color: #0f5c38;
  background: rgba(34, 139, 94, 0.18);
}

.stock-low {
  border-color: rgba(222, 140, 35, 0.24);
  color: #8c5415;
  background: rgba(222, 140, 35, 0.1);
}

.stock-out {
  border-color: rgba(205, 67, 67, 0.24);
  color: #9a2f2f;
  background: rgba(205, 67, 67, 0.08);
}

.card-purchase {
  display: grid;
  gap: 10px;
  align-self: end;
}

.product-actions {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 10px;
  align-self: end;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.1;
}

.primary-button {
  border: 1px solid var(--blue);
  color: var(--paper);
  background: var(--blue);
}

.primary-button:hover,
.primary-button:focus-visible {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
}

.primary-button:disabled,
.secondary-button:disabled,
button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.primary-button.is-loading {
  cursor: progress;
  opacity: 0.85;
}

.primary-button.is-loading::before {
  content: "";
  width: 15px;
  height: 15px;
  margin-right: 8px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: var(--paper);
  border-radius: 50%;
  animation: button-spin 0.7s linear infinite;
}

@keyframes button-spin {
  to {
    transform: rotate(360deg);
  }
}

.secondary-button {
  border: 1px solid rgba(16, 20, 24, 0.12);
  color: var(--ink);
  background: var(--paper);
}

.secondary-button:hover,
.secondary-button:focus-visible {
  border-color: rgba(16, 20, 24, 0.35);
  background: var(--soft);
}

.add-button.is-selected,
.dialog-add.is-selected {
  border-color: var(--green);
  background: var(--green);
}

.empty-state {
  padding: 32px;
  border: 1px dashed rgba(16, 20, 24, 0.2);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--paper);
  text-align: center;
}

.standards-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(20px, 5vw, 70px);
  padding-top: clamp(42px, 7vw, 96px);
  padding-bottom: clamp(42px, 7vw, 96px);
  border-top: 1px solid rgba(16, 20, 24, 0.1);
}

.section-heading h2,
.contact-copy h2 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 4vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.standards-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 245px;
  padding: 18px;
  border-top: 4px solid var(--ink);
  background: var(--soft);
}

.standards-grid article:nth-child(2) {
  border-top-color: var(--blue);
}

.standards-grid article:nth-child(3) {
  border-top-color: var(--red);
}

.standard-index {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.standards-grid h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.1;
}

.standards-grid p {
  margin: 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 74px);
  align-items: start;
  padding-top: clamp(42px, 7vw, 96px);
  padding-bottom: clamp(54px, 8vw, 120px);
  border-top: 1px solid rgba(16, 20, 24, 0.1);
}

.contact-copy p:last-child {
  max-width: 560px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.04rem;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(16, 20, 24, 0.1);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  text-transform: uppercase;
}

.contact-form .full-field {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(16, 20, 24, 0.14);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fbfcfe;
  font-size: 1rem;
  font-weight: 500;
  text-transform: none;
  outline: 0;
}

.contact-form input {
  height: 46px;
  padding: 0 12px;
}

.contact-form textarea {
  min-height: 132px;
  padding: 12px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(18, 104, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(18, 104, 255, 0.12);
}

.contact-form .primary-button {
  grid-column: 1 / -1;
  justify-self: start;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(16, 20, 24, 0.1);
  border-radius: var(--radius);
  color: var(--muted);
  background: #fbfcfe;
  font-size: 0.92rem;
}

.form-status:empty {
  display: none;
}

.form-status.is-success {
  border-color: rgba(34, 139, 94, 0.22);
  color: #176b45;
  background: rgba(34, 139, 94, 0.08);
}

.form-status.is-error {
  border-color: rgba(205, 67, 67, 0.24);
  color: #9a2f2f;
  background: rgba(205, 67, 67, 0.08);
}

.checkout-status {
  margin-top: 10px;
}

.etransfer-instructions {
  display: grid;
  gap: 6px;
}

.etransfer-instructions strong,
.etransfer-instructions span,
.etransfer-instructions small {
  display: block;
}

.etransfer-instructions small {
  color: var(--muted);
  line-height: 1.4;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 16px;
  width: min(420px, 100vw);
  height: 100dvh;
  padding: 22px;
  border-left: 1px solid rgba(16, 20, 24, 0.1);
  background: var(--paper);
  box-shadow: -26px 0 60px rgba(16, 20, 24, 0.18);
  transform: translateX(105%);
  transition: transform 220ms ease;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.drawer-header h2 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1;
}

.drawer-items {
  display: grid;
  align-content: start;
  gap: 10px;
  overflow: auto;
}

.drawer-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(16, 20, 24, 0.1);
  border-radius: var(--radius);
  background: var(--soft);
}

.drawer-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.drawer-item strong {
  display: block;
  line-height: 1.1;
}

.drawer-item-main {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.drawer-item span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.drawer-recommendation {
  display: grid;
  gap: 6px;
  margin-top: 4px;
  padding: 8px;
  border: 1px solid rgba(18, 104, 255, 0.18);
  border-radius: var(--radius);
  background: #f2f7ff;
}

.drawer-recommendation span {
  color: #0b4ab8;
}

.drawer-recommendation button {
  width: max-content;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(18, 104, 255, 0.28);
  border-radius: var(--radius);
  color: var(--blue);
  background: var(--paper);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
}

.drawer-qty {
  max-width: 156px;
  margin-top: 6px;
  font-size: 0.68rem;
}

.drawer-qty .quantity-stepper {
  grid-template-columns: 34px minmax(46px, 1fr) 34px;
  min-height: 38px;
}

.drawer-qty .quantity-stepper button {
  width: 34px;
}

.drawer-qty .quantity-stepper input,
.drawer-qty .quantity-stepper input:focus {
  height: 36px;
  font-size: 0.9rem;
}

.drawer-remove {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: transparent;
  font-size: 1.1rem;
  font-weight: 600;
}

.drawer-remove:hover,
.drawer-remove:focus-visible {
  color: var(--red);
  background: rgba(223, 24, 44, 0.08);
}

.drawer-empty {
  color: var(--muted);
  text-align: center;
}

.drawer-subtotal {
  display: grid;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid rgba(16, 20, 24, 0.1);
  color: var(--muted);
}

.drawer-summary-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.drawer-summary-total {
  color: var(--ink);
}

.drawer-fee-note {
  margin: 0;
  color: #0b4ab8;
  font-size: 0.82rem;
}

.drawer-subtotal strong {
  color: var(--ink);
}

.drawer-contact {
  width: 100%;
}

.drawer-cart {
  width: 100%;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(16, 20, 24, 0.38);
}

.product-dialog {
  width: min(980px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 76px);
  align-items: center;
}

.product-media {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gallery-main {
  display: grid;
  place-items: center;
  min-height: min(620px, 72dvh);
  border: 1px solid rgba(16, 20, 24, 0.1);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.gallery-main img {
  width: min(100%, 520px);
  height: min(70dvh, 620px);
  object-fit: contain;
  mix-blend-mode: multiply;
}

.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-thumb {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  padding: 6px;
  border: 1px solid rgba(16, 20, 24, 0.14);
  border-radius: 12px;
  background: var(--paper);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.gallery-thumb:hover {
  border-color: rgba(16, 20, 24, 0.3);
}

.gallery-thumb.is-active {
  border-color: rgba(34, 139, 94, 0.55);
  box-shadow: 0 0 0 1px rgba(34, 139, 94, 0.45);
}

/* Product-detail pages need a non-scroll-container ancestor so the sticky
   image can position relative to the viewport. overflow:clip still clips
   horizontal bleed but, unlike overflow:hidden, does not break sticky. */
main[data-product-detail] {
  overflow: clip;
}

@media (min-width: 901px) {
  .product-detail {
    align-items: start;
  }

  .product-media {
    position: sticky;
    /* Center via top offset (roughly half the gallery height: ~620px image +
       thumbnail strip) rather than a transform, so the sticky bottom-constraint
       pins the gallery's bottom to the end of the info column (the Use row). */
    top: max(16px, calc(50dvh - 360px));
    align-self: start;
  }
}

.product-info {
  display: grid;
  gap: 18px;
}

.product-info h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.96;
}

.product-info p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.detail-composition {
  color: var(--ink) !important;
  font-size: clamp(1.2rem, 2vw, 1.65rem) !important;
  font-weight: 650;
}

.product-price-block {
  display: grid;
  gap: 8px;
}

.product-amount-block {
  max-width: 340px;
}

.product-price-block .price-tiers {
  gap: 10px;
}

.product-price-block .price-tier {
  padding: 12px;
}

.product-price-block .price-tiers span,
.product-price-block .price-tiers small {
  font-size: 0.78rem;
}

.product-price-block .price-tiers strong {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.product-details-block {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(16, 20, 24, 0.1);
  border-radius: var(--radius);
  background: #fbfcfe;
}

.details-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 240px);
  gap: 18px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(16, 20, 24, 0.08);
}

.product-details-block h2 {
  margin: 4px 0 0;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1;
  font-weight: 650;
}

.product-details-block h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.1;
  font-weight: 650;
}

.product-details-block p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.product-details-block p a {
  color: var(--blue);
  font-weight: 650;
}

.product-details-block p a:hover,
.product-details-block p a:focus-visible {
  text-decoration: underline;
}

.product-details-block.simple-details {
  gap: 14px;
  padding: 16px;
  background: var(--paper);
}

.simple-details h2 {
  margin-top: 4px;
}

.simple-detail-list {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid rgba(16, 20, 24, 0.08);
}

.simple-detail-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(16, 20, 24, 0.08);
}

.simple-detail-list dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.1;
  text-transform: uppercase;
}

.simple-detail-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.35;
}

.details-badges {
  display: grid;
  gap: 8px;
}

.details-badges span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid rgba(16, 20, 24, 0.08);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 650;
}

.peptide-info-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 12px;
}

.details-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(16, 20, 24, 0.08);
  border-radius: var(--radius);
  background: var(--paper);
}

.product-spec-list {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid rgba(16, 20, 24, 0.08);
}

.product-spec-list div {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(16, 20, 24, 0.08);
}

.product-spec-list dt,
.handling-list span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.1;
  text-transform: uppercase;
}

.product-spec-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
}

.handling-list {
  display: grid;
  gap: 10px;
}

.handling-list div {
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px solid rgba(16, 20, 24, 0.08);
  border-radius: var(--radius);
  background: #fbfcfe;
}

.product-detail-accordions {
  display: grid;
  gap: 8px;
}

.product-detail-accordions details {
  border: 1px solid rgba(16, 20, 24, 0.08);
  border-radius: var(--radius);
  background: var(--paper);
}

.product-detail-accordions summary {
  cursor: pointer;
  padding: 12px 14px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 650;
  list-style-position: inside;
}

.product-detail-accordions p {
  padding: 0 14px 14px;
}

.guideline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.guideline-grid article {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(16, 20, 24, 0.1);
  border-radius: var(--radius);
  background: #fbfcfe;
}

.guideline-grid h2 {
  margin: 0;
  font-size: 1.05rem;
}

.guideline-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.lab-results-section {
  padding-top: clamp(42px, 7vw, 86px);
}

.lab-heading {
  max-width: 760px;
}

.lab-heading p:last-child {
  margin-top: 8px;
  color: var(--muted);
}

.lab-result-grid,
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.lab-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(16, 20, 24, 0.1);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(16, 20, 24, 0.05);
}

.lab-card h3 {
  margin: 10px 0 4px;
  font-size: 1.45rem;
  line-height: 1.05;
}

.lab-card p {
  margin: 0;
  color: var(--muted);
}

.lab-details {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid rgba(16, 20, 24, 0.08);
  border-bottom: 1px solid rgba(16, 20, 24, 0.08);
}

.lab-details div {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 12px;
}

.lab-details dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  text-transform: uppercase;
}

.lab-details dd {
  margin: 0;
  color: var(--ink);
}

.method-list {
  display: grid;
  gap: 6px;
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.result-actions .primary-button,
.result-actions .secondary-button {
  min-width: 132px;
}

.results-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}

.results-toolbar p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.buy-box {
  display: grid;
  grid-template-columns: 140px minmax(180px, 240px);
  gap: 10px;
  align-items: end;
}

.qty-field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  text-transform: uppercase;
}

.quantity-stepper {
  display: grid;
  grid-template-columns: 38px minmax(54px, 1fr) 38px;
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(16, 20, 24, 0.14);
  border-radius: var(--radius);
  background: #fbfcfe;
  overflow: hidden;
}

.quantity-stepper button {
  display: grid;
  place-items: center;
  width: 38px;
  border: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 1.08rem;
  font-weight: 600;
}

.quantity-stepper button:hover,
.quantity-stepper button:focus-visible {
  color: var(--blue);
  background: rgba(18, 104, 255, 0.08);
}

.quantity-stepper input {
  min-width: 0;
  height: 42px;
  border: 0;
  border-inline: 1px solid rgba(16, 20, 24, 0.1);
  border-radius: 0;
  text-align: center;
  background: #fbfcfe;
}

.card-qty .quantity-stepper {
  max-width: 180px;
}

.qty-field input {
  width: 100%;
  height: 44px;
  padding: 0 10px;
  border: 1px solid rgba(16, 20, 24, 0.14);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fbfcfe;
  font-size: 1rem;
  font-weight: 650;
  outline: 0;
}

.qty-field input:focus {
  border-color: rgba(18, 104, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(18, 104, 255, 0.12);
}

.qty-field .quantity-stepper input,
.qty-field .quantity-stepper input:focus {
  height: 42px;
  padding: 0 6px;
  border: 0;
  border-inline: 1px solid rgba(16, 20, 24, 0.1);
  border-radius: 0;
  box-shadow: none;
  text-align: center;
}

.qty-field .quantity-stepper:focus-within {
  border-color: rgba(18, 104, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(18, 104, 255, 0.12);
}

.similar-section {
  padding-top: clamp(42px, 7vw, 92px);
}

.similar-grid {
  margin-top: 18px;
}

.compact-card .product-image-button {
  aspect-ratio: 4 / 3;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 18px;
  align-items: start;
}

.cart-main {
  display: grid;
  gap: 18px;
}

.cart-rows {
  display: grid;
  gap: 12px;
}

.cart-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) 142px auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(16, 20, 24, 0.1);
  border-radius: var(--radius);
  background: var(--paper);
}

.cart-row img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.cart-row h2 {
  margin-bottom: 4px;
  font-size: 1.35rem;
  line-height: 1.05;
}

.cart-row p {
  margin: 0;
  color: var(--muted);
}

.cart-row .amount-field {
  max-width: 300px;
  margin-top: 10px;
}

.cart-row small {
  display: block;
  margin-top: 4px;
  color: var(--green);
  font-size: 0.86rem;
}

.cart-row .price-tiers {
  max-width: 440px;
  margin-top: 10px;
}

.cart-line-subtotal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  max-width: 440px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(16, 20, 24, 0.08);
  color: var(--muted);
}

.cart-line-subtotal strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1;
}

.cart-recommendation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 440px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(18, 104, 255, 0.18);
  border-radius: var(--radius);
  color: #0b4ab8;
  background: #f2f7ff;
  font-size: 0.9rem;
}

.cart-recommendation .secondary-button {
  min-height: 36px;
  padding: 0 12px;
  white-space: nowrap;
}

.cart-row .qty-field {
  width: 142px;
}

.cart-summary {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(16, 20, 24, 0.1);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.summary-total-panel {
  display: grid;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(16, 20, 24, 0.08);
}

.summary-total-panel span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
}

.summary-total-panel strong {
  font-size: 2.45rem;
  line-height: 1;
}

.cart-summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.cart-summary-line strong {
  color: var(--ink);
  font-size: 1rem;
}

.shipping-notice {
  margin: 0;
  padding: 9px 10px;
  border-radius: var(--radius);
  color: #0b4ab8;
  background: #f8fbff;
  font-size: 0.88rem;
}

.cart-summary p {
  color: var(--muted);
}

.cart-summary .shipping-notice {
  color: #0b4ab8;
}

.cart-summary-note {
  margin: 0;
  font-size: 0.9rem;
}

.checkout-panel {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(16, 20, 24, 0.1);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.checkout-panel .section-heading {
  max-width: 720px;
}

.checkout-panel .section-heading h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.checkout-panel .section-heading p:last-child {
  color: var(--muted);
}

.checkout-form {
  display: grid;
  gap: 18px;
}

.checkout-form fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: clamp(16px, 2.5vw, 22px);
  border: 1px solid rgba(16, 20, 24, 0.1);
  border-radius: var(--radius);
  background: #fbfcfe;
}

.checkout-form legend {
  padding: 0 4px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
}

.checkout-form .wide-field {
  grid-column: 1 / -1;
}

.checkout-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 650;
  line-height: 1.2;
  text-transform: uppercase;
}

.checkout-form input {
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid rgba(16, 20, 24, 0.14);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  font-size: 0.94rem;
  font-weight: 500;
  text-transform: none;
  outline: 0;
}

.checkout-form input:focus {
  border-color: rgba(18, 104, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(18, 104, 255, 0.12);
}

.checkout-form .checkbox-field {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-transform: none;
}

.checkout-form .checkbox-field input {
  width: 16px;
  min-height: 16px;
  accent-color: var(--blue);
}

.billing-fields {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.billing-fields[hidden] {
  display: none;
}

.checkout-form .field-label {
  display: inline;
}

.req {
  color: #c0392b;
  font-weight: 700;
}

.optional-tag {
  color: var(--muted);
  font-weight: 500;
  text-transform: none;
}

.required-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.autocomplete-wrap {
  position: relative;
}

.address-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 30;
  margin: 0;
  padding: 4px;
  list-style: none;
  max-height: 264px;
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid rgba(16, 20, 24, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(16, 20, 24, 0.14);
}

.address-suggestion {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  text-transform: none;
}

.address-suggestion strong {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.address-suggestion span {
  color: var(--muted);
  font-size: 0.8rem;
}

.address-suggestion.is-active,
.address-suggestion:hover {
  background: rgba(18, 104, 255, 0.09);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.contact-section.standalone {
  padding: 0;
  border-top: 0;
}

.faq-list,
.policy-card {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.faq-list details,
.policy-card {
  border: 1px solid rgba(16, 20, 24, 0.1);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(16, 20, 24, 0.05);
}

.faq-list details {
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px;
  font-size: 1.08rem;
  font-weight: 650;
}

.faq-list p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.policy-card {
  padding: clamp(18px, 3vw, 30px);
}

.policy-card h2 {
  margin: 10px 0 0;
  font-size: 1.3rem;
}

.policy-card h2:first-child {
  margin-top: 0;
}

.policy-card p {
  margin: 0;
  color: var(--muted);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.blog-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 260px;
  padding: 18px;
  border: 1px solid rgba(16, 20, 24, 0.1);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(16, 20, 24, 0.05);
}

.blog-grid span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-grid h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.1;
}

.blog-grid p {
  color: var(--muted);
}

.blog-grid a {
  align-self: end;
  color: var(--blue);
  font-weight: 650;
}

.page-product-grid {
  margin-top: 18px;
}

.auth-panel {
  display: grid;
  gap: 18px;
  width: min(100%, 560px);
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(16, 20, 24, 0.1);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.auth-note,
.auth-setup {
  margin: 0;
  color: var(--muted);
}

.auth-setup {
  padding: 12px;
  border-radius: var(--radius);
  background: #fff7e8;
  color: #7a4b00;
}

.account-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.account-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.account-card h2 {
  margin: 0;
}

.page-grid {
  width: auto;
  margin: 0;
  padding: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(16, 20, 24, 0.1);
}

.site-footer div,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
}

.site-footer span,
.site-footer a {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--blue);
}

.contact-shortcut-link {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(16, 20, 24, 0.12);
  border-radius: 999px;
  color: var(--paper);
  background: var(--ink);
  font-size: 0.9rem;
  font-weight: 650;
  box-shadow: 0 12px 28px rgba(16, 20, 24, 0.14);
}

.contact-shortcut-link:hover,
.contact-shortcut-link:focus-visible {
  background: var(--blue);
}

.product-dialog::backdrop {
  background: rgba(16, 20, 24, 0.48);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.dialog-content {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 44px);
  padding: clamp(18px, 4vw, 42px);
}

.dialog-content img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.dialog-copy {
  display: grid;
  align-content: center;
  gap: 18px;
}

.dialog-copy h2 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.dialog-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.detail-list {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid rgba(16, 20, 24, 0.1);
  border-bottom: 1px solid rgba(16, 20, 24, 0.1);
}

.detail-list div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(16, 20, 24, 0.08);
}

.detail-list div:last-child {
  border-bottom: 0;
}

.detail-list dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  text-transform: uppercase;
}

.detail-list dd {
  margin: 0;
  color: var(--ink);
}

@media (max-width: 1180px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .standards-grid {
    grid-template-columns: 1fr;
  }

  .lab-result-grid,
  .results-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .standards-grid article {
    min-height: 0;
  }

  .details-header,
  .peptide-info-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 14px;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    overflow-x: auto;
    border-radius: var(--radius);
  }

  .catalog-intro,
  .catalog-tools,
  .catalog-layout,
  .standards-section,
  .contact-section,
  .hero-shell,
  .page-hero.split,
  .product-detail,
  .cart-layout,
  .dialog-content {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    min-height: 0;
  }

  .hero-product,
  .gallery-main {
    min-height: 360px;
  }

  .catalog-panel {
    position: relative;
    top: auto;
    grid-template-columns: minmax(120px, 0.6fr) minmax(0, 1fr);
    min-height: 0;
    align-items: center;
  }

  .panel-product {
    aspect-ratio: 1 / 1;
  }

  .compliance-note {
    grid-column: 1 / -1;
  }

  .catalog-tools {
    align-items: stretch;
  }

  .segmented-control {
    width: 100%;
  }

  .filter-button {
    flex: 1;
  }

  .results-toolbar {
    align-items: stretch;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: relative;
    top: auto;
  }

  .checkout-form fieldset,
  .billing-fields {
    grid-template-columns: 1fr;
  }

  .cart-row {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .cart-row .qty-field,
  .cart-row .secondary-button {
    grid-column: 2;
    justify-self: start;
  }

  .cart-row img {
    width: 86px;
    height: 86px;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 68px;
    padding-inline: 14px;
  }

  .brand-emblem {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 0.92rem;
  }

  .brand-text {
    font-size: 1.04rem;
  }

  h1,
  .hero-copy h1,
  .page-hero h1,
  .contact-copy h1,
  .product-info h1 {
    font-size: clamp(2.32rem, 14vw, 4.3rem);
  }

  .hero-product,
  .gallery-main {
    min-height: 280px;
  }

  .trust-strip,
  .support-grid,
  .guideline-grid,
  .details-header,
  .peptide-info-layout,
  .buy-box {
    grid-template-columns: 1fr;
  }

  .simple-detail-list div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .price-tiers {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }

  .catalog-panel {
    grid-template-columns: 1fr;
  }

  .panel-product {
    max-height: 260px;
  }

  .drawer-item {
    grid-template-columns: 56px minmax(0, 1fr) auto;
  }

  .drawer-item img {
    width: 56px;
    height: 56px;
  }

  .product-dialog {
    width: calc(100vw - 18px);
  }

  .dialog-content {
    padding: 58px 16px 18px;
  }

  .detail-list div,
  .product-spec-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .lab-details div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .cart-row {
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: start;
  }

  .cart-row img {
    width: 72px;
    height: 72px;
  }

  .site-footer {
    display: grid;
  }
}

/* Order confirmation page */
.order-page {
  display: block;
}

.order-success {
  max-width: 640px;
  margin: 0 auto 28px;
  text-align: center;
}

.order-success h1 {
  margin: 6px 0 10px;
}

.order-lead {
  color: var(--muted);
}

.order-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.order-etransfer,
.order-summary-card {
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(16, 20, 24, 0.1);
  border-radius: var(--radius);
  background: #fbfcfe;
}

.order-etransfer h2,
.order-summary-card h2 {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.etransfer-details {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
}

.etransfer-details div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(16, 20, 24, 0.08);
}

.etransfer-details dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.etransfer-details dd {
  margin: 0;
  color: var(--ink);
  font-weight: 650;
  text-align: right;
  word-break: break-word;
}

.order-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.order-note.is-warn {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: #9a2f2f;
  background: rgba(205, 67, 67, 0.08);
}

.order-items {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.order-items li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
}

.order-line {
  display: flex;
  justify-content: space-between;
  margin: 6px 0 0;
  color: var(--muted);
}

.order-line-total {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(16, 20, 24, 0.12);
  color: var(--ink);
  font-size: 1.05rem;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}

.order-empty {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.order-empty h1 {
  margin: 6px 0 10px;
}

.order-empty p {
  color: var(--muted);
}

@media (max-width: 760px) {
  .order-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   Blog
   ========================================================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
}

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.blog-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.blog-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--soft);
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 20px;
}

.blog-card-category {
  align-self: flex-start;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-card-title {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.25;
}

.blog-card-title a:hover {
  color: var(--blue);
}

.blog-card-excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.blog-card-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.blog-empty {
  color: var(--muted);
}

/* pagination */
.blog-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: clamp(24px, 4vw, 40px);
}

.blog-pager-num,
.blog-pager-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.blog-pager-num:hover,
.blog-pager-link:hover {
  border-color: var(--ink);
}

.blog-pager-num.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* article layout */
.blog-article-shell {
  display: grid;
  gap: clamp(40px, 6vw, 72px);
}

.blog-article {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.blog-article-header {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.blog-article-header h1 {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1.08;
}

.blog-article-header .eyebrow a:hover {
  color: var(--blue);
}

.blog-article-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.blog-hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  margin-bottom: clamp(20px, 3vw, 32px);
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

/* body typography */
.blog-body {
  font-size: 1.06rem;
  line-height: 1.72;
  color: #23282f;
}

.blog-body h2 {
  margin: 2em 0 0.5em;
  font-size: 1.5rem;
  line-height: 1.2;
}

.blog-body p {
  margin: 0 0 1.15em;
}

.blog-body ul,
.blog-body ol {
  margin: 0 0 1.2em;
  padding-left: 1.3em;
}

.blog-body li {
  margin: 0 0 0.5em;
}

.blog-body a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.blog-body a:hover {
  color: var(--blue-dark);
}

.blog-body strong {
  color: var(--ink);
}

.blog-callout {
  padding: 14px 18px;
  border-left: 3px solid var(--blue);
  border-radius: 6px;
  background: var(--soft);
  color: var(--ink);
  font-weight: 600;
}

.blog-disclaimer {
  margin-top: 2em;
  padding-top: 1em;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

/* external links */
.blog-body a.external-link::after {
  content: "\2197";
  margin-left: 2px;
  color: var(--muted);
  font-size: 0.82em;
}

/* citations + references */
sup.cite {
  line-height: 0;
}

sup.cite a {
  padding: 0 1px;
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

sup.cite a:hover {
  text-decoration: underline;
}

:target {
  scroll-margin-top: 90px;
}

.blog-references {
  margin: 0;
  padding-left: 1.4em;
  color: var(--muted);
  font-size: 0.95rem;
}

.blog-references li {
  margin: 0 0 0.6em;
}

.blog-references a {
  color: var(--blue);
  text-decoration: underline;
}

.ref-backref {
  margin-left: 6px;
  color: var(--muted);
  text-decoration: none;
}

.ref-backref:hover {
  color: var(--blue);
}

/* figures + charts */
.blog-figure {
  margin: 1.6em 0;
}

.blog-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.figure-source a {
  color: var(--muted);
  text-decoration: underline;
}

.blog-figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.blog-chart {
  width: 100%;
  aspect-ratio: 640 / 380;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.chart-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.chart-grid {
  stroke: var(--line);
  stroke-width: 1;
}

.chart-axis {
  stroke: #b7c0cc;
  stroke-width: 1.2;
}

.chart-axis-label {
  fill: var(--muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
}

.chart-axis-title {
  fill: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.85rem;
}

.chart-legend li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chart-legend-swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

/* related + tags */
.blog-related {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.blog-related h2 {
  margin: 0 0 18px;
  font-size: 1.3rem;
}

.blog-article-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.blog-tag-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-tag-list a {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.85rem;
}

.blog-tag-list a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}
