/* ============================================================
   SECOND WATCH RESEARCH (SOFVERSE) — MAIN STYLESHEET
   Palette + Typography locked to client brand system
   ============================================================ */

:root {
  --navy: #0F2D4A;
  --navy-deep: #081C30;
  --navy-soft: #16406A;
  --navy-surface: #123655;
  --navy-card: #0C2740;
  --teal: #1F6F7A;
  --accent: #FF8C3A;
  --accent-hover: #FFA05C;
  --accent-soft: rgba(255, 140, 58, 0.15);
  --accent-glow: rgba(255, 140, 58, 0.35);
  --paper: #F8F7F2;
  --slate: #6B7C93;
  --slate-ink: #46566C;
  --ink: #12202F;
  --text-main: #E8EEF5;
  --text-muted: #8FA6BC;
  --text-dim: #C6D4E2;
  --success: #7FD6C4;
  --danger: #FF5E5E;

  --line-dark: rgba(255, 255, 255, 0.13);
  --line-light: rgba(15, 45, 74, 0.14);

  --sans: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --wrap: 1180px;
  --pad: clamp(20px, 5.5vw, 36px);
  --r: 8px;
  --r-sm: 4px;
  --r-lg: 12px;
  --header-h: 66px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--text-main);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

@media (max-width: 640px) {
  :root {
    --header-h: 60px;
    --pad: clamp(20px, 5.5vw, 28px);
  }
  body {
    font-size: 15px;
    line-height: 1.55;
  }
}

img, svg, video, canvas, audio, iframe, embed, object {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
  touch-action: manipulation;
}

/* Focus and Motion */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--navy);
  padding: 12px 18px;
  font-family: var(--sans);
  font-weight: 700;
  z-index: 2000;
}
.skip:focus {
  left: 8px;
  top: 8px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--pad);
  width: 100%;
}

/* Typography Helpers */
.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(0.68rem, 1.8vw, 0.74rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.eyebrow.center {
  justify-content: center;
}
.eyebrow.center::before {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(270deg, var(--accent), transparent);
  max-width: 120px;
}
.eyebrow.center::after {
  max-width: 120px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  color: #fff;
  word-break: break-word;
}
h1 { font-size: clamp(1.85rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.4vw, 1.25rem); letter-spacing: 0; }
h4 { font-size: clamp(0.92rem, 1.8vw, 1rem); }
p { margin: 0 0 1.1em; max-width: 68ch; }
.lede {
  font-size: clamp(0.95rem, 2vw, 1.12rem);
  color: var(--text-dim);
  line-height: 1.65;
}

.section {
  padding: clamp(44px, 7vw, 96px) 0;
  position: relative;
}
[id] {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.section--paper {
  background: var(--paper);
  color: var(--ink);
}
.section--paper h1,
.section--paper h2,
.section--paper h3,
.section--paper h4 {
  color: var(--navy);
}
.section--paper .lede {
  color: var(--slate-ink);
}
.section--paper .eyebrow {
  color: #C2601C;
}
.section--paper .eyebrow::after {
  background: linear-gradient(90deg, #C2601C, transparent);
}

.horizon {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35) 22%, rgba(255, 255, 255, 0.35) 78%, transparent);
}
.section--paper .horizon {
  background: linear-gradient(90deg, transparent, rgba(15, 45, 74, 0.28) 22%, rgba(15, 45, 74, 0.28) 78%, transparent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--r-sm);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  line-height: 1.2;
  text-align: center;
  touch-action: manipulation;
}
.btn--primary {
  background: var(--accent);
  color: #10243A;
  border-color: var(--accent);
  box-shadow: 0 4px 14px var(--accent-glow);
}
.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(255, 140, 58, 0.5);
}
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 140, 58, 0.1);
  transform: translateY(-2px);
}
.btn--sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.82rem;
}
.btn--block {
  width: 100%;
}
.section--paper .btn--ghost {
  border-color: rgba(15, 45, 74, 0.4);
  color: var(--navy);
  background: transparent;
}
.section--paper .btn--ghost:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

/* ============================================================
   HEADER & MOBILE NAVIGATION
   ============================================================ */
.hdr {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 28, 48, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-dark);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
}
.hdr.is-stuck {
  background: rgba(8, 28, 48, 0.98);
  border-bottom-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
}
.hdr__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--header-h);
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--pad);
  width: 100%;
}
.hdr__logo {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
}
.hdr__logo img,
.ftr__brand img,
.hero__logo-img {
  height: 42px;
  max-height: 42px;
  max-width: 190px;
  width: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 520px) {
  .hdr__logo img {
    height: 32px;
    max-height: 32px;
    max-width: 140px;
  }
}
@media (max-width: 360px) {
  .hdr__logo img {
    height: 28px;
    max-height: 28px;
    max-width: 118px;
  }
}

.hero__logo-wrap {
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C9D8E6;
  padding: 10px 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.18s;
  white-space: nowrap;
}
.nav a:hover,
.nav a.active {
  color: #fff;
  border-bottom-color: var(--accent);
}

.hdr__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
@media (max-width: 480px) {
  .hdr__actions {
    gap: 8px;
  }
}

/* Header Cart Icon */
.hdr__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dark);
  color: #E2EBF3;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  touch-action: manipulation;
}
@media (max-width: 480px) {
  .hdr__cart {
    min-width: 40px;
    min-height: 40px;
    padding: 6px 10px;
  }
}
.hdr__cart:hover {
  background: rgba(255, 140, 58, 0.15);
  border-color: var(--accent);
  color: var(--accent);
}
.hdr__cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent);
  color: #10243A;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 800;
  border-radius: 999px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 0;
  touch-action: manipulation;
}
@media (max-width: 480px) {
  .burger {
    width: 40px;
    height: 40px;
  }
  .burger span {
    left: 10px !important;
  }
}
.burger span {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .burger { display: block; }
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    background: rgba(8, 28, 48, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 0 solid var(--line-dark);
    padding: 0 var(--pad);
    max-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease, border-bottom-width 0.3s ease, visibility 0s linear 0.35s;
  }
  .nav.is-open {
    max-height: calc(100vh - var(--header-h));
    padding: 16px var(--pad) 28px;
    border-bottom-width: 1px;
    visibility: visible;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease, border-bottom-width 0.3s ease, visibility 0s;
  }
  .nav a {
    border-bottom: 1px solid var(--line-dark);
    padding: 16px 4px;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    min-height: 48px;
    display: flex;
    align-items: center;
    color: #E2EBF3;
  }
  .nav a:hover,
  .nav a:active {
    color: var(--accent);
    padding-left: 8px;
  }
  .hdr__actions .btn {
    display: none;
  }
  .nav .mobile-cta {
    display: block !important;
    margin-top: 20px;
    padding-top: 10px;
  }
  .nav .mobile-cta .btn {
    width: 100%;
    min-height: 48px;
    font-size: 0.92rem;
  }
}

/* ============================================================
   HERO SECTION — FULL BACKGROUND WITH DARK OVERLAY
   ============================================================ */
.hero {
  position: relative;
  background-image: url('../img/hero-bg.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: var(--navy-deep);
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
  width: 100%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 28, 48, 0.72) 0%, rgba(8, 28, 48, 0.48) 45%, rgba(8, 28, 48, 0.22) 100%),
              linear-gradient(180deg, rgba(8, 28, 48, 0.2) 0%, rgba(8, 28, 48, 0.75) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero__glow {
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 28, 48, 0.85) 100%);
  z-index: 1;
}

.hero__body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: clamp(40px, 7vw, 96px) clamp(36px, 6vw, 88px);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.hero__content {
  display: flex;
  flex-direction: column;
}

.hero .eyebrow {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.hero h1 {
  font-size: clamp(1.95rem, 4.4vw, 3.4rem);
  line-height: 1.14;
  margin: 0 0 16px;
  color: #FFFFFF;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.8);
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero .lede {
  max-width: 56ch;
  margin-bottom: 26px;
  font-size: clamp(0.95rem, 2vw, 1.06rem);
  color: #E2EBF3;
  line-height: 1.65;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.8);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
@media (max-width: 520px) {
  .hero__cta {
    flex-direction: column;
    gap: 10px;
  }
  .hero__cta .btn {
    width: 100%;
    min-height: 48px;
  }
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
@media (max-width: 768px) {
  .hero__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
    margin-top: 24px;
    padding-top: 18px;
  }
}
@media (max-width: 360px) {
  .hero__meta {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.hero__meta div {
  font-family: var(--mono);
  font-size: clamp(0.72rem, 1.6vw, 0.78rem);
  letter-spacing: 0.02em;
  color: #C6D8E8;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.hero__meta b {
  display: block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(0.92rem, 2vw, 1rem);
  color: #FFFFFF;
  margin-bottom: 2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

/* Right-aligned Hero Visual (Bottles / Products) */
.hero__logo-col,
.hero__bottles-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__bottles-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 55px rgba(255, 140, 58, 0.25));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.hero__bottles-img:hover {
  transform: translateY(-6px) scale(1.03);
  filter: drop-shadow(0 26px 48px rgba(0, 0, 0, 0.98)) drop-shadow(0 0 70px rgba(255, 140, 58, 0.4));
}

.hero__logo-img-large {
  width: 100%;
  max-width: 440px;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 40px rgba(255, 140, 58, 0.15));
  transition: transform 0.35s ease, filter 0.35s ease;
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
    background-position: center center;
  }
  .hero__overlay {
    background: linear-gradient(180deg, rgba(8, 28, 48, 0.85) 0%, rgba(8, 28, 48, 0.97) 100%);
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero__logo-col,
  .hero__bottles-col {
    order: -1;
    justify-content: center;
  }
  .hero__bottles-img {
    max-width: 300px;
    max-height: 220px;
  }
  .hero__logo-img-large {
    max-width: 240px;
    max-height: 100px;
  }
}
@media (max-width: 480px) {
  .hero__bottles-img {
    max-width: 220px;
    max-height: 170px;
  }
}

/* ============================================================
   COMPLIANCE RIBBON
   ============================================================ */
.ribbon {
  background: var(--accent);
  color: #14283F;
  width: 100%;
}
.ribbon__in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 10px var(--pad);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(0.68rem, 1.8vw, 0.78rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}
.ribbon svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}
@media (max-width: 480px) {
  .ribbon__in {
    padding: 8px var(--pad);
    gap: 10px;
  }
}

/* ============================================================
   CATALOG & PRODUCT GRID
   ============================================================ */
.cat__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.cat__head p { margin: 0; }
@media (max-width: 640px) {
  .cat__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .cat__head .btn {
    width: 100%;
  }
}

/* Filter Chips with Touch Swiping */
.filters,
.chips {
  display: flex;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0 0 6px;
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 100%;
}
.filters::-webkit-scrollbar,
.chips::-webkit-scrollbar {
  display: none;
}
.chip {
  appearance: none;
  background: transparent;
  color: #B9CADA;
  cursor: pointer;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  min-height: 40px;
  padding: 8px 16px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
  white-space: nowrap;
  flex-shrink: 0;
  touch-action: manipulation;
}
.chip:hover {
  border-color: var(--accent);
  color: #fff;
}
.chip[aria-pressed="true"],
.chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #10243A;
  font-weight: 700;
}

/* Strict Mobile & Desktop Responsive Grids */
ul.products,
.woocommerce ul.products,
.woocommerce-page ul.products,
.woocommerce ul.products.columns-4,
.woocommerce-page ul.products.columns-4,
.woocommerce .products,
.woocommerce-page .products,
.woocommerce .grid,
.woocommerce-page .grid,
.grid {
  display: grid !important;
  gap: 20px !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  list-style: none !important;
  margin: 0 0 36px !important;
  padding: 0 !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
}

ul.products::before,
ul.products::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
  content: "" !important;
}

ul.products > li.product,
ul.products > article.product,
ul.products > .card,
ul.products > .product-card,
.grid > .card,
.grid > .product-card,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
  box-sizing: border-box !important;
}

@media (max-width: 1040px) {
  ul.products,
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce ul.products.columns-4,
  .woocommerce-page ul.products.columns-4,
  .woocommerce .products,
  .woocommerce-page .products,
  .woocommerce .grid,
  .woocommerce-page .grid,
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}
@media (max-width: 768px) {
  ul.products,
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce ul.products.columns-4,
  .woocommerce-page ul.products.columns-4,
  .woocommerce .products,
  .woocommerce-page .products,
  .woocommerce .grid,
  .woocommerce-page .grid,
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin-bottom: 28px !important;
  }
}
@media (max-width: 340px) {
  ul.products,
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce ul.products.columns-4,
  .woocommerce-page ul.products.columns-4,
  .woocommerce .products,
  .woocommerce-page .products,
  .woocommerce .grid,
  .woocommerce-page .grid,
  .grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

/* ============================================================
   STANDARDIZED PRODUCT CARD
   ============================================================ */
.product-card,
.card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #123655 0%, #0C2740 100%);
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}
.product-card:hover,
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 140, 58, 0.5);
  box-shadow: 0 20px 44px -20px rgba(0, 0, 0, 0.9);
}

.card__img {
  position: relative;
  background: radial-gradient(60% 70% at 50% 78%, rgba(255, 140, 58, 0.18), transparent 70%);
  padding: 16px 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  overflow: hidden;
}
@media (max-width: 600px) {
  .card__img {
    min-height: 140px;
    padding: 12px 10px 0;
  }
}
.card__img img {
  height: 180px;
  max-height: 180px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
@media (max-width: 600px) {
  .card__img img {
    height: 135px;
    max-height: 135px;
  }
}
.product-card:hover .card__img img {
  transform: scale(1.04);
}

.card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(8, 28, 48, 0.85);
  border: 1px solid var(--line-dark);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: var(--r-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  z-index: 2;
}

.card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid var(--line-dark);
}
@media (max-width: 600px) {
  .card__body {
    padding: 10px 10px 12px;
  }
}
.card h3,
.product-card__title {
  margin: 0 0 6px;
  font-size: clamp(0.92rem, 2.2vw, 1.12rem);
  color: #fff;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
@media (max-width: 600px) {
  .product-card__title {
    font-size: 0.88rem;
    min-height: 2.6em;
  }
}
.product-card__title a:hover {
  color: var(--accent);
}

/* Live WooCommerce Price & Action Strip */
.card__action {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.16);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (max-width: 600px) {
  .card__action {
    padding-top: 8px;
    gap: 8px;
  }
}
.card__price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
@media (max-width: 600px) {
  .card__price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
}
.card__price {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(0.98rem, 2.4vw, 1.25rem);
  color: #fff;
  letter-spacing: -0.01em;
}
.card__price del {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 400;
  margin-right: 4px;
}
.card__price ins {
  text-decoration: none;
  color: var(--accent);
}
.card__stock-status {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--success);
  letter-spacing: 0.04em;
}
@media (max-width: 600px) {
  .card__stock-status {
    font-size: 0.58rem;
  }
}
.card__btn {
  width: 100%;
  min-height: 42px;
  padding: 10px 14px;
  font-size: 0.84rem;
  touch-action: manipulation;
}
@media (max-width: 600px) {
  .card__btn {
    min-height: 38px !important;
    padding: 8px 10px !important;
    font-size: 0.74rem !important;
    gap: 6px !important;
  }
  .card__btn svg {
    width: 13px;
    height: 13px;
  }
}

.card__note {
  margin: 10px 0 0;
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8298AE;
  line-height: 1.4;
  text-align: center;
}
@media (max-width: 600px) {
  .card__note {
    font-size: 0.56rem;
    margin-top: 6px;
  }
}

.cat__foot {
  margin-top: 32px;
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  background: rgba(31, 111, 122, 0.15);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.cat__foot p {
  margin: 0;
  font-size: 0.9rem;
  color: #C3D3E1;
  max-width: 60ch;
}
@media (max-width: 640px) {
  .cat__foot {
    flex-direction: column;
    align-items: stretch;
  }
  .cat__foot .btn {
    width: 100%;
  }
}

/* ============================================================
   QUALITY CONTROL — ANALYTICAL STANDARDS
   ============================================================ */
.qc {
  display: grid;
  gap: clamp(24px, 5vw, 56px);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
}
@media (max-width: 940px) {
  .qc { grid-template-columns: 1fr; }
}

.trace {
  background: linear-gradient(165deg, #143A5C 0%, #0A2138 100%);
  border: 1px solid rgba(15, 45, 74, 0.28);
  border-radius: var(--r);
  padding: clamp(16px, 3vw, 24px);
  box-shadow: 0 24px 50px -30px rgba(8, 28, 48, 0.75);
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
@media (max-width: 940px) {
  .trace { position: static; order: 2; margin-top: 12px; }
}
.trace__hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.trace__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  border: 1px solid rgba(255, 140, 58, 0.45);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
}
.trace__pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: block;
}
.trace svg {
  width: 100%;
  height: auto;
  display: block;
}
.trace__ft {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
}
@media (max-width: 480px) {
  .trace__ft {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }
}
.trace__ft dt {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7E95AC;
  margin-bottom: 3px;
}
.trace__ft dd {
  margin: 0;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(0.72rem, 2vw, 0.82rem);
  color: #fff;
  word-break: break-word;
}
.trace__ft dd.pending { color: var(--accent); }

.checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 520px) {
  .checks { grid-template-columns: 1fr; }
}
.checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--r-sm);
  padding: 8px 12px;
  font-size: clamp(0.82rem, 1.8vw, 0.9rem);
  color: var(--ink);
  font-weight: 600;
}
.checks svg {
  flex: 0 0 auto;
  color: var(--teal);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
}
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; gap: 16px; }
}
.stats b {
  display: block;
  font-family: var(--sans);
  font-weight: 800;
  line-height: 1;
  font-size: clamp(1.8rem, 4.4vw, 2.4rem);
  color: #B4551A;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.stats h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  color: var(--navy);
}
.stats p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--slate-ink);
}

.callout {
  margin-top: 24px;
  padding: clamp(16px, 3vw, 22px);
  background: var(--navy);
  color: #DCE7F1;
  border-radius: var(--r);
}
.callout p {
  margin: 0;
  font-size: clamp(0.86rem, 1.8vw, 0.94rem);
  line-height: 1.6;
}
.callout strong {
  color: #fff;
}

/* ============================================================
   FAQ & COA SPECIMEN CARD
   ============================================================ */
.faq__grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
}
@media (max-width: 940px) {
  .faq__grid { grid-template-columns: 1fr; }
}

.coacard {
  background: linear-gradient(180deg, #143A5C 0%, #0C2740 100%);
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
@media (max-width: 940px) {
  .coacard { position: static; order: 2; margin-top: 12px; }
}
.coacard__hd {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-dark);
  background: linear-gradient(115deg, rgba(255, 140, 58, 0.16), rgba(31, 111, 122, 0.10));
}
.coacard__hd h3 {
  margin: 0 0 4px;
  font-size: 1.02rem;
  color: #fff;
}
.coacard__hd span {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.coacard dl {
  margin: 0;
  padding: 6px 18px 14px;
}
.coacard .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.coacard .row:last-child { border-bottom: 0; }
.coacard dt {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7E95AC;
  flex: 0 0 auto;
}
.coacard dd {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(0.72rem, 1.8vw, 0.78rem);
  color: #E2EBF3;
  text-align: right;
  word-break: break-word;
}
.coacard dd.hi { color: var(--accent); }
.coacard__ft {
  padding: 4px 18px 18px;
}
.coacard__ft .btn { width: 100%; min-height: 44px; }
.coacard__ft p {
  margin: 10px 0 0;
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7E95AC;
  line-height: 1.5;
  text-align: center;
}

.acc {
  border-top: 1px solid var(--line-dark);
}
.acc:last-of-type {
  border-bottom: 1px solid var(--line-dark);
}
.acc__btn {
  width: 100%;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  min-height: 48px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(0.92rem, 2vw, 1.02rem);
  color: #fff;
  line-height: 1.4;
  transition: color 0.18s;
  touch-action: manipulation;
}
.acc__btn:hover { color: var(--accent); }
.acc__chev {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--accent);
  transition: transform 0.25s ease;
}
.acc__btn[aria-expanded="true"] .acc__chev {
  transform: rotate(180deg);
}
.acc__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.acc__panel > div {
  padding: 0 24px 20px 4px;
}
.acc__panel p {
  font-size: clamp(0.88rem, 1.8vw, 0.94rem);
  color: #C0D0DF;
  line-height: 1.65;
  margin: 0 0 0.8em;
}
.acc__panel p:last-child { margin: 0; }

/* ============================================================
   COA REQUEST FORM
   ============================================================ */
.coa {
  background: linear-gradient(160deg, #123655, #0A2138);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  padding: clamp(20px, 4vw, 44px);
  margin-top: clamp(36px, 6vw, 64px);
  width: 100%;
}
.coa h3 {
  font-size: clamp(1.25rem, 2.8vw, 1.7rem);
  color: #fff;
}
.coa .field {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin: 20px 0 16px;
}
@media (max-width: 640px) {
  .coa .field {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
.coa label {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9BB0C5;
  margin-bottom: 6px;
}
.coa input,
.coa select,
.coa textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dark);
  color: #fff;
  font-family: var(--body);
  font-size: 16px; /* 16px avoids iOS auto-zoom */
  transition: border-color 0.18s, background 0.18s;
  box-sizing: border-box;
}
.coa input::placeholder { color: #7A90A7; }
.coa input:focus,
.coa select:focus,
.coa textarea:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}
.coa select option {
  background: var(--navy);
  color: #fff;
}
@media (max-width: 640px) {
  .coa .btn {
    width: 100%;
    min-height: 48px;
  }
}
.coa__msg {
  margin: 14px 0 0;
  font-size: 0.88rem;
  color: var(--accent);
  min-height: 1.2em;
  font-weight: 600;
}
.coa__fine {
  margin: 16px 0 0;
  font-size: 0.78rem;
  color: #8DA3B9;
  max-width: 64ch;
  line-height: 1.5;
}

/* ============================================================
   FOOTER
   ============================================================ */
.ftr {
  background: #061725;
  border-top: 1px solid var(--line-dark);
  padding: clamp(40px, 6vw, 70px) 0 30px;
  width: 100%;
}
.ftr__top {
  display: grid;
  gap: 32px;
  grid-template-columns: 1.6fr 1fr 1fr;
  margin-bottom: 36px;
}
@media (max-width: 860px) {
  .ftr__top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .ftr__top { grid-template-columns: 1fr; gap: 24px; }
}
.ftr__brand img {
  height: 44px;
  width: auto;
  max-width: 200px;
  margin-bottom: 14px;
}
.ftr__brand p {
  font-size: 0.88rem;
  color: #8DA3B9;
  max-width: 36ch;
  margin: 0;
  line-height: 1.6;
}
.ftr h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}
.ftr ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ftr li {
  margin-bottom: 4px;
}
.ftr li a {
  font-size: 0.88rem;
  color: #B4C6D6;
  text-decoration: none;
  transition: color 0.18s;
  display: inline-block;
  padding: 6px 0;
  min-height: 36px;
}
.ftr li a:hover { color: var(--accent); }

.disc {
  border: 1px solid rgba(255, 140, 58, 0.35);
  border-radius: var(--r);
  background: rgba(255, 140, 58, 0.06);
  padding: clamp(16px, 3vw, 24px);
  margin-bottom: 32px;
}
.disc h4 {
  margin-bottom: 10px;
  color: var(--accent);
}
.disc p {
  font-size: clamp(0.78rem, 1.8vw, 0.84rem);
  color: #A9BDD0;
  line-height: 1.65;
  margin: 0 0 0.8em;
  max-width: none;
}
.disc p:last-child { margin: 0; }
.disc strong {
  color: #FFC08A;
  font-family: var(--sans);
}

.ftr__base {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
}
@media (max-width: 600px) {
  .ftr__base {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
.ftr__base p {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #7C93A9;
}
.ftr__base nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
}
.ftr__base a {
  font-size: 0.78rem;
  color: #8DA3B9;
  display: inline-block;
  padding: 4px 0;
}
.ftr__base a:hover { color: var(--accent); }

/* ============================================================
   ADVANCED SCROLL REVEAL & SMOOTH SCROLL EFFECTS
   ============================================================ */
.rv,
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-fade {
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.rv.in,
.reveal-up.in,
.reveal-fade.in,
.reveal-scale.in {
  opacity: 1;
  transform: none;
}

/* Staggered Children Animations */
.rv-stagger > *:nth-child(1) { transition-delay: 0.04s; }
.rv-stagger > *:nth-child(2) { transition-delay: 0.08s; }
.rv-stagger > *:nth-child(3) { transition-delay: 0.12s; }
.rv-stagger > *:nth-child(4) { transition-delay: 0.16s; }
.rv-stagger > *:nth-child(5) { transition-delay: 0.20s; }
.rv-stagger > *:nth-child(6) { transition-delay: 0.24s; }
.rv-stagger > *:nth-child(7) { transition-delay: 0.28s; }
.rv-stagger > *:nth-child(8) { transition-delay: 0.32s; }

/* Floating Scroll-To-Top Button */
#scroll-top {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  right: 18px;
  width: 44px;
  height: 44px;
  background: rgba(18, 54, 85, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  z-index: 998;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  padding: 0;
  touch-action: manipulation;
}
#scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#scroll-top:hover {
  background: var(--accent);
  color: #10243A;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(255, 140, 58, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv,
  .reveal-up,
  .reveal-fade,
  .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================
   AGE & RESEARCH ACCESS GATE
   ============================================================ */
.swr-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(4, 14, 24, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 24px);
  overflow-y: auto;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  box-sizing: border-box;
}
.swr-gate-overlay.is-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.swr-gate-active {
  overflow: hidden !important;
  height: 100vh !important;
  touch-action: none !important;
}

.swr-gate-container {
  width: 100%;
  max-width: 480px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: swrGateScaleIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes swrGateScaleIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.swr-gate-card {
  width: 100%;
  background: radial-gradient(80% 50% at 50% 0%, rgba(255, 140, 58, 0.14), transparent 70%),
              linear-gradient(180deg, #102C48 0%, #081C30 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 140, 58, 0.12);
  padding: clamp(24px, 5vw, 36px) clamp(18px, 4.5vw, 30px);
  box-sizing: border-box;
  text-align: center;
  position: relative;
}

.swr-gate-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.swr-gate-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  flex-shrink: 0;
  display: inline-block;
}

.swr-gate-title {
  font-family: var(--sans);
  font-size: clamp(1.55rem, 4vw, 2.05rem);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 6px 0 10px;
}

.swr-gate-subtitle {
  font-family: var(--body);
  font-size: clamp(0.82rem, 1.8vw, 0.9rem);
  color: #9BB0C5;
  line-height: 1.5;
  margin: 0 auto 18px;
  max-width: 40ch;
}

.swr-gate-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(8, 28, 48, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  margin-bottom: 18px;
  width: 100%;
  box-sizing: border-box;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E2EBF3;
}

.swr-gate-badge-icon {
  color: #22C55E;
  font-size: 0.9rem;
  font-weight: 800;
}

.swr-gate-form {
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.swr-gate-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(8, 28, 48, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 13px 15px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  user-select: none;
  position: relative;
  box-sizing: border-box;
}

.swr-gate-option:hover {
  border-color: rgba(255, 140, 58, 0.4);
  background: rgba(18, 54, 85, 0.45);
}

.swr-gate-option.is-checked {
  border-color: var(--accent);
  background: rgba(255, 140, 58, 0.08);
}

.swr-gate-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.swr-gate-custom-check {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: var(--navy-deep);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  margin-top: 1px;
  transition: all 0.18s ease;
}

.swr-gate-checkbox:checked + .swr-gate-custom-check {
  background: var(--accent);
  border-color: var(--accent);
}

.swr-gate-checkbox:checked + .swr-gate-custom-check::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid #081C30;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-0.5px, -1px);
}

.swr-gate-checkbox:focus-visible + .swr-gate-custom-check {
  box-shadow: 0 0 0 3px rgba(255, 140, 58, 0.3);
  border-color: var(--accent);
}

.swr-gate-option-text {
  font-size: clamp(0.82rem, 1.8vw, 0.88rem);
  line-height: 1.45;
  color: #E2EBF3;
}

.swr-gate-select-wrap {
  position: relative;
  width: 100%;
}

.swr-gate-select {
  width: 100%;
  min-height: 48px;
  background: rgba(8, 28, 48, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #FFFFFF;
  font-family: var(--body);
  font-size: 16px; /* Prevents iOS Safari auto-zoom */
  padding: 12px 38px 12px 16px;
  box-sizing: border-box;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.swr-gate-select:focus {
  border-color: var(--accent);
  outline: none;
  background: var(--navy-deep);
  box-shadow: 0 0 0 3px rgba(255, 140, 58, 0.25);
}

.swr-gate-select.is-selected {
  border-color: rgba(255, 140, 58, 0.6);
}

.swr-gate-select option {
  background: #081C30;
  color: #FFFFFF;
  padding: 10px;
}

.swr-gate-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #8FA6BC;
  display: flex;
  align-items: center;
}

.swr-gate-actions {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 12px;
  margin-top: 6px;
}

.swr-gate-btn {
  min-height: 48px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s ease;
  border: 1px solid transparent;
  box-sizing: border-box;
  text-decoration: none;
}

.swr-gate-btn--decline {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-dark);
  color: #E2EBF3;
}

.swr-gate-btn--decline:hover {
  background: rgba(255, 94, 94, 0.15);
  border-color: rgba(255, 94, 94, 0.4);
  color: #FF7B7B;
}

.swr-gate-btn--enter {
  background: rgba(255, 140, 58, 0.18);
  color: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 140, 58, 0.15);
  cursor: not-allowed;
}

.swr-gate-btn--enter.is-ready,
.swr-gate-btn--enter:not([disabled]) {
  background: var(--accent);
  color: #081C30;
  font-weight: 800;
  border-color: var(--accent);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 140, 58, 0.4);
  transform: translateY(-1px);
}

.swr-gate-btn--enter.is-ready:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 24px rgba(255, 140, 58, 0.55);
  transform: translateY(-2px);
}

.swr-gate-callout {
  background: rgba(8, 28, 48, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 13px 15px;
  margin-top: 18px;
  text-align: left;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #9BB0C5;
  box-sizing: border-box;
}

.swr-gate-callout-title {
  color: #FF8C3A;
  font-weight: 700;
  margin-right: 4px;
}

.swr-gate-foot-note {
  font-size: 0.72rem;
  line-height: 1.45;
  color: #6E849B;
  text-align: center;
  margin: 14px 0 0;
  max-width: 44ch;
}
