@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
  --font-display: 'Oswald', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --font-body: 'Roboto', 'Helvetica Neue', Arial, sans-serif;

  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-surface-alt: #f4f4f4;
  --color-surface-deep: #ebeceb;
  --color-divider: #d8d8d8;
  --color-border: #c4c4c4;
  --color-text: #1a1a1a;
  --color-text-muted: #555;
  --color-text-faint: #777;
  --color-text-inverse: #ffffff;

  --color-navy: #0b2546;
  --color-navy-dark: #07182d;
  --color-navy-line: #163566;
  --color-accent: #c8102e;
  --color-accent-dark: #9a0c23;
  --color-success: #2e7d32;
  --color-warning: #b76700;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  --radius-sm: 2px;
  --radius-md: 3px;
  --radius-lg: 4px;
  --transition-interactive: 120ms ease-out;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.14);

  --content-wide: 1280px;
  --content-default: 1120px;
  --content-narrow: 760px;

  --header-h-mobile: 56px;
  --search-h-mobile: 48px;
  --topline-h: 28px;
}

html, body { overflow-x: clip; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
  color: var(--color-text);
  background: var(--color-surface-alt);
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--color-accent); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: var(--color-text);
  text-transform: none;
}
h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 700; }
h2 { font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.9rem); font-weight: 700; }
h3 { font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.2rem); font-weight: 600; }
h4 { font-size: 0.95rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }

.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  padding: 8px 16px;
  background: var(--color-navy);
  color: #fff;
  transform: translateY(-110%);
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 16px;
}

/* ============ Top utility bar ============ */
.topline {
  background: var(--color-navy-dark);
  color: #d6dceb;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.topline .container {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 16px;
}
.topline a { color: #d6dceb; }
.topline a:hover { color: #fff; }

/* ============ Mobile top bar ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--color-navy);
  color: #fff;
  border-bottom: 1px solid var(--color-navy-line);
}
.header-bar {
  height: var(--header-h-mobile);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  max-width: var(--content-wide);
  margin: 0 auto;
}
.header-bar a, .header-bar button {
  color: #fff;
  background: transparent;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  position: relative;
  color: #fff;
}
.icon-btn:hover { background: rgba(255,255,255,0.10); color: #fff; }
.icon-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }

.header-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  padding: 0 4px;
  color: #fff;
}
.header-brand:hover { color: #fff; }
.header-brand .brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.05;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.header-brand .brand-tld { font-weight: 700; }
.header-brand .brand-text small {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b8c2d6;
  margin-top: 2px;
}
.header-brand .brand-flag {
  flex: 0 0 auto;
  width: 22px;
  height: 14px;
  margin-left: 6px;
  display: inline-block;
}
@media (max-width: 999px) {
  .header-brand .brand-tld { display: none; }
  .header-brand .brand-text small { display: none; }
  .header-brand .brand-flag { width: 18px; height: 12px; margin-left: 4px; }
}
@media (max-width: 420px) {
  .header-bar { gap: 2px; padding: 0 6px; }
  .header-mobile-actions { gap: 0 !important; }
  .header-mobile-actions .icon-btn { width: 40px; }
  .header-brand .brand-text { font-size: 15px; }
  .header-brand .brand-flag { width: 16px; height: 11px; margin-left: 4px; }
}

.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
body:not(.has-quote-items) .cart-badge { display: none; }

/* ============ Mobile search row (under header) ============ */
.search-row {
  background: #fff;
  border-bottom: 1px solid var(--color-divider);
  padding: 10px 12px;
  display: flex;
  gap: 8px;
}
.search-row form { display: flex; flex: 1; }
.search-row input[type="search"] {
  flex: 1;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-right: none;
  border-radius: 2px 0 0 2px;
  background: #fff;
  font-size: 15px;
  color: var(--color-text);
  min-width: 0;
}
.search-row input[type="search"]:focus { outline: 2px solid var(--color-navy); outline-offset: -2px; }
.search-row .search-submit {
  width: 52px;
  height: 42px;
  background: var(--color-navy);
  color: #fff;
  border: 1px solid var(--color-navy);
  border-radius: 0 2px 2px 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.search-row .search-submit:hover { background: var(--color-navy-dark); }
.search-row .search-submit svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2.2; }

/* ============ Desktop nav (categories bar) ============ */
.cat-nav {
  display: none;
  background: #fff;
  border-bottom: 1px solid var(--color-divider);
}
.cat-nav .container {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0 16px;
}
.cat-nav a {
  display: inline-flex;
  align-items: center;
  padding: 12px 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--color-text);
  text-transform: uppercase;
  border-bottom: 3px solid transparent;
}
.cat-nav a:hover, .cat-nav a[aria-current="page"] {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

@media (min-width: 1000px) {
  .topline .container { padding: 6px 24px; }
  .header-bar { height: 76px; padding: 0 16px; gap: 16px; }
  .header-brand .brand-text { font-size: 24px; }
  .header-brand .brand-text small { font-size: 11px; }
  .header-brand .brand-flag { width: 26px; height: 16px; margin-left: 8px; }
  .search-row { padding: 0; border-bottom: none; background: transparent; flex: 1; }
  .search-row { max-width: 540px; }
  .search-row input[type="search"] { height: 44px; background: #fff; border-color: #fff; }
  .search-row .search-submit { height: 44px; background: var(--color-accent); border-color: var(--color-accent); }
  .search-row .search-submit:hover { background: var(--color-accent-dark); }
  .menu-toggle.desktop-hide { display: none; }
  .cat-nav { display: block; }
  .header-mobile-actions { gap: 8px; }
}

@media (max-width: 999px) {
  .desktop-only { display: none !important; }
}
@media (min-width: 1000px) {
  .mobile-only { display: none !important; }
}

/* ============ Sidebar drawer ============ */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease-out;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(86vw, 340px);
  background: #fff;
  z-index: 100;
  box-shadow: 8px 0 32px rgba(0, 0, 0, 0.25);
  transform: translateX(-105%);
  transition: transform 220ms ease-out;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.drawer.open { transform: translateX(0); }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-navy);
  color: #fff;
  padding: 0 8px 0 16px;
  height: var(--header-h-mobile);
  flex: 0 0 auto;
}
.drawer-header strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.drawer-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.drawer-close svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2.2; }

.drawer-body {
  flex: 1;
  overflow-y: auto;
  background: #fff;
}
.drawer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.drawer-list li { border-bottom: 1px solid var(--color-divider); }
.drawer-list a, .drawer-list .drawer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--color-text);
  font-weight: 500;
  background: #fff;
  width: 100%;
  text-align: left;
  border: 0;
  font-family: var(--font-body);
  min-height: 48px;
}
.drawer-list a:hover, .drawer-list .drawer-row:hover { background: var(--color-surface-alt); color: var(--color-text); }
.drawer-list a .chev, .drawer-list .drawer-row .chev {
  color: var(--color-text-faint);
  flex: 0 0 auto;
}
.drawer-list a .chev svg, .drawer-list .drawer-row .chev svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
.drawer-list li.section-label {
  background: var(--color-navy-dark);
  color: #aebac8;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 16px;
}
.drawer-list a.account-row {
  background: var(--color-surface-alt);
  font-weight: 600;
}

/* ============ Hero banner / promo ============ */
.promo-banner {
  background: var(--color-surface);
  margin: 0;
}
.promo-banner-inner {
  position: relative;
  overflow: hidden;
  background: var(--color-navy);
  color: #fff;
  min-height: 220px;
  display: flex;
  align-items: stretch;
}
.promo-banner-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.promo-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.promo-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(7,24,45,0.85) 0%, rgba(7,24,45,0.55) 60%, rgba(7,24,45,0.30) 100%);
  z-index: 1;
}
.promo-banner-content {
  position: relative;
  z-index: 2;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
}
.promo-banner-eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #ffd9a3;
}
.promo-banner-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 1.1rem + 2.6vw, 2.6rem);
  line-height: 1.05;
  color: #fff;
  margin: 0;
  max-width: 24ch;
}
.promo-banner-copy {
  color: #e3e6ec;
  max-width: 50ch;
  font-size: 14px;
}
.promo-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

@media (min-width: 1000px) {
  .promo-banner-inner { min-height: 320px; }
  .promo-banner-content { padding: 56px 32px; }
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  min-height: 42px;
  transition: background var(--transition-interactive), color var(--transition-interactive), border-color var(--transition-interactive);
  text-decoration: none;
}
.btn.primary { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.btn.primary:hover { background: var(--color-accent-dark); border-color: var(--color-accent-dark); color: #fff; }
.btn.secondary { background: #fff; color: var(--color-navy); border-color: var(--color-navy); }
.btn.secondary:hover { background: var(--color-navy); color: #fff; }
.btn.dark { background: var(--color-navy); color: #fff; border-color: var(--color-navy); }
.btn.dark:hover { background: var(--color-navy-dark); border-color: var(--color-navy-dark); color: #fff; }
.btn.small { padding: 6px 12px; min-height: 34px; font-size: 12px; }

/* ============ Section / catalog page structure ============ */
main { display: block; }

.section {
  padding: 24px 0;
  background: var(--color-surface-alt);
}
.section.on-white { background: #fff; }
.section.tight { padding: 16px 0; }
.section.spacious { padding: 36px 0; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0 10px;
  border-bottom: 2px solid var(--color-navy);
  margin-bottom: 12px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-navy);
  margin: 0;
}
.section-head .head-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
}
.section-head .head-link:hover { color: var(--color-accent-dark); }

/* ============ Category grid (3x3 image tiles) ============ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
@media (min-width: 600px) { .cat-grid { gap: 10px; } }
@media (min-width: 1000px) { .cat-grid { grid-template-columns: repeat(5, 1fr); gap: 12px; } }

.cat-tile {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-sm);
  padding: 8px 6px 10px;
  text-align: center;
  color: var(--color-text);
  min-height: 100%;
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}
.cat-tile:hover {
  border-color: var(--color-navy);
  box-shadow: var(--shadow-sm);
  color: var(--color-text);
}
.cat-tile-img {
  aspect-ratio: 4 / 3;
  background: var(--color-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 1px;
}
.cat-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cat-tile-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 8px;
  line-height: 1.15;
  color: var(--color-text);
}
@media (min-width: 1000px) {
  .cat-tile { padding: 10px 10px 14px; }
  .cat-tile-label { font-size: 14px; }
}

/* ============ Stack rows (accordion-style) ============ */
.stack-list {
  background: #fff;
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  margin: 12px 0;
}
.stack-row {
  border-bottom: 1px solid var(--color-divider);
}
.stack-row:last-child { border-bottom: none; }
.stack-row > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-navy);
  min-height: 52px;
}
.stack-row > summary::-webkit-details-marker { display: none; }
.stack-row > summary .chev {
  transition: transform 160ms ease-out;
  color: var(--color-text-faint);
}
.stack-row > summary .chev svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.stack-row[open] > summary .chev { transform: rotate(90deg); }
.stack-body {
  padding: 4px 16px 16px;
  background: #fff;
  border-top: 1px solid var(--color-divider);
}
.stack-body p { font-size: 14px; color: var(--color-text-muted); margin-bottom: 8px; }
.stack-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.stack-body ul li {
  border-top: 1px solid var(--color-divider);
}
.stack-body ul li:first-child { border-top: none; }
.stack-body ul li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
  color: var(--color-text);
}
.stack-body ul li a:hover { color: var(--color-accent); }
.stack-body ul li a .chev { color: var(--color-text-faint); }
.stack-body ul li a .chev svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ============ Image stacks (photo grid section) ============ */
.image-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
@media (min-width: 700px) { .image-stack { grid-template-columns: repeat(4, 1fr); gap: 10px; } }
.image-stack figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--color-divider);
  overflow: hidden;
}
.image-stack figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.image-stack figcaption {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px 10px;
  color: var(--color-text);
  background: #fff;
  border-top: 1px solid var(--color-divider);
}

/* ============ Catalog row CTA tiles ============ */
.row-cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
@media (min-width: 700px) { .row-cta-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
.row-cta {
  display: flex;
  background: #fff;
  border: 1px solid var(--color-divider);
  padding: 12px;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
  min-height: 76px;
}
.row-cta:hover { border-color: var(--color-navy); color: var(--color-text); }
.row-cta-img {
  width: 70px;
  height: 70px;
  flex: 0 0 auto;
  background: var(--color-surface-alt);
  overflow: hidden;
}
.row-cta-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.row-cta-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-navy);
}
.row-cta-text span {
  display: block;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* ============ Product cards / list ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (min-width: 700px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (min-width: 1100px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  background: #fff;
  border: 1px solid var(--color-divider);
  display: flex;
  flex-direction: column;
  padding: 8px;
  font-size: 13px;
}
.product-card .product-thumb {
  aspect-ratio: 5 / 3;
  background: var(--color-surface-alt);
  overflow: hidden;
  position: relative;
  margin-bottom: 6px;
}
@media (min-width: 700px) {
  .product-card { padding: 10px; }
  .product-card .product-thumb { aspect-ratio: 4 / 3; margin-bottom: 8px; }
}
.product-card .product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.thumb-code {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--color-navy);
  color: #fff;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  text-transform: uppercase;
}
.thumb-status {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(255,255,255,0.92);
  color: var(--color-navy);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  text-transform: uppercase;
  border: 1px solid var(--color-divider);
}
.product-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}
.product-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  margin-bottom: 4px;
  color: var(--color-text);
  text-transform: none;
}
.product-card .product-top { display: flex; justify-content: space-between; align-items: center; }
.product-card .product-meta { font-size: 11px; color: var(--color-text-faint); font-family: var(--font-display); letter-spacing: 0.06em; }
.product-card .product-title p { font-size: 12px; color: var(--color-text-muted); margin: 0 0 8px; }
.product-card .product-meta-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 8px;
  margin: 0 0 8px;
}
.product-card .product-meta-row > div { display: flex; flex-direction: column; gap: 0; }
.product-card .product-meta-row dt {
  font-family: var(--font-display);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
}
.product-card .product-meta-row dd { font-size: 12px; font-weight: 500; color: var(--color-text); }
.product-card .product-docs-line {
  font-size: 11px;
  color: var(--color-text-muted);
  margin: 0 0 8px;
  border-top: 1px dashed var(--color-divider);
  padding-top: 6px;
}
.product-card .product-docs-line span {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-right: 6px;
}
.product-card .product-specs { display: none; }
.product-card .product-cta { margin-top: auto; width: 100%; padding: 8px 10px; font-size: 12px; min-height: 38px; }

@media (max-width: 699px) {
  .product-card { font-size: 12px; }
  .product-card h3 { font-size: 13px; margin-bottom: 2px; }
  .product-card .product-tag { font-size: 9px; margin-bottom: 2px; }
  .product-card .product-meta { font-size: 10px; }
  .product-card .product-top { margin-bottom: 2px; }
  .product-card .product-title p { display: none; }
  .product-card .product-title { margin-bottom: 4px; }
  .product-card .product-meta-row { grid-template-columns: 1fr; gap: 2px; margin: 0 0 6px; }
  .product-card .product-meta-row > div:nth-child(n+3) { display: none; }
  .product-card .product-meta-row > div { flex-direction: row; align-items: baseline; gap: 6px; }
  .product-card .product-meta-row dt { font-size: 9px; }
  .product-card .product-meta-row dd { font-size: 11px; }
  .product-card .product-docs-line { display: none; }
  .product-card .product-cta { padding: 7px 10px; font-size: 11px; min-height: 34px; }
}

/* ============ Catalog toolbar ============ */
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--color-divider);
  padding: 10px;
  margin-bottom: 12px;
}
.catalog-toolbar .search-input {
  flex: 1;
  min-width: 180px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: 2px;
  font-size: 14px;
}
.catalog-toolbar .search-input:focus { outline: 2px solid var(--color-navy); outline-offset: -2px; }
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.filter-pill {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  border-radius: 2px;
  min-height: 32px;
  cursor: pointer;
}
.filter-pill:hover { border-color: var(--color-navy); }
.filter-pill.active { background: var(--color-navy); color: #fff; border-color: var(--color-navy); }

/* ============ Page hero ============ */
.page-hero {
  background: var(--color-navy);
  color: #fff;
  padding: 24px 0;
  border-bottom: 4px solid var(--color-accent);
}
.page-hero .eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #ffd9a3;
  margin-bottom: 8px;
}
.page-hero h1 {
  color: #fff;
  margin: 0;
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem);
}
.page-hero .lead { color: #d6dceb; max-width: 64ch; margin-top: 8px; font-size: 14px; }

/* ============ Notice / disclaimer block ============ */
.notice {
  background: #fff;
  border: 1px solid var(--color-divider);
  border-left: 4px solid var(--color-navy);
  padding: 16px;
  margin: 12px 0;
}
.notice h2, .notice h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.notice p { font-size: 13px; color: var(--color-text-muted); }

/* ============ Quote / request flow ============ */
.quote-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 900px) { .quote-layout { grid-template-columns: 1.5fr 1fr; gap: 24px; } }
.quote-card {
  background: #fff;
  border: 1px solid var(--color-divider);
  padding: 20px;
}
.quote-card h2 { font-size: 1.2rem; margin-bottom: 6px; }
.card-copy { font-size: 13px; color: var(--color-text-muted); margin: 0 0 8px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 600px) { .form-grid { grid-template-columns: repeat(2, 1fr); } .field.full { grid-column: 1/-1; } }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text);
}
.field input, .field select, .field textarea {
  border: 1px solid var(--color-border);
  border-radius: 2px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: var(--font-body);
  background: #fff;
  color: var(--color-text);
  min-height: 42px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--color-navy); outline-offset: -2px; }
.form-hint { font-size: 12px; color: var(--color-text-faint); }
.form-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.quote-list { display: flex; flex-direction: column; gap: 6px; }
.quote-item {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-divider);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
}
.quote-item strong { display: block; font-size: 13px; color: var(--color-text); font-family: var(--font-display); font-weight: 600; }
.quote-item span { font-size: 11px; color: var(--color-text-muted); display: block; }
.remove-item { width: 32px; height: 32px; color: var(--color-text-muted); font-size: 18px; line-height: 1; }
.remove-item:hover { color: var(--color-accent); }
.empty-quote { font-size: 13px; color: var(--color-text-muted); }

/* ============ FAQ items ============ */
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 6px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--color-divider);
  padding: 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 16px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; color: var(--color-text-muted); font-weight: 400; }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { padding: 0 16px 14px; font-size: 13px; color: var(--color-text-muted); }

/* ============ Tables / comparison ============ */
.comparison { background: #fff; border: 1px solid var(--color-divider); overflow-x: auto; }
.comparison table { width: 100%; border-collapse: collapse; font-size: 13px; }
.comparison th, .comparison td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--color-divider); }
.comparison th { background: var(--color-surface-alt); font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; font-size: 12px; }

/* ============ Two-column / about layout ============ */
.two-column, .about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 900px) { .two-column, .about-layout { grid-template-columns: 1fr 1fr; gap: 24px; } }
.info-stack { display: flex; flex-direction: column; gap: 8px; }
.info-card {
  background: #fff;
  border: 1px solid var(--color-divider);
  padding: 16px;
}
.info-card h3 { font-size: 1rem; margin-bottom: 6px; }
.info-card.large { padding: 20px; }
.card-number {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  display: inline-block;
  margin-bottom: 4px;
}
.feature-list { list-style: none; padding: 0; margin: 8px 0 0; }
.feature-list li { padding: 6px 0; border-top: 1px dashed var(--color-divider); font-size: 13px; color: var(--color-text-muted); }
.feature-list li:first-child { border-top: none; }

.binary-list { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 700px) { .binary-list { grid-template-columns: 1fr 1fr; } }
.binary-list h4 { color: var(--color-navy); margin-bottom: 6px; }
.binary-list .do-not h4 { color: var(--color-accent); }
.binary-list ul { list-style: disc; margin: 0; padding-left: 18px; }
.binary-list li { font-size: 13px; color: var(--color-text-muted); padding: 2px 0; }

.timeline { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 800px) { .timeline { grid-template-columns: repeat(4, 1fr); } }
.timeline-item {
  background: #fff;
  border: 1px solid var(--color-divider);
  border-top: 4px solid var(--color-navy);
  padding: 12px 14px;
}
.timeline-item span {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  font-weight: 700;
}
.timeline-item strong { display: block; font-family: var(--font-display); font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-navy); margin: 4px 0 4px; }
.timeline-item p { font-size: 13px; color: var(--color-text-muted); margin: 0; }

.about-card {
  background: #fff;
  border: 1px solid var(--color-divider);
  overflow: hidden;
}
.about-card-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.about-card-body { padding: 16px; }
.about-card-body h3 { margin-bottom: 6px; }
.about-card-body dl { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; margin-top: 10px; font-size: 12px; }
.about-card-body dt { font-family: var(--font-display); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-faint); }
.about-card-body dd { color: var(--color-text); margin: 0 0 4px; }

/* About: section-label utility */
.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  margin-bottom: 6px;
}
.lead { font-size: 15px; color: var(--color-text); }

/* Info grid (custom blends page) */
.info-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 900px) { .info-grid { grid-template-columns: 1.2fr 1fr; gap: 24px; } }

/* ============ Footer ============ */
.site-footer {
  background: var(--color-navy);
  color: #c8d0df;
  margin-top: 24px;
}
.footer-cta-band {
  background: var(--color-navy-dark);
  border-bottom: 4px solid var(--color-accent);
  padding: 18px 0;
}
.footer-cta-band .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: center;
}
@media (min-width: 800px) { .footer-cta-band .container { grid-template-columns: 1fr auto; } }
.footer-cta-band h3 { color: #fff; font-size: 1.2rem; margin: 0; }
.footer-cta-band p { color: #aebac8; font-size: 14px; margin: 2px 0 0; }
.footer-cta-band .footer-cta-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
  padding: 28px 16px;
  max-width: var(--content-wide);
  margin: 0 auto;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: repeat(6, 1fr); padding: 40px 16px; gap: 24px; } }

.footer-col { display: flex; flex-direction: column; gap: 4px; }
.footer-col h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--color-navy-line);
}
.footer-col a, .footer-col span {
  color: #c8d0df;
  font-size: 13px;
  padding: 3px 0;
  display: block;
  line-height: 1.35;
}
.footer-col a:hover { color: #fff; }
.footer-col strong { color: #fff; font-weight: 600; }
.footer-col.brand-col { grid-column: 1/-1; }
@media (min-width: 1000px) { .footer-col.brand-col { grid-column: span 2; } }
.footer-col.brand-col .brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  display: block;
  margin-top: 8px;
}
.footer-col.brand-col .brand-tld { display: inline; }
.footer-col.brand-col .brand-text small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #aebac8;
  margin-top: 4px;
}
.footer-col.brand-col p {
  color: #aebac8;
  font-size: 12px;
  margin-top: 12px;
  max-width: 36ch;
}

.footer-meta {
  border-top: 1px solid var(--color-navy-line);
  padding: 16px;
  font-size: 11px;
  color: #aebac8;
  max-width: var(--content-wide);
  margin: 0 auto;
}
.footer-meta p { margin: 4px 0; max-width: 100%; }
.footer-meta .footer-compliance {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============ Toast ============ */
.toast {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  background: var(--color-navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 2px;
  font-size: 13px;
  z-index: 110;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms, transform 200ms;
  max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }

/* ============ Utility ============ */
.hide { display: none !important; }

/* Make sure no horizontal scroll */
img, picture, video, canvas, svg { max-width: 100%; height: auto; display: block; }
*, *::before, *::after { box-sizing: border-box; }

ul[role='list'], ol[role='list'] { list-style: none; padding: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Lock body scroll when drawer open */
body.drawer-open { overflow: hidden; }

/* ============ Peptide pages ============ */
.breadcrumbs {
  background: #f4f6f8;
  border-bottom: 1px solid var(--color-navy-line);
  font-size: 12px;
  padding: 8px 0;
}
.breadcrumbs .container {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumbs a {
  color: var(--color-navy);
  text-decoration: none;
  font-weight: 600;
}
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span[aria-current] { color: #555; }

.peptide-hero {
  background: linear-gradient(180deg, #f4f6f8 0%, #e7eef5 100%);
  padding: 24px 0 32px;
  border-bottom: 1px solid var(--color-navy-line);
}
.peptide-hero-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 1.5fr);
  gap: 24px;
  align-items: center;
}
.peptide-hero-img img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(11,37,70,0.18);
}
.peptide-hero-text .eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--color-red);
  font-weight: 700;
  margin-bottom: 8px;
}
.peptide-hero-text h1 {
  font-size: 28px;
  font-family: var(--font-display);
  color: var(--color-navy);
  margin: 0 0 12px;
  line-height: 1.2;
}
.peptide-hero-text .alias-line {
  font-size: 13px;
  color: #444;
  margin: 0 0 8px;
}
.peptide-hero-text .lede {
  font-size: 15px;
  color: #2e2e2e;
  margin: 0 0 16px;
  max-width: 60ch;
}
.peptide-hero-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.peptide-hero-text .notice-inline {
  margin-top: 12px;
  padding: 10px 12px;
  background: #fff;
  border-left: 3px solid var(--color-red);
  font-size: 12.5px;
  color: #444;
}

.spec-list {
  list-style: disc inside;
  padding: 0;
  margin: 0;
  color: #2e2e2e;
}
.spec-list li {
  padding: 6px 0;
  border-bottom: 1px solid #e2e7ec;
  font-size: 14px;
}
.spec-list li:last-child { border-bottom: none; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
  border: 1px solid var(--color-navy-line);
}
.spec-table th, .spec-table td {
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid #e2e7ec;
  vertical-align: top;
  word-break: break-word;
}
.spec-table th {
  background: #f4f6f8;
  color: var(--color-navy);
  width: 32%;
  font-family: var(--font-display);
}
.spec-table tr:last-child td, .spec-table tr:last-child th { border-bottom: none; }
.spec-table a { color: var(--color-red); }

.mechanism {
  font-size: 14.5px;
  color: #2e2e2e;
  line-height: 1.55;
  max-width: 80ch;
  margin: 0;
  word-break: break-word;
}
.mechanism a { color: var(--color-red); word-break: break-all; }
.advisory {
  margin-top: 12px;
  padding: 10px 12px;
  font-size: 12.5px;
  border-left: 3px solid var(--color-navy);
  background: #f4f6f8;
}

.source-list {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--color-navy);
  word-break: break-all;
}
.source-list a { color: var(--color-red); word-break: break-all; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.related-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-navy-line);
  background: #fff;
  text-decoration: none;
  color: inherit;
  border-radius: 2px;
  overflow: hidden;
}
.related-card:hover { border-color: var(--color-red); }
.related-card-img { aspect-ratio: 4/3; background: var(--color-navy); }
.related-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.related-card-text { padding: 8px 10px; }
.related-card-text strong { display: block; font-family: var(--font-display); font-size: 13px; color: var(--color-navy); }
.related-card-text span { display: block; font-size: 11px; color: #6b7785; margin-top: 2px; }

.peptide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.peptide-tile {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-navy-line);
  background: #fff;
  text-decoration: none;
  color: inherit;
  border-radius: 2px;
  overflow: hidden;
}
.peptide-tile:hover { border-color: var(--color-red); }
.peptide-tile-img { aspect-ratio: 4/3; background: var(--color-navy); }
.peptide-tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.peptide-tile-text { padding: 8px 10px; }
.peptide-tile-text strong { display: block; font-family: var(--font-display); font-size: 13px; color: var(--color-navy); line-height: 1.2; }
.peptide-tile-text span { display: block; font-size: 11px; color: #6b7785; margin-top: 4px; word-break: break-word; }

.cat-desc {
  font-size: 13.5px;
  color: #555;
  margin: 0 0 12px;
  max-width: 80ch;
}

.section-head h2 a { color: inherit; text-decoration: none; }
.section-head h2 a:hover { color: var(--color-red); }

@media (max-width: 720px) {
  .peptide-hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .peptide-hero-text h1 { font-size: 22px; }
  .spec-table th { width: 38%; font-size: 12.5px; }
  .spec-table td { font-size: 12.5px; }
  .related-grid, .peptide-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}

/* ============ Research Peptide Directory (homepage) ============ */
.dir-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.dir-card {
  border: 1px solid var(--color-navy-line);
  background: #fff;
  padding: 12px 14px 14px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
}
.dir-card h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--color-navy);
  line-height: 1.2;
}
.dir-card h3 a { color: inherit; text-decoration: none; }
.dir-card h3 a:hover { color: var(--color-red); text-decoration: underline; }
.dir-card p {
  margin: 0 0 8px;
  font-size: 12.5px;
  color: #555;
  line-height: 1.45;
}
.dir-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  border-top: 1px solid #e5e9ee;
  padding-top: 8px;
}
.dir-list li { font-size: 12.5px; line-height: 1.3; }
.dir-list a {
  color: var(--color-navy);
  text-decoration: none;
  font-weight: 600;
}
.dir-list a:hover { color: var(--color-red); text-decoration: underline; }
.dir-cta {
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-red);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.dir-cta:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .dir-grid { grid-template-columns: 1fr 1fr; }
  .dir-card { padding: 10px 10px 12px; }
  .dir-card h3 { font-size: 13px; }
  .dir-card p { font-size: 12px; }
}

/* Category index rows on peptide hub */
.cat-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 6px;
  margin-top: 8px;
}
.cat-index-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--color-navy-line);
  background: #fff;
  text-decoration: none;
  color: var(--color-navy);
  font-size: 13px;
  border-radius: 2px;
}
.cat-index-row:hover { border-color: var(--color-red); color: var(--color-red); }
.cat-index-name { font-weight: 700; font-family: var(--font-display); }
.cat-index-count {
  font-size: 11px;
  color: #6b7785;
  background: #f4f6f8;
  border: 1px solid #e1e6ec;
  padding: 1px 6px;
  border-radius: 2px;
  font-weight: 600;
  white-space: nowrap;
}
.cat-index-row:hover .cat-index-count { color: var(--color-red); border-color: var(--color-red); }

/* ============ All Peptides Directory ============ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.pep-directory {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.pep-search-row {
  position: relative;
}
.pep-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--color-navy-line);
  border-radius: 2px;
  padding: 0 10px;
  transition: border-color 0.15s ease;
}
.pep-search:focus-within { border-color: var(--color-red); }
.pep-search input[type="search"] {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 12px 4px;
  font-size: 14px;
  font-family: inherit;
  color: var(--color-navy);
  min-width: 0;
}
.pep-search input[type="search"]::-webkit-search-cancel-button { display: none; }
.pep-search-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--color-navy);
  stroke-width: 2;
  flex-shrink: 0;
}
.pep-search-clear {
  border: none;
  background: transparent;
  color: var(--color-navy);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}
.pep-search-clear:hover { color: var(--color-red); }

.pep-suggestions,
.search-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--color-navy-line);
  border-radius: 2px;
  box-shadow: 0 6px 16px rgba(11, 37, 70, 0.12);
  z-index: 40;
  max-height: 360px;
  overflow-y: auto;
}
.search-suggestions { top: calc(100% + 2px); }
.search-suggestion {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid #eef1f5;
  text-decoration: none;
  color: var(--color-navy);
  font-size: 13.5px;
}
.search-suggestion:last-child { border-bottom: none; }
.search-suggestion:hover,
.search-suggestion:focus { background: #f4f6f8; color: var(--color-red); outline: none; }
.search-suggestion-name { font-weight: 700; font-family: var(--font-display); }
.search-suggestion-name mark {
  background: rgba(200, 16, 46, 0.15);
  color: var(--color-red);
  padding: 0 2px;
  border-radius: 2px;
}
.search-suggestion-cat {
  font-size: 11.5px;
  color: #6b7785;
  text-align: right;
  flex-shrink: 0;
}
.search-suggestion-empty {
  padding: 12px;
  font-size: 13px;
  color: #6b7785;
}
.search-suggestion-all {
  display: block;
  padding: 10px 12px;
  background: #f4f6f8;
  color: var(--color-navy);
  font-weight: 700;
  font-size: 12.5px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-top: 1px solid #e1e6ec;
}
.search-suggestion-all:hover { color: var(--color-red); }

.filter-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--color-navy-line);
  background: #fff;
  color: var(--color-navy);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.filter-chip:hover { border-color: var(--color-red); color: var(--color-red); }
.filter-chip.is-active {
  background: var(--color-navy);
  color: #fff;
  border-color: var(--color-navy);
}
.filter-chip.is-active .chip-count { background: var(--color-red); color: #fff; border-color: var(--color-red); }
.chip-count {
  display: inline-block;
  font-size: 10px;
  background: #f4f6f8;
  color: var(--color-navy);
  border: 1px solid #e1e6ec;
  padding: 1px 5px;
  border-radius: 2px;
  font-weight: 700;
}

.pep-count-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.pep-count {
  font-size: 12.5px;
  color: #555;
  font-weight: 600;
}
.pep-reset {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-red);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.pep-reset:hover { text-decoration: underline; }

.pep-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-navy-line);
  background: #fff;
  border-radius: 2px;
}
.pep-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.pep-table thead th {
  text-align: left;
  background: var(--color-navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--color-navy-line);
  white-space: nowrap;
}
.pep-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid #eef1f5;
  vertical-align: top;
}
.pep-table tbody tr:last-child td { border-bottom: none; }
.pep-table tbody tr:hover { background: #f7f9fb; }
.pep-cell-name a {
  color: var(--color-navy);
  text-decoration: none;
}
.pep-cell-name a:hover { color: var(--color-red); text-decoration: underline; }
.pep-cell-name strong {
  font-family: var(--font-display);
  font-size: 14px;
  display: block;
}
.pep-aliases {
  display: block;
  font-size: 11.5px;
  color: #6b7785;
  margin-top: 2px;
}
.pep-cell-cat a {
  color: #4a5b70;
  text-decoration: none;
  font-size: 12.5px;
}
.pep-cell-cat a:hover { color: var(--color-red); text-decoration: underline; }
.pep-cell-formula {
  font-family: 'Roboto Mono', 'SF Mono', Menlo, monospace;
  font-size: 12px;
  color: #4a5b70;
  white-space: nowrap;
}
.pep-cell-residues {
  font-variant-numeric: tabular-nums;
  color: #4a5b70;
  white-space: nowrap;
}
.pep-cell-link a {
  color: var(--color-red);
  font-weight: 700;
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.pep-cell-link a:hover { text-decoration: underline; }
.pep-th-residues, .pep-th-link { width: 1%; white-space: nowrap; }

.pep-empty {
  padding: 24px;
  text-align: center;
  color: #6b7785;
  font-size: 13.5px;
}

@media (max-width: 720px) {
  .pep-table thead { display: none; }
  .pep-table, .pep-table tbody, .pep-table tr, .pep-table td { display: block; width: 100%; }
  .pep-table tbody tr {
    border-bottom: 1px solid #e1e6ec;
    padding: 10px 12px;
  }
  .pep-table tbody tr:last-child { border-bottom: none; }
  .pep-table tbody td {
    border-bottom: none;
    padding: 2px 0;
  }
  .pep-cell-formula::before { content: "Formula: "; color: #6b7785; font-family: var(--font-display); font-size: 11px; text-transform: uppercase; letter-spacing: 0.4px; }
  .pep-cell-residues::before { content: "Residues: "; color: #6b7785; font-family: var(--font-display); font-size: 11px; text-transform: uppercase; letter-spacing: 0.4px; }
  .pep-cell-cat { font-size: 12.5px; }
  .pep-cell-link { margin-top: 4px; }
}

/* Launch-batch additions: application form, attestations, confirmation */
.app-section {
  border: 1px solid #e1e6ec;
  border-radius: 12px;
  padding: 18px 20px;
  margin: 16px 0;
  background: #fff;
}
.app-section legend {
  padding: 0 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #0b2546;
}
.attestation {
  background: #f5f8fc;
  border-color: #c6d2e2;
}
.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 8px 16px;
  margin-top: 8px;
}
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.45;
}
.check-row input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
}
.steps-list {
  list-style: decimal inside;
  padding-left: 0;
  margin: 12px 0;
  line-height: 1.6;
}
.steps-list li { margin-bottom: 8px; }
.confirmation-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 24px;
}
.confirmation-details div { border-bottom: 1px solid #e1e6ec; padding: 6px 0; }
.confirmation-details dt { font-size: 12px; color: #6b7785; text-transform: uppercase; letter-spacing: 0.4px; }
.confirmation-details dd { margin: 2px 0 0; font-size: 14px; }
[data-form-status].is-error { color: #b3261e; }
[data-form-status].is-success { color: #1f7a4d; }
.application-form .field input[disabled] { background: #f0f3f7; color: #6b7785; cursor: not-allowed; }
.hint {
  font-size: 11px;
  color: #6b7785;
  text-transform: none;
  letter-spacing: 0;
}

/* ============ RUO Warning Panel (About + per-page) ============ */
.ruo-panel {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  border: 2px solid var(--color-accent);
  background: #fffaf6;
  border-radius: 2px;
  margin: 24px 0;
  overflow: hidden;
  box-shadow: 0 2px 0 rgba(11, 37, 70, 0.08);
}
.ruo-panel .ruo-panel-mark {
  background: var(--color-navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  position: relative;
  border-right: 4px solid var(--color-accent);
}
.ruo-panel .ruo-panel-mark::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(255,255,255,0.35);
  pointer-events: none;
}
.ruo-panel .ruo-panel-mark svg {
  width: 64px;
  height: 64px;
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2;
}
.ruo-panel .ruo-panel-mark .ruo-panel-headline {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 12px;
  line-height: 1.05;
}
.ruo-panel .ruo-panel-mark .ruo-panel-sub {
  font-size: 11px;
  color: #c8d3e2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 4px;
}
.ruo-panel .ruo-panel-body {
  padding: 18px 20px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #1a1a1a;
}
.ruo-panel .ruo-panel-body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
  color: var(--color-navy);
}
.ruo-panel .ruo-panel-body ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
.ruo-panel .ruo-panel-body ul li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
}
.ruo-panel .ruo-panel-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 1px;
}
.ruo-panel .ruo-panel-foot {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7785;
  margin-top: 12px;
  border-top: 1px solid #e1e6ec;
  padding-top: 8px;
}
@media (max-width: 720px) {
  .ruo-panel { grid-template-columns: 1fr; }
  .ruo-panel .ruo-panel-mark { border-right: none; border-bottom: 4px solid var(--color-accent); padding: 16px; }
  .ruo-panel .ruo-panel-mark svg { width: 48px; height: 48px; }
}

/* Compact footer RUO block (replaces older single line). */
.footer-ruo-block {
  border: 1px solid var(--color-navy-line);
  background: rgba(255,255,255,0.04);
  padding: 12px 14px;
  margin: 8px 0 12px;
  border-radius: 2px;
}
.footer-ruo-block .footer-ruo-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-ruo-block .footer-ruo-title::before {
  content: "RUO";
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 6px;
  border-radius: 1px;
}
.footer-ruo-block p {
  font-size: 11.5px;
  line-height: 1.5;
  color: #c8d3e2;
  margin: 4px 0;
}

/* ============ 404 page ============ */
.not-found-hero {
  padding: 56px 0 32px;
  background: var(--color-navy);
  color: #fff;
  border-bottom: 4px solid var(--color-accent);
}
.not-found-hero .eyebrow { color: var(--color-accent); }
.not-found-hero h1 { color: #fff; margin: 6px 0 12px; font-size: clamp(28px, 4vw, 44px); }
.not-found-hero p { color: #c8d3e2; max-width: 60ch; }
.not-found-code {
  font-family: var(--font-display);
  font-size: 84px;
  font-weight: 700;
  line-height: 0.95;
  color: var(--color-accent);
  letter-spacing: 0.04em;
}
.not-found-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.not-found-card {
  border: 1px solid var(--color-border);
  background: #fff;
  padding: 16px;
  text-decoration: none;
  color: var(--color-text);
  transition: border-color 120ms;
}
.not-found-card:hover { border-color: var(--color-navy); }
.not-found-card strong { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-navy); }
.not-found-card span { display: block; font-size: 13px; color: #555; margin-top: 4px; }
.not-found-search {
  display: flex;
  border: 2px solid var(--color-navy);
  background: #fff;
  margin-top: 16px;
  max-width: 520px;
}
.not-found-search input {
  flex: 1;
  border: 0;
  padding: 10px 12px;
  font-size: 14px;
}
.not-found-search button {
  border: 0;
  background: var(--color-navy);
  color: #fff;
  padding: 10px 18px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}

/* ============ Quality Assurance page ============ */
.qa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.qa-card {
  border: 1px solid var(--color-border);
  background: #fff;
  padding: 18px;
}
.qa-card .qa-num {
  font-family: var(--font-display);
  color: var(--color-accent);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.qa-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 6px 0 8px;
  color: var(--color-navy);
}
.qa-card p { font-size: 13.5px; line-height: 1.55; color: #333; margin: 0 0 4px; }
.qa-card ul { padding-left: 18px; margin: 6px 0 0; font-size: 13px; }
.qa-card ul li { margin-bottom: 4px; }
