/* Ignite-style storefront layout — Sulan white + green */

:root {
  --sf-green: #008556;
  --sf-green-bright: #00a86b;
  --sf-green-deep: #063528;
  --sf-ink: #121a17;
  --sf-muted: #5a746b;
  --sf-line: #d7ebe2;
  --sf-soft: #f3faf6;
  --sf-cream: #f7fbf8;
  --sf-radius: 16px;
  --sf-max: 1180px;
}

.storefront-body {
  background: #fff;
  color: var(--sf-ink);
}

.announce-bar {
  background: var(--sf-green-deep);
  color: #fff;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 8px 14px;
}

.site-header--store {
  position: sticky;
  top: 0;
  z-index: 40;
  display: block;
  grid-template-columns: none;
  gap: 0;
  min-height: 0;
  padding: 0;
  background: #fff;
  border-bottom: 1px solid var(--sf-line);
  box-shadow: 0 1px 0 rgba(6, 53, 40, 0.04);
}


.site-header--store .header-store-inner {
  position: relative;
  max-width: min(1280px, 100%);
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
}

.site-header--store .brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--sf-ink);
  white-space: nowrap;
}

.site-header--store .brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.site-header--store .brand strong {
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

/* Override legacy .site-header .nav full-width second-row styles */
.site-header--store .nav.nav--store,
.site-header--store .nav--store {
  display: flex !important;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 4px 12px;
  width: auto !important;
  max-width: none;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--sf-ink);
  font-size: 0.84rem;
  font-weight: 650;
  white-space: nowrap;
}

.site-header--store .nav--store a {
  color: var(--sf-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.84rem;
  white-space: nowrap;
  padding: 4px 2px;
}

.site-header--store .nav--store a:hover,
.site-header--store .nav--store a.is-active {
  color: var(--sf-green);
}

.site-header--store .nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.site-header--store .header-actions.header-actions--store,
.site-header--store .header-actions--store {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  grid-column: auto;
  justify-self: auto;
  white-space: nowrap;
}

.site-header--store .header-search {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--sf-line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  min-width: 0;
}

.site-header--store .header-search input {
  border: 0;
  outline: 0;
  padding: 7px 10px;
  width: 118px;
  font: inherit;
  font-size: 0.84rem;
  background: transparent;
}

.site-header--store .header-search button {
  border: 0;
  background: var(--sf-green);
  color: #fff;
  width: 36px;
  cursor: pointer;
}

.site-header--store .lang-switcher-toggle {
  min-width: 0;
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid var(--sf-line);
  border-radius: 999px;
  background: #fff;
  color: var(--sf-ink);
  box-shadow: none;
  font-weight: 700;
}

.site-header--store .cart-header-button {
  position: relative;
  border: 0;
  background: transparent;
  color: var(--sf-green-deep);
  cursor: pointer;
  padding: 6px;
  flex: 0 0 auto;
}

.site-header--store .cart-header-button [data-cart-count] {
  position: absolute;
  top: -2px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--sf-green-bright);
  color: #fff;
  font-size: 0.7rem;
  display: grid;
  place-items: center;
}

.site-header--store .menu-button {
  display: none;
}

/* Biotech hero + about stages */
.sf-bio-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 80% 30%, rgba(0, 168, 107, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(6, 53, 40, 0.08), transparent 50%),
    linear-gradient(165deg, #eef8f3 0%, #f7fbf9 42%, #ffffff 100%);
}

.sf-bio-stage--alt {
  background:
    radial-gradient(ellipse 60% 50% at 20% 40%, rgba(0, 168, 107, 0.14), transparent 55%),
    linear-gradient(195deg, #ffffff 0%, #f2faf6 55%, #eaf7f1 100%);
}

.sf-bio-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.sf-bio-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.sf-bio-hex {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(0, 133, 86, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 133, 86, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  animation: sf-grid-drift 28s linear infinite;
}

@keyframes sf-grid-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-42px, -42px, 0); }
}

.sf-bio-cells { position: absolute; inset: 0; }

.sf-cell {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 168, 107, 0.28);
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.85), transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(0, 184, 119, 0.22), rgba(0, 133, 86, 0.05));
  box-shadow: inset 0 0 18px rgba(0, 168, 107, 0.18), 0 0 24px rgba(0, 168, 107, 0.12);
  animation: sf-cell-float 12s ease-in-out infinite;
}

.sf-cell::after {
  content: "";
  position: absolute;
  top: 28%;
  left: 30%;
  width: 22%;
  height: 22%;
  border-radius: 50%;
  background: rgba(0, 133, 86, 0.35);
}

.sf-cell.c1 { width: 110px; height: 110px; left: 6%; top: 18%; animation-duration: 14s; }
.sf-cell.c2 { width: 70px; height: 70px; right: 12%; top: 12%; animation-duration: 11s; animation-delay: -2s; }
.sf-cell.c3 { width: 150px; height: 150px; right: 4%; bottom: 8%; animation-duration: 16s; animation-delay: -4s; opacity: 0.7; }
.sf-cell.c4 { width: 56px; height: 56px; left: 28%; bottom: 16%; animation-duration: 10s; animation-delay: -1s; }
.sf-cell.c5 { width: 90px; height: 90px; left: 48%; top: 8%; animation-duration: 13s; animation-delay: -6s; opacity: 0.55; }
.sf-cell.c6 { width: 48px; height: 48px; right: 36%; bottom: 28%; animation-duration: 9s; animation-delay: -3s; }

@keyframes sf-cell-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(12px, -18px, 0) scale(1.06); }
}

.sf-glass {
  position: relative;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(213, 235, 226, 0.9);
  box-shadow: 0 20px 50px rgba(6, 53, 40, 0.1);
}

.sf-hero {
  padding: 0;
}

.sf-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--sf-max);
  margin: 0 auto;
  padding: 52px 20px 48px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.sf-hero-copy {
  padding: 28px 26px;
  border-radius: 22px;
}

.sf-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 168, 107, 0.1);
  color: var(--sf-green);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sf-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sf-green-bright);
  box-shadow: 0 0 0 0 rgba(0, 168, 107, 0.5);
  animation: sf-pulse 1.8s ease-out infinite;
}

@keyframes sf-pulse {
  70% { box-shadow: 0 0 0 10px rgba(0, 168, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 168, 107, 0); }
}

.sf-hero h1 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: clamp(2.1rem, 4.4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--sf-green-deep);
}

.sf-hero-tagline {
  margin: 0 0 12px !important;
  color: var(--sf-ink) !important;
  font-weight: 700;
  font-size: 1.12rem !important;
  max-width: 34ch !important;
}

.sf-hero-copy > p {
  margin: 0 0 20px;
  color: var(--sf-muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 40ch;
}

.sf-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.sf-hero-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 12px 0 0;
  list-style: none;
  border-top: 1px solid rgba(213, 235, 226, 0.95);
}

.sf-hero-trust li {
  display: grid;
  gap: 2px;
}

.sf-hero-trust strong {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.95rem;
  color: var(--sf-green);
}

.sf-hero-trust span {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sf-muted);
}

.sf-hero-media {
  position: relative;
  min-height: 420px;
}

.sf-orbit {
  position: absolute;
  inset: 8% 10%;
}

.sf-orbit-ring {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(0, 133, 86, 0.28);
  border-radius: 50%;
  animation: sf-spin 36s linear infinite;
}

.sf-orbit-ring.r2 { inset: 12%; animation-duration: 28s; animation-direction: reverse; border-style: solid; opacity: 0.55; }
.sf-orbit-ring.r3 { inset: 24%; animation-duration: 20s; border-color: rgba(0, 168, 107, 0.18); }

@keyframes sf-spin {
  to { transform: rotate(360deg); }
}

.sf-vial {
  position: absolute;
  margin: 0;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 168, 107, 0.22);
  border-radius: 18px;
  padding: 10px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.7) inset,
    0 18px 40px rgba(6, 53, 40, 0.14);
  width: min(210px, 46%);
  backdrop-filter: blur(8px);
  animation: sf-vial-bob 5.5s ease-in-out infinite;
}

.sf-vial img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: linear-gradient(180deg, #f4fbf7, #e8f6ef);
  border-radius: 12px;
}

.sf-vial figcaption {
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  color: var(--sf-green-deep);
}

.sf-vial-1 { left: 4%; top: 10%; z-index: 2; animation-delay: 0s; }
.sf-vial-2 { right: 2%; top: 16%; width: min(240px, 52%); z-index: 3; animation-delay: -1.5s; }
.sf-vial-3 { left: 26%; bottom: 2%; z-index: 1; animation-delay: -3s; }

@keyframes sf-vial-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.sf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.sf-btn-primary {
  background: linear-gradient(135deg, var(--sf-green-bright), var(--sf-green));
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 168, 107, 0.22);
}

.sf-btn-primary:hover {
  background: var(--sf-green-deep);
}

.sf-btn-ghost {
  border-color: rgba(0, 133, 86, 0.35);
  color: var(--sf-green-deep);
  background: rgba(255, 255, 255, 0.55);
}

.sf-btn-ghost:hover {
  background: #fff;
  border-color: var(--sf-green);
}

.sf-btn-outline {
  width: 100%;
  border-color: var(--sf-green);
  color: var(--sf-green);
  background: #fff;
}

.sf-btn-outline:hover {
  background: var(--sf-soft);
}

.sf-about {
  padding: 0;
}

.sf-about-inner {
  position: relative;
  z-index: 1;
  max-width: var(--sf-max);
  margin: 0 auto;
  padding: 56px 20px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: center;
}

.sf-about-media {
  position: relative;
  min-height: 360px;
}

.sf-dna {
  position: absolute;
  left: 50%;
  top: 8%;
  width: 4px;
  height: 84%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(0, 168, 107, 0.45), transparent);
  border-radius: 999px;
}

.sf-dna::before,
.sf-dna::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 120px;
  height: 120px;
  margin-left: -60px;
  border: 1px solid rgba(0, 133, 86, 0.22);
  border-radius: 50%;
  animation: sf-spin 18s linear infinite;
}

.sf-dna::after {
  top: 40%;
  width: 180px;
  height: 180px;
  margin-left: -90px;
  animation-direction: reverse;
  animation-duration: 24s;
}

.sf-about-card {
  position: absolute;
  margin: 0;
  width: min(48%, 220px);
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 168, 107, 0.22);
  box-shadow: 0 18px 40px rgba(6, 53, 40, 0.12);
  backdrop-filter: blur(8px);
  animation: sf-vial-bob 6s ease-in-out infinite;
}

.sf-about-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 12px;
  background: linear-gradient(180deg, #f4fbf7, #e8f6ef);
}

.sf-about-card figcaption {
  margin-top: 8px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sf-green-deep);
}

.sf-about-card:first-of-type { left: 6%; top: 14%; }
.sf-about-card:last-of-type { right: 4%; top: 34%; animation-delay: -2s; }

.sf-about-copy {
  padding: 28px 26px;
  border-radius: 22px;
}

.sf-eyebrow {
  margin: 0 0 8px;
  color: var(--sf-green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sf-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.sf-chip-row span {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 168, 107, 0.25);
  background: rgba(0, 168, 107, 0.08);
  color: var(--sf-green-deep);
  font-size: 0.78rem;
  font-weight: 700;
}

.sf-about-copy h2,
.sf-section-head h2,
.sf-banner h2,
.sf-shop-copy h2 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--sf-ink);
}

.sf-pillars {
  color: var(--sf-green);
  font-weight: 700;
  font-size: 0.92rem;
}

.sf-pillars span { color: var(--sf-line); margin: 0 4px; }

.sf-about-copy p {
  color: var(--sf-muted);
  line-height: 1.65;
}

.sf-section {
  max-width: var(--sf-max);
  margin: 0 auto;
  padding: 48px 20px;
}

.sf-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
}

.sf-section-head p:not(.sf-eyebrow) {
  color: var(--sf-muted);
}

.sf-section-head--row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  text-align: left;
  max-width: none;
}

.sf-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.sf-product-card {
  background: #fff;
  border: 1px solid var(--sf-line);
  border-radius: 18px;
  padding: 14px 14px 16px;
  box-shadow: 0 10px 28px rgba(6, 53, 40, 0.06);
  display: grid;
  gap: 8px;
  text-align: center;
}

.sf-product-media {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 14px;
  background: var(--sf-soft);
  overflow: hidden;
}

.sf-product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sf-product-card h3 {
  margin: 4px 0 0;
  font-size: 0.98rem;
  line-height: 1.3;
}

.sf-product-card h3 a {
  color: var(--sf-ink);
  text-decoration: none;
}

.sf-price {
  margin: 0;
  font-weight: 800;
  color: var(--sf-green-deep);
}

.sf-section-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.sf-banner {
  max-width: var(--sf-max);
  margin: 12px auto;
  padding: 28px 32px;
  border-radius: 22px;
  background: var(--sf-cream);
  border: 1px solid var(--sf-line);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.sf-banner h2 { color: var(--sf-green); }
.sf-banner p { color: var(--sf-ink); margin: 0; }

.sf-banner-media {
  display: flex;
  justify-content: end;
  gap: 12px;
}

.sf-banner-media img {
  width: min(160px, 42%);
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--sf-line);
  padding: 8px;
}

.sf-scroll-controls {
  display: flex;
  gap: 8px;
}

.sf-scroll-controls button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: var(--sf-green);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.sf-product-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.sf-product-rail .sf-product-card {
  scroll-snap-align: start;
}

.sf-why {
  background: var(--sf-cream);
  max-width: none;
  padding-left: max(20px, calc((100% - var(--sf-max)) / 2));
  padding-right: max(20px, calc((100% - var(--sf-max)) / 2));
}

.sf-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: var(--sf-max);
  margin: 0 auto;
}

.sf-why-grid article {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--sf-line);
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(6, 53, 40, 0.05);
}

.sf-why-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: var(--sf-soft);
  color: var(--sf-green);
  font-weight: 800;
}

.sf-why-grid h3 {
  margin: 0 0 8px;
  color: var(--sf-green);
  font-size: 1rem;
}

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

.sf-shop-split {
  max-width: var(--sf-max);
  margin: 0 auto;
  padding: 48px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.sf-shop-copy p:not(.sf-eyebrow) {
  color: var(--sf-muted);
  line-height: 1.65;
}

.sf-shop-media img {
  width: 100%;
  border-radius: 18px;
  aspect-ratio: 16/11;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(6, 53, 40, 0.12);
}

.sf-coa-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 180px;
  gap: 12px;
  overflow-x: auto;
  margin-bottom: 20px;
}

.sf-coa-track img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--sf-line);
  background: #fff;
}

.sf-coa-table {
  border: 1px solid var(--sf-line);
  border-radius: 14px;
  overflow: hidden;
}

.sf-coa-row {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.8fr 0.8fr;
  gap: 10px;
  padding: 12px 14px;
  align-items: center;
  border-top: 1px solid var(--sf-line);
  font-size: 0.9rem;
}

.sf-coa-row:first-child { border-top: 0; }
.sf-coa-head { background: var(--sf-soft); color: var(--sf-green-deep); }

.sf-coa-row button {
  border: 1px solid var(--sf-green);
  background: #fff;
  color: var(--sf-green);
  border-radius: 999px;
  min-height: 34px;
  padding: 0 12px;
  font-weight: 700;
  cursor: pointer;
}

.sf-feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sf-feedback-grid article {
  border: 1px solid var(--sf-line);
  border-radius: 16px;
  padding: 20px;
  background: #fff;
}

.sf-feedback-grid blockquote {
  margin: 0 0 12px;
  color: var(--sf-ink);
  line-height: 1.55;
}

.sf-feedback-grid footer {
  color: var(--sf-muted);
  font-size: 0.85rem;
}

/* Footer store */
.site-footer--store {
  display: block;
  grid-template-columns: none;
  gap: 0;
  margin-top: 40px;
  background: var(--sf-cream);
  border-top: 1px solid var(--sf-line);
  padding: 0;
}

.footer-store-grid {
  max-width: var(--sf-max);
  margin: 0 auto;
  padding: 40px 20px 24px;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 0.8fr) 1.1fr;
  gap: 24px;
}

.footer-brand-col .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  text-decoration: none;
  color: var(--sf-ink);
}

.footer-brand-col .brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.footer-brand-col p,
.footer-contact-col address {
  color: var(--sf-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  font-style: normal;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.footer-social a,
.site-footer--store nav a,
.footer-contact-col a {
  color: var(--sf-green);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.site-footer--store nav {
  display: grid;
  gap: 8px;
}

.site-footer--store h3 {
  margin: 0 0 12px;
  color: var(--sf-green-deep);
  font-size: 0.95rem;
}

.footer-subscribe {
  max-width: var(--sf-max);
  margin: 0 auto;
  padding: 0 20px 24px;
}

.footer-subscribe label {
  display: block;
  margin-bottom: 8px;
  color: var(--sf-muted);
  font-size: 0.9rem;
}

.footer-subscribe > div {
  display: flex;
  gap: 10px;
  max-width: 520px;
}

.footer-subscribe input {
  flex: 1;
  min-height: 46px;
  border: 1px solid var(--sf-line);
  border-radius: 999px;
  padding: 0 16px;
  font: inherit;
}

.footer-subscribe button {
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  background: var(--sf-green);
  color: #fff;
  font-weight: 750;
  cursor: pointer;
}

.footer-disclaimer {
  max-width: var(--sf-max);
  margin: 0 auto 0;
  padding: 0 20px 20px;
}

.footer-disclaimer p {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--sf-line);
  border-radius: 12px;
  background: #fff;
  color: var(--sf-muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.footer-bar {
  background: var(--sf-green-deep);
  color: #fff;
  text-align: center;
  padding: 14px 16px;
  font-size: 0.82rem;
}

/* Hide legacy tech homepage overrides when storefront is active */
.storefront-body .hero--stage,
.storefront-body .trust-rail,
.storefront-body .category-stack-section {
  display: none !important;
}

@media (max-width: 1100px) {
  .site-header--store .nav--store { gap: 2px 8px; }
  .site-header--store .nav--store a { font-size: 0.78rem; }
  .site-header--store .header-search input { width: 96px; }
  .site-header--store .brand strong { font-size: 0.88rem; }
}

@media (max-width: 980px) {
  .site-header--store .header-store-inner {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .site-header--store .nav.nav--store,
  .site-header--store .nav--store {
    display: none !important;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff !important;
    border-bottom: 1px solid var(--sf-line) !important;
    padding: 12px 20px 18px !important;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: stretch;
    white-space: normal;
    z-index: 50;
  }

  .site-header--store .nav--store.open {
    display: flex !important;
  }

  .site-header--store .menu-button {
    display: inline-grid;
  }

  .site-header--store .header-search { display: none; }

  .sf-hero-inner,
  .sf-about-inner,
  .sf-shop-split,
  .sf-banner {
    grid-template-columns: 1fr;
  }

  .sf-hero-media,
  .sf-about-media { min-height: 300px; }

  .sf-hero-trust { grid-template-columns: repeat(2, 1fr); }
  .sf-product-grid { grid-template-columns: repeat(2, 1fr); }
  .sf-why-grid,
  .sf-feedback-grid,
  .footer-store-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sf-section-head--row {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 640px) {
  .sf-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .sf-product-grid .sf-product-card {
    padding: 10px 8px 12px;
    border-radius: 14px;
    gap: 6px;
  }

  .sf-product-grid .sf-product-card h3 {
    font-size: 0.82rem;
  }

  .sf-product-grid .sf-price {
    font-size: 0.9rem;
  }

  .sf-product-grid .sf-btn-outline {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .sf-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .sf-why-grid article {
    padding: 14px 10px;
    border-radius: 14px;
  }

  .sf-why-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 8px;
    border-radius: 10px;
    font-size: 0.85rem;
  }

  .sf-why-grid h3 {
    font-size: 0.82rem;
    line-height: 1.25;
    margin-bottom: 6px;
  }

  .sf-why-grid p {
    font-size: 0.72rem;
    line-height: 1.4;
  }

  .sf-feedback-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile footer: compact 2-col links, left aligned */
  .site-footer--store,
  .site-footer--store * {
    text-align: left;
  }

  .footer-store-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px 12px;
    padding: 28px 16px 12px;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
    padding-bottom: 14px;
    margin-bottom: 2px;
    border-bottom: 1px solid var(--sf-line);
  }

  .footer-brand-col p {
    font-size: 0.82rem;
    max-width: 36ch;
  }

  .footer-social {
    gap: 8px;
  }

  .footer-social a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid var(--sf-line);
    border-radius: 999px;
    background: #fff;
    font-size: 0.75rem;
  }

  .site-footer--store h3 {
    margin: 0 0 8px;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .site-footer--store nav {
    gap: 6px;
  }

  .site-footer--store nav a,
  .footer-contact-col a {
    font-size: 0.84rem;
  }

  .footer-contact-col {
    grid-column: 1 / -1;
    padding-top: 4px;
    border-top: 1px solid var(--sf-line);
  }

  .footer-contact-col address {
    display: grid;
    gap: 6px;
    font-size: 0.8rem;
  }

  .footer-subscribe {
    padding: 8px 16px 18px;
  }

  .footer-subscribe label {
    font-size: 0.8rem;
  }

  .footer-subscribe > div {
    flex-direction: row;
    max-width: none;
  }

  .footer-subscribe input {
    min-width: 0;
    width: 100%;
  }

  .footer-disclaimer {
    padding: 0 16px 16px;
  }

  .footer-disclaimer p {
    font-size: 0.7rem;
    padding: 12px;
  }

  .footer-bar {
    padding: 12px 16px;
    font-size: 0.72rem;
    text-align: center;
  }

  .footer-bar small {
    text-align: center;
  }

  .header-search { display: none; }
  .sf-coa-row { grid-template-columns: 1fr 1fr; }

  .sf-cell.c3,
  .sf-cell.c5 { display: none; }

  .sf-hero-copy,
  .sf-about-copy { padding: 20px 16px; }

  .sf-vial-3 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sf-cell,
  .sf-orbit-ring,
  .sf-vial,
  .sf-about-card,
  .sf-bio-hex,
  .sf-pulse,
  .sf-dna::before,
  .sf-dna::after {
    animation: none !important;
  }
}

/* Contact form — compact */
.contact-form-panel {
  gap: 12px;
  padding: 20px 22px;
  align-content: start;
}

.contact-form-panel h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.15;
}

.contact-form-grid {
  gap: 10px;
}

.contact-form-panel input,
.contact-form-panel textarea {
  min-height: 40px;
  padding: 0 12px;
  font-size: 0.92rem;
}

.contact-form-panel textarea {
  min-height: 96px;
  padding: 10px 12px;
  line-height: 1.45;
}

.contact-form-panel button {
  min-height: 42px;
  margin-top: 2px;
  padding: 0 16px;
  font-size: 0.95rem;
  border-radius: 10px;
}

@media (max-width: 720px) {
  .contact-form-panel {
    padding: 16px;
    gap: 10px;
  }
}
