/* Apex Bioreagents — design system */
:root {
  --color-bg: #f8fafb;
  --color-surface: #ffffff;
  --color-ink: #0f172a;
  --color-ink-muted: #475569;
  --color-ink-subtle: #64748b;
  --color-primary: #0d4f6c;
  --color-primary-dark: #083549;
  --color-accent: #0ea5a4;
  --color-accent-soft: #ccfbf1;
  --color-border: #e2e8f0;
  --color-hero-overlay: rgba(8, 53, 73, 0.72);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --max-width: 1180px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.site-header-solid {
  background: #ffffff !important;
  backdrop-filter: none;
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-ink);
  text-decoration: none;
  max-width: min(280px, 46vw);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-text strong {
  color: #0d2c6c;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.logo-text small {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e6b43c;
  font-weight: 700;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e6b43c, #c9922e);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  flex-shrink: 0;
}

.logo:hover {
  text-decoration: none;
}

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

.nav-main a {
  padding: 0.5rem 0.85rem;
  color: var(--color-ink-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.nav-main a:hover,
.nav-main a.active {
  color: var(--color-primary);
  background: var(--color-accent-soft);
  text-decoration: none;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(520px, 78vh, 680px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--color-primary-dark);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--color-primary-dark);
  isolation: isolate;
  pointer-events: none;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.1s ease, transform 7s ease-out;
  will-change: opacity, transform;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-vein-flow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    radial-gradient(circle at 20% 28%, rgba(248, 113, 113, 0.18), transparent 22%),
    radial-gradient(circle at 74% 62%, rgba(56, 189, 248, 0.16), transparent 24%),
    radial-gradient(circle at 52% 80%, rgba(230, 180, 60, 0.12), transparent 22%);
  background-size: 140% 140%;
  animation: veinPulse 16s ease-in-out infinite alternate;
}

.hero-vein-flow::before,
.hero-vein-flow::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.35;
}

.hero-vein-flow::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='700' viewBox='0 0 1200 700'%3E%3Cpath d='M-20 120 C180 80, 260 220, 420 180 S720 40, 920 140 1180 260, 1220 220' fill='none' stroke='%2394a3b8' stroke-width='1.5' stroke-opacity='0.35'/%3E%3Cpath d='M-40 260 C160 300, 280 180, 460 240 S780 360, 980 280 1180 180, 1240 210' fill='none' stroke='%237dd3fc' stroke-width='1.4' stroke-opacity='0.28'/%3E%3Cpath d='M60 520 C240 460, 360 580, 540 500 S860 380, 1040 460 1200 560, 1260 520' fill='none' stroke='%23e6b43c' stroke-width='1.3' stroke-opacity='0.25'/%3E%3C/svg%3E");
  animation: veinDrift 22s linear infinite;
}

.hero-vein-flow::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='700' viewBox='0 0 1200 700'%3E%3Cpath d='M1220 360 C980 300, 860 420, 680 360 S360 220, 180 300 20 420, -40 390' fill='none' stroke='%23cbd5e1' stroke-width='1.3' stroke-opacity='0.28'/%3E%3Cpath d='M1240 560 C1020 500, 860 620, 660 540 S320 430, 140 510 -20 610, -60 580' fill='none' stroke='%2338bdf8' stroke-width='1.4' stroke-opacity='0.24'/%3E%3C/svg%3E");
  animation: veinDrift 26s linear infinite reverse;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: linear-gradient(
      105deg,
      rgba(8, 53, 73, 0.94) 0%,
      rgba(8, 53, 73, 0.78) 38%,
      rgba(8, 53, 73, 0.52) 62%,
      rgba(13, 79, 108, 0.42) 100%
    ),
    radial-gradient(ellipse at 72% 42%, rgba(230, 180, 60, 0.14), transparent 55%);
  pointer-events: none;
}

@keyframes veinPulse {
  0% { background-position: 0% 20%; opacity: 0.18; }
  100% { background-position: 70% 55%; opacity: 0.3; }
}

@keyframes veinDrift {
  0% { transform: translate3d(0, 0, 0) scale(1.02); }
  50% { transform: translate3d(-1.2%, 0.8%, 0) scale(1.04); }
  100% { transform: translate3d(1.2%, -0.6%, 0) scale(1.02); }
}

.hero-nav {
  position: absolute;
  top: 38%;
  z-index: 6;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(8, 53, 73, 0.45);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-nav:hover {
  background: rgba(230, 180, 60, 0.9);
  transform: scale(1.05);
}

.hero-nav-prev { left: 1rem; }
.hero-nav-next { right: 1rem; }

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  gap: 0.45rem;
}

.hero-dots button {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.is-active {
  width: 22px;
  background: #e6b43c;
}

.hero > .container,
.hero-content {
  position: relative;
  z-index: 5;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-inner {
  position: relative;
  z-index: 5;
  padding: 4.5rem 0 2.5rem;
  max-width: 640px;
  width: 100%;
  margin: 0;
  margin-left: clamp(0rem, 4vw, 3rem);
  text-align: left;
  text-shadow: 0 2px 18px rgba(8, 53, 73, 0.45);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-vein-flow,
  .hero-vein-flow::before,
  .hero-vein-flow::after {
    animation: none !important;
    transition: opacity 0.3s ease !important;
    transform: none !important;
  }
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-soft);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  color: #fff;
}

.hero-lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 2rem;
  max-width: 38rem;
}

.hero-badge {
  position: relative;
  right: auto;
  bottom: auto;
  z-index: 5;
  background: var(--color-surface);
  color: var(--color-ink);
  padding: 1.1rem 1.35rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 320px;
  width: 100%;
  margin: 0.75rem 0 0 clamp(0rem, 4vw, 3rem);
  text-align: left;
}

.hero-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin-bottom: 0.35rem;
}

.hero-badge span {
  font-size: 0.875rem;
  color: var(--color-ink-muted);
}

/* Trust bar */
.trust-bar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.trust-item strong {
  display: block;
  font-size: 1.5rem;
  font-family: var(--font-display);
  color: var(--color-primary);
}

.trust-item span {
  font-size: 0.8125rem;
  color: var(--color-ink-subtle);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

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

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
  color: var(--color-ink);
}

.section-header p {
  margin: 0;
  color: var(--color-ink-muted);
}

/* Category cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.category-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.category-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  text-decoration: none;
}

.category-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-accent-soft);
  color: var(--color-primary);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  font-size: 1.35rem;
}

.category-card h3 {
  font-size: 1.0625rem;
  margin: 0 0 0.5rem;
}

.category-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-ink-muted);
  line-height: 1.5;
}

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.2s, transform 0.2s;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.product-image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #e0f2f1 0%, #f1f5f9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.product-image svg {
  width: 64px;
  height: 64px;
  opacity: 0.5;
  color: var(--color-primary);
}

.product-body {
  padding: 1.35rem 1.5rem 1.5rem;
}

.product-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.35rem;
}

.product-body h3 {
  font-size: 1.0625rem;
  margin: 0 0 0.5rem;
}

.product-body p {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--color-ink-muted);
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--color-ink-subtle);
}

/* Split feature */
.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-feature h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.125rem);
  margin: 0 0 1rem;
}

.split-feature p {
  color: var(--color-ink-muted);
  margin: 0 0 1.25rem;
}

/* Dark story bands (rPeptide-style image + copy panels) */
.story-band {
  background: #243a8c;
  color: #fff;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.story-band-alt {
  background: #1e327a;
}

.story-band-inner {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3.25rem);
  align-items: center;
}

.story-band-reverse .story-band-inner {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
}

.story-band-reverse .story-band-media {
  order: 2;
}

.story-band-reverse .story-band-copy {
  order: 1;
}

.story-band-media {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.story-band-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 320px;
  object-fit: cover;
}

.story-band-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--font-sans, "DM Sans", sans-serif);
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.story-band-copy p {
  margin: 0 0 0.85rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 36rem;
}

.story-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.btn-pill-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: none;
  background: #e6b43c;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-pill-gold:hover {
  background: #d4a332;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Why-buy benefits library */
.why-buy-section {
  background: linear-gradient(180deg, #f4f7fb 0%, #eef3f9 100%);
  border-block: 1px solid var(--color-border);
}

.why-buy-intro {
  max-width: 46rem;
  margin: 0 auto 1.75rem;
  text-align: center;
}

.why-buy-intro p {
  color: var(--color-ink-muted);
}

.why-buy-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.why-buy-filter {
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-ink);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.why-buy-filter.is-active,
.why-buy-filter:hover {
  background: #243a8c;
  border-color: #243a8c;
  color: #fff;
}

.why-buy-meta {
  text-align: center;
  color: var(--color-ink-subtle);
  font-size: 0.9rem;
  margin: 0 0 1.25rem;
}

.why-buy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.why-buy-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.why-buy-tag {
  margin: 0;
  color: #243a8c;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.why-buy-card h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.35;
  color: var(--color-ink);
}

.why-buy-card p {
  margin: 0;
  color: var(--color-ink-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.why-buy-benefit {
  flex: 1;
}

.why-buy-card .btn-pill-gold {
  align-self: flex-start;
  margin-top: 0.35rem;
}

.why-buy-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .why-buy-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .why-buy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .story-band-inner,
  .story-band-reverse .story-band-inner {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .story-band-reverse .story-band-media,
  .story-band-reverse .story-band-copy {
    order: initial;
  }

  .story-band-media img {
    min-height: 190px;
    max-height: 240px;
  }

  .story-band-copy p {
    max-width: none;
  }

  .story-band-actions {
    gap: 0.55rem;
  }

  .btn-pill-gold {
    width: 100%;
  }
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.feature-list li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  color: var(--color-ink-muted);
  font-size: 0.9375rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

.split-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgba(13, 79, 108, 0.15), rgba(14, 165, 164, 0.2)),
    url("../assets/images/categories/proteins.jpg") center / cover;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.service-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
}

.service-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-ink-muted);
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
}

.cta-band p {
  margin: 0 auto 1.75rem;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.88);
}

/* Footer — supplier-style multi-column */
.site-footer {
  padding: 0;
  color: rgba(255, 255, 255, 0.88);
}

.footer-wrap {
  background: #1a2b56;
}

.footer-main {
  padding: 3rem 0 2rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr) minmax(200px, 1.1fr);
  gap: 2rem 1.5rem;
}

.footer-col h4,
.footer-newsletter h4 {
  color: #e6b43c;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 1rem;
  text-transform: none;
  letter-spacing: 0;
}

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

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

.footer-col a,
.footer-sub a {
  color: #fff;
  font-size: 0.875rem;
  text-decoration: none;
}

.footer-col a:hover,
.footer-sub a:hover {
  text-decoration: underline;
}

.footer-logo {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-logo span {
  color: #e6b43c;
}

.footer-tagline {
  margin: -0.5rem 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

.footer-contact-lines {
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 0 0 1rem;
}

.footer-contact-lines a {
  color: #fff;
}

.footer-newsletter {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 640px;
}

.newsletter-form input {
  flex: 1;
  min-width: 220px;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 6px;
  background: rgba(10, 20, 50, 0.5);
  color: #fff;
  font-family: inherit;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.btn-newsletter {
  background: #e6b43c;
  color: #1a2b56;
  border: none;
  padding: 0.7rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.btn-newsletter:hover {
  filter: brightness(1.05);
}

.footer-sub {
  background: #152347;
  padding: 1rem 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-sub-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

.header-signin {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-ink-muted);
  text-decoration: none;
}

.header-search {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.header-search input {
  border: none;
  padding: 0.45rem 0.7rem;
  min-width: 160px;
  font-family: inherit;
  font-size: 0.8125rem;
}

.header-search button {
  border: none;
  background: #e6b43c;
  color: #1a2b56;
  padding: 0 0.7rem;
  cursor: pointer;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8125rem;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-whatsapp:hover {
  background: #1ebe57;
  color: #fff;
}

.buy-contact-actions {
  margin-top: 0.75rem;
}

.buy-contact-note {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-ink-muted);
}

.buy-contact-meta {
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  color: var(--color-ink-subtle);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.checkout-form h2 {
  font-size: 1.125rem;
  margin: 1.5rem 0 1rem;
}

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

.checkout-lines {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  border-bottom: 1px solid var(--color-border);
}

.checkout-lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.checkout-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
  margin: 1rem 0;
}

.checkout-fine {
  font-size: 0.75rem;
  color: var(--color-ink-muted);
}

.checkout-note {
  color: var(--color-ink-muted);
  max-width: 720px;
}

.product-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.cart-qty-input {
  width: 64px;
  padding: 0.35rem;
}

/* Blog */
.blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

#blog-search {
  min-width: min(100%, 280px);
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: inherit;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.blog-card a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.blog-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e2e8f0;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.blog-card-body h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.blog-card-body p {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: var(--color-ink-muted);
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--color-ink-subtle);
  margin-bottom: 0.75rem;
}

.seo-keywords-band {
  background: linear-gradient(180deg, #eef6f4 0%, #f7faf9 100%);
  border-top: 1px solid var(--color-border);
}

.seo-keywords-band .section-header {
  text-align: center;
}

.seo-keywords-band .section-header p {
  max-width: 52rem;
  margin-inline: auto;
}

.keyword-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin: 1.25rem 0 0;
}

.keyword-pills a {
  display: inline-block;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid #c9ddd8;
  background: #fff;
  color: var(--color-ink);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.keyword-pills a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.blog-read {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
}

.blog-article {
  max-width: 760px;
}

.blog-article h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
}

.blog-hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 1.5rem 0 2rem;
  aspect-ratio: 16 / 8;
  background: #e2e8f0;
}

.blog-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-ink);
}

.blog-content h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}

.blog-content ul,
.blog-content ol {
  padding-left: 1.25rem;
}

.blog-content li {
  margin-bottom: 0.4rem;
}

.blog-grid-related {
  margin-top: 1rem;
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Products page — rPeptide-style hub */
.products-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: #0d4f6c;
}

.products-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 40, 80, 0.55), rgba(13, 40, 80, 0.72)),
    url("../assets/images/hero/lab-hero.jpg") center / cover no-repeat;
}

.products-hero-inner {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0;
}

.products-hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  font-family: var(--font-sans);
}

.products-hero p {
  margin: 0.75rem 0 0;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.95);
}

.category-bar {
  background: #eef1f4;
  border-bottom: 1px solid var(--color-border);
}

.category-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.25rem;
  padding: 0.9rem 0;
}

.category-bar a {
  color: #334155;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 3px solid transparent;
}

.category-bar a:hover,
.category-bar a.active {
  color: #c9922e;
  border-bottom-color: #e6b43c;
  text-decoration: none;
}

.products-section {
  padding-top: 2.5rem;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.hub-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.hub-card-media {
  display: block;
  aspect-ratio: 4 / 3;
  min-height: 0;
  background: #f3f4f6;
}

.hub-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-card-body {
  padding: 1.15rem 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hub-card-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.hub-card-body h3 a {
  color: #0f172a;
  text-decoration: none;
}

.hub-featured {
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  margin: 0 0 1rem;
  min-height: 2.6em;
}

.hub-card-body > p {
  display: none;
}

.hub-sublinks {
  display: none;
}

.hub-card .btn-primary {
  margin-top: auto;
  align-self: flex-start;
  background: transparent;
  color: #c9922e;
  border: 1.5px solid #e6b43c;
  box-shadow: none;
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
}

.hub-card .btn-primary:hover {
  background: #fff8e8;
  transform: none;
}

.category-card-rich {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  border-radius: 14px;
}

.shop-btn-gold {
  display: inline-flex;
  margin-top: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1.5px solid #e6b43c;
  color: #c9922e;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hub-card {
    display: flex;
    flex-direction: column;
  }

  .hub-card-body {
    padding: 1.15rem;
  }

  .hub-card-media {
    aspect-ratio: 4 / 3;
  }
}

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

.subcat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
}

.subcat-bar a {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-ink-muted);
  text-decoration: none;
}

.subcat-bar a.active,
.subcat-bar a:hover {
  border-color: #e6b43c;
  background: #fff8e8;
  color: #8a6418;
  text-decoration: none;
}

.category-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
}

.category-desc {
  max-width: 820px;
  color: var(--color-ink-muted);
  margin: 0;
}

.nav-link,
.nav-dropdown-trigger {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
  font-weight: 700;
}

.nav-dropdown-trigger.active,
.nav-link.active {
  color: #c9922e;
  background: transparent;
  box-shadow: inset 0 -3px 0 #e6b43c;
  border-radius: 0;
}

@media (max-width: 900px) {
  .hub-card {
    grid-template-columns: 1fr;
  }

  .hub-card-body {
    padding: 0 1.25rem 1.25rem;
  }

  .hub-card-media {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
}

/* legacy footer helpers */
.footer-grid,
.footer-bottom,
.footer-brand {
  /* kept for older pages if any */
}

/* Inner pages */
.inner-hero {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: #0d4f6c;
}

.inner-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(13, 40, 80, 0.72), rgba(13, 79, 108, 0.55)),
    url("../assets/images/hero/lab-hero.jpg") center / cover no-repeat;
}

.inner-hero-inner {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
}

.inner-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-sans);
}

.lead {
  font-size: 1.0625rem;
  color: var(--color-ink-muted);
  max-width: 720px;
}

.content-list {
  padding-left: 1.2rem;
}

.content-list li {
  margin-bottom: 0.45rem;
}

.table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
}

.table-wrap th,
.table-wrap td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  font-size: 0.9rem;
}

.table-wrap th {
  background: #f8fafc;
}

.faq-list details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
}

.faq-list summary {
  font-weight: 700;
  cursor: pointer;
}

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

.services-hub {
  margin-top: 1.5rem;
}

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

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 0.75rem;
}

.page-hero p {
  margin: 0;
  max-width: 560px;
  color: var(--color-ink-muted);
  font-size: 1.0625rem;
}

.breadcrumb {
  font-size: 0.8125rem;
  color: var(--color-ink-subtle);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--color-ink-muted);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-chip {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-ink-muted);
  cursor: pointer;
  font-family: inherit;
}

.filter-chip.active,
.filter-chip:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
  color: var(--color-primary);
}

/* Contact form */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-info-card h3 {
  margin: 0 0 1.25rem;
}

.contact-detail {
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
}

.contact-detail strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-ink-subtle);
  margin-bottom: 0.25rem;
}

.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.auth-shell {
  max-width: 480px;
  margin: 2.5rem auto 3.5rem;
}

.auth-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  padding: 2rem 1.75rem 1.75rem;
}

.auth-card h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--color-ink);
}

.auth-lead {
  margin: 0 0 1.5rem;
  color: var(--color-ink-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.auth-form .req {
  color: #dc2626;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 4.25rem;
}

.password-toggle {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
}

.auth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.15rem;
  font-size: 0.875rem;
}

.auth-row a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

.auth-row a:hover {
  text-decoration: underline;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-ink-muted);
  line-height: 1.4;
}

.checkbox-label input {
  margin-top: 0.15rem;
}

.auth-terms {
  margin: 0 0 1.15rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.auth-switch,
.auth-footnote {
  margin: 1.15rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-ink-muted);
}

.auth-switch a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
}

.auth-switch a:hover {
  text-decoration: underline;
}

.auth-status {
  margin: 0.85rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.auth-status-ok {
  color: #047857;
}

.auth-status-error {
  color: #b91c1c;
}

.field-hint {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--color-ink-subtle);
}

.account-meta {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.45rem 0.75rem;
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
}

.account-meta dt {
  color: var(--color-ink-subtle);
  font-weight: 600;
}

.account-meta dd {
  margin: 0;
  color: var(--color-ink);
}

.auth-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9375rem;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

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

/* Responsive */
@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .hero-badge {
    position: relative;
    margin-top: 1rem;
    margin-left: 0;
    max-width: 320px;
  }

  .hero-inner {
    max-width: 640px;
    margin-left: 0;
    text-align: left;
  }

  .hero-nav {
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 1.75rem, var(--max-width));
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    gap: 0.5rem;
    min-height: 64px;
    flex-wrap: nowrap;
  }

  .logo {
    max-width: none;
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.45rem;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .logo-text strong {
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .logo-text small {
    font-size: 0.52rem;
  }

  .header-actions {
    flex: 0 0 auto;
    gap: 0.4rem;
  }

  .header-search {
    display: none;
  }

  .header-signin {
    display: none;
  }

  .nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    font-size: 1.25rem;
    border: 1px solid var(--color-border);
    background: #fff;
    color: var(--color-primary);
    flex-shrink: 0;
    z-index: 1001;
  }

  .nav-main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    padding: 0.75rem 1rem 1rem;
    max-height: min(75vh, 560px);
    overflow: auto;
    z-index: 1002;
  }

  .nav-main.open {
    display: flex !important;
  }

  .nav-dropdown {
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-dropdown-trigger,
  .nav-link {
    width: 100%;
    text-align: left;
    padding: 0.85rem 0.35rem;
    font-size: 0.95rem;
  }

  .nav-dropdown-panel {
    position: static !important;
    display: none;
    min-width: 0;
    width: 100%;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0.75rem 0.75rem;
    background: transparent;
  }

  .nav-dropdown-panel.open {
    display: block;
  }

  .mega-grid,
  .mega-simple {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .mega-col-links {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }

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

  .hero {
    min-height: auto;
    align-items: flex-start;
  }

  .hero > .container,
  .hero-content {
    align-items: stretch;
    padding-bottom: 1.25rem;
  }

  .hero-inner {
    max-width: none;
    margin-left: 0;
    padding: 2rem 0.85rem 1rem;
    text-align: left;
  }

  .hero h1 {
    font-size: clamp(1.55rem, 7vw, 2rem);
    margin-bottom: 0.75rem;
  }

  .hero-lead {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 1.15rem;
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding-inline: 0;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-badge {
    display: none;
  }

  .hero-nav {
    display: none;
  }

  .hero-dots {
    bottom: 0.65rem;
  }

  .hero-product-strip {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
    padding-inline: 0.35rem;
  }

  .hero-product-card {
    margin-inline: 0;
  }

  .hero-product-card img {
    height: 120px;
  }

  .hero > .container,
  .hero-content {
    align-items: stretch;
    padding-bottom: 1.25rem;
    width: min(100% - 1.75rem, var(--max-width));
  }

  .hero-vein-flow {
    opacity: 0.16;
  }

  .category-grid,
  .product-grid,
  .services-grid,
  .split-feature,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .trust-item strong {
    font-size: 1.1rem;
  }

  .trust-item span {
    font-size: 0.75rem;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 2.5rem;
  }

  .section-header h2 {
    font-size: 1.45rem;
  }
}

/* Mega menu & shop */
.nav-link,
.nav-dropdown-trigger {
  padding: 0.5rem 0.75rem;
  color: var(--color-ink-muted);
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  background: none;
  font-family: inherit;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active,
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.active {
  color: var(--color-primary);
  background: var(--color-accent-soft);
  text-decoration: none;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: min(92vw, 920px);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
  z-index: 200;
}

.nav-dropdown-panel.open {
  display: block;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 1rem 1.5rem;
}

.mega-col-title {
  display: block;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.8rem;
  text-decoration: none;
}

.nav-dropdown-panel {
  min-width: min(94vw, 980px);
}

.mega-col-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-dropdown:hover > .nav-dropdown-panel,
.nav-dropdown-panel.open {
  display: block;
}

.mega-col-links a {
  color: #1d4ed8;
  font-size: 0.875rem;
}

.mega-col-title {
  color: #0f172a;
  font-weight: 800;
}

.mega-simple {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 240px;
}

.mega-simple a {
  font-size: 0.875rem;
  color: var(--color-ink-muted);
  text-decoration: none;
}

.header-cart {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: start;
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.shop-toolbar input,
.shop-toolbar select {
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: inherit;
}

#shop-search {
  min-width: min(100%, 280px);
  flex: 1;
}

.sidebar-block h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.sidebar-link {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  color: var(--color-ink-muted);
  font-size: 0.8125rem;
  text-decoration: none;
}

.sidebar-link.active,
.sidebar-link:hover {
  background: var(--color-accent-soft);
  color: var(--color-primary);
  text-decoration: none;
}

.sidebar-children {
  margin-left: 0.5rem;
  border-left: 2px solid var(--color-border);
  padding-left: 0.5rem;
}

.sidebar-link .count {
  color: var(--color-ink-subtle);
}

.shop-card-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.shop-thumb,
.product-card-image {
  min-height: 180px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(145deg, #dbeafe, #ecfeff);
}

.shop-thumb img,
.product-card-image img,
.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  text-align: center;
  padding: 0 1rem;
}

.hero-product-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 5;
  width: 100%;
}

.hero-product-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--color-ink);
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s;
}

.hero-product-card:hover {
  transform: translateY(-3px);
  text-decoration: none;
}

.hero-product-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.hero-product-card div {
  padding: 0.75rem 1rem 1rem;
}

.hero-product-card strong {
  display: block;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--color-ink);
}

.hero-product-card span {
  font-size: 0.75rem;
  color: var(--color-primary);
  font-weight: 600;
}

.product-sku {
  font-size: 0.8125rem;
  color: var(--color-ink-subtle);
  margin: 0 0 0.35rem;
}

.product-sizes {
  font-size: 0.75rem;
  color: var(--color-ink-muted);
  margin: 0 0 0.5rem;
}

.price {
  font-weight: 700;
  color: var(--color-primary);
}

.in-stock {
  color: #0f766e;
}

.out-stock {
  color: #b45309;
}

#shop-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  margin-top: 2rem;
}

.pager-btn {
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  font-family: inherit;
}

.pager-btn.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.category-card-rich {
  padding: 0;
  overflow: hidden;
}

.category-card-img {
  aspect-ratio: 16/10;
  background: #e2e8f0;
}

.category-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card-rich h3,
.category-card-rich p {
  padding: 0 1.25rem;
}

.category-card-rich h3 {
  padding-top: 1rem;
}

.category-card-rich p {
  padding-bottom: 0.5rem;
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-ink-muted);
}

.category-card-rich .shop-btn-gold {
  margin: 0 1.25rem 1.25rem;
}

.cat-fallback {
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 2rem;
  color: var(--color-primary);
  font-family: var(--font-display);
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.detail-thumb {
  min-height: 280px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
}

.detail-price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0.35rem 0 0.25rem;
}

.price-breakdown {
  margin: 0.15rem 0;
  font-size: 0.9rem;
  color: var(--color-ink-muted);
}

.price-total-line {
  font-weight: 700;
  color: var(--color-ink);
}

.price-range-note {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  color: var(--color-ink-subtle);
}

.price-note {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  color: #b45309;
  font-weight: 600;
}

.add-to-cart {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: end;
  margin-top: 1rem;
}

.section-tight {
  padding: 2rem 0 4rem;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.cart-table th,
.cart-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  font-size: 0.9rem;
}

.content-page {
  padding: 2.5rem 0 4rem;
}

.content-page h1 {
  font-family: var(--font-display);
}

@media (max-width: 1024px) {
  .mega-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr;
  }
}
