/* PepLush - Premium sakura aesthetic. Swap :root tokens when brand colors arrive. */

:root {
  --color-primary: #d4587a;
  --color-primary-light: #f4b8ca;
  --color-primary-dark: #922d4d;
  --color-accent: #e0a882;
  --color-accent-light: #ffe8d6;
  --color-bg: #fdf0f4;
  --color-bg-warm: #fae6ec;
  --color-surface: #fffbfc;
  --color-cream: #fce8ef;
  --color-text: #2a141c;
  --color-muted: #5c3d47;
  --color-border: rgba(196, 70, 104, 0.4);
  --color-success: #3d7a55;
  --color-error: #b84a4a;
  --color-notice-bg: linear-gradient(90deg, #f2a4bb 0%, #f8c8d8 50%, #f2a4bb 100%);
  --color-notice-text: #5c1a30;

  --color-stock-in: #3d7a55;
  --color-stock-low: #a87218;
  --color-stock-out: #6e5a60;
  --color-stock-preorder: #a83258;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  --font-display: "Playfair Display", "Playfair Fallback", Georgia, serif;
  --font-brand: "Tan Nimbus", "Tan Nimbus Fallback", var(--font-display);
  --font-body: "Outfit", "Outfit Fallback", system-ui, sans-serif;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2.25rem;
  --font-size-3xl: 3.25rem;
  --line-height-tight: 1.15;
  --line-height-base: 1.65;

  --max-width: 72rem;
  --header-max-width: 80rem;
  --radius: 1rem;
  --radius-sm: 0.625rem;
  --radius-lg: 1.5rem;
  --shadow: 0 4px 24px rgba(146, 45, 77, 0.14);
  --shadow-md: 0 12px 40px rgba(146, 45, 77, 0.2);
  --shadow-lg: 0 24px 64px rgba(146, 45, 77, 0.26);
  --shadow-glow: 0 8px 32px rgba(212, 88, 122, 0.45);
  --header-height: 5.5rem;
  --header-height-mobile: 4.25rem;
  --notice-banner-height: 0px;
  --site-top-offset: var(--header-height);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --gradient-brand: linear-gradient(135deg, #d4587a 0%, #a83258 100%);
  --gradient-hero: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(244, 140, 170, 0.65) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(224, 168, 130, 0.45) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 10% 60%, rgba(212, 88, 122, 0.35) 0%, transparent 60%);
}

/* PepLush brand - Tan Nimbus.
   Only request local/system names until files exist in /fonts/.
   Drop TAN-NIMBUS.woff2 (and optional .otf) into /fonts/ then restore url() sources. */
@font-face {
  font-family: "Tan Nimbus";
  src:
    local("TAN - NIMBUS"),
    local("TAN NIMBUS"),
    local("Tan Nimbus"),
    local("Georgia");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Tan Nimbus Fallback";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 92%;
  ascent-override: 88%;
  descent-override: 22%;
  line-gap-override: 0%;
}

/* Metric metrics matched to Outfit - reduces nav/logo reflow while webfont loads */
@font-face {
  font-family: "Outfit Fallback";
  src: local("Segoe UI"), local("San Francisco"), local("Helvetica Sans"), local("Helvetica UI");
  size-adjust: 101%;
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Playfair Fallback";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 108%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

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

html {
  scroll-behavior: smooth;
  overflow-y: scroll;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background: var(--color-bg);
  background-image:
    radial-gradient(circle at 20% 80%, rgba(244, 140, 170, 0.42) 0%, transparent 52%),
    radial-gradient(circle at 80% 20%, rgba(224, 168, 130, 0.32) 0%, transparent 48%),
    radial-gradient(circle at 50% 40%, rgba(212, 88, 122, 0.14) 0%, transparent 65%);
  background-attachment: fixed;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  padding-top: var(--site-top-offset);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary-dark);
  text-decoration: none;
  transition: color 0.25s var(--ease-out);
}

a:hover {
  color: var(--color-primary);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--line-height-tight);
  margin-top: 0;
}

h1 { font-size: clamp(1.85rem, 6.5vw, var(--font-size-3xl)); }
h2 { font-size: clamp(1.45rem, 4.5vw, var(--font-size-2xl)); }
h3 { font-size: clamp(1.15rem, 3.5vw, var(--font-size-xl)); }

p {
  margin-top: 0;
  margin-bottom: var(--space-md);
}

ul {
  margin-top: 0;
  padding-left: var(--space-lg);
}

/* --- Notice banner --- */

.notice-banner {
  display: none !important;
}

.notice-banner__icon {
  opacity: 0.7;
  margin-right: 0.35rem;
}

/* --- Header --- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 200;
  background: rgba(255, 251, 252, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(196, 70, 104, 0.2);
  box-shadow: 0 4px 24px rgba(146, 45, 77, 0.1);
  overflow-x: clip;
  flex-shrink: 0;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header--scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(196, 70, 104, 0.26);
  box-shadow: 0 6px 32px rgba(146, 45, 77, 0.14);
}

.header-inner {
  max-width: var(--header-max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 2.75rem);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  height: var(--header-height);
  min-height: var(--header-height);
  max-height: var(--header-height);
  flex-wrap: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 1.25rem);
  margin-left: auto;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-end;
}

/* --- Header utilities --- */

.header-utils {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.header-utils__auth {
  flex-shrink: 0;
  width: auto;
  min-width: 7.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
}

.nav-toggle {
  flex-shrink: 0;
}

.header-utils__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  transition: color 0.2s, background 0.2s, transform 0.2s;
}

.header-utils__btn svg {
  width: 1.3rem;
  height: 1.3rem;
}

.header-utils__btn:hover.header-utils__btn--link:hover {
  color: var(--color-primary-dark);
  background: rgba(184, 92, 114, 0.1);
  transform: translateY(-1px);
}

.header-utils__btn--link {
  text-decoration: none;
}

.header-utils__badge {
  position: absolute;
  top: 0.15rem;
  right: 0.15rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.15rem;
  text-align: center;
  color: #fff;
  background: var(--color-primary);
  border-radius: 999px;
  border: 2px solid #fff;
}

.header-utils__signin {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, background 0.2s;
}

.header-utils__signin svg {
  width: 1.15rem;
  height: 1.15rem;
}

.header-utils__signin:hover {
  border-color: var(--color-primary-light);
  color: var(--color-primary-dark);
  box-shadow: var(--shadow);
}

.header-utils__signin-label {
  display: none;
}

.header-utils__btn--user {
  width: auto;
  min-height: 2.75rem;
  padding: 0.45rem 0.9rem 0.45rem 0.55rem;
  border-radius: 999px;
  gap: 0.45rem;
}

.header-utils__user-label {
  font-size: 0.9rem;
  font-weight: 600;
  max-width: 6rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-utils__user-menu {
  position: relative;
}

.header-utils__user-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 12rem;
  padding: 0.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  z-index: 300;
}

.header-utils__user-dropdown a.header-utils__user-dropdown button {
  display: block;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: none;
  border-radius: calc(var(--radius-sm) - 2px);
  background: transparent;
  color: var(--color-muted);
  font-size: 0.88rem;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}

.header-utils__user-dropdown a:hover.header-utils__user-dropdown button:hover {
  background: rgba(184, 92, 114, 0.08);
  color: var(--color-primary-dark);
}

.header-utils__user-info {
  padding: 0.5rem 0.75rem 0.65rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0.25rem;
}

.header-utils__user-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text);
}

.header-utils__user-info span {
  font-size: 0.78rem;
  color: var(--color-muted);
}

.header-utils__notif-wrap {
  position: relative;
}

.notif-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: 18rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  z-index: 300;
  overflow: hidden;
}

.notif-dropdown__header {
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--color-border);
}

.notif-dropdown__empty {
  padding: 1.5rem 1rem;
  text-align: center;
}

.notif-dropdown__empty-icon {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  opacity: 0.5;
  margin-bottom: 0.5rem;
}

.notif-dropdown__empty-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.notif-dropdown__empty p {
  margin: 0 0 0.25rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.notif-dropdown__empty-hint {
  font-size: 0.78rem;
  color: var(--color-muted);
}

.notif-dropdown__footer {
  display: block;
  padding: 0.65rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  border-top: 1px solid var(--color-border);
  color: var(--color-primary-dark);
}

.notif-dropdown__footer:hover {
  background: rgba(184, 92, 114, 0.06);
}

/* --- Search modal --- */

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6rem 1rem 1rem;
}

.search-modal[hidden] {
  display: none;
}

.search-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 26, 28, 0.55);
  backdrop-filter: blur(4px);
}

.search-modal__panel {
  position: relative;
  width: 100%;
  max-width: 36rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
}

.search-modal__input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.search-modal__input-wrap:focus-within {
  border-color: var(--color-primary-light);
}

.search-modal__icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-muted);
}

.search-modal__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: inherit;
  background: transparent;
}

.search-modal__close {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-muted);
  cursor: pointer;
  padding: 0 0.25rem;
}

.search-modal__hint {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: var(--color-muted);
}

.search-modal__results {
  margin-top: 0.75rem;
}

.search-modal__result {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s;
}

.search-modal__result-thumb {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, #f8e8ee 0%, #ececec 100%);
  padding: 0.2rem;
}

.search-modal__result-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.search-modal__result:hover {
  background: rgba(184, 92, 114, 0.08);
}

.search-modal__result-name {
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.9rem;
}

.search-modal__result-meta {
  font-size: 0.78rem;
  color: var(--color-muted);
}

.search-modal__empty {
  font-size: 0.88rem;
  color: var(--color-muted);
  margin: 0;
}

/* --- Auth modals --- */

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.auth-modal[hidden] {
  display: none;
}

.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 26, 28, 0.65);
  backdrop-filter: blur(4px);
}

.auth-modal__panel {
  position: relative;
  width: 100%;
  max-width: 24rem;
  padding: 2rem 1.75rem;
  background: #1a1518;
  color: #f5eef0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(184, 92, 114, 0.25);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.auth-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #f5eef0;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.auth-modal__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.35rem;
  color: #fff;
}

.auth-modal__subtitle {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  color: rgba(245, 238, 240, 0.65);
}

.auth-modal__field {
  margin-bottom: 1rem;
}

.auth-modal__field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(245, 238, 240, 0.8);
}

.auth-modal__field input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(184, 92, 114, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
}

.auth-modal__field input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(184, 92, 114, 0.2);
}

.auth-modal__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  color: rgba(245, 238, 240, 0.75);
  cursor: pointer;
}

.auth-modal__checkbox input {
  margin-top: 0.15rem;
  accent-color: var(--color-primary);
}

.auth-modal__submit {
  width: 100%;
  margin-top: 0.25rem;
}

.auth-modal__error {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  color: #f0a0a0;
}

.auth-modal__footer {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(245, 238, 240, 0.6);
}

.auth-modal__link {
  border: none;
  background: none;
  color: var(--color-primary-light);
  font-weight: 600;
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-modal__link:hover {
  color: #fff;
}

body.modal-open {
  overflow: hidden;
  padding-right: calc(100vw - 100%);
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-logo__image {
  display: block;
  width: auto;
  height: 2.35rem;
  max-width: min(11.5rem, 46vw);
  object-fit: contain;
  object-position: left center;
}

.brand-logo__image--header {
  height: 2.4rem;
  max-width: min(12rem, 48vw);
}

.brand-logo__image--footer {
  height: 2.75rem;
  max-width: 12.5rem;
}

.brand-logo__mark {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-brand);
  color: #fff;
  border-radius: 50%;
  font-size: 0.9rem;
  box-shadow: var(--shadow-glow);
}

.brand-logo__text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.brand-logo--peplush .brand-logo__text {
  font-family: var(--font-brand);
  font-size: clamp(1.65rem, 2.5vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
  color: inherit;
}

.brand-logo__pep {
  color: #7a1e52;
}

.brand-logo__lush {
  background: linear-gradient(135deg, #ff5c9a 0%, #e91e8c 55%, #ff85b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-placeholder {
  display: none;
}

.nav-toggle {
  display: none;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.65rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  cursor: pointer;
  color: var(--color-text);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.nav-toggle:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow);
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--color-text);
  margin: 5px 0;
  border-radius: 1px;
  transition: transform 0.25s var(--ease-out), opacity 0.25s;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  padding: 0.55rem 1rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  white-space: nowrap;
  background-color: transparent;
  box-shadow: none;
  transition: color 0.25s, box-shadow 0.25s, background 0.25s;
}

.nav-link:hover {
  color: var(--color-primary-dark);
  background: rgba(244, 184, 202, 0.75);
  box-shadow: none;
}

.nav-link--active {
  color: #fff;
  background: var(--gradient-brand);
  box-shadow: var(--shadow-glow);
}

.nav-link--cta {
  background: var(--gradient-brand);
  color: #fff !important;
  margin-left: 0.65rem;
  padding-left: 1.15rem;
  padding-right: 1.15rem;
  box-shadow: var(--shadow-glow);
}

.nav-link--cta:hover {
  background: linear-gradient(135deg, #922d4d 0%, #6b2340 100%);
  color: #fff !important;
  transform: translateY(-1px);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown:hover.nav-dropdown--open.nav-dropdown:focus-within {
  z-index: 250;
}

@media (min-width: 768px) {
  .nav-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 11rem;
    height: 0.75rem;
  }
}

.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-dropdown__chevron {
  display: inline-block;
  width: 0.42rem;
  height: 0.42rem;
  margin-top: -0.12rem;
  border-right: 1.75px solid currentColor;
  border-bottom: 1.75px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.55;
  transition: transform 0.2s var(--ease-out), opacity 0.2s var(--ease-out);
  font-size: 0;
  line-height: 0;
  vertical-align: middle;
  flex-shrink: 0;
}

.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 11rem;
  padding: 0.35rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s var(--ease-out), visibility 0.2s;
  z-index: 200;
}

@media (min-width: 768px) {
  .nav-dropdown__menu::before {
    content: "";
    position: absolute;
    top: -0.75rem;
    left: 0;
    right: 0;
    height: 0.75rem;
  }
}

.nav-dropdown:hover .nav-dropdown__menu.nav-dropdown--open .nav-dropdown__menu.nav-dropdown:focus-within .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%);
}

.nav-dropdown:hover .nav-dropdown__chevron.nav-dropdown--open .nav-dropdown__chevron.nav-dropdown:focus-within .nav-dropdown__chevron {
  transform: rotate(225deg);
  opacity: 0.75;
}

.nav-dropdown__item {
  display: block;
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  border-radius: calc(var(--radius-sm) - 2px);
  transition: color 0.2s, background 0.2s;
}

.nav-dropdown__item:hover {
  color: var(--color-primary-dark);
  background: rgba(184, 92, 114, 0.08);
}

.nav-dropdown__item--active {
  color: var(--color-primary-dark);
  background: rgba(184, 92, 114, 0.12);
  font-weight: 600;
}

.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;
}

/* --- Layout --- */

main {
  flex: 1;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-xl) clamp(1rem, 4vw, var(--space-lg));
  width: 100%;
  box-sizing: border-box;
}

.container--narrow {
  max-width: 44rem;
}

@media (min-width: 768px) {
  .container {
    padding-inline: clamp(1.5rem, 5vw, 2.75rem);
  }

  .header-inner {
    padding-inline: clamp(1.5rem, 4vw, 2.75rem);
  }
}

@media (min-width: 1100px) {
  .container {
    padding-inline: clamp(2rem, 6vw, 3.5rem);
  }

  .header-inner {
    max-width: min(var(--header-max-width), calc(100% - 3rem));
    padding-inline: clamp(2rem, 5vw, 3.25rem);
  }
}

.section {
  margin-bottom: var(--space-3xl);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary-dark);
  background: var(--color-primary-light);
  border: 1px solid rgba(196, 70, 104, 0.35);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, var(--font-size-2xl));
  color: var(--color-primary-dark);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  color: var(--color-muted);
  max-width: 34rem;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.65;
}

.home-process {
  background: var(--color-cream);
  padding: clamp(1.25rem, 2.5vw, 2rem) 0;
}

.home-hero__kit-bg {
  display: none;
}

.header-utils__btn {
  color: var(--color-text);
}

.header-utils__signin {
  color: var(--color-text);
  border-color: var(--color-border);
  background: var(--color-surface);
}

.header-utils__signin:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

/* --- Hero (home) --- */

.hero {
  position: relative;
  text-align: center;
  padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23b85c72' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: 44rem;
  margin: 0 auto;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  opacity: 0.5;
}

.hero__orb--1 {
  width: 280px;
  height: 280px;
  background: rgba(232, 196, 207, 0.6);
  top: -80px;
  right: -60px;
}

.hero__orb--2 {
  width: 200px;
  height: 200px;
  background: rgba(201, 160, 108, 0.35);
  bottom: -40px;
  left: -40px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(8px);
}

.hero__title {
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
  line-height: 1.05;
}

.hero__title-accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--color-muted);
  max-width: 30rem;
  margin: 0 auto var(--space-xl);
  font-weight: 400;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-2xl);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.stat {
  text-align: center;
  min-width: 7rem;
}

.stat__value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat__label {
  font-size: 0.8rem;
  color: var(--color-muted);
  font-weight: 500;
}

/* --- Page hero (inner pages) --- */

.page-hero {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--gradient-hero);
  border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.page-hero p {
  color: var(--color-muted);
  font-size: var(--font-size-lg);
  margin-bottom: 0;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.page-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.page-header h1 {
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.page-header p {
  color: var(--color-muted);
  margin-bottom: 0;
}

/* --- Buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
  text-decoration: none;
}

.btn--primary {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(168, 50, 88, 0.5);
  color: #fff;
  background: linear-gradient(135deg, #c24a6c 0%, #922d4d 100%);
}

.btn--secondary {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  border-color: rgba(196, 70, 104, 0.45);
  box-shadow: var(--shadow);
}

.btn--secondary:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--color-primary-dark);
  border-color: var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.8);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}

.btn--sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

.btn__arrow {
  transition: transform 0.25s var(--ease-out);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

/* --- Category cards --- */

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.card {
  position: relative;
  background: var(--color-surface);
  border: 2px solid rgba(196, 70, 104, 0.28);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.35s;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

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

.card--link:hover {
  color: inherit;
}

.card__icon-wrap {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(184, 92, 114, 0.1) 0%, rgba(201, 160, 108, 0.12) 100%);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  color: var(--color-primary-dark);
}

.card__icon {
  width: 1.4rem;
  height: 1.4rem;
}

.card__title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.card__text {
  color: var(--color-muted);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-sm);
  line-height: 1.6;
}

.card__link-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* --- Features --- */

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.feature {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: var(--space-md);
  opacity: 0.35;
}

.feature__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.feature__text {
  color: var(--color-muted);
  font-size: var(--font-size-sm);
  margin-bottom: 0;
  line-height: 1.65;
}

/* --- Trust / CTA --- */

.trust-notice {
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(250,245,246,0.95) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  box-shadow: var(--shadow);
}

.trust-notice .section-title {
  margin-bottom: var(--space-md);
}

.trust-notice p {
  color: var(--color-muted);
  margin-bottom: 0;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  font-size: var(--font-size-sm);
}

.cta-band {
  text-align: center;
  padding: var(--space-2xl);
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M20 20h20v20H20V20zm-20 0h20v20H0V20z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: var(--space-sm);
}

.cta-band p {
  opacity: 0.9;
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-lg);
}

.cta-band .btn--secondary {
  background: #fff;
  border-color: #fff;
  color: var(--color-primary-dark);
}

.cta-band .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.92);
}

/* --- Product filters --- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-2xl);
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  backdrop-filter: blur(8px);
}

.filter-btn {
  padding: 0.55rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  background: transparent;
  color: var(--color-muted);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
}

.filter-btn:hover {
  color: var(--color-primary-dark);
  background: rgba(184, 92, 114, 0.06);
}

.filter-btn--active {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

/* --- Product cards --- */

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.product-card {
  background: var(--color-surface);
  border: 2px solid rgba(196, 70, 104, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.product-card__image-wrap--photo {
  background: linear-gradient(160deg, #f8e8ee 0%, #e6e6e6 100%);
  padding: var(--space-md) var(--space-lg) var(--space-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 16rem;
}

.product-card__photo {
  width: 100%;
  max-height: 17rem;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.14));
}

/* === Unified kit / vial photo framing (same visual size everywhere) === */

.kit-product-photo-frame {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0;
  background: linear-gradient(165deg, #fdf6f2 0%, #f8e8ee 50%, #f0e4dc 100%);
}

.kit-product-photo-frame--pdp {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 16rem;
  padding-bottom: 6%;
  background: linear-gradient(165deg, #fdf6f2 0%, #f8e8ee 50%, #f0e4dc 100%);
}

.kit-product-photo,
.product-card__photo.kit-product-photo,
.home-product-card__photo.kit-product-photo,
.pdp-hero__photo.kit-product-photo {
  position: relative;
  width: auto;
  height: auto;
  max-width: 82%;
  max-height: 88%;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center center;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(31, 26, 28, 0.14));
}

.kit-product-photo--thumb {
  width: 72%;
  height: 78%;
  max-width: 72%;
  max-height: 78%;
  filter: none;
}

.product-card__image-wrap {
  position: relative;
  padding: var(--space-lg);
  background: linear-gradient(160deg, #f4b8ca 0%, #e0a882 100%);
}

.product-card[hidden] {
  display: none;
}

.product-image-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 220px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8) 0%, transparent 50%),
    linear-gradient(145deg, #f4b8ca 0%, #d4587a 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(143, 63, 85, 0.45);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
}

.product-image-placeholder::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(143, 63, 85, 0.2);
  border-radius: calc(var(--radius) - 4px);
}

.product-card__category {
  position: absolute;
  top: var(--space-lg);
  left: var(--space-lg);
  padding: 0.3rem 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary-dark);
  border: 1px solid var(--color-border);
}

.product-card__body {
  padding: var(--space-lg) var(--space-xl) var(--space-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
}

.product-card__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-text);
  margin: 0;
  letter-spacing: -0.01em;
}

.product-card__name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.product-card__name a:hover {
  color: var(--color-primary-dark);
}

.product-card__variant {
  color: var(--color-muted);
  font-size: var(--font-size-sm);
  margin: 0.2rem 0 var(--space-md);
}

.product-card__price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.product-card__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.product-card__research-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  margin-bottom: var(--space-md);
}

.product-card__research-label::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

.product-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: auto;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

/* --- Stock badges --- */

.stock-badge {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 999px;
  white-space: nowrap;
}

.stock-badge--in-stock {
  background: rgba(74, 138, 98, 0.12);
  color: var(--color-stock-in);
}

.stock-badge--low-stock {
  background: rgba(184, 134, 46, 0.12);
  color: var(--color-stock-low);
}

.stock-badge--out-of-stock {
  background: rgba(122, 117, 119, 0.12);
  color: var(--color-stock-out);
}

.stock-badge--preorder {
  background: rgba(184, 92, 114, 0.12);
  color: var(--color-stock-preorder);
}

/* --- Expandable details (accordion uses grid rows on products page) --- */

.product-card__accordion .product-card__details {
  max-height: none;
  transition: none;
}

.product-card__details-inner {
  padding-top: var(--space-md);
  margin-top: var(--space-md);
  border-top: 1px dashed var(--color-border);
}

.product-card__details-inner h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.product-card__details-inner p {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
  line-height: 1.65;
}

.product-card__details-inner ul {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
  margin-bottom: var(--space-md);
  line-height: 1.65;
}

.product-card__kit-count {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--font-size-sm);
  color: var(--color-text);
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
}

/* --- Policy --- */

.policy-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow);
  counter-increment: policy;
  position: relative;
  padding-left: calc(var(--space-xl) + 2.5rem);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.policy-section:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(184, 92, 114, 0.2);
}

.policy-list {
  counter-reset: policy;
}

.policy-section::before {
  content: counter(policy);
  position: absolute;
  left: var(--space-lg);
  top: var(--space-xl);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50%;
  font-family: var(--font-body);
}

.policy-section h2 {
  font-size: 1.25rem;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.policy-section p {
  color: var(--color-muted);
  font-size: var(--font-size-sm);
  line-height: 1.7;
  margin-bottom: 0;
}

.policy-section--highlight {
  background: linear-gradient(135deg, rgba(184, 92, 114, 0.04) 0%, rgba(201, 160, 108, 0.06) 100%);
  border-color: rgba(184, 92, 114, 0.2);
}

/* --- Order form --- */

.order-layout {
  display: grid;
  gap: var(--space-xl);
}

.order-sidebar {
  background: linear-gradient(160deg, var(--color-primary-dark) 0%, #6d3040 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
}

.order-sidebar h2 {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: var(--space-lg);
}

.order-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.order-steps li {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--font-size-sm);
  opacity: 0.9;
}

.order-steps li:last-child {
  border-bottom: none;
}

.order-steps__num {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.8rem;
}

.order-form-wrap {
  flex: 1;
}

.order-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  gap: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.form-group label .required {
  color: var(--color-error);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a89da0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-surface);
  box-shadow: 0 0 0 4px rgba(184, 92, 114, 0.1);
}

.form-group input.input-error,
.form-group select.input-error,
.form-group textarea.input-error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 4px rgba(184, 61, 61, 0.08);
}

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

.field-error {
  display: block;
  color: var(--color-error);
  font-size: 0.8rem;
  margin-top: var(--space-xs);
  font-weight: 500;
}

.field-error[hidden] {
  display: none;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.form-checkbox input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--color-primary);
}

.form-checkbox label {
  font-weight: 400;
  margin-bottom: 0;
  font-size: var(--font-size-sm);
  line-height: 1.55;
}

.form-status {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-sm);
  font-weight: 500;
}

.form-status[hidden] {
  display: none;
}

.form-status--success {
  background: rgba(74, 138, 98, 0.1);
  color: var(--color-success);
  border: 1px solid rgba(74, 138, 98, 0.25);
}

.form-status--error {
  background: rgba(184, 61, 61, 0.08);
  color: var(--color-error);
  border: 1px solid rgba(184, 61, 61, 0.2);
}

.form-actions {
  margin-top: var(--space-xl);
}

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

/* --- Footer --- */

.site-footer {
  margin-top: auto;
  background: linear-gradient(180deg, #6b2545 0%, #3d101f 55%, #2a0b16 100%);
  color: rgba(255, 255, 255, 0.88);
  overflow-x: clip;
}

.footer-trust {
  background: linear-gradient(180deg, #7a2d4f 0%, #5a1f38 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: clamp(1.5rem, 4vw, 2.25rem) var(--space-lg);
}

.footer-trust__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr;
}

.footer-trust__feat {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.footer-trust__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--color-primary-light);
}

.footer-trust__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.footer-trust__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.footer-trust__text {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.55;
}

.footer-disclaimer {
  padding: clamp(1.5rem, 4vw, 2.25rem) var(--space-lg);
  background: #0a0909;
}

.footer-disclaimer__inner {
  max-width: 52rem;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-xl);
  border: 1px solid rgba(212, 88, 122, 0.55);
  border-radius: var(--radius-sm);
  text-align: center;
  background: rgba(0, 0, 0, 0.35);
}

.footer-disclaimer__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #ff9fbe;
  margin-bottom: var(--space-sm);
}

.footer-disclaimer p {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  margin: 0;
}

.footer-main {
  padding: var(--space-2xl) var(--space-lg) var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto var(--space-xl);
  display: grid;
  gap: var(--space-xl);
}

.footer-brand__logo-link {
  display: inline-block;
  margin-bottom: 0.15rem;
}

.footer-brand .brand-logo__lush {
  background: linear-gradient(135deg, #ff85b8 0%, #ff5c9a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-brand .brand-logo__text {
  color: #fff;
}

.footer-brand .brand-logo__accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
}

.footer-brand p {
  font-size: var(--font-size-sm);
  line-height: 1.65;
  margin-top: var(--space-md);
  margin-bottom: 0;
  max-width: 22rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: var(--space-md);
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-sm);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ffb8d0;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
}

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

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: #ffb8d0;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

.footer-inner {
  display: none;
}

/* --- Animations --- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .product-card:hover.card:hover.btn--primary:hover {
    transform: none;
  }
}

/* --- Utilities --- */

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

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  background: var(--color-primary-dark);
  border-radius: var(--radius-sm);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.empty-state {
  text-align: center;
  padding: var(--space-3xl);
  color: var(--color-muted);
  grid-column: 1 / -1;
  font-size: var(--font-size-lg);
}

/* --- Responsive --- */

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .form-row .form-group--full {
    grid-column: 1 / -1;
  }

  .form-actions .btn {
    width: auto;
    min-width: 14rem;
  }
}

@media (min-width: 640px) {
  .footer-trust__inner {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 900px) {
  .order-layout {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }

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

@media (min-width: 1024px) {
  .footer-trust__inner {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

@media (min-width: 768px) and (max-width: 1199px) {
  .site-nav > .nav-link[href="index.html"] {
    display: none;
  }

  .nav-link {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
  }

  .site-nav {
    gap: 0.2rem;
  }

  .header-inner {
    gap: 0.75rem;
    padding: 0 clamp(1rem, 2vw, 1.75rem);
  }
}

@media (min-width: 768px) {
  .header-utils {
    flex-shrink: 0;
  }

  .header-actions .site-nav {
    flex: 1 1 auto;
    min-width: 0;
  }
}

@media (max-width: 767px) {
  /* Never clip the hamburger off the header edge */
  .site-header {
    overflow: visible;
    overflow-x: visible;
  }

  .header-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 2.75rem;
    grid-template-areas:
      "logo utils toggle"
      "nav nav nav";
    height: auto;
    min-height: var(--header-height-mobile);
    max-height: none;
    padding: 0.55rem clamp(0.75rem, 3.5vw, 1.25rem);
    padding-right: clamp(0.75rem, 3.5vw, 1.25rem);
    gap: 0.35rem 0.4rem;
    align-items: center;
    overflow: visible;
  }

  .logo-link {
    grid-area: logo;
    min-width: 0;
    z-index: 1;
  }

  .brand-logo__image--header {
    max-width: min(8.5rem, 38vw);
    height: auto;
  }

  .header-actions {
    display: contents;
  }

  .header-utils {
    grid-area: utils;
    justify-self: end;
    align-self: center;
    gap: 0.1rem;
    max-width: none;
    min-width: 0;
    overflow: visible;
    flex-shrink: 1;
  }

  .header-utils__btn {
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
    min-height: 2.25rem;
  }

  .header-utils__btn svg {
    width: 1.1rem;
    height: 1.1rem;
  }

  /* Keep only cart + account on phones so the menu button always fits */
  .header-utils__checkout,
  .header-utils__notif-wrap,
  .header-utils__btn#header-wishlist-btn,
  .header-utils__btn#header-search-btn {
    display: none !important;
  }

  .header-utils__signin-label,
  .header-utils__user-label {
    display: none !important;
  }

  /* Match cart icon: plain circular icon button, no boxed pill */
  .header-utils__signin {
    min-height: 2.25rem !important;
    min-width: 2.25rem !important;
    width: 2.25rem !important;
    height: 2.25rem !important;
    padding: 0 !important;
    gap: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--color-text) !important;
    justify-content: center;
    align-items: center;
  }

  .header-utils__signin svg {
    width: 1.15rem !important;
    height: 1.15rem !important;
  }

  .header-utils__signin:hover {
    background: rgba(244, 184, 202, 0.35) !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--color-primary-dark) !important;
  }

  .header-utils__btn--user {
    width: 2.25rem !important;
    height: 2.25rem !important;
    min-width: 2.25rem !important;
    min-height: 2.25rem !important;
    padding: 0 !important;
  }

  .header-utils__auth {
    width: auto !important;
    min-width: 0 !important;
    max-width: 2.25rem;
  }

  .nav-toggle {
    grid-area: toggle;
    justify-self: end;
    align-self: center;
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 2.65rem !important;
    height: 2.65rem !important;
    min-width: 2.65rem !important;
    min-height: 2.65rem !important;
    max-width: 2.65rem;
    padding: 0.4rem;
    margin: 0;
    z-index: 400;
    position: relative;
    flex-shrink: 0 !important;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    box-shadow: none;
  }

  .nav-toggle__bar {
    display: block !important;
    width: 1.2rem !important;
    height: 2px !important;
    margin: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    border-radius: 1px;
    background: var(--color-text) !important;
    flex-shrink: 0;
  }

  .site-nav {
    grid-area: nav;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 251, 252, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    border-radius: 0 0 var(--radius) var(--radius);
    padding: var(--space-md) clamp(1rem, 4vw, 1.5rem) var(--space-lg);
    gap: 0.35rem;
    display: none;
    box-shadow: var(--shadow-lg);
    width: 100%;
  }

  .site-nav.nav--open {
    display: flex;
  }

  .site-nav .nav-link {
    width: 100%;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.8rem 1rem;
    min-height: 2.75rem;
    justify-content: flex-start;
    border-radius: 0.75rem;
    border: 1px solid transparent;
    background: transparent;
    color: var(--color-text);
    box-shadow: none;
  }

  .site-nav .nav-link:hover,
  .site-nav .nav-link:focus-visible {
    background: rgba(244, 184, 202, 0.28);
    color: var(--color-primary-dark);
    box-shadow: none;
  }

  /* Active page = list highlight, not a solid pink CTA block */
  .site-nav .nav-link--active,
  .site-nav .nav-link.nav-link--active {
    color: var(--color-primary-dark) !important;
    background: rgba(212, 88, 122, 0.12) !important;
    border-color: rgba(212, 88, 122, 0.22) !important;
    box-shadow: none !important;
  }

  .site-nav .nav-dropdown__trigger.nav-link--active {
    color: var(--color-primary-dark) !important;
    background: rgba(212, 88, 122, 0.12) !important;
    box-shadow: none !important;
  }

  .nav-link--cta {
    margin-left: 0;
    text-align: left;
    justify-content: flex-start;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown__menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 0.75rem;
    margin-top: 0.15rem;
    display: none;
  }

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

  .nav-dropdown__item {
    padding: 0.65rem 1rem;
    min-height: 2.75rem;
    display: flex;
    align-items: center;
  }

  .filter-bar {
    border-radius: var(--radius-lg);
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .order-sidebar {
    display: none;
  }
}

/* ------------------------------------------------------------------ */
/*  Calculator (PeptideX-style)                                       */
/* ------------------------------------------------------------------ */

.calculator-hero {
  background:
    radial-gradient(ellipse 70% 60% at 50% -10%, rgba(184, 92, 114, 0.5) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 85% 30%, rgba(0, 0, 0, 0.25) 0%, transparent 60%),
    linear-gradient(180deg, #0b0a0a 0%, #151112 55%, rgba(21, 17, 18, 0) 100%);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.calculator-hero .section-eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.calculator-hero h1 {
  color: #fff;
}

.calculator-hero p {
  color: rgba(255, 255, 255, 0.72);
}

.calculator-hero__jumps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: var(--space-lg);
}

.calculator-hero__jump {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.calculator-hero__jump:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  transform: translateY(-1px);
}

.calculator-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  color: var(--color-text);
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}

.calculator-section-lead {
  margin: 0 0 var(--space-lg);
  color: var(--color-muted);
  font-size: 0.95rem;
  max-width: 36rem;
}

#bmi-calculator,
#reconstitution-calculator {
  scroll-margin-top: calc(var(--site-top-offset) + 1rem);
}

body[data-page="calculator"] .bmi-calculator-section {
  margin-bottom: var(--space-xl);
}

body[data-page="calculator"] #reconstitution-calculator {
  padding-top: 0;
  padding-bottom: var(--space-2xl);
}

.calculator-layout {
  display: grid;
  gap: var(--space-xl);
  align-items: start;
}

.calculator-panel {
  background: #f7f7f8;
  border: 1px solid #e8e8ea;
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  padding: 1.5rem;
}

.calculator-step + .calculator-step {
  border-top: 1px solid #e8e8ea;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.calculator-step__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.calculator-step__header .calculator-step__label {
  margin-bottom: 0;
  flex: 1 1 14rem;
}

.calculator-step__label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.calculator-step__index {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  background: #ececee;
  color: #6b6b70;
  border: none;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.calculator-step__title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.2rem;
  color: #1a1a1c;
}

.calculator-step__help {
  margin: 0;
  font-size: 0.8rem;
  color: #8a8a90;
  line-height: 1.45;
}

.calc-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.calc-choice {
  text-align: left;
  background: #fff;
  border: 1.5px solid #e0e0e4;
  border-radius: 0.65rem;
  padding: 0.85rem 0.75rem 0.7rem;
  cursor: pointer;
  box-shadow: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}

.calc-choice:hover {
  border-color: #ccc;
  transform: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.calc-choice__radio {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  border: 1.5px solid #d0d0d5;
  background: transparent;
  pointer-events: none;
}

.calc-choice__top {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  margin-bottom: 0.15rem;
}

.calc-choice__value {
  font-family: ui-monospace, "Cascadia Code", "SF Mono", monospace;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1a1c;
  letter-spacing: -0.02em;
}

.calc-choice__unit {
  color: #8a8a90;
  font-size: 0.8rem;
  font-weight: 500;
}

.calc-choice__sub {
  color: #9a9aa0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.calc-choice__bar {
  height: 3px;
  border-radius: 999px;
  background: #ececee;
  position: relative;
  overflow: hidden;
}

.calc-choice__bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--bar-pct, 50%);
  background: #e8343a;
  border-radius: 999px;
  opacity: 1;
  transition: width 0.25s var(--ease-out);
}

.calc-chip-row {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 0;
}

.calc-chip-row--wrap {
  flex-wrap: wrap;
}

.calc-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.calc-chip-grid--compact .calc-chip--rect {
  min-width: 3rem;
  padding: 0.55rem 0.7rem;
}

.calc-chip {
  border: 1px solid #e0e0e4;
  background: #fff;
  color: #6b6b70;
  border-radius: 0.5rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  font-family: var(--font-body);
}

.calc-chip--rect {
  border-radius: 0.5rem;
}

.calc-chip--dashed {
  border-style: dashed;
  border-color: #c8c8ce;
  color: #8a8a90;
  background: transparent;
}

.calc-chip:hover {
  transform: none;
  border-color: #bbb;
  color: #1a1a1c;
}

.calc-chip--active {
  background: #e8343a;
  color: #fff;
  border-color: #e8343a;
  box-shadow: 0 2px 14px rgba(232, 52, 58, 0.35);
}

.calc-chip--dashed.calc-chip--active {
  border-style: solid;
}

.calc-unit-toggle {
  display: inline-flex;
  background: #ececee;
  border-radius: 999px;
  padding: 0.2rem;
  gap: 0;
  flex-shrink: 0;
}

.calc-unit-toggle--small .calc-unit-toggle__btn {
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
}

#target-unit-toggle[hidden] {
  display: none !important;
}

.calc-unit-toggle__btn {
  border: none;
  background: transparent;
  color: #8a8a90;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  font-family: var(--font-body);
}

.calc-unit-toggle__btn--active {
  background: #e8343a;
  color: #fff;
  box-shadow: 0 2px 10px rgba(232, 52, 58, 0.35);
}

.calc-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.calc-chip-grid__presets {
  display: contents;
}

.calc-chip-other {
  display: inline-flex;
  align-items: center;
  border: 1.5px dashed #c8c8ce;
  border-radius: 0.5rem;
  background: #fff;
  min-width: 6.5rem;
  transition: border-color 0.2s, box-shadow 0.2s, border-style 0.2s;
  cursor: text;
}

.calc-chip-other--active {
  border-color: #e8343a;
  border-style: solid;
  box-shadow: 0 2px 14px rgba(232, 52, 58, 0.25);
}

.calc-chip-other__input {
  border: none;
  background: transparent;
  padding: 0.55rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1a1a1c;
  width: 6.5rem;
  min-width: 0;
  font-family: var(--font-body);
  -moz-appearance: textfield;
}

.calc-chip-other__input::-webkit-outer-spin-button.calc-chip-other__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.calc-chip-other__input:focus {
  outline: none;
}

.calc-chip-other__input::placeholder {
  color: #8a8a90;
  font-weight: 600;
}

.calculator-note {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid #e8e8ea;
  border-radius: 0.65rem;
  color: #8a8a90;
  font-size: 0.82rem;
}

.calculator-note strong {
  color: #1a1a1c;
}

body[data-page="calculator"] {
  --calc-red: #e8343a;
  --calc-red-glow: rgba(232, 52, 58, 0.45);
}

body[data-page="calculator"] .calc-choice--active {
  border-color: #e8343a;
  box-shadow: 0 2px 12px rgba(232, 52, 58, 0.15);
}

body[data-page="calculator"] .calc-choice--active .calc-choice__radio {
  border-color: #e8343a;
  background: #e8343a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 6l2.5 2.5 4.5-5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.65rem;
}

body[data-page="calculator"] .calc-choice--active .calc-choice__bar::after {
  background: #e8343a;
}

/* --- Live readout card (dark) --- */

.calc-readout {
  background:
    radial-gradient(ellipse 90% 50% at 80% 0%, rgba(232, 52, 58, 0.22) 0%, transparent 55%),
    linear-gradient(165deg, #141214 0%, #0a0909 100%);
  color: #fff;
  border-radius: 1.25rem;
  padding: 1.35rem 1.35rem 1.1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.07);
  position: sticky;
  top: calc(var(--header-height) + 1rem);
}

.calc-readout__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: 0.85rem;
}

.calc-readout__live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #e8343a;
  text-transform: uppercase;
}

.calc-readout__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e8343a;
  box-shadow: 0 0 8px #e8343a;
  animation: calc-pulse 2s ease-in-out infinite;
}

@keyframes calc-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.calc-readout__syringe {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}

.calc-readout__formula {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.calc-readout__formula strong {
  color: #fff;
  font-weight: 600;
}

.calc-readout__label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.calc-readout__value-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.calc-readout__big {
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  font-family: var(--font-body);
}

.calc-readout__units-word {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

.calc-readout__ml {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* --- Syringe gauge --- */

.calc-syringe {
  margin: 1.35rem 0 1.1rem;
}

.calc-syringe__barrel {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.5rem;
  padding: 0.35rem 0.5rem;
}

.calc-syringe__track {
  position: relative;
  height: 20px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 0.3rem;
  overflow: visible;
}

.calc-syringe__ticks {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.calc-syringe__tick {
  position: absolute;
  top: 0;
  width: 1px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.22);
}

.calc-syringe__tick--minor {
  height: 7px;
}

.calc-syringe__tick--major {
  height: 11px;
  background: rgba(255, 255, 255, 0.38);
}

.calc-syringe__fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #e8343a;
  border-radius: 0.3rem 0 0 0.3rem;
  transition: width 0.3s var(--ease-out);
  box-shadow: 0 0 18px rgba(232, 52, 58, 0.65);
  z-index: 1;
}

.calc-syringe__thumb {
  position: absolute;
  top: 0;
  width: 2px;
  height: 100%;
  background: #fff;
  transform: translateX(-50%);
  transition: left 0.3s var(--ease-out);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.55);
  pointer-events: none;
  z-index: 3;
}

.calc-syringe__thumb-arrow {
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #fff;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.45));
}

.calc-syringe__scale {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding: 0 0.5rem;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.calc-syringe__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.15rem;
  padding: 0 0.1rem;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.28);
  text-transform: uppercase;
}

/* --- Stats row --- */

.calc-readout__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.calc-readout__stat-label {
  display: block;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.calc-readout__stat-val {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  line-height: 1.2;
}

.calc-readout__stat-num {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.calc-readout__stat-unit {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.01em;
}

.calc-readout__warnings {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1rem;
}

.calc-readout__warning {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.6rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
}

.calc-readout__warning[hidden] {
  display: none !important;
}

.calc-readout__warning-icon {
  flex-shrink: 0;
  font-size: 0.9rem;
  line-height: 1.35;
}

.calc-readout__warning strong {
  font-weight: 700;
}

.calc-readout__warning--low {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: rgba(255, 236, 179, 0.95);
}

.calc-readout__warning--low .calc-readout__warning-icon {
  color: #fbbf24;
}

.calc-readout__warning--exceeds {
  background: rgba(232, 52, 58, 0.15);
  border: 1px solid rgba(232, 52, 58, 0.35);
}

.calc-readout__warning--exceeds .calc-readout__warning-icon {
  color: #f87171;
}

/* --- Action buttons --- */

.calc-readout__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.calc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.calc-btn:hover {
  transform: translateY(-1px);
}

.calc-btn--copy {
  background: #e8343a;
  color: #fff;
  box-shadow: 0 4px 20px rgba(232, 52, 58, 0.45);
}

.calc-btn--copy:hover {
  box-shadow: 0 6px 28px rgba(232, 52, 58, 0.55);
}

.calc-btn--reset {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.calc-readout__footer {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
}

@media (max-width: 520px) {
  .calc-choice-grid {
    grid-template-columns: 1fr;
  }

  .calculator-step__header {
    flex-direction: column;
  }

  .calc-unit-toggle {
    width: 100%;
    justify-content: stretch;
  }

  .calc-unit-toggle__btn {
    flex: 1;
    text-align: center;
  }
}

@media (min-width: 960px) {
  .calculator-layout {
    grid-template-columns: 1fr 340px;
  }

  .calc-choice-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ------------------------------------------------------------------ */
/*  About page                                                        */
/* ------------------------------------------------------------------ */

.about-hero {
  position: relative;
  text-align: center;
  padding: var(--space-3xl) var(--space-lg) calc(var(--space-3xl) + 3rem);
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 100%, rgba(184, 92, 114, 0.45) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(201, 160, 108, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, #0f0c0d 0%, #181214 100%);
}

.about-hero__grid {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.about-hero__inner {
  position: relative;
  max-width: 44rem;
  margin: 0 auto;
}

.about-hero__badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  margin-bottom: var(--space-lg);
  background: rgba(184, 92, 114, 0.25);
  border: 1px solid rgba(232, 196, 207, 0.35);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary-light);
}

.about-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
  color: #fff;
}

.about-hero__accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-hero__lead {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.72);
  max-width: 34rem;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

.about-hero__lead strong {
  color: #fff;
  font-weight: 600;
}

.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.about-hero__btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
}

.about-hero__btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.about-hero__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.about-hero__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 8px rgba(74, 138, 98, 0.7);
}

.about-stats-wrap {
  position: relative;
  margin-top: -3rem;
  margin-bottom: var(--space-xl);
  z-index: 2;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  box-shadow: var(--shadow-lg);
}

.about-stats__item {
  text-align: center;
  padding: var(--space-sm);
}

.about-stats__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: var(--space-sm);
  background: rgba(184, 92, 114, 0.1);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
}

.about-stats__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.about-stats__value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.about-stats__label {
  font-size: 0.78rem;
  color: var(--color-muted);
  line-height: 1.4;
  max-width: 9rem;
  margin: 0 auto;
}

.about-site-notice {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  text-align: center;
  justify-content: center;
  font-size: var(--font-size-sm);
  color: var(--color-muted);
  max-width: 40rem;
  margin: 0 auto var(--space-2xl);
  line-height: 1.65;
}

.about-site-notice__icon {
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 0.1rem;
}

.about-site-notice__icon svg {
  width: 1rem;
  height: 1rem;
}

.about-pill {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  margin-bottom: var(--space-md);
  background: rgba(184, 92, 114, 0.1);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
}

.about-split {
  display: grid;
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
  align-items: start;
}

.about-split__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.about-split__line {
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

.about-split__body p {
  color: var(--color-muted);
  font-size: var(--font-size-lg);
  line-height: 1.75;
}

.about-split__body p:last-child {
  margin-bottom: 0;
}

.about-section {
  margin-bottom: var(--space-3xl);
}

.about-section__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.about-section__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: -0.02em;
}

.about-trust-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

.about-trust-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

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

.about-trust-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: var(--space-md);
  background: var(--gradient-brand);
  border-radius: var(--radius-sm);
  color: #fff;
}

.about-trust-card__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.about-trust-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

.about-trust-card p {
  color: var(--color-muted);
  font-size: var(--font-size-sm);
  margin-bottom: 0;
  line-height: 1.65;
}

.about-quality {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
  margin-bottom: var(--space-3xl);
  padding: var(--space-2xl);
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(250,245,246,0.9) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.about-quality__copy h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.about-quality__copy p {
  color: var(--color-muted);
  line-height: 1.75;
}

.about-quality__cta-text {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-lg);
  color: var(--color-text);
}

.about-quality__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.about-quality__card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.about-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: var(--space-md);
  color: var(--color-muted);
  font-size: var(--font-size-sm);
  line-height: 1.55;
}

.about-checklist li:last-child {
  margin-bottom: 0;
}

.about-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.15rem;
  height: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  background: var(--color-success);
  border-radius: 50%;
}

.about-split--alt {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.about-alert {
  margin-top: var(--space-lg);
  padding: var(--space-lg);
  background: rgba(184, 92, 114, 0.08);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.about-alert__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-sm);
}

.about-alert__icon {
  font-size: 0.9rem;
}

.about-alert p {
  color: var(--color-muted);
  font-size: var(--font-size-sm);
  margin-bottom: 0;
  line-height: 1.65;
}

.about-ops {
  display: grid;
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.about-ops__copy h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.about-ops__copy p {
  color: var(--color-muted);
  line-height: 1.75;
}

.about-info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow);
}

.about-info-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.about-info-list {
  margin: 0;
}

.about-info-list__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
}

.about-info-list__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-info-list dt {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
  font-weight: 500;
}

.about-info-list dd {
  margin: 0;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text);
  text-align: right;
}

.about-ops__secure {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.78rem;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.6;
}

.about-ops__secure a {
  color: var(--color-primary);
  font-weight: 600;
}

@media (min-width: 640px) {
  .about-stats {
    grid-template-columns: repeat(4, 1fr);
  }

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

@media (min-width: 768px) {
  .about-split {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-2xl);
  }

  .about-quality {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-2xl);
  }

  .about-ops {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .about-ops__secure {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .about-trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.about-verify {
  margin-top: var(--space-2xl);
  margin-bottom: 0;
}

.about-verify__hero {
  position: relative;
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(184, 92, 114, 0.4) 0%, transparent 70%),
    linear-gradient(180deg, #0f0c0d 0%, #141012 100%);
}

.about-verify__inner {
  position: relative;
  max-width: 40rem;
  margin: 0 auto;
}

.about-verify__badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  margin-bottom: var(--space-lg);
  background: rgba(184, 92, 114, 0.2);
  border: 1px solid rgba(232, 196, 207, 0.3);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary-light);
}

.about-verify__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  color: #fff;
}

.about-verify__lead {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  margin: 0 auto var(--space-xl);
  max-width: 34rem;
}

.about-verify__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.about-verify__btn-ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  background: transparent;
}

.about-verify__btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

/* ------------------------------------------------------------------ */
/*  FAQ page                                                          */
/* ------------------------------------------------------------------ */

.faq-hero {
  position: relative;
  text-align: center;
  padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(184, 92, 114, 0.45) 0%, transparent 70%),
    linear-gradient(180deg, #0f0c0d 0%, #141012 100%);
}

.faq-hero__grid {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.faq-hero__inner {
  position: relative;
  max-width: 44rem;
  margin: 0 auto;
}

.faq-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 1rem;
  margin-bottom: var(--space-lg);
  background: rgba(184, 92, 114, 0.2);
  border: 1px solid rgba(232, 196, 207, 0.3);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary-light);
}

.faq-hero__badge svg {
  width: 0.9rem;
  height: 0.9rem;
}

.faq-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.faq-hero__accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.faq-hero__lead {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin: 0 auto var(--space-xl);
  max-width: 32rem;
}

.faq-hero__search-wrap {
  position: relative;
  max-width: 28rem;
  margin: 0 auto var(--space-lg);
}

.faq-hero__search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.faq-hero__search-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.faq-hero__search {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 2.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.faq-hero__search::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.faq-hero__search:focus {
  border-color: rgba(232, 196, 207, 0.45);
  background: rgba(255, 255, 255, 0.12);
}

.faq-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.faq-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.faq-pill svg {
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
}

.faq-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.faq-pill--active {
  background: rgba(184, 92, 114, 0.35);
  border-color: rgba(232, 196, 207, 0.35);
  color: #fff;
}

.faq-layout-wrap {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.faq-layout {
  display: grid;
  gap: var(--space-xl);
  align-items: start;
}

.faq-sidebar {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow);
}

.faq-sidebar__heading {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  margin: 0 0 var(--space-md);
}

.faq-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.faq-sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.55rem 0.65rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-muted);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  transition: background 0.2s, color 0.2s;
}

.faq-sidebar__icon svg {
  width: 1rem;
  height: 1rem;
  display: block;
}

.faq-sidebar__label {
  flex: 1;
}

.faq-sidebar__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0;
  transition: opacity 0.2s;
}

.faq-sidebar__link--active {
  color: var(--color-primary-dark);
  background: rgba(184, 92, 114, 0.08);
}

.faq-sidebar__link--active .faq-sidebar__dot {
  opacity: 1;
}

.faq-sidebar__controls {
  display: flex;
  gap: 0.5rem;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.faq-sidebar__ctrl {
  flex: 1;
  padding: 0.45rem 0.65rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.faq-sidebar__ctrl:hover {
  color: var(--color-primary-dark);
  border-color: rgba(184, 92, 114, 0.3);
}

.faq-sidebar__counter {
  font-size: 0.72rem;
  color: var(--color-muted);
  margin: var(--space-sm) 0 0;
}

.faq-section {
  scroll-margin-top: calc(var(--header-height) + var(--space-md));
}

.faq-section + .faq-section {
  margin-top: var(--space-2xl);
}

.faq-section__head {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.faq-section__icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-primary);
}

.faq-section__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0;
  flex: 1;
}

.faq-section__count {
  font-size: 0.78rem;
  color: var(--color-muted);
}

.faq-section__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid rgba(184, 92, 114, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.faq-item--hidden {
  display: none;
}

.faq-item__head {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  cursor: pointer;
}

.faq-item__num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(184, 92, 114, 0.1);
  border-radius: var(--radius-sm);
}

.faq-item__q {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}

.faq-item__toggle {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-brand);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s;
}

.faq-item__toggle-icon {
  position: relative;
  width: 10px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

.faq-item__toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 10px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transform: rotate(90deg);
  transition: opacity 0.2s, transform 0.2s;
}

.faq-item--open .faq-item__toggle-icon::after {
  opacity: 0;
  transform: rotate(0deg);
}

.faq-item__body {
  display: none;
  padding: 0 var(--space-lg) var(--space-lg);
  padding-left: calc(var(--space-lg) + 2rem + var(--space-md));
}

.faq-item--open .faq-item__body {
  display: block;
}

.faq-item__body p {
  color: var(--color-muted);
  font-size: var(--font-size-sm);
  line-height: 1.75;
  margin: 0;
}

.faq-item__body a {
  color: var(--color-primary);
  font-weight: 600;
}

.faq-empty {
  text-align: center;
  color: var(--color-muted);
  padding: var(--space-2xl);
}

.faq-cta {
  padding: var(--space-2xl) var(--space-lg);
  background:
    radial-gradient(ellipse 50% 80% at 100% 50%, rgba(184, 92, 114, 0.25) 0%, transparent 70%),
    #0f0c0d;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-cta__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-lg);
}

.faq-cta__icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(184, 92, 114, 0.5);
  border-radius: 50%;
  color: var(--color-primary-light);
}

.faq-cta__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.faq-cta__copy {
  flex: 1;
  min-width: 14rem;
}

.faq-cta__copy h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  margin: 0 0 0.35rem;
}

.faq-cta__copy p {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  line-height: 1.6;
}

@media (min-width: 900px) {
  .faq-layout {
    grid-template-columns: 240px 1fr;
    gap: var(--space-2xl);
  }

  .faq-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--space-md));
  }
}

@media (max-width: 767px) {
  .faq-item__body {
    padding-left: var(--space-lg);
  }

  .faq-cta__inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ------------------------------------------------------------------ */
/*  Research page                                                     */
/* ------------------------------------------------------------------ */

body[data-page="research"] {
  --research-dark: #0f0c0d;
  --research-dark-mid: #181214;
}

.research-hero {
  position: relative;
  padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 100%, rgba(184, 92, 114, 0.45) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(201, 160, 108, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, var(--research-dark) 0%, var(--research-dark-mid) 100%);
}

.research-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  pointer-events: none;
}

.research-standards-hero__photo.research-catalogue-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  pointer-events: none;
}

.research-standards-doc__photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.research-standards-doc__card .research-standards-doc__card-head {
  border-radius: 0;
}

.research-hero__grid {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.research-hero__inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}

.research-hero__badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  margin-bottom: var(--space-lg);
  background: rgba(184, 92, 114, 0.25);
  border: 1px solid rgba(232, 196, 207, 0.35);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary-light);
}

.research-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 var(--space-lg);
  color: #fff;
}

.research-hero__accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.research-hero__lead {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  color: rgba(255, 255, 255, 0.72);
  max-width: 32rem;
  margin: 0 0 var(--space-xl);
  line-height: 1.7;
}

.research-hero__lead strong {
  color: #fff;
  font-weight: 600;
}

.research-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.research-hero__btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
}

.research-hero__btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.research-doc-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(232, 196, 207, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.research-doc-card__head {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.research-doc-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  background: rgba(184, 92, 114, 0.25);
  border-radius: var(--radius-sm);
  color: var(--color-primary-light);
}

.research-doc-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.research-doc-card__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.research-doc-card__id {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.15rem;
  font-family: ui-monospace, monospace;
}

.research-doc-card__status {
  margin-left: auto;
  padding: 0.25rem 0.65rem;
  background: rgba(74, 138, 98, 0.25);
  border: 1px solid rgba(74, 138, 98, 0.45);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8fd4a8;
}

.research-doc-card__checklist {
  list-style: none;
  margin: 0 0 var(--space-md);
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.research-doc-card__checklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
}

.research-doc-card__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  background: rgba(74, 138, 98, 0.2);
  border-radius: 50%;
  font-size: 0.65rem;
  color: #8fd4a8;
  flex-shrink: 0;
}

.research-doc-card__note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
  line-height: 1.55;
  font-style: italic;
}

.research-stats-wrap {
  position: relative;
  margin-top: -2rem;
  margin-bottom: var(--space-md);
  z-index: 2;
}

.research-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  box-shadow: var(--shadow-lg);
}

.research-stats__item {
  text-align: center;
  padding: var(--space-sm);
}

.research-stats__value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.research-stats__label {
  font-size: 0.78rem;
  color: var(--color-muted);
  line-height: 1.4;
  max-width: 9rem;
  margin: 0 auto;
}

.research-ticker {
  overflow: hidden;
  margin-bottom: var(--space-xl);
  padding: 0.65rem 0;
  background: rgba(184, 92, 114, 0.06);
  border-block: 1px solid var(--color-border);
}

.research-ticker__track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  width: max-content;
}

.research-ticker__track--animate {
  animation: research-ticker-scroll 40s linear infinite;
}

@keyframes research-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.research-section-eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.research-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 var(--space-md);
  color: var(--color-text);
}

.research-journey {
  margin-bottom: var(--space-2xl);
  padding: var(--space-xl) 0 0;
  background: var(--color-surface);
}

.research-journey__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: 0.85rem;
}

.research-journey__heading.research-journey__counter {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a9296;
}

.research-journey__progress {
  display: flex;
  gap: 0;
  height: 2px;
  margin-bottom: 0;
}

.research-journey__progress-seg {
  flex: 1;
  background: #d5d0d3;
}

.research-journey__progress-seg--done {
  background: var(--color-primary);
}

.research-journey__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.research-journey__step {
  position: relative;
  display: block;
  padding: 1.35rem 1.5rem 1.75rem;
  color: inherit;
  text-decoration: none;
  transition: background 0.2s var(--ease-out);
}

.research-journey__step:not(.research-journey__step--active):hover {
  background: rgba(109, 100, 104, 0.04);
}

.research-journey__step:not(:last-child) {
  border-right: 1px solid #dedadc;
}

.research-journey__body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 10.5rem;
}

.research-journey__num {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #b5aeb2;
  margin-bottom: 0.85rem;
}

.research-journey__step--active .research-journey__num {
  visibility: hidden;
  height: 0;
  margin: 0;
  overflow: hidden;
}

.research-journey__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-bottom: 0.85rem;
  color: #b5aeb2;
}

.research-journey__icon svg {
  width: 100%;
  height: 100%;
}

.research-journey__step--active .research-journey__icon {
  color: var(--color-primary);
}

.research-journey__title {
  margin: 0 0 0.45rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}

.research-journey__desc {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #9a9296;
  max-width: 15.5rem;
}

.research-journey__here {
  display: none;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: var(--space-lg);
}

.research-journey__step--active .research-journey__here {
  display: flex;
}

.research-journey__here-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

.research-journey__here-text {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.research-standard {
  display: grid;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.research-standard__copy p {
  color: var(--color-muted);
  line-height: 1.75;
  margin: 0 0 var(--space-md);
  max-width: 38rem;
}

.research-standard__copy .btn {
  margin-top: var(--space-md);
}

.research-standard__card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-lg);
}

.research-standard__card-head {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}

.research-standard__card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.research-standard__card li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text);
}

.research-standard__card li::before {
  content: "✓";
  color: var(--color-success);
  font-weight: 700;
  font-size: 0.8rem;
}

.research-approach {
  margin-bottom: var(--space-2xl);
}

.research-approach__header {
  margin-bottom: var(--space-xl);
}

.research-approach__grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

.research-approach-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  transition: box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.research-approach-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.research-approach-card__num {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.research-approach-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 var(--space-sm);
  color: var(--color-text);
}

.research-approach-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.65;
}

.research-method {
  margin-bottom: var(--space-2xl);
}

.research-method__header {
  margin-bottom: var(--space-xl);
}

.research-method__grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-lg);
}

.research-method-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
}

.research-method-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gradient-brand);
}

.research-method-card__index {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.research-method-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 var(--space-sm);
}

.research-method-card p {
  font-size: 0.88rem;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.65;
}

.research-method__pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.research-pill {
  padding: 0.4rem 0.9rem;
  background: rgba(184, 92, 114, 0.08);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.research-compare {
  margin-bottom: var(--space-2xl);
}

.research-compare__header {
  margin-bottom: var(--space-lg);
}

.research-compare__lead {
  color: var(--color-muted);
  max-width: 36rem;
  margin: 0;
  line-height: 1.65;
}

.research-compare__legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
  font-size: 0.8rem;
  color: var(--color-muted);
}

.research-compare__legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.research-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

.research-icon--yes {
  background: rgba(74, 138, 98, 0.12);
  color: var(--color-success);
}

.research-icon--partial {
  background: rgba(184, 134, 46, 0.12);
  color: #b8862e;
}

.research-icon--no {
  background: rgba(184, 61, 61, 0.1);
  color: var(--color-error);
}

.research-compare__table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow);
}

.research-compare__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.research-compare__table th.research-compare__table td {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.research-compare__table thead th {
  background: rgba(184, 92, 114, 0.06);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary-dark);
}

.research-compare__table thead th:first-child {
  border-radius: var(--radius-lg) 0 0 0;
}

.research-compare__table tbody th {
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-surface);
}

.research-compare__table tbody td {
  text-align: center;
  width: 18%;
}

.research-compare__table tbody tr:last-child th.research-compare__table tbody tr:last-child td {
  border-bottom: none;
}

.research-compare__table thead th:not(:first-child) {
  text-align: center;
}

.research-faq {
  margin-bottom: var(--space-2xl);
}

.research-faq__header {
  margin-bottom: var(--space-lg);
}

.research-faq__list {
  display: grid;
  gap: var(--space-sm);
}

.research-faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease-out);
}

.research-faq-item:hover {
  box-shadow: var(--shadow);
}

.research-faq-item--open {
  border-color: rgba(184, 92, 114, 0.3);
}

.research-faq-item__head {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
}

.research-faq-item__num {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.08em;
}

.research-faq-item__q {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
}

.research-faq-item__toggle {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  position: relative;
}

.research-faq-item__toggle::before.research-faq-item__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--color-primary);
  border-radius: 1px;
  transition: transform 0.25s var(--ease-out);
}

.research-faq-item__toggle::before {
  width: 12px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.research-faq-item__toggle::after {
  width: 2px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.research-faq-item--open .research-faq-item__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.research-faq-item__body {
  padding: 0 var(--space-lg) var(--space-md) calc(var(--space-lg) + 2.5rem);
}

.research-faq-item__body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.7;
}

.research-faq__more {
  margin-top: var(--space-lg);
  font-size: 0.9rem;
  color: var(--color-muted);
  text-align: center;
}

.research-faq__more a {
  font-weight: 600;
}

.research-explore {
  margin-bottom: var(--space-2xl);
}

.research-explore__header {
  margin-bottom: var(--space-xl);
}

.research-explore__grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

.research-explore-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: inherit;
  transition: box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.research-explore-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(184, 92, 114, 0.35);
  color: inherit;
}

.research-explore-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: var(--space-md);
  background: rgba(184, 92, 114, 0.1);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
}

.research-explore-card__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.research-explore-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 var(--space-sm);
  color: var(--color-text);
}

.research-explore-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 0 0 var(--space-md);
  line-height: 1.65;
  flex: 1;
}

.research-explore-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
}

.research-cta {
  margin-top: var(--space-xl);
}

.research-cta__inner {
  position: relative;
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(184, 92, 114, 0.4) 0%, transparent 70%),
    linear-gradient(180deg, var(--research-dark) 0%, #141012 100%);
}

.research-cta__badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  margin-bottom: var(--space-lg);
  background: rgba(184, 92, 114, 0.2);
  border: 1px solid rgba(232, 196, 207, 0.3);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary-light);
}

.research-cta__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 var(--space-md);
  color: #fff;
}

.research-cta__lead {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  margin: 0 auto var(--space-xl);
  max-width: 34rem;
}

.research-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.research-cta__btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
}

.research-cta__btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

@media (min-width: 640px) {
  .research-stats {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

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

@media (min-width: 768px) {
  .research-hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-3xl);
  }

  .research-standard {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }

}

@media (min-width: 1024px) {
  .research-approach__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .research-method__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .research-journey__grid {
    grid-template-columns: 1fr;
  }

  .research-journey__step:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid #dedadc;
  }

  .research-journey__body {
    min-height: auto;
  }

  .research-compare__table {
    font-size: 0.8rem;
  }

  .research-compare__table th.research-compare__table td {
    padding: var(--space-sm) var(--space-md);
  }

  .research-faq-item__body {
    padding-left: var(--space-lg);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .research-journey__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .research-journey__step:nth-child(2) {
    border-right: none;
  }

  .research-journey__step:nth-child(1).research-journey__step:nth-child(3) {
    border-bottom: 1px solid #dedadc;
  }
}

/* ------------------------------------------------------------------ */
/*  Research Standards page                                            */
/* ------------------------------------------------------------------ */

.research-standards-hero {
  position: relative;
  padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
  background:
    radial-gradient(ellipse 70% 60% at 20% 0%, rgba(184, 92, 114, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(184, 92, 114, 0.08) 0%, transparent 55%),
    var(--color-bg);
  overflow: hidden;
}

.research-standards-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184, 92, 114, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 92, 114, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 80%);
  pointer-events: none;
}

.research-standards-hero__inner {
  position: relative;
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.research-standards-hero__badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  margin-bottom: var(--space-md);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  background: rgba(184, 92, 114, 0.1);
  border: 1px solid rgba(184, 92, 114, 0.2);
  border-radius: 999px;
}

.research-standards-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 var(--space-md);
  color: var(--color-text);
}

.research-standards-hero__accent {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.research-standards-hero__lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-muted);
  margin: 0 0 var(--space-xl);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.research-standards-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.research-standards-hero__btn-ghost {
  border-color: rgba(184, 92, 114, 0.25);
}

.research-standards-hero__btn-ghost:hover {
  background: rgba(184, 92, 114, 0.06);
  border-color: rgba(184, 92, 114, 0.4);
}

.research-standards-principles {
  margin-bottom: var(--space-2xl);
}

.research-standards-principles__header {
  margin-bottom: var(--space-xl);
}

.research-standards-principles__grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

.research-standards-principle-card {
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.research-standards-principle-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(184, 92, 114, 0.25);
}

.research-standards-principle-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: var(--space-md);
  background: rgba(184, 92, 114, 0.1);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
}

.research-standards-principle-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.research-standards-principle-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 var(--space-sm);
  color: var(--color-text);
}

.research-standards-principle-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-muted);
  margin: 0;
}

.research-standards-doc {
  margin-bottom: var(--space-2xl);
}

.research-standards-doc__inner {
  display: grid;
  gap: var(--space-xl);
  padding: var(--space-xl);
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(184, 92, 114, 0.15) 0%, transparent 55%),
    linear-gradient(145deg, #2a2226 0%, #1e191c 100%);
  border-radius: var(--radius-lg);
  color: #f5f0f2;
}

.research-standards-doc__eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(232, 180, 192, 0.9);
  margin-bottom: var(--space-sm);
}

.research-standards-doc__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin: 0 0 var(--space-md);
  color: #fff;
}

.research-standards-doc__copy p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(245, 240, 242, 0.75);
  margin: 0 0 var(--space-md);
  max-width: 38rem;
}

.research-standards-doc__list {
  list-style: none;
  margin: 0 0 var(--space-md);
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.research-standards-doc__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: rgba(245, 240, 242, 0.85);
}

.research-standards-doc__list li span {
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
}

.research-standards-doc__note {
  font-size: 0.85rem !important;
  font-style: italic;
  color: rgba(245, 240, 242, 0.55) !important;
}

.research-standards-doc__card {
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.research-standards-doc__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(232, 180, 192, 0.9);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.research-standards-doc__card-badge {
  padding: 0.2rem 0.5rem;
  background: rgba(184, 92, 114, 0.25);
  border-radius: var(--radius-sm);
  font-size: 0.65rem;
}

.research-standards-doc__card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.research-standards-doc__card li {
  font-size: 0.88rem;
  color: rgba(245, 240, 242, 0.8);
  padding-left: 1rem;
  position: relative;
}

.research-standards-doc__card li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

.research-standards-guide {
  margin-bottom: var(--space-2xl);
}

.research-standards-guide__header {
  margin-bottom: var(--space-xl);
}

.research-standards-guide__lead {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin: var(--space-sm) 0 0;
  max-width: 36rem;
}

.research-standards-guide__grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

.research-standards-guide-card {
  padding: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s var(--ease-out);
}

.research-standards-guide-card:hover {
  border-color: rgba(184, 92, 114, 0.3);
}

.research-standards-guide-card__num {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.research-standards-guide-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.45rem;
  color: var(--color-text);
}

.research-standards-guide-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--color-muted);
  margin: 0;
}

.research-standards-verify {
  margin-bottom: var(--space-2xl);
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.research-standards-verify__header {
  margin-bottom: var(--space-xl);
}

.research-standards-verify__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.research-standards-verify-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border);
}

.research-standards-verify-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.research-standards-verify-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  background: rgba(184, 92, 114, 0.12);
  border-radius: 50%;
  flex-shrink: 0;
}

.research-standards-verify-step h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--color-text);
}

.research-standards-verify-step p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-muted);
  margin: 0;
}

.research-standards-verify-step a {
  font-weight: 600;
}

.research-standards-storage {
  margin-bottom: var(--space-2xl);
}

.research-standards-storage__header {
  margin-bottom: var(--space-xl);
}

.research-standards-storage__grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

.research-standards-storage-card {
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: box-shadow 0.25s var(--ease-out);
}

.research-standards-storage-card:hover {
  box-shadow: var(--shadow);
}

.research-standards-storage-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: var(--space-md);
  background: rgba(184, 92, 114, 0.1);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
}

.research-standards-storage-card__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.research-standards-storage-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 var(--space-sm);
  color: var(--color-text);
}

.research-standards-storage-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--color-muted);
  margin: 0;
}

.research-standards-faq {
  margin-bottom: var(--space-2xl);
}

.research-standards-faq__header {
  margin-bottom: var(--space-xl);
}

.research-standards-limits {
  margin-bottom: var(--space-2xl);
}

.research-standards-limits__inner {
  padding: var(--space-xl);
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
}

.research-standards-limits__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: var(--space-md);
}

.research-standards-limits__icon {
  font-size: 1.1rem;
}

.research-standards-limits__head h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: #92400e;
}

.research-standards-limits__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.research-standards-limits__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #78350f;
}

.research-standards-limits__x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #dc2626;
  background: rgba(220, 38, 38, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
}

.research-standards-disclaimer {
  margin-bottom: var(--space-2xl);
}

.research-standards-disclaimer__inner {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  padding: var(--space-xl);
  background: rgba(184, 92, 114, 0.06);
  border: 1px solid rgba(184, 92, 114, 0.2);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.research-standards-disclaimer__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  color: var(--color-primary);
}

.research-standards-disclaimer__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.research-standards-disclaimer__inner h2 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary-dark);
  margin: 0 0 var(--space-sm);
}

.research-standards-disclaimer__inner p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-muted);
  margin: 0;
}

@media (min-width: 640px) {
  .research-standards-guide__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 768px) {
  .research-standards-doc__inner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .research-standards-principles__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .research-standards-guide__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ------------------------------------------------------------------ */
/*  Research Catalogue page                                            */
/* ------------------------------------------------------------------ */

.research-catalogue-hero {
  position: relative;
  padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
  background:
    radial-gradient(ellipse 70% 60% at 20% 0%, rgba(184, 92, 114, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(184, 92, 114, 0.08) 0%, transparent 55%),
    var(--color-bg);
  overflow: hidden;
}

.research-catalogue-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184, 92, 114, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 92, 114, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 80%);
  pointer-events: none;
}

.research-catalogue-hero__inner {
  position: relative;
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.research-catalogue-hero__badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  margin-bottom: var(--space-md);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  background: rgba(184, 92, 114, 0.1);
  border: 1px solid rgba(184, 92, 114, 0.2);
  border-radius: 999px;
}

.research-catalogue-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 var(--space-md);
  color: var(--color-text);
}

.research-catalogue-hero__accent {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.research-catalogue-hero__lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-muted);
  margin: 0 0 var(--space-xl);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.research-catalogue-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.research-catalogue-hero__btn-ghost {
  border-color: rgba(184, 92, 114, 0.25);
}

.research-catalogue-hero__btn-ghost:hover {
  background: rgba(184, 92, 114, 0.06);
  border-color: rgba(184, 92, 114, 0.4);
}

.research-catalogue-stats-wrap {
  position: relative;
  margin-top: -1.5rem;
  margin-bottom: var(--space-xl);
  z-index: 2;
}

.research-catalogue-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  background: #121014;
  border: 1px solid rgba(232, 196, 207, 0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}

.research-catalogue-stats__item {
  text-align: center;
  padding: var(--space-sm);
}

.research-catalogue-stats__value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.research-catalogue-stats__label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
  max-width: 10rem;
  margin: 0 auto;
}

.research-catalogue-search {
  margin-bottom: var(--space-2xl);
}

.research-catalogue-search__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-sm);
}

.research-catalogue-search__field {
  position: relative;
}

.research-catalogue-search__icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  color: var(--color-muted);
  pointer-events: none;
}

.research-catalogue-search__icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.research-catalogue-search__input {
  width: 100%;
  padding: 0.95rem 1rem 0.95rem 2.75rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.research-catalogue-search__input:focus {
  outline: none;
  border-color: rgba(184, 92, 114, 0.45);
  box-shadow: 0 0 0 3px rgba(184, 92, 114, 0.12);
}

.research-catalogue-search__status {
  min-height: 1.25rem;
  margin: var(--space-sm) 0 0;
  font-size: 0.82rem;
  color: var(--color-muted);
}

.research-catalogue-domains {
  margin-bottom: var(--space-2xl);
}

.research-catalogue-domains__header {
  margin-bottom: var(--space-xl);
}

.research-catalogue-domains__lead {
  color: var(--color-muted);
  line-height: 1.7;
  margin: var(--space-sm) 0 0;
  max-width: 38rem;
}

.research-catalogue-domains__grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

.research-catalogue-domain-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.research-catalogue-domain-card:hover {
  border-color: rgba(184, 92, 114, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.research-catalogue-domain-card[hidden] {
  display: none;
}

.research-catalogue-domain-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: var(--space-md);
  background: rgba(184, 92, 114, 0.08);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
}

.research-catalogue-domain-card__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.research-catalogue-domain-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--color-text);
}

.research-catalogue-domain-card__count {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 var(--space-sm);
}

.research-catalogue-domain-card__desc {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-muted);
  margin: 0 0 var(--space-md);
}

.research-catalogue-domain-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  text-decoration: none;
}

.research-catalogue-domain-card__link:hover {
  color: var(--color-primary-dark);
}

.research-catalogue-domains__empty {
  margin-top: var(--space-md);
  text-align: center;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.research-catalogue-resources {
  margin-bottom: var(--space-2xl);
}

.research-catalogue-resources__header {
  margin-bottom: var(--space-xl);
}

.research-catalogue-resources__grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

.research-catalogue-resource-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.research-catalogue-resource-card:hover {
  border-color: rgba(184, 92, 114, 0.35);
  box-shadow: var(--shadow);
}

.research-catalogue-resource-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: var(--space-md);
  background: rgba(184, 92, 114, 0.08);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
}

.research-catalogue-resource-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.research-catalogue-resource-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 var(--space-sm);
  color: var(--color-text);
}

.research-catalogue-resource-card p {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-muted);
  margin: 0 0 var(--space-md);
}

.research-catalogue-resource-card__link {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.research-catalogue-cta-banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl);
  background:
    radial-gradient(ellipse 80% 80% at 0% 0%, rgba(184, 92, 114, 0.2) 0%, transparent 55%),
    #121014;
  border: 1px solid rgba(232, 196, 207, 0.12);
  border-radius: var(--radius-lg);
  color: #fff;
}

.research-catalogue-cta-banner__badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.3rem 0.75rem;
  margin-bottom: var(--space-md);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.research-catalogue-cta-banner h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin: 0 0 var(--space-sm);
  color: #fff;
}

.research-catalogue-cta-banner p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 var(--space-lg);
  max-width: 28rem;
}

@media (min-width: 640px) {
  .research-catalogue-domains__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .research-catalogue-resources__grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: stretch;
  }
}

@media (max-width: 639px) {
  .research-catalogue-stats {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------ */
/*  Research Catalogue (rcat-*) - PeptideX-style, sakura theme         */
/* ------------------------------------------------------------------ */

.rcat-grid {
  display: grid;
  gap: var(--space-lg);
}

.rcat-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.rcat-card:hover {
  border-color: rgba(184, 92, 114, 0.45);
  box-shadow: 0 12px 40px rgba(184, 92, 114, 0.1);
  transform: translateY(-2px);
}

.rcat-card[hidden] {
  display: none;
}

.rcat-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--space-md);
  background: rgba(184, 92, 114, 0.12);
  border-radius: var(--radius-md);
  color: var(--color-primary);
}

.rcat-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.rcat-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 var(--space-xs);
  color: var(--color-text);
  line-height: 1.35;
}

.rcat-card__count {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin: 0 0 var(--space-sm);
}

.rcat-card__desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-lg);
  flex: 1;
}

.rcat-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  text-decoration: none;
}

.rcat-card__link:hover {
  color: var(--color-primary-dark);
}

.rcat-eyebrow.rcat-section-title {
  display: block;
}

.rcat-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.rcat-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 var(--space-lg);
  color: var(--color-text);
}

.rcat-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: var(--space-lg);
  color: var(--color-text-muted);
}

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

.rcat-breadcrumb a:hover {
  text-decoration: underline;
}

.rcat-breadcrumb--light {
  color: rgba(255, 255, 255, 0.55);
}

.rcat-breadcrumb--light a {
  color: var(--color-primary-light);
}

.rcat-not-found {
  padding: var(--space-3xl) var(--space-lg);
}

.rcat-not-found h1 {
  font-family: var(--font-display);
  margin-bottom: var(--space-md);
}

/* Category page */
.rcat-category-hero {
  padding: var(--space-2xl) 0 var(--space-xl);
  background: linear-gradient(180deg, rgba(184, 92, 114, 0.06) 0%, transparent 100%);
  border-bottom: 1px solid var(--color-border);
}

.rcat-category-hero__header {
  display: grid;
  gap: var(--space-xl);
  align-items: start;
}

.rcat-category-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 var(--space-md);
  line-height: 1.2;
}

.rcat-category-hero__desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0;
  max-width: 42rem;
}

.rcat-select-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.rcat-select {
  width: 100%;
  max-width: 22rem;
  padding: 0.65rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
}

.rcat-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(184, 92, 114, 0.15);
}

.rcat-stats-wrap {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border);
}

.rcat-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  text-align: center;
}

.rcat-stats__value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--color-primary);
}

.rcat-stats__label {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.rcat-sections-block.rcat-materials-block {
  padding: var(--space-2xl) 0;
}

.rcat-sections {
  display: grid;
  gap: var(--space-lg);
}

.rcat-section-card {
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--color-primary);
}

.rcat-section-card__num {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.rcat-section-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 var(--space-md);
}

.rcat-section-card__body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.rcat-section-card__body p {
  margin: 0 0 var(--space-sm);
}

.rcat-section-card__body p:last-child {
  margin-bottom: 0;
}

.rcat-section-card__body a {
  color: var(--color-primary);
}

.rcat-materials-lead {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: -0.5rem 0 var(--space-xl);
  max-width: 40rem;
}

.rcat-materials-list {
  display: grid;
  gap: var(--space-md);
}

.rcat-material-row__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rcat-material-row__thumb img {
  max-height: 9.5rem;
  max-width: 7rem;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.12));
}

.rcat-material-hero__image-wrap {
  margin-bottom: var(--space-md);
}

.rcat-material-hero__image {
  max-height: 14rem;
  max-width: 9rem;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.18));
}

.rcat-material-row {
  display: grid;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  align-items: center;
}

.rcat-material-row__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 var(--space-xs);
}

.rcat-material-row__variant {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.rcat-material-row__summary {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-sm);
}

.rcat-material-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: var(--space-sm);
}

.rcat-material-row__form {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin: 0;
}

.rcat-material-row__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: flex-start;
}

.rcat-material-row__order {
  font-size: 0.85rem;
  color: var(--color-primary);
  text-decoration: none;
}

.rcat-material-row__order:hover {
  text-decoration: underline;
}

.rcat-tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(184, 92, 114, 0.1);
  color: var(--color-primary);
  border-radius: 999px;
}

.rcat-empty {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Material detail page */
.rcat-material-hero {
  position: relative;
  padding: var(--space-2xl) 0 var(--space-3xl);
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 100%, rgba(184, 92, 114, 0.45) 0%, transparent 65%),
    linear-gradient(180deg, var(--research-dark) 0%, var(--research-dark-mid) 100%);
}

.rcat-material-hero__grid {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.rcat-material-hero__inner {
  position: relative;
  display: grid;
  gap: var(--space-2xl);
  align-items: start;
}

.rcat-material-hero__badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  margin-bottom: var(--space-md);
  background: rgba(184, 92, 114, 0.25);
  border: 1px solid rgba(232, 196, 207, 0.35);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary-light);
}

.rcat-material-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin: 0 0 var(--space-md);
  line-height: 1.15;
}

.rcat-material-hero__summary {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 var(--space-md);
  max-width: 36rem;
}

.rcat-material-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: var(--space-lg);
}

.rcat-material-hero__tags .rcat-tag {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.rcat-material-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.rcat-material-hero__btn-ghost {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.25);
}

.rcat-material-hero__btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.rcat-material-hero__table-wrap {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.rcat-material-hero__table-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary-light);
  margin: 0 0 var(--space-md);
}

.rcat-hero-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.rcat-hero-table th.rcat-hero-table td {
  padding: 0.5rem 0;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
}

.rcat-hero-table th {
  width: 38%;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  padding-right: var(--space-md);
}

.rcat-hero-table td {
  color: rgba(255, 255, 255, 0.9);
}

.rcat-hero-table tr:last-child th.rcat-hero-table tr:last-child td {
  border-bottom: none;
}

.rcat-material-hero__disclaimer {
  font-size: 0.75rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.45);
  margin: var(--space-md) 0 0;
}

.rcat-material-layout {
  display: grid;
  gap: var(--space-2xl);
  padding: var(--space-2xl) 0 var(--space-3xl);
}

.rcat-sidebar__sticky {
  position: sticky;
  top: calc(var(--header-height, 4rem) + var(--space-md));
}

.rcat-sidebar__heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-md);
}

.rcat-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.rcat-sidebar__link {
  display: block;
  padding: 0.45rem 0.75rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  text-decoration: none;
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.rcat-sidebar__link:hover {
  color: var(--color-primary);
  background: rgba(184, 92, 114, 0.06);
}

.rcat-sidebar__link--active {
  color: var(--color-primary);
  border-left-color: var(--color-primary);
  background: rgba(184, 92, 114, 0.08);
  font-weight: 600;
}

.rcat-content-section {
  padding-bottom: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--color-border);
}

.rcat-content-section:last-of-type {
  border-bottom: none;
}

.rcat-content-section__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 var(--space-md);
  scroll-margin-top: calc(var(--header-height, 4rem) + var(--space-md));
}

.rcat-content-section__body {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.rcat-content-section__body p {
  margin: 0 0 var(--space-md);
}

.rcat-content-section__body a {
  color: var(--color-primary);
}

.rcat-spec-table-wrap {
  position: relative;
}

.rcat-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin-bottom: var(--space-md);
}

.rcat-spec-table th.rcat-spec-table td {
  padding: 0.65rem 0;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.rcat-spec-table th {
  width: 36%;
  font-weight: 600;
  color: var(--color-text);
  padding-right: var(--space-md);
}

.rcat-spec-table td {
  color: var(--color-text-muted);
}

.rcat-copy-btn {
  padding: 0.4rem 0.85rem;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(184, 92, 114, 0.08);
  border: 1px solid rgba(184, 92, 114, 0.25);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.rcat-copy-btn:hover {
  background: rgba(184, 92, 114, 0.15);
}

.rcat-copy-source {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.rcat-faq-list {
  display: grid;
  gap: var(--space-sm);
}

.rcat-faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.rcat-faq-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  color: var(--color-text);
  background: var(--color-surface);
  border: none;
  cursor: pointer;
}

.rcat-faq-item__toggle {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  position: relative;
}

.rcat-faq-item__toggle::before.rcat-faq-item__toggle::after {
  content: "";
  position: absolute;
  background: var(--color-primary);
  transition: transform 0.2s;
}

.rcat-faq-item__toggle::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  margin-top: -1px;
}

.rcat-faq-item__toggle::after {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  margin-left: -1px;
}

.rcat-faq-item--open .rcat-faq-item__toggle::after {
  transform: scaleY(0);
}

.rcat-faq-item__body {
  padding: 0 var(--space-lg) var(--space-lg);
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.rcat-faq-item__body p {
  margin: 0;
}

.rcat-crossrefs {
  display: grid;
  gap: var(--space-md);
}

.rcat-crossref-card {
  display: block;
  padding: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.rcat-crossref-card:hover {
  border-color: rgba(184, 92, 114, 0.4);
  box-shadow: 0 8px 24px rgba(184, 92, 114, 0.08);
}

.rcat-crossref-card__thumb {
  display: block;
  max-height: 6.5rem;
  max-width: 4.5rem;
  margin: 0 auto var(--space-sm);
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.1));
}

.rcat-crossref-card__cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
}

.rcat-crossref-card__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: var(--space-xs) 0;
}

.rcat-crossref-card__summary {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-sm);
  line-height: 1.55;
}

.rcat-crossref-card__link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
}

.product-card__catalogue-link {
  margin: var(--space-sm) 0 0;
  font-size: 0.85rem;
}

.product-card__catalogue-link a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

.product-card__catalogue-link a:hover {
  text-decoration: underline;
}

@media (min-width: 640px) {
  .rcat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rcat-sections {
    grid-template-columns: repeat(3, 1fr);
  }

  .rcat-material-row {
    grid-template-columns: 1fr auto;
  }

  .rcat-material-row:has(.rcat-material-row__thumb) {
    grid-template-columns: 7.5rem 1fr auto;
  }
}

@media (min-width: 768px) {
  .rcat-category-hero__header {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .rcat-material-hero__inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .rcat-material-layout {
    grid-template-columns: 220px 1fr;
    align-items: start;
  }

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

@media (min-width: 1024px) {
  .rcat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 639px) {
  .rcat-stats {
    grid-template-columns: 1fr;
  }

  .rcat-sidebar {
    display: none;
  }
}

/* ------------------------------------------------------------------ */
/*  Blog pages                                                         */
/* ------------------------------------------------------------------ */

.blog-hero.blog-post-hero {
  position: relative;
  text-align: center;
  padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(184, 92, 114, 0.45) 0%, transparent 70%),
    linear-gradient(180deg, #0f0c0d 0%, #141012 100%);
}

.blog-hero__grid.blog-post-hero__grid {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.blog-hero__inner {
  position: relative;
  max-width: 44rem;
  margin: 0 auto;
}

.blog-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 1rem;
  margin-bottom: var(--space-lg);
  background: rgba(184, 92, 114, 0.2);
  border: 1px solid rgba(232, 196, 207, 0.3);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary-light);
}

.blog-hero__badge svg {
  width: 0.9rem;
  height: 0.9rem;
}

.blog-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.blog-hero__accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.blog-hero__lead {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin: 0 auto var(--space-xl);
  max-width: 32rem;
}

.blog-hero__search-wrap {
  position: relative;
  max-width: 28rem;
  margin: 0 auto var(--space-sm);
}

.blog-hero__search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.blog-hero__search-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.blog-hero__search {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 2.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.blog-hero__search::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.blog-hero__search:focus {
  border-color: rgba(232, 196, 207, 0.45);
  background: rgba(255, 255, 255, 0.12);
}

.blog-hero__status {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.blog-index-wrap {
  padding: var(--space-2xl) var(--space-lg) var(--space-3xl);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

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

.blog-card:hover {
  border-color: rgba(184, 92, 114, 0.35);
  box-shadow: 0 12px 32px rgba(184, 92, 114, 0.12);
  transform: translateY(-3px);
}

.blog-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.blog-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-card__img.blog-post-featured__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card__image-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
}

.blog-card__image-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.blog-card__body {
  padding: var(--space-md) var(--space-lg) var(--space-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__category {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.6rem;
  color: var(--color-text);
}

.blog-card__excerpt {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  flex: 1;
}

.blog-card__date {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.blog-load-more-wrap {
  text-align: center;
  margin-top: var(--space-xl);
}

.blog-load-more[hidden] {
  display: none;
}

/* Blog post hero */
.blog-post-hero {
  text-align: left;
  padding-bottom: var(--space-xl);
}

.blog-post-hero__inner {
  position: relative;
  max-width: 42rem;
  margin: 0 auto;
}

.blog-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-md);
  font-size: 0.85rem;
}

.blog-breadcrumbs__list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
}

.blog-breadcrumbs__list li:not(:last-child)::after {
  content: "/";
  color: rgba(255, 255, 255, 0.25);
  margin-left: 0.15rem;
}

.blog-breadcrumbs__list a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-breadcrumbs__list a:hover {
  color: var(--color-primary-light);
}

.blog-breadcrumbs__list li[aria-current="page"] span {
  color: rgba(255, 255, 255, 0.9);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-post-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-primary-light);
  text-decoration: none;
  margin-bottom: var(--space-lg);
  transition: opacity 0.2s;
}

.blog-post-hero__back svg {
  width: 1rem;
  height: 1rem;
}

.blog-post-hero__back:hover {
  opacity: 0.8;
}

.blog-post-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: var(--space-md);
  font-size: 0.85rem;
}

.blog-post-hero__category {
  padding: 0.25rem 0.75rem;
  background: rgba(184, 92, 114, 0.25);
  border: 1px solid rgba(232, 196, 207, 0.3);
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  color: var(--color-primary-light);
}

.blog-post-hero__date {
  color: rgba(255, 255, 255, 0.55);
}

.blog-post-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}

/* Article body */
.blog-post-wrap {
  max-width: 42rem;
}

.blog-post-article {
  padding: var(--space-2xl) var(--space-lg) var(--space-3xl);
  background: var(--color-bg);
}

.blog-post-featured {
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-post-hero__image-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}

.blog-post-hero__image-icon svg {
  width: 2.25rem;
  height: 2.25rem;
}

.blog-post-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
}

.blog-post-body > *:first-child {
  margin-top: 0;
}

.blog-post-body h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: var(--space-xl) 0 var(--space-md);
  color: var(--color-text);
}

.blog-post-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: var(--space-lg) 0 var(--space-sm);
}

.blog-post-body p {
  margin-bottom: var(--space-md);
  color: var(--color-text-muted);
}

.blog-post-body ul.blog-post-body ol {
  margin: 0 0 var(--space-md);
  padding-left: 1.35rem;
  color: var(--color-text-muted);
}

.blog-post-body li {
  margin-bottom: 0.45rem;
}

.blog-post-body a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-post-body a:hover {
  color: var(--color-primary-dark);
}

.blog-disclaimer {
  padding: var(--space-md) var(--space-lg);
  background: rgba(184, 92, 114, 0.08);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.9rem;
  color: var(--color-text) !important;
}

.blog-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-md) 0 var(--space-lg);
  font-size: 0.9rem;
}

.blog-table th.blog-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border: 1px solid var(--color-border);
}

.blog-table th {
  background: rgba(184, 92, 114, 0.08);
  font-weight: 600;
  color: var(--color-text);
}

.blog-table td {
  color: var(--color-text-muted);
}

.blog-post-body blockquote {
  margin: var(--space-lg) 0;
  padding: var(--space-md) var(--space-lg);
  border-left: 3px solid var(--color-primary);
  background: rgba(184, 92, 114, 0.05);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.blog-post-body blockquote p {
  margin: 0;
  font-style: italic;
  color: var(--color-text);
}

.blog-faq {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.blog-faq h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: var(--space-md);
}

.blog-faq__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.65rem;
  background: #fff;
}

.blog-faq__question {
  padding: 0.9rem 1.1rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
}

.blog-faq__question::-webkit-details-marker {
  display: none;
}

.blog-faq__answer {
  padding: 0 1.1rem 0.9rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.blog-faq__answer p {
  margin: 0;
}

.blog-post-footer {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.blog-post-footer__back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.blog-post-footer__back svg {
  width: 1rem;
  height: 1rem;
}

.blog-post-not-found {
  padding: var(--space-3xl) var(--space-lg);
  text-align: center;
}

.blog-post-not-found[hidden] {
  display: none;
}

.blog-post-not-found h1 {
  font-family: var(--font-display);
  margin-bottom: var(--space-md);
}

.blog-post-not-found p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

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

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

  .blog-table {
    display: block;
    overflow-x: auto;
  }
}

/* ------------------------------------------------------------------ */
/*  Kit Documentation (lab-results) page                               */
/* ------------------------------------------------------------------ */

.lab-results-hero {
  position: relative;
  padding: clamp(2rem, 5vw, 3.25rem) var(--space-lg) clamp(1.75rem, 4vw, 2.75rem);
  background:
    linear-gradient(180deg, #fff7f9 0%, #f9eef2 42%, var(--color-bg) 100%);
  overflow: hidden;
}

.lab-results-hero__glow {
  position: absolute;
  inset: auto -10% -20% 35%;
  height: 70%;
  background:
    radial-gradient(ellipse at center, rgba(244, 184, 202, 0.45) 0%, transparent 68%),
    radial-gradient(ellipse at 20% 40%, rgba(212, 88, 122, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

.lab-results-hero__inner {
  position: relative;
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: center;
}

.lab-results-hero__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 0.9rem;
  margin-bottom: 1.15rem;
}

.lab-results-hero__logo {
  display: block;
  width: auto;
  height: 2.85rem;
  max-width: min(12.5rem, 70vw);
  object-fit: contain;
  object-position: left center;
}

.lab-results-hero__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.28rem 0.7rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  background: rgba(212, 88, 122, 0.1);
  border: 1px solid rgba(212, 88, 122, 0.18);
  border-radius: 999px;
}

.lab-results-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.9rem;
  color: #2a1c22;
}

.lab-results-hero__accent {
  color: var(--color-primary-dark);
}

.lab-results-hero__lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #6b5560;
  margin: 0 0 1.25rem;
  max-width: 34rem;
}

.lab-results-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
}

.lab-results-hero__features {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr;
}

.lab-results-hero__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(212, 88, 122, 0.12);
  border-radius: 1rem;
  box-shadow: 0 6px 18px rgba(146, 45, 77, 0.04);
}

.lab-results-hero__feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  background: rgba(212, 88, 122, 0.1);
  border-radius: 0.7rem;
  color: var(--color-primary-dark);
}

.lab-results-hero__feature-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.lab-results-hero__feature strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 650;
  color: #2a1c22;
  margin-bottom: 0.1rem;
}

.lab-results-hero__feature span {
  display: block;
  font-size: 0.82rem;
  color: #7a6570;
  line-height: 1.45;
}

.lab-results-hero__preview {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(212, 88, 122, 0.14);
  border-radius: 1.35rem;
  box-shadow: 0 18px 40px rgba(146, 45, 77, 0.08);
  backdrop-filter: blur(8px);
}

.lab-results-hero__stack {
  position: relative;
  width: 100%;
  max-width: 16rem;
  margin-inline: auto;
  height: 16.5rem;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 0.75rem 0.5rem 0.25rem;
  overflow: hidden;
}

.lab-results-hero__sheet {
  width: 11.5rem;
  max-width: 100%;
  height: 15rem;
  max-height: 15rem;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  border-radius: 0.85rem;
  border: 1px solid rgba(212, 88, 122, 0.16);
  background: #fff;
  box-shadow: 0 14px 30px rgba(42, 28, 34, 0.14);
}

.lab-results-hero__sheet--back {
  position: absolute;
  transform: translate(1.35rem, -0.55rem) rotate(7deg);
  opacity: 0.72;
}

.lab-results-hero__sheet--front {
  position: relative;
  z-index: 1;
  transform: translate(-0.35rem, 0.35rem) rotate(-2.5deg);
}

.lab-results-hero__preview-body {
  padding: 0.35rem 0.55rem 0.55rem;
}

.lab-results-hero__preview-label {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
}

.lab-results-hero__preview-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 600;
  margin: 0 0 0.7rem;
  color: #2a1c22;
}

.lab-results-hero__preview-list {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.lab-results-hero__preview-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: #4d3a43;
}

.lab-results-hero__preview-list span {
  color: var(--color-primary);
  font-weight: 700;
}

.lab-results-hero__preview-note {
  margin: 0;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(212, 88, 122, 0.12);
  font-size: 0.8rem;
  line-height: 1.55;
  color: #7a6570;
}

.lab-results-stats {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-lg) var(--space-lg);
}

.lab-results-stats__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.lab-results-stats__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  color: var(--color-primary-dark);
  line-height: 1.1;
}

.lab-results-stats__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: 0.25rem;
}

.lab-results-info {
  display: grid;
  gap: var(--space-md);
  margin: var(--space-2xl) 0;
}

.lab-results-info-card {
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.lab-results-info-card--notice {
  background: rgba(184, 92, 114, 0.04);
  border-color: rgba(184, 92, 114, 0.2);
}

.lab-results-info-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: var(--space-md);
  background: rgba(184, 92, 114, 0.1);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  font-size: 1.1rem;
}

.lab-results-info-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.lab-results-info-card h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 var(--space-sm);
  color: var(--color-text);
}

.lab-results-info-card p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--color-muted);
  margin: 0 0 var(--space-sm);
}

.lab-results-info-card p:last-child {
  margin-bottom: 0;
}

.lab-results-info-card a {
  color: var(--color-primary-dark);
  font-weight: 500;
}

.lab-results-archive {
  margin-bottom: var(--space-2xl);
}

.lab-results-archive__header {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.35rem;
  max-width: 40rem;
  text-align: left;
}

.lab-results-archive__header .section-eyebrow {
  margin-bottom: 0.35rem;
}

.lab-results-archive__header .section-title {
  margin: 0 0 0.45rem;
  line-height: 1.15;
}

.lab-results-archive__header .section-subtitle {
  margin: 0;
  max-width: 36rem;
  text-align: left;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #6b5560;
}

.lab-results-search {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.65rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  max-width: 22rem;
}

.lab-results-search svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--color-muted);
  flex-shrink: 0;
}

.lab-results-search input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--color-text);
  outline: none;
  min-width: 0;
}

.lab-results-search input::placeholder {
  color: var(--color-muted);
}

.lab-results-archive__list {
  display: grid;
  gap: var(--space-md);
}

/* Batch rows + Details + COA expand panel (PeptideX-style, honest PepLush copy) */

.lab-results-batch {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.lab-results-batch:hover.lab-results-batch--open {
  border-color: rgba(184, 92, 114, 0.28);
}

.lab-results-batch--open {
  box-shadow: var(--shadow);
}

.lab-results-batch__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem 1rem;
  padding: 0.95rem 1.1rem;
}

.lab-results-batch__media {
  flex-shrink: 0;
}

.lab-results-batch__thumb {
  display: block;
  width: 3.75rem;
  height: 3.75rem;
  object-fit: contain;
  object-position: center;
  background: #fff7f9;
  border: 1px solid rgba(212, 88, 122, 0.14);
  border-radius: 0.75rem;
  padding: 0.3rem;
}

.lab-results-batch__thumb--empty {
  background: linear-gradient(145deg, #fff7f9, #f3e4ea);
}

.lab-results-batch__main {
  min-width: 0;
  display: grid;
  gap: 0.2rem;
}

.lab-results-batch__category {
  display: inline-block;
  width: fit-content;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0;
}

.lab-results-batch__name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  margin: 0;
  color: #2a1c22;
  line-height: 1.2;
}

.lab-results-batch__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--color-muted);
}

.lab-results-batch__ref {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-primary-dark);
  background: rgba(212, 88, 122, 0.08);
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
}

.lab-results-batch__variant {
  color: #6b5560;
  font-weight: 500;
}

.lab-results-batch__aside {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.lab-results-batch__fill-wrap {
  text-align: right;
  min-width: 4.5rem;
}

.lab-results-batch__fill {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: #2a1c22;
  line-height: 1.1;
}

.lab-results-batch__fill-note {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a7380;
}

.lab-results-batch__toggle {
  white-space: nowrap;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(146, 45, 77, 0.28);
  border-radius: 999px;
  background: #fff;
  color: var(--color-primary-dark);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.lab-results-batch__toggle:hover {
  background: rgba(212, 88, 122, 0.08);
  border-color: var(--color-primary);
}

.lab-results-batch--open .lab-results-batch__toggle {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
}

.lab-results-detail {
  border-top: 1px solid var(--color-border);
  background: linear-gradient(180deg, rgba(184, 92, 114, 0.03) 0%, transparent 100%);
  padding: var(--space-lg);
}

.lab-results-detail__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.lab-results-detail__header-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.lab-results-detail__batch-id {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.lab-results-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
}

.lab-results-badge--active {
  color: #1a6b45;
  background: rgba(26, 107, 69, 0.12);
  border: 1px solid rgba(26, 107, 69, 0.25);
}

.lab-results-badge--fresh {
  color: var(--color-primary-dark);
  background: rgba(184, 92, 114, 0.1);
  border: 1px solid rgba(184, 92, 114, 0.22);
}

.lab-results-detail__product {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
  color: var(--color-text);
}

.lab-results-detail__variant {
  font-weight: 500;
  color: var(--color-muted);
}

.lab-results-detail__header-aside {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.lab-results-detail__fill {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  color: #1a6b45;
  line-height: 1;
}

.lab-results-detail__fill-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.lab-results-detail__status {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1a6b45;
  background: rgba(26, 107, 69, 0.1);
  border: 1px solid rgba(26, 107, 69, 0.22);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.lab-results-detail__hide {
  padding: 0.45rem 0.85rem;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-muted);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.lab-results-detail__hide:hover {
  color: var(--color-text);
  border-color: rgba(184, 92, 114, 0.3);
}

.lab-results-detail__refs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.lab-results-detail__ref-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.15rem;
}

.lab-results-detail__ref-value {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
}

.lab-results-detail__ref-actions {
  display: flex;
  gap: 0.5rem;
}

.lab-results-detail__share.lab-results-detail__qr {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.lab-results-detail__share svg.lab-results-detail__qr svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.lab-results-detail__share:hover:not(:disabled) {
  border-color: rgba(184, 92, 114, 0.35);
  background: rgba(184, 92, 114, 0.04);
}

.lab-results-detail__qr:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.lab-results-detail__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  margin: 0 0 var(--space-lg);
  padding: 0;
}

.lab-results-detail__grid-item {
  padding: var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.lab-results-detail__grid dt {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.25rem;
}

.lab-results-detail__grid dd {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  margin: 0;
}

.lab-results-coa-panel {
  display: grid;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.lab-results-coa-panel__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.lab-results-coa-panel__card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.lab-results-coa-panel__card-header h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  color: var(--color-text);
}

.lab-results-coa-panel__card-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  background: rgba(184, 92, 114, 0.1);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.lab-results-coa-panel__card-tag--muted {
  color: var(--color-muted);
  background: var(--color-bg);
}

.lab-results-coa-panel__preview {
  padding: var(--space-md);
  background: #f4f3f2;
}

.lab-results-coa-panel__preview img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.lab-results-coa-panel__preview--vial {
  background: linear-gradient(145deg, #f8f6f5 0%, #ece9e7 100%);
}

.lab-results-coa-panel__preview--vial img {
  max-height: 320px;
  object-fit: cover;
}

.lab-results-coa-panel__preview--docs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.65rem;
  padding: var(--space-md);
  background: #f4f3f2;
}

.lab-results-doc-thumb {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: zoom-in;
  color: inherit;
  font: inherit;
}

.lab-results-doc-thumb img {
  display: block;
  width: 100%;
  height: 9.5rem;
  max-height: none;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lab-results-doc-thumb:hover img.lab-results-doc-thumb:focus-visible img {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(40, 20, 30, 0.12);
}

.lab-results-doc-thumb__label {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
}

.lab-results-docs-panel.lab-results-coa-panel--tirz {
  display: grid;
  gap: 0.85rem;
}

.lab-results-library {
  margin: var(--space-2xl) 0;
}

.lab-results-library__header {
  margin-bottom: var(--space-lg);
  max-width: 40rem;
  text-align: left;
}

.lab-results-library__header .section-title,
.lab-results-library__header .section-subtitle {
  margin-left: 0;
  text-align: left;
}

.lab-results-library__header .section-subtitle {
  margin: 0;
  max-width: 36rem;
}

.lab-results-library__eyebrow {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
}

.lab-results-library__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.85rem;
}

.lab-results-library-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: zoom-in;
  color: inherit;
  font: inherit;
}

.lab-results-library-card__media {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: #f7f5f4;
  aspect-ratio: 3 / 4;
}

.lab-results-library-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.25s ease;
}

.lab-results-library-card:hover .lab-results-library-card__media img.lab-results-library-card:focus-visible .lab-results-library-card__media img {
  transform: scale(1.03);
}

.lab-results-library-card__title {
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.35;
}

.lab-doc-viewer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.lab-doc-viewer[hidden] {
  display: none;
}

.lab-doc-viewer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 12, 18, 0.72);
}

.lab-doc-viewer__dialog {
  position: relative;
  z-index: 1;
  width: min(56rem, 100%);
  max-height: min(92vh, 100%);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.lab-doc-viewer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border);
}

.lab-doc-viewer__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.lab-doc-viewer__close {
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-muted);
}

.lab-doc-viewer__body {
  overflow: auto;
  padding: 1rem;
  background: #f4f3f2;
}

.lab-doc-viewer__image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  background: #fff;
}

body.lab-doc-viewer-open {
  overflow: hidden;
}

@media (max-width: 40rem) {
  .lab-results-library__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lab-results-coa-panel__preview--docs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.lab-results-coa-panel__caption {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--color-muted);
  margin: 0;
  padding: var(--space-md) var(--space-lg) var(--space-lg);
}

.lab-results-coa-panel__banner {
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.55;
  color: #1a6b45;
  background: rgba(26, 107, 69, 0.08);
  border-top: 1px solid rgba(26, 107, 69, 0.15);
  margin: 0;
  padding: var(--space-md) var(--space-lg);
}

.lab-results-detail__footer {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.lab-results-archive-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.lab-results-archive-item--open.lab-results-archive-item:hover {
  border-color: rgba(184, 92, 114, 0.28);
}

.lab-results-archive-item--open {
  box-shadow: var(--shadow);
}

.lab-results-archive-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
  padding: var(--space-lg);
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

.lab-results-archive-item__category {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.lab-results-archive-item__name {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  color: var(--color-text);
}

.lab-results-archive-item__variant {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin: 0.15rem 0 0;
}

.lab-results-archive-item__meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.lab-results-archive-item__count {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  background: rgba(184, 92, 114, 0.1);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.lab-results-archive-item__chevron {
  color: var(--color-muted);
  transition: transform 0.2s var(--ease-out);
}

.lab-results-archive-item--open .lab-results-archive-item__chevron {
  transform: rotate(180deg);
}

.lab-results-archive-item__body {
  border-top: 1px solid var(--color-border);
}

.lab-results-archive-item__inner {
  padding: var(--space-lg);
}

.lab-results-archive-item__intro {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--color-muted);
  margin: 0 0 var(--space-md);
}

.lab-results-archive-item__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: var(--space-md);
}

.lab-results-doc-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: rgba(184, 92, 114, 0.08);
  border: 1px solid rgba(184, 92, 114, 0.15);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.lab-results-archive-item__list {
  list-style: none;
  margin: 0 0 var(--space-md);
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.lab-results-archive-item__list li {
  display: grid;
  gap: 0.15rem;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-bg);
  border-radius: var(--radius-sm);
}

.lab-results-archive-item__list strong {
  font-size: 0.85rem;
  color: var(--color-text);
}

.lab-results-archive-item__list span {
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.55;
}

.lab-results-archive-item__detail h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 var(--space-sm);
  color: var(--color-text);
}

.lab-results-archive-item__detail p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--color-muted);
  margin: 0 0 var(--space-sm);
}

.lab-results-archive-item__protocol-note {
  font-size: 0.8rem;
  font-style: italic;
}

.lab-results-archive-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.lab-results-empty {
  text-align: center;
  color: var(--color-muted);
  font-size: 0.92rem;
  padding: var(--space-xl);
}

.lab-results-how {
  margin-bottom: var(--space-2xl);
}

.lab-results-how__toggle {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  width: 100%;
  padding: var(--space-lg) var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), border-radius 0.2s var(--ease-out);
}

.lab-results-how__toggle:hover.lab-results-how:has(.lab-results-how-panel--open) .lab-results-how__toggle {
  border-color: rgba(184, 92, 114, 0.3);
  box-shadow: var(--shadow);
}

.lab-results-how:has(.lab-results-how-panel--open) .lab-results-how__toggle {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
  position: relative;
  z-index: 1;
}

.lab-results-how__toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(184, 92, 114, 0.1);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  flex-shrink: 0;
}

.lab-results-how__toggle-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.lab-results-how__toggle-text {
  flex: 1;
  display: grid;
  gap: 0.15rem;
}

.lab-results-how__toggle-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.lab-results-how__toggle-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
}

.lab-results-how__toggle-chevron {
  display: inline-block;
  width: 0.42rem;
  height: 0.42rem;
  margin-top: -0.05rem;
  border-right: 1.75px solid currentColor;
  border-bottom: 1.75px solid currentColor;
  transform: rotate(45deg);
  color: var(--color-muted);
  transition: transform 0.2s var(--ease-out);
  font-size: 0;
  line-height: 0;
  vertical-align: middle;
  flex-shrink: 0;
}

.lab-results-how:has(.lab-results-how-panel--open) .lab-results-how__toggle-chevron {
  transform: rotate(225deg);
}

.lab-results-how-panel {
  overflow: visible;
  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: var(--color-surface);
}

.lab-results-how-panel[hidden] {
  display: none;
}

.lab-results-how-panel__inner {
  padding: var(--space-xl);
  overflow: visible;
}

.lab-results-how-panel__inner > p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--color-muted);
  margin: 0 0 var(--space-xl);
}

.lab-results-how-panel__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: 0;
  align-items: stretch;
}

.lab-results-how-panel__step {
  padding: var(--space-lg);
  background: var(--color-bg);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  min-height: 0;
  overflow: visible;
  height: auto;
}

.lab-results-how-panel__num {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.lab-results-how-panel__step h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 var(--space-sm);
  color: var(--color-text);
}

.lab-results-how-panel__step p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--color-muted);
  margin: 0;
  overflow: visible;
  display: block;
  -webkit-line-clamp: unset;
}

.lab-results-how-panel__num {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.lab-results-how-panel__step h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 var(--space-sm);
  color: var(--color-text);
}

.lab-results-how-panel__step p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--color-muted);
  margin: 0;
}

.lab-results-how-panel__links {
  font-size: 0.88rem;
  color: var(--color-muted);
  margin: 0;
}

.lab-results-how-panel__links a {
  color: var(--color-primary-dark);
  font-weight: 500;
}

.lab-results-explore {
  margin-bottom: var(--space-2xl);
}

.lab-results-disclaimer {
  margin-bottom: var(--space-2xl);
}

@media (min-width: 640px) {
  .lab-results-hero__features {
    grid-template-columns: repeat(2, 1fr);
  }

  .lab-results-stats__inner {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .lab-results-how-panel__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lab-results-detail__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .lab-results-coa-panel {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 639px) {
  .lab-results-batch__row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem;
  }

  .lab-results-batch__aside {
    grid-column: 1 / -1;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border);
  }

  .lab-results-batch__fill-wrap {
    text-align: left;
  }

  .lab-results-detail__header-aside {
    width: 100%;
    justify-content: space-between;
  }
}

@media (min-width: 900px) {
  .lab-results-hero__inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-2xl);
    align-items: center;
  }

  .lab-results-hero__stack {
    max-width: 18rem;
    height: 19rem;
  }

  .lab-results-hero__sheet {
    width: 13.5rem;
    height: 17.5rem;
    max-height: 17.5rem;
  }
}

@media (max-width: 639px) {
  .lab-results-hero {
    padding: 1.35rem 1rem 1.5rem;
  }

  .lab-results-hero__logo {
    height: 2.35rem;
  }

  .lab-results-hero__title {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .lab-results-hero__lead {
    font-size: 0.95rem;
  }

  .lab-results-hero__actions {
    width: 100%;
  }

  .lab-results-hero__actions .btn {
    flex: 1 1 auto;
    justify-content: center;
    text-align: center;
  }

  .lab-results-hero__preview {
    padding: 0.75rem;
  }

  .lab-results-hero__stack {
    max-width: 13rem;
    height: 13.5rem;
    padding: 0.5rem 0.35rem 0.15rem;
  }

  .lab-results-hero__sheet {
    width: 9.25rem !important;
    height: 12.25rem !important;
    max-height: 12.25rem !important;
  }

  .lab-results-hero__sheet--back {
    transform: translate(0.9rem, -0.35rem) rotate(5deg);
  }

  .lab-results-hero__sheet--front {
    transform: translate(-0.2rem, 0.25rem) rotate(-1.5deg);
  }

  .lab-results-library__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lab-results-library-card__media {
    aspect-ratio: 3 / 4;
    max-height: 14rem;
  }

  .lab-results-library-card__media img {
    height: 100% !important;
    max-height: none !important;
    object-fit: cover;
  }

  .lab-results-coa-panel__preview img,
  .lab-results-coa-panel__preview--coa-pages img {
    max-height: 14rem;
    width: 100%;
    height: auto !important;
    object-fit: contain;
  }

  .lab-results-doc-thumb img {
    height: 8.5rem !important;
    max-height: 8.5rem !important;
    object-fit: cover;
  }
}

/* ================================================================== */
/*  Account Portal                                                     */
/* ================================================================== */

.account-main {
  flex: 1;
}

/* Landing */

.account-landing {
  padding: var(--space-2xl) var(--space-lg);
}

.account-landing__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: var(--space-xl);
  align-items: start;
}

.account-landing__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.account-landing__title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

.account-landing__lead {
  font-size: var(--font-size-lg);
  color: var(--color-muted);
  max-width: 32rem;
  margin-bottom: var(--space-xl);
}

.account-feature-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}

.account-feature-card {
  padding: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.account-feature-card__icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: var(--space-sm);
}

.account-feature-card h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.account-feature-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.account-signin-card {
  padding: var(--space-xl);
  background: #1a1518;
  color: #f5eef0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(184, 92, 114, 0.2);
  box-shadow: 0 24px 64px rgba(31, 26, 28, 0.2);
}

.account-signin-card__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.account-signin-card__text {
  color: rgba(245, 238, 240, 0.65);
  font-size: 0.92rem;
  margin-bottom: var(--space-lg);
}

.account-signin-card__btn {
  width: 100%;
  margin-bottom: var(--space-md);
}

.account-signin-card__links {
  text-align: center;
  margin: 0 0 var(--space-lg);
}

.account-signin-card__link {
  border: none;
  background: none;
  color: var(--color-primary-light);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.account-signin-card__back {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(245, 238, 240, 0.5);
}

.account-signin-card__back:hover {
  color: var(--color-primary-light);
}

/* Dashboard */

.account-dashboard {
  padding: var(--space-xl) var(--space-lg) var(--space-2xl);
}

.account-dashboard__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.account-header {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.account-header__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.account-header__welcome h1 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 0.25rem;
}

.account-header__email {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.account-header__stats {
  display: flex;
  gap: var(--space-lg);
}

.account-header__stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.account-header__stat-label {
  font-size: 0.82rem;
  color: var(--color-muted);
}

.account-header__cards {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.account-balance-card {
  padding: var(--space-lg);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.account-balance-card--credit {
  background: linear-gradient(135deg, rgba(184, 92, 114, 0.12) 0%, rgba(201, 160, 108, 0.1) 100%);
}

.account-balance-card--pending {
  background: var(--color-surface);
}

.account-balance-card__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  margin-bottom: 0.25rem;
}

.account-balance-card__value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.account-balance-card__hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--color-muted);
}

.account-balance-card__hint a {
  color: var(--color-primary);
}

.account-header__signout {
  justify-self: start;
  padding: 0.45rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s, color 0.2s;
}

.account-header__signout:hover {
  border-color: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.account-delivery-banner {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-lg);
  background: linear-gradient(90deg, rgba(184, 92, 114, 0.1) 0%, rgba(201, 160, 108, 0.08) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.account-delivery-banner__content strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.account-delivery-banner__content p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.account-delivery-banner__dismiss {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border: none;
  border-radius: 50%;
  background: rgba(184, 92, 114, 0.1);
  color: var(--color-muted);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
}

/* Tabs */

.account-tabs {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.account-tabs::-webkit-scrollbar {
  display: none;
}

.account-tabs__btn {
  flex-shrink: 0;
  padding: 0.55rem 1rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s, background 0.2s;
}

.account-tabs__btn:hover {
  color: var(--color-primary-dark);
  background: rgba(184, 92, 114, 0.06);
}

.account-tabs__btn--active {
  color: #fff;
  background: var(--gradient-brand);
  box-shadow: var(--shadow-glow);
}

/* Panels & cards */

.account-card {
  padding: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: var(--space-lg);
}

.account-card--dark {
  background: #1a1518;
  color: #f5eef0;
  border-color: rgba(184, 92, 114, 0.2);
}

.account-card--dark h2 {
  color: #fff;
}

.account-card--dark p {
  color: rgba(245, 238, 240, 0.7);
  font-size: 0.9rem;
}

.account-card--dark a {
  color: var(--color-primary-light);
}

.account-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.account-card__header h2 {
  font-size: 1.15rem;
  margin: 0;
}

.account-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
}

.account-card__intro {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-lg);
}

.account-stat-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  margin-bottom: var(--space-lg);
}

.account-stat-card {
  padding: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-align: center;
}

.account-stat-card__value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.account-stat-card__label {
  font-size: 0.78rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.account-overview-grid {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

/* Empty states */

.account-empty {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
}

.account-empty--compact {
  padding: var(--space-lg);
}

.account-empty__icon {
  display: block;
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  opacity: 0.6;
}

.account-empty p {
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.account-empty span {
  display: block;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: var(--space-md);
  max-width: 24rem;
  margin-left: auto;
  margin-right: auto;
}

.account-empty .btn {
  margin-top: 0.25rem;
}

/* Forms */

.account-form__field {
  margin-bottom: var(--space-md);
}

.account-form__field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-muted);
}

.account-form__optional {
  font-weight: 400;
  opacity: 0.7;
}

.account-form__field input.account-form__field textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--color-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.account-form__field input:focus.account-form__field textarea:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(184, 92, 114, 0.12);
}

.account-form__field input[readonly] {
  opacity: 0.7;
  cursor: not-allowed;
}

.account-form__success {
  font-size: 0.85rem;
  color: var(--color-success);
  margin-bottom: var(--space-sm);
}

.account-form__notice {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: var(--space-sm);
}

.account-settings-grid {
  display: grid;
  gap: var(--space-lg);
}

.account-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: var(--space-md);
  font-size: 0.88rem;
  color: rgba(245, 238, 240, 0.75);
  cursor: not-allowed;
  opacity: 0.7;
}

.account-toggle input {
  display: none;
}

.account-toggle__slider {
  width: 2.5rem;
  height: 1.35rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  position: relative;
}

.account-toggle__slider::after {
  content: "";
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: 1.05rem;
  height: 1.05rem;
  background: #fff;
  border-radius: 50%;
}

/* Credits */

.account-credits-balance {
  margin-bottom: var(--space-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #1a1518;
  border: 1px solid rgba(184, 92, 114, 0.25);
}

.account-credits-balance__inner {
  padding: var(--space-xl);
  text-align: center;
}

.account-credits-balance__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(245, 238, 240, 0.55);
  margin-bottom: 0.5rem;
}

.account-credits-balance__value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.account-credits-balance__note {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(245, 238, 240, 0.55);
}

.account-credits-balance__note a {
  color: var(--color-primary-light);
}

.account-credits__filters {
  display: flex;
  gap: 0.25rem;
}

.account-credits__filter {
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-muted);
  cursor: pointer;
  font-family: inherit;
}

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

.btn--sm {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
}

/* Account responsive */

@media (min-width: 768px) {
  .header-utils__signin-label {
    display: inline;
  }

  .account-landing__inner {
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-2xl);
    align-items: center;
  }

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

  .account-header {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
    align-items: start;
  }

  .account-header__welcome {
    grid-column: 1;
    grid-row: 1;
  }

  .account-header__stats {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  .account-header__cards {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 28rem;
  }

  .account-header__signout {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    align-self: end;
  }

  .account-overview-grid {
    grid-template-columns: 1fr 1fr;
  }

  .account-settings-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .header-inner {
    padding: 0.65rem clamp(1rem, 4vw, 1.5rem);
  }

  .header-utils__signin-label {
    display: none;
  }

  .header-utils__user-label {
    display: none;
  }

  .notif-dropdown {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .footer-trust {
    padding: var(--space-lg) var(--space-md);
  }

  .footer-disclaimer {
    padding: var(--space-lg) var(--space-md);
  }

  .footer-disclaimer__inner {
    padding: var(--space-md);
  }

  .footer-main {
    padding: var(--space-xl) var(--space-md) var(--space-lg);
  }

  .footer-grid {
    gap: var(--space-lg);
  }
}

/* ------------------------------------------------------------------ */
/*  Products page (shop / catalog)                                    */
/* ------------------------------------------------------------------ */

.products-hero {
  position: relative;
  text-align: center;
  padding: var(--space-3xl) var(--space-lg) calc(var(--space-3xl) + 1rem);
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 100%, rgba(184, 92, 114, 0.45) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 20% 15%, rgba(201, 160, 108, 0.14) 0%, transparent 60%),
    linear-gradient(180deg, #0f0c0d 0%, #181214 100%);
}

.products-hero__grid {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.products-hero__inner {
  position: relative;
  max-width: 42rem;
  margin: 0 auto;
}

.products-hero__badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  margin-bottom: var(--space-lg);
  background: rgba(184, 92, 114, 0.25);
  border: 1px solid rgba(232, 196, 207, 0.35);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary-light);
}

.products-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
  color: #fff;
}

.products-hero__accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.products-hero__lead {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  color: rgba(255, 255, 255, 0.72);
  max-width: 34rem;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

.products-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.products-hero__btn-ghost {
  color: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.products-hero__btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.products-stats-wrap {
  margin-top: calc(var(--space-xl) * -1);
  position: relative;
  z-index: 1;
  padding-bottom: var(--space-xl);
}

.products-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.products-stats__item {
  text-align: center;
  padding: var(--space-sm);
}

.products-stats__value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.products-stats__label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-muted);
}

.products-catalog {
  padding-bottom: var(--space-3xl);
}

.products-toolbar {
  margin-bottom: var(--space-2xl);
}

.products-toolbar__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.products-toolbar__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 var(--space-sm);
  color: var(--color-text);
}

.products-toolbar__lead {
  color: var(--color-muted);
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.65;
}

.products-toolbar__search-row {
  max-width: 32rem;
  margin: 0 auto var(--space-lg);
}

.products-toolbar__search {
  position: relative;
}

.products-toolbar__search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted);
  pointer-events: none;
}

.products-toolbar__search-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
}

.products-toolbar__search-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.products-toolbar__search-input:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(184, 92, 114, 0.12);
}

.products-toolbar__status {
  min-height: 1.25rem;
  margin: 0.5rem 0 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--color-muted);
}

.products-toolbar .filter-bar {
  margin-bottom: 0;
}

.products-resources {
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--color-border);
}

.products-resources__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.products-resources__grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

.products-resource-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
}

.products-resource-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(184, 92, 114, 0.25);
}

.products-resource-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  background: rgba(184, 92, 114, 0.08);
  color: var(--color-primary-dark);
}

.products-resource-card__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.products-resource-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0;
  color: var(--color-text);
}

.products-resource-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-muted);
  flex: 1;
}

.products-resource-card__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

@media (min-width: 640px) {
  .products-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .products-resources__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ------------------------------------------------------------------ */
/*  Contact page                                                      */
/* ------------------------------------------------------------------ */

.contact-hero {
  position: relative;
  text-align: center;
  padding: var(--space-3xl) var(--space-lg) calc(var(--space-3xl) + 2rem);
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 100%, rgba(184, 92, 114, 0.45) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(201, 160, 108, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, #0f0c0d 0%, #181214 100%);
}

.contact-hero__grid {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.contact-hero__inner {
  position: relative;
  max-width: 42rem;
  margin: 0 auto;
}

.contact-hero__badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  margin-bottom: var(--space-lg);
  background: rgba(184, 92, 114, 0.25);
  border: 1px solid rgba(232, 196, 207, 0.35);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary-light);
}

.contact-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
  color: #fff;
}

.contact-hero__accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-hero__lead {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  color: rgba(255, 255, 255, 0.72);
  max-width: 32rem;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

.contact-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.contact-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-status-pill svg {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
}

.contact-status-pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-status-pill--online .contact-status-pill__dot {
  background: var(--color-success);
  box-shadow: 0 0 8px rgba(74, 138, 98, 0.7);
}

.contact-status-pill--offline .contact-status-pill__dot {
  background: rgba(255, 255, 255, 0.35);
}

.contact-layout-wrap {
  margin-top: calc(-1 * var(--space-xl));
  position: relative;
  z-index: 2;
  padding-bottom: var(--space-3xl);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.contact-panel__title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  margin: 0 0 var(--space-md);
}

.contact-channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-channel {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.contact-channel--muted {
  opacity: 0.65;
}

.contact-channel__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  background: rgba(184, 92, 114, 0.1);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
}

.contact-channel__icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.contact-channel__body {
  flex: 1;
  min-width: 0;
}

.contact-channel__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-bottom: 0.15rem;
}

.contact-channel__value {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  word-break: break-all;
}

a.contact-channel__value:hover {
  color: var(--color-primary);
}

.contact-channel__value--soon {
  font-style: italic;
  color: var(--color-muted);
}

.contact-copy-btn {
  margin-top: 0.35rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(184, 92, 114, 0.08);
  border: 1px solid rgba(184, 92, 114, 0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s ease;
}

.contact-copy-btn:hover {
  background: rgba(184, 92, 114, 0.15);
}

.contact-hours {
  margin: 0;
}

.contact-hours__row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.88rem;
}

.contact-hours__row:last-child {
  border-bottom: none;
}

.contact-hours__row dt {
  color: var(--color-muted);
  font-weight: 500;
}

.contact-hours__row dd {
  margin: 0;
  text-align: right;
  color: var(--color-text);
  font-weight: 500;
}

.contact-wholesale {
  background: linear-gradient(135deg, rgba(184, 92, 114, 0.08) 0%, rgba(212, 160, 108, 0.06) 100%);
  border-color: rgba(184, 92, 114, 0.2);
}

.contact-wholesale__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 var(--space-sm);
  color: var(--color-text);
}

.contact-wholesale p {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0 0 var(--space-sm);
}

.contact-wholesale__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
}

.contact-quick-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.contact-quick-links a {
  display: block;
  font-size: 0.88rem;
  color: var(--color-text);
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.contact-quick-links a:hover {
  color: var(--color-primary);
  border-bottom-color: rgba(184, 92, 114, 0.25);
}

.contact-form-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.contact-form-status {
  margin-bottom: var(--space-md);
}

.contact-form__head {
  margin-bottom: var(--space-lg);
}

.contact-form__head h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.35rem;
}

.contact-form__head p {
  font-size: 0.88rem;
  color: var(--color-muted);
  margin: 0;
}

.contact-optional {
  font-weight: 400;
  color: var(--color-muted);
  font-size: 0.85em;
}

.contact-categories {
  border: none;
  margin: 0 0 var(--space-lg);
  padding: 0;
}

.contact-categories__legend {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  padding: 0;
}

.contact-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.contact-category-pill {
  position: relative;
  cursor: pointer;
}

.contact-category-pill input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.contact-category-pill span {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.contact-category-pill:hover span {
  border-color: rgba(184, 92, 114, 0.45);
}

.contact-category-pill--active span,
.contact-category-pill input:checked + span {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(184, 92, 114, 0.28);
}

.contact-categories.is-selected .contact-categories__required {
  display: none;
}

.contact-message-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-sm);
}

.contact-char-count {
  font-size: 0.78rem;
  color: var(--color-muted);
  font-variant-numeric: tabular-nums;
}

.contact-char-count--limit {
  color: var(--color-primary);
  font-weight: 600;
}

.contact-success {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
}

.contact-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: var(--space-md);
  border-radius: 50%;
  background: rgba(74, 138, 98, 0.12);
  color: var(--color-success);
}

.contact-success__icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.contact-success h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 var(--space-sm);
}

.contact-success p {
  color: var(--color-muted);
  max-width: 28rem;
  margin: 0 auto var(--space-lg);
  line-height: 1.65;
}

.contact-notice {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background: rgba(184, 92, 114, 0.06);
  border: 1px solid rgba(184, 92, 114, 0.18);
  border-radius: var(--radius-lg);
}

.contact-notice__icon {
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1;
}

.contact-notice__body h2 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--color-text);
}

.contact-notice__body p {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
}

@media (min-width: 960px) {
  .contact-layout {
    grid-template-columns: minmax(16rem, 22rem) 1fr;
  }
}

/* ------------------------------------------------------------------ */
/*  How to Pay page                                                   */
/* ------------------------------------------------------------------ */

.pay-hero {
  position: relative;
  text-align: center;
  padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(184, 92, 114, 0.45) 0%, transparent 70%),
    linear-gradient(180deg, #0f0c0d 0%, #141012 100%);
}

.pay-hero__grid {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.pay-hero__inner {
  position: relative;
  max-width: 44rem;
  margin: 0 auto;
}

.pay-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 1rem;
  margin-bottom: var(--space-lg);
  background: rgba(184, 92, 114, 0.2);
  border: 1px solid rgba(232, 196, 207, 0.3);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary-light);
}

.pay-hero__badge svg {
  width: 0.9rem;
  height: 0.9rem;
}

.pay-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.pay-hero__accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pay-hero__lead {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin: 0 auto var(--space-xl);
  max-width: 32rem;
}

.pay-hero__methods {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.pay-method-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.pay-method-badge--gcash {
  background: rgba(0, 87, 184, 0.35);
  border-color: rgba(100, 160, 255, 0.35);
}

.pay-method-badge--bank {
  background: rgba(184, 92, 114, 0.25);
  border-color: rgba(232, 196, 207, 0.3);
}

.pay-method-badge--other {
  font-weight: 500;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.pay-hero__methods-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 var(--space-lg);
}

.pay-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.pay-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.pay-trust-pill svg {
  width: 0.85rem;
  height: 0.85rem;
  color: var(--color-primary-light);
}

.pay-section {
  padding: var(--space-3xl) 0;
}

.pay-section--light {
  background: var(--color-bg);
}

.pay-section--muted {
  background: var(--color-surface);
}

.pay-section__head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto var(--space-2xl);
}

.pay-section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: var(--space-sm) 0 var(--space-md);
  color: var(--color-text);
}

.pay-section__head p {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin: 0;
}

.pay-features {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
  .pay-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pay-feature-card {
  padding: var(--space-xl);
  background: #fff;
  border: 1px solid rgba(184, 92, 114, 0.12);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pay-feature-card:hover {
  border-color: rgba(184, 92, 114, 0.28);
  box-shadow: 0 8px 32px rgba(184, 92, 114, 0.08);
}

.pay-feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: var(--space-md);
  background: rgba(184, 92, 114, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-primary);
}

.pay-feature-card__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.pay-feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 var(--space-sm);
  color: var(--color-text);
}

.pay-feature-card p {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
}

.pay-zero-banner {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  background: linear-gradient(135deg, rgba(184, 92, 114, 0.08) 0%, rgba(212, 160, 108, 0.06) 100%);
  border: 1px solid rgba(184, 92, 114, 0.2);
  border-radius: var(--radius-lg);
}

.pay-zero-banner__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(184, 92, 114, 0.15);
  border-radius: var(--radius-md);
  color: var(--color-primary);
}

.pay-zero-banner__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.pay-zero-banner__copy strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--color-text);
}

.pay-zero-banner__copy p {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
}

.pay-methods-grid {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
  .pay-methods-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pay-method-card {
  padding: var(--space-xl);
  background: #fff;
  border: 1px solid rgba(184, 92, 114, 0.12);
  border-radius: var(--radius-lg);
}

.pay-method-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-md);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.pay-method-card__logo svg {
  width: 1.5rem;
  height: 1.5rem;
}

.pay-method-card__logo--gcash {
  background: linear-gradient(135deg, #0057b8 0%, #0077ee 100%);
}

.pay-method-card__logo--bank {
  background: var(--gradient-brand);
}

.pay-method-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 var(--space-sm);
  color: var(--color-text);
}

.pay-method-card p {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0 0 var(--space-md);
}

.pay-method-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pay-method-card__list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.82rem;
  color: var(--color-text);
  line-height: 1.8;
}

.pay-method-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--color-primary);
}

.pay-methods-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.65;
  max-width: 36rem;
  margin: 0 auto;
}

.pay-methods-note a {
  color: var(--color-primary);
}

.pay-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 36rem;
  margin-inline: auto;
  position: relative;
}

.pay-timeline::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary) 0%, rgba(184, 92, 114, 0.2) 100%);
}

.pay-timeline__step {
  display: flex;
  gap: var(--space-lg);
  padding-bottom: var(--space-xl);
  position: relative;
}

.pay-timeline__step:last-child {
  padding-bottom: 0;
}

.pay-timeline__num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--gradient-brand);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--color-bg);
  position: relative;
  z-index: 1;
}

.pay-section--light .pay-timeline__num {
  box-shadow: 0 0 0 4px var(--color-bg);
}

.pay-timeline__content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--color-text);
}

.pay-timeline__content p {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
}

.pay-timeline__content a {
  color: var(--color-primary);
}

.pay-benefits {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(184, 92, 114, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(212, 160, 108, 0.15) 0%, transparent 55%),
    linear-gradient(135deg, #0f0c0d 0%, #1a1216 50%, #141012 100%);
  border: 1px solid rgba(184, 92, 114, 0.2);
}

@media (min-width: 768px) {
  .pay-benefits {
    grid-template-columns: 1fr 1fr;
    padding: var(--space-3xl);
  }
}

.pay-benefits__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary-light);
  margin-bottom: var(--space-sm);
}

.pay-benefits__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-lg);
  line-height: 1.15;
}

.pay-benefits__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl);
}

.pay-benefits__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
  margin-bottom: var(--space-sm);
}

.pay-benefits__list li svg {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  color: var(--color-primary-light);
}

.pay-benefits__list a {
  color: var(--color-primary-light);
}

.pay-benefits__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pay-wallet-illustration {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  width: 100%;
  max-width: 16rem;
}

.pay-wallet-illustration__phone {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
}

.pay-wallet-illustration__app {
  font-size: 0.75rem;
  font-weight: 700;
  color: #6eb3ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pay-wallet-illustration__amount {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
}

.pay-wallet-illustration__status {
  font-size: 0.78rem;
  color: rgba(120, 220, 160, 0.9);
}

.pay-wallet-illustration__receipt {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: var(--space-md) var(--space-lg);
  background: rgba(184, 92, 114, 0.15);
  border: 1px solid rgba(232, 196, 207, 0.2);
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.pay-wallet-illustration__line {
  display: block;
  height: 0.35rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}

.pay-wallet-illustration__line--short {
  width: 60%;
}

.pay-faq {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.pay-faq__item {
  background: #fff;
  border: 1px solid rgba(184, 92, 114, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.pay-faq__item:hover {
  border-color: rgba(184, 92, 114, 0.25);
}

.pay-faq__item--open {
  border-color: rgba(184, 92, 114, 0.3);
}

.pay-faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
}

.pay-faq__icon {
  flex-shrink: 0;
  position: relative;
  width: 1rem;
  height: 1rem;
}

.pay-faq__icon::before.pay-faq__icon::after {
  content: "";
  position: absolute;
  background: var(--color-primary);
  border-radius: 1px;
  transition: transform 0.2s;
}

.pay-faq__icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.pay-faq__icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.pay-faq__item--open .pay-faq__icon::after {
  transform: translateX(-50%) scaleY(0);
}

.pay-faq__body {
  display: none;
  padding: 0 var(--space-lg) var(--space-md);
}

.pay-faq__item--open .pay-faq__body {
  display: block;
}

.pay-faq__body p {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
}

.pay-faq__body a {
  color: var(--color-primary);
}

.pay-cta {
  padding: var(--space-2xl) var(--space-lg) var(--space-3xl);
}

.pay-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
  padding: var(--space-2xl);
  background:
    radial-gradient(ellipse 80% 100% at 50% 100%, rgba(184, 92, 114, 0.2) 0%, transparent 70%),
    linear-gradient(180deg, #0f0c0d 0%, #141012 100%);
  border: 1px solid rgba(184, 92, 114, 0.25);
  border-radius: var(--radius-xl);
  color: #fff;
}

.pay-cta__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin: 0 0 var(--space-sm);
}

.pay-cta__copy p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  margin: 0;
}

.pay-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.pay-cta__btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.pay-cta__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

@media (max-width: 767px) {
  .pay-zero-banner {
    flex-direction: column;
  }

  .pay-timeline::before {
    left: 1rem;
  }

  .pay-timeline__num {
    width: 2rem;
    height: 2rem;
    font-size: 0.78rem;
  }
}

/* ------------------------------------------------------------------ */
/*  Homepage (PeptideX-style layout, PepLush constraints)             */
/* ------------------------------------------------------------------ */

.home-hero {
  position: relative;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 0 0;
  color: var(--color-text);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  background:
    radial-gradient(ellipse 80% 60% at 50% -5%, rgba(244, 140, 170, 0.7) 0%, transparent 68%),
    radial-gradient(ellipse 50% 45% at 95% 25%, rgba(224, 168, 130, 0.5) 0%, transparent 55%),
    radial-gradient(ellipse 45% 35% at 5% 70%, rgba(212, 88, 122, 0.35) 0%, transparent 55%),
    linear-gradient(180deg, #fce0ea 0%, #f8d4e0 45%, #f4c8d6 100%);
}

/* CSS research vial - hero decoration */
.home-hero__vial {
  display: none;
  position: absolute;
  right: clamp(1rem, 8vw, 6rem);
  top: 50%;
  transform: translateY(-55%);
  width: 4.5rem;
  filter: drop-shadow(0 20px 40px rgba(184, 92, 114, 0.35));
  opacity: 0.85;
  pointer-events: none;
}

.home-hero__vial-cap {
  width: 1.6rem;
  height: 0.55rem;
  margin: 0 auto;
  background: linear-gradient(180deg, #d4d0cc 0%, #a8a4a0 100%);
  border-radius: 0.2rem 0.2rem 0 0;
}

.home-hero__vial-neck {
  width: 0.75rem;
  height: 0.65rem;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.home-hero__vial-body {
  position: relative;
  width: 3.25rem;
  height: 6.5rem;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(232, 196, 207, 0.35);
  border-radius: 0 0 1.2rem 1.2rem;
  overflow: hidden;
}

.home-hero__vial-body--sm {
  width: 2rem;
  height: 3.75rem;
  border-radius: 0 0 0.75rem 0.75rem;
}

.home-hero__vial-liquid {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62%;
  background: linear-gradient(180deg, rgba(232, 196, 207, 0.5) 0%, rgba(184, 92, 114, 0.75) 100%);
  animation: home-vial-shimmer 4s ease-in-out infinite;
}

.home-hero__vial-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
}

@keyframes home-vial-shimmer {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

.home-hero__grid {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e8a0b0' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.8;
}

.home-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.35;
}

.home-hero__glow--1 {
  width: 320px;
  height: 320px;
  background: rgba(232, 160, 176, 0.35);
  top: -60px;
  right: 10%;
}

.home-hero__glow--2 {
  width: 240px;
  height: 240px;
  background: rgba(240, 217, 200, 0.4);
  bottom: 20%;
  left: 5%;
}

.home-hero__inner {
  position: relative;
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 var(--space-lg) var(--space-xl);
}

.home-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.1rem;
  margin-bottom: var(--space-lg);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(196, 70, 104, 0.4);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary-dark);
  box-shadow: var(--shadow);
}

.home-hero__badge svg {
  width: 0.9rem;
  height: 0.9rem;
}

.home-hero__logo {
  margin: 0 0 var(--space-md);
  text-align: center;
}

.peplush-wordmark {
  display: block;
  font-family: var(--font-brand);
  font-size: clamp(3.5rem, 12vw, 6.75rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.01em;
}

.peplush-wordmark__pep {
  color: #7a1e52;
  text-shadow: 0 2px 24px rgba(255, 255, 255, 0.45);
}

.peplush-wordmark__lush {
  background: linear-gradient(135deg, #ff5c9a 0%, #e91e8c 42%, #ff85b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 20px rgba(233, 30, 140, 0.3));
}

.peplush-wordmark__tagline {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-body);
  font-size: clamp(0.72rem, 2.2vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #7a1e52;
}

.home-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-md);
  color: var(--color-primary-dark);
  text-shadow: 0 2px 24px rgba(255, 255, 255, 0.35);
}

.home-hero__accent {
  color: var(--color-primary-dark);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.home-hero__lead {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--color-muted);
  line-height: 1.7;
  max-width: 36rem;
  margin: 0 auto var(--space-xl);
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-2xl);
}

.home-hero__actions .btn {
  min-height: 2.75rem;
}

.home-hero__btn-secondary {
  color: var(--color-primary-dark);
  border-color: var(--color-primary);
  background: var(--color-surface);
}

.home-hero__btn-secondary:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary-dark);
  color: var(--color-primary-dark);
}

.home-hero__btn-secondary:focus-visible {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 2px;
}

.home-hero__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  width: min(100%, 40rem);
  max-width: 40rem;
  margin-inline: auto;
  padding: 0.6rem var(--space-xl);
  background: rgba(255, 255, 255, 0.78);
  border: 2px solid rgba(196, 70, 104, 0.28);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.home-hero__trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.25rem 0.15rem;
  text-align: center;
}

.home-hero__trust-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary-dark);
}

.home-hero__trust-label {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.25;
  color: var(--color-muted);
}

.home-hero__featured {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg) var(--space-lg);
  display: flex;
  justify-content: center;
}

.home-hero__featured-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  max-width: 20rem;
  padding: var(--space-lg) var(--space-xl);
  background: rgba(255, 255, 255, 0.88);
  border: 2px solid rgba(196, 70, 104, 0.5);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.home-hero__featured-vial {
  flex-shrink: 0;
  width: 3rem;
  filter: drop-shadow(0 8px 16px rgba(232, 160, 176, 0.35));
}

.home-hero__featured-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary-dark);
  padding: 0.35rem 0.75rem;
  background: var(--color-primary-light);
  border: 1px solid rgba(196, 70, 104, 0.35);
  border-radius: 999px;
  flex-shrink: 0;
  animation: featured-label-blink 1.6s ease-in-out infinite;
}

.home-hero__featured-info {
  flex: none;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.home-hero__featured-info strong {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.3;
}

.home-hero__featured-meta {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.home-hero__featured-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  white-space: nowrap;
}

.home-hero__featured-btn {
  margin: var(--space-xs) 0 0;
  min-height: 2.75rem;
  width: 100%;
  max-width: 13rem;
  white-space: nowrap;
}

.home-hero__featured-btn:hover {
  color: #fff;
}

.home-hero__ticker-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  margin-top: auto;
  flex-shrink: 0;
  align-self: stretch;
  border-top: 2px solid rgba(196, 70, 104, 0.35);
  background: linear-gradient(90deg, #f4b8ca 0%, #f8d0dc 50%, #f4b8ca 100%);
  padding: var(--space-md) 0;
}

.home-hero__ticker {
  display: flex;
  gap: var(--space-lg);
  width: max-content;
  padding-inline: var(--space-lg);
  animation: home-ticker 40s linear infinite;
  will-change: transform;
}

.home-hero__ticker:hover {
  animation-play-state: paused;
}

@keyframes home-ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}

.home-hero__ticker-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  min-height: 2.75rem;
  padding: 0.5rem 1.1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text);
  font-size: 0.85rem;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-hero__ticker-item:hover.home-hero__ticker-item:focus-visible {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-text);
  transform: translateY(-1px);
  outline: none;
}

.home-hero__ticker-item:focus-visible {
  box-shadow: 0 0 0 2px rgba(232, 196, 207, 0.5);
}

.home-hero__ticker-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.5rem;
  background: var(--color-primary-light);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-primary-dark);
}

/* Value props */
.home-value-props {
  padding: var(--space-2xl) 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.home-value-props__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.home-value-card {
  padding: var(--space-lg);
  background: var(--color-surface);
  border: 2px solid rgba(196, 70, 104, 0.28);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-value-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.home-value-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: var(--space-sm);
  border-radius: var(--radius-sm);
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.home-value-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.home-value-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--color-text);
}

.home-value-card p {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0;
}

/* RUO bar */
.home-ruo-bar {
  background: linear-gradient(90deg, #f4b8ca 0%, #fae6ec 50%, #f4b8ca 100%);
  border-top: 3px solid var(--color-primary);
  border-bottom: 3px solid var(--color-primary);
  padding: var(--space-lg) 0;
}

.home-ruo-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--space-md);
}

.home-ruo-bar__icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.home-ruo-bar__copy {
  flex: 1;
  min-width: 14rem;
}

.home-ruo-bar__copy strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 0.35rem;
}

.home-ruo-bar__copy p {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
}

.home-ruo-bar__link {
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  align-self: center;
}

/* Home sections */
.home-section {
  padding: clamp(2.75rem, 5vw, 4.5rem) 0;
}

.home-section--light {
  background: var(--color-bg-warm);
}

.home-section--muted {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-primary-light) 100%);
}

.home-section__head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto var(--space-xl);
}

.home-section__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  align-items: center;
  margin-top: var(--space-xl);
}

/* Product grid */
.home-products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.85rem, 2vw, 1.25rem);
}

.home-products-grid__row {
  display: grid;
  gap: clamp(0.65rem, 1.75vw, 1rem);
}

.home-products-grid__row--four {
  grid-template-columns: repeat(2, 1fr);
}

.home-products-grid__row--three {
  grid-template-columns: repeat(2, 1fr);
}

.home-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-surface);
  border: 1.5px solid rgba(196, 70, 104, 0.22);
  border-radius: var(--radius-md);
  overflow: hidden;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-product-card__stretch {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.home-product-card__stretch:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
}

.home-product-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 22px rgba(212, 88, 122, 0.16);
  transform: translateY(-2px);
}

.home-product-card:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.home-product-card__visual {
  position: relative;
  flex-shrink: 0;
  aspect-ratio: 4 / 5;
  min-height: 14rem;
  background: linear-gradient(165deg, #fdf6f2 0%, #f8e8ee 50%, #f0e4dc 100%);
  overflow: hidden;
}

.home-product-card__visual--photo {
  background: linear-gradient(165deg, #fdf6f2 0%, #f8e8ee 50%, #f0e4dc 100%);
}

.home-product-card__photo {
  position: relative;
  inset: auto;
  width: 84%;
  height: 94%;
  max-width: 84%;
  max-height: 94%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(31, 26, 28, 0.14));
}

.home-hero__featured-photo {
  flex-shrink: 0;
  width: 5.5rem;
  height: auto;
  max-height: 8rem;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.14));
}

.home-product-card__badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.6rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  color: var(--color-primary-dark);
}

.home-product-card__placeholder {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(143, 63, 85, 0.4);
}

.home-product-card__vial {
  width: 2rem;
  filter: drop-shadow(0 4px 8px rgba(143, 63, 85, 0.18));
}

.home-product-card__vial-cap {
  width: 1rem;
  height: 0.35rem;
  margin: 0 auto;
  background: linear-gradient(180deg, #e8e4e0 0%, #c8c4c0 100%);
  border-radius: 0.15rem 0.15rem 0 0;
}

.home-product-card__vial-body {
  position: relative;
  width: 2rem;
  height: 3.5rem;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.2) 100%);
  border: 1px solid rgba(184, 92, 114, 0.25);
  border-radius: 0 0 0.65rem 0.65rem;
  overflow: hidden;
}

.home-product-card__vial-liquid {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 58%;
  background: linear-gradient(180deg, rgba(232, 196, 207, 0.6) 0%, rgba(184, 92, 114, 0.8) 100%);
}

.home-product-card__body {
  padding: 0.85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  flex: 1;
  gap: 0.2rem;
  border-top: 1px solid rgba(196, 70, 104, 0.12);
  background: var(--color-surface);
}

.home-product-card__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.25;
  color: var(--color-text);
}

.home-product-card__variant {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.35;
}

.home-product-card__buy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: 0.45rem;
}

.home-product-card__price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0;
  white-space: nowrap;
}

.home-product-card__cart-btn {
  flex-shrink: 0;
  min-height: 2.35rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.72rem;
}

.home-product-card__ruo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 0.55rem;
  min-height: 1.35rem;
  padding: 0.15rem 0.45rem;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--color-primary-dark);
  background: rgba(253, 240, 244, 0.95);
  border: 1px solid rgba(196, 70, 104, 0.22);
  border-radius: 999px;
  white-space: nowrap;
}

.home-product-card__docs {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-success);
  margin-bottom: var(--space-sm);
}

.home-product-card__btn {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: auto;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
  pointer-events: none;
}

.home-product-card:hover .home-product-card__btn {
  background: var(--color-primary-dark);
}

.home-product-card__btn-arrow {
  transition: transform 0.2s ease;
}

.home-product-card:hover .home-product-card__btn-arrow {
  transform: translateX(3px);
}

/* Catalogue cards */
.home-catalogue-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.home-catalogue-card {
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-catalogue-card:hover {
  border-color: rgba(184, 92, 114, 0.35);
  box-shadow: var(--shadow);
}

.home-catalogue-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.home-catalogue-card__icon svg {
  width: 100%;
  height: 100%;
}

.home-catalogue-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 var(--space-sm);
  color: var(--color-text);
}

.home-catalogue-card > p {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0 0 var(--space-md);
}

.home-catalogue-card__products {
  list-style: none;
  margin: 0 0 var(--space-md);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.home-catalogue-card__products li {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  padding-left: 1rem;
  position: relative;
}

.home-catalogue-card__products li::before {
  content: "◆";
  position: absolute;
  left: 0;
  font-size: 0.5rem;
  color: var(--color-primary);
  top: 0.35rem;
}

.home-catalogue-card__link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
}

.home-catalogue-card__link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Documentation panel - pink & cream light */
.home-docs {
  position: relative;
  padding: var(--space-2xl) 0;
  color: var(--color-text);
  overflow: hidden;
  background: linear-gradient(180deg, #f8d4e0 0%, #f4c8d6 100%);
}

.home-docs__grid {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e8a0b0' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.home-docs .container {
  position: relative;
}

.home-docs__head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto var(--space-xl);
}

.home-docs__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-sm);
}

.home-docs__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 var(--space-md);
  color: var(--color-text);
}

.home-docs__head > p {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0 0 var(--space-lg);
}

.home-docs__btn-ghost {
  color: var(--color-primary-dark);
  border-color: var(--color-primary);
  background: var(--color-surface);
}

.home-docs__btn-ghost:hover {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.home-docs-card {
  padding: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-docs-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow);
}

.home-docs-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: var(--space-sm);
  color: var(--color-primary-dark);
  background: var(--color-primary-light);
  border-radius: var(--radius-sm);
}

.home-docs-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.home-docs-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--color-text);
}

.home-docs-card p {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
}

.home-docs-card a {
  color: var(--color-primary-dark);
  font-weight: 600;
}

.home-docs-card a:hover {
  color: var(--color-primary);
}

/* Buy with confidence */
.home-confidence-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.home-confidence-card {
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 2px solid rgba(196, 70, 104, 0.28);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--color-primary);
  box-shadow: var(--shadow);
}

.home-confidence-card__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(212, 88, 122, 0.35);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.home-confidence-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 var(--space-sm);
}

.home-confidence-card p {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
}

/* Philippines delivery - pink & cream light */
.home-delivery {
  position: relative;
  padding: var(--space-2xl) 0;
  color: var(--color-text);
  overflow: hidden;
  background: linear-gradient(160deg, #fce8ef 0%, #f4b8ca 100%);
}

.home-delivery__grid {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23e8a0b0' fill-opacity='0.04'%3E%3Cpath d='M0 0h40v40H0z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.home-delivery .container {
  position: relative;
}

.home-delivery__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  align-items: start;
}

.home-delivery__copy {
  display: flex;
  flex-direction: column;
}

.home-delivery__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary-dark);
  margin-bottom: 0.75rem;
}

.home-delivery__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0 0 1rem;
  color: var(--color-text);
}

.home-delivery__copy > p:not(.home-delivery__policy) {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin: 0 0 1.15rem;
}

.home-delivery__couriers li {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  background: var(--color-primary-light);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-primary-dark);
}

.home-delivery__regions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.85rem, 2vw, 1.15rem);
  align-self: start;
}

.home-docs__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.home-docs__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.home-delivery__couriers {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.7rem;
}

.home-region-card {
  padding: 1.1rem 1rem 1.1rem 2.65rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  box-shadow: var(--shadow);
}

.home-region-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-1px);
}

.home-region-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.home-region-card__eta {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0 0 0.55rem;
  line-height: 1.45;
}

.home-region-card__eta-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-bottom: 0.2rem;
}

.home-region-card > p:last-child {
  font-size: 0.78rem;
  color: var(--color-muted);
  line-height: 1.55;
  margin: 0;
}

.home-region-card__icon {
  position: absolute;
  top: 1.1rem;
  left: 1rem;
  font-size: 0.85rem;
  line-height: 1;
  opacity: 0.85;
}

/* How it works */
.home-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 40rem;
  margin-inline: auto;
}

.home-step {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.home-step__num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  background: var(--color-primary);
  border-radius: 50%;
}

.home-step__content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.home-step__content p {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
}

/* Pay your way */
.home-pay-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.home-pay-card {
  position: relative;
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-pay-card:hover {
  border-color: rgba(184, 92, 114, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.home-pay-card__badge {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.55rem;
  background: #007cff;
  color: #fff;
  border-radius: 999px;
}

.home-pay-card--gcash {
  border-color: rgba(0, 124, 255, 0.25);
  background: linear-gradient(180deg, rgba(0, 124, 255, 0.04) 0%, var(--color-surface) 40%);
}

.home-pay-card--gcash:hover {
  border-color: rgba(0, 124, 255, 0.45);
  box-shadow: 0 8px 24px rgba(0, 124, 255, 0.12);
}

.home-pay-card__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--space-md);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
}

.home-pay-card__logo svg {
  width: 1.5rem;
  height: 1.5rem;
}

.home-pay-card--gcash .home-pay-card__logo {
  background: #007cff;
  color: #fff;
}

.home-pay-card--bank .home-pay-card__logo {
  background: rgba(184, 92, 114, 0.12);
  color: var(--color-primary);
}

.home-pay-card--verify .home-pay-card__logo {
  background: rgba(74, 138, 98, 0.12);
  color: var(--color-success);
}

.home-pay-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0 0 var(--space-sm);
}

.home-pay-card p {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0 auto;
  max-width: 22rem;
}

.home-pay-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-md);
}

.home-pay-trust__pill {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.75rem;
  background: rgba(184, 92, 114, 0.08);
  border: 1px solid rgba(184, 92, 114, 0.2);
  border-radius: 999px;
  color: var(--color-primary-dark);
}

/* Bento grid */
.home-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.home-bento__card {
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-bento__card:hover {
  border-color: rgba(184, 92, 114, 0.3);
  box-shadow: var(--shadow);
}

.home-bento__card--wide {
  border-left: 4px solid var(--color-primary);
}

.home-bento__card--accent {
  background: linear-gradient(135deg, rgba(184, 92, 114, 0.08) 0%, rgba(201, 160, 108, 0.06) 100%);
  border-color: rgba(184, 92, 114, 0.25);
}

.home-bento__card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 var(--space-sm);
}

.home-bento__card p {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
}

.home-bento__link {
  display: inline-block;
  margin-top: var(--space-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* FAQ accordion */
.home-faq {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.home-faq__item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.home-faq__item--open {
  border-color: rgba(184, 92, 114, 0.35);
}

.home-faq__heading {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.home-faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
  min-height: 2.75rem;
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  color: var(--color-text);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.home-faq__trigger:hover {
  background: rgba(184, 92, 114, 0.04);
}

.home-faq__trigger:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
  background: rgba(184, 92, 114, 0.04);
}

.home-faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
}

.home-faq__icon::before.home-faq__icon::after {
  content: "";
  position: absolute;
  background: var(--color-primary);
  border-radius: 1px;
  transition: transform 0.2s ease;
}

.home-faq__icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.home-faq__icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.home-faq__item--open .home-faq__icon::after {
  transform: translateX(-50%) scaleY(0);
}

.home-faq__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.home-faq__item--open .home-faq__body {
  grid-template-rows: 1fr;
}

.home-faq__body-inner {
  overflow: hidden;
}

.home-faq__body-inner > p {
  padding: 0 var(--space-lg) var(--space-md);
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
}

.home-faq__body a {
  color: var(--color-primary);
}

.home-faq__body a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Bottom CTAs */
.home-bottom {
  padding: var(--space-2xl) 0 var(--space-3xl);
  background: var(--color-bg-warm);
}

.home-bottom__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.home-bottom__panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  padding: var(--space-2xl);
  background: linear-gradient(180deg, #f8d4e0 0%, #f0a8be 100%);
  border: 2px solid rgba(196, 70, 104, 0.4);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  box-shadow: var(--shadow-lg);
}

.home-bottom__panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 var(--space-sm);
  color: var(--color-text);
}

.home-bottom__panel-copy > p {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0 0 var(--space-md);
}

.home-bottom__bullets li {
  font-size: 0.85rem;
  color: var(--color-muted);
  padding-left: 1.25rem;
  position: relative;
}

.home-bottom__bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary-dark);
  font-weight: 700;
}

.home-bottom__btn-ghost {
  color: var(--color-primary-dark);
  border-color: var(--color-primary);
  background: var(--color-surface);
}

.home-bottom__btn-ghost:hover {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.home-bottom__bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.home-bottom__panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.home-bottom__actions .btn {
  min-height: 2.75rem;
}

.home-bottom__panel-actions .btn {
  min-height: 2.75rem;
  min-width: 11rem;
}

/* Homepage responsive */
@media (min-width: 600px) {
  .home-hero__trust {
    width: min(100%, 44rem);
    max-width: 44rem;
    padding: 0.65rem 2.5rem;
    gap: var(--space-lg);
  }

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

  .home-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-products-grid__row--four {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-products-grid__row--three {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .home-confidence-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-pay-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .home-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-products-grid__row--three {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
    margin-inline: 0;
    width: 100%;
  }

  .home-catalogue-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-delivery__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 4vw, 3rem);
    align-items: start;
  }

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

  .home-bento__card--wide {
    grid-column: span 2;
  }

  .home-bottom__panel {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .home-bottom__panel-copy {
    flex: 1;
    max-width: 32rem;
  }

  .home-bottom__panel-actions {
    flex-direction: column;
    flex-shrink: 0;
  }
}

@media (min-width: 900px) {
  .home-hero__inner {
    max-width: 42rem;
  }

  .home-products-grid {
    gap: var(--space-lg);
  }

  .home-product-card__visual {
    min-height: 18rem;
  }
}

@media (min-width: 960px) {
  .home-value-props__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 639px) {
  .home-product-card__buy-row {
    flex-direction: column;
    align-items: stretch;
  }

  .home-product-card__cart-btn {
    width: 100%;
  }
}

@media (max-width: 399px) {
  .home-delivery__regions {
    grid-template-columns: 1fr;
  }

  .home-hero__actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__ticker {
    animation: none;
  }

  .home-hero__vial-liquid {
    animation: none;
  }

  .home-product-card:hover,
  .home-value-card:hover,
  .home-pay-card:hover,
  .home-region-card:hover {
    transform: none;
  }

  .home-faq__body {
    transition: none;
  }

  .home-hero__featured-inner--glow,
  .home-hero__featured-label {
    animation: none;
  }
}

/* === Revision: cream sakura, kit hero, checkout, process steps === */

.header-utils__checkout {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  margin-right: 0.35rem;
  white-space: nowrap;
  box-shadow: var(--shadow-glow);
}

.header-utils__checkout:hover {
  color: #fff;
  filter: brightness(1.05);
}

.home-hero--kit-backdrop {
  position: relative;
  overflow: hidden;
}

.home-hero__kit-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(253, 246, 242, 0.92) 0%, rgba(245, 220, 228, 0.85) 50%, rgba(255, 249, 245, 0.9) 100%),
    radial-gradient(circle at 70% 40%, rgba(212, 137, 154, 0.2) 0%, transparent 55%);
  z-index: 0;
}

.home-hero--kit-backdrop .home-hero__inner.home-hero--kit-backdrop .home-hero__featured.home-hero--kit-backdrop .home-hero__ticker-wrap {
  position: relative;
  z-index: 1;
}

.home-hero__featured-inner--glow {
  animation: featured-blink 1.6s ease-in-out infinite;
}

@keyframes featured-blink {
  0%, 100% {
    box-shadow:
      0 0 14px rgba(233, 30, 140, 0.35),
      0 8px 24px rgba(146, 45, 77, 0.14);
    border-color: rgba(196, 70, 104, 0.45);
  }
  50% {
    box-shadow:
      0 0 28px rgba(233, 30, 140, 0.85),
      0 0 48px rgba(255, 92, 154, 0.5),
      0 12px 32px rgba(146, 45, 77, 0.22);
    border-color: rgba(233, 30, 140, 0.95);
  }
}

@keyframes featured-label-blink {
  0%, 100% {
    opacity: 1;
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
  }
  50% {
    opacity: 1;
    background: var(--gradient-brand);
    color: #fff;
    border-color: transparent;
  }
}

.home-ruo-bar--emphasis {
  background: linear-gradient(90deg, #f4b8ca 0%, #fae6ec 100%);
  border-block: 3px solid var(--color-primary);
}

.home-ruo-bar--emphasis .home-ruo-bar__icon {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}

.home-process__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.2rem 0.15rem;
}

.home-process-step {
  position: relative;
  flex: 1 1 5.75rem;
  min-width: 5.5rem;
  max-width: 7.75rem;
  text-align: center;
  padding: 0.95rem 0.4rem 0.5rem;
  padding-top: 1.1rem;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(196, 70, 104, 0.26);
  box-shadow: 0 3px 12px rgba(146, 45, 77, 0.06);
}

.home-process-step__num {
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #d4587a 0%, #922d4d 100%);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(146, 45, 77, 0.22);
  border: 1.5px solid #fff;
}

.home-process-arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1rem;
  color: var(--color-primary-dark);
  align-self: center;
}

.home-process-arrow__chev {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary);
}

.home-process-arrow__chev--down {
  display: none;
}

.home-process-step__icon {
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.2rem;
}

.home-product-card__stock {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 0.7rem;
}

.home-product-card__toggle {
  width: 100%;
  margin-top: var(--space-sm);
  padding: 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-cream);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.875rem;
}

.home-product-card__dropdown {
  margin-top: var(--space-sm);
  padding: var(--space-md);
  background: var(--color-cream);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}

.home-product-card__dropdown ul {
  margin: 0 0 var(--space-md);
  padding-left: 1.1rem;
}

.products-kit-hero {
  position: relative;
  min-height: 14rem;
  display: flex;
  align-items: flex-end;
  padding: var(--space-2xl) var(--space-lg);
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-bg-warm) 100%);
  overflow: hidden;
}

.products-kit-hero__visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: min(280px, 40vw);
  height: 180px;
}

.products-kit-hero__box {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #fff 0%, #f5e8dc 100%);
  border: 2px solid rgba(212, 137, 154, 0.25);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.before-order {
  margin-bottom: var(--space-xl);
  padding: var(--space-xl);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.before-order__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.product-card__accordion {
  display: grid;
  grid-template-rows: auto 0fr;
  transition: grid-template-rows 0.3s var(--ease-out);
}

.product-card__accordion--open {
  grid-template-rows: auto 1fr;
}

.product-card__details {
  overflow: hidden;
  min-height: 0;
}

.product-card:not(.product-card--expanded) .product-card__details {
  margin: 0;
  padding: 0;
}

.checkout-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl);
}

.checkout-progress__item {
  flex: 1;
  min-width: 5rem;
  text-align: center;
  padding: 0.5rem;
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--color-cream);
  color: var(--color-muted);
}

.checkout-progress__item--active {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-weight: 600;
}

.checkout-progress__item--done {
  background: rgba(90, 154, 114, 0.15);
  color: var(--color-success);
}

.checkout-step {
  padding: var(--space-xl);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-xl);
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.payment-option--primary {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}

.proof-status--under-verification { color: #b8862e; }
.proof-status--verified { color: var(--color-success); }
.proof-status--confirmed { color: var(--color-success); font-weight: 600; }

.home-pay-section--prominent.home-delivery--prominent {
  border-block: 3px solid var(--color-primary-light);
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-surface) 100%);
}

/* --- Order wizard --- */
.order-wizard__progress {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl);
}

.order-wizard__progress-item {
  flex: 1;
  min-width: 4.5rem;
  text-align: center;
  padding: 0.5rem 0.35rem;
  font-size: 0.7rem;
  border-radius: var(--radius-sm);
  background: var(--color-cream);
  color: var(--color-muted);
}

.order-wizard__progress-item--active {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-weight: 600;
}

.order-wizard__progress-item--done {
  background: rgba(90, 154, 114, 0.12);
  color: var(--color-success);
}

.order-wizard__panel {
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
}

.order-wizard__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: space-between;
  margin-top: var(--space-lg);
}

.order-cart-list { list-style: none; padding: 0; margin: 0; }
.order-cart-item { display: flex; align-items: center; gap: var(--space-md); padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-border); }
.order-payment-option.order-delivery-option { display: block; padding: var(--space-md); border: 1px solid var(--color-border); border-radius: var(--radius-sm); margin-bottom: var(--space-sm); cursor: pointer; }
.order-payment-option--primary { border-color: var(--color-primary); background: var(--color-primary-light); }
.order-ref-code { font-family: monospace; background: var(--color-cream); padding: 0.15rem 0.4rem; border-radius: 4px; }
.order-complete { padding: var(--space-xl); text-align: center; background: var(--color-cream); border-radius: var(--radius-lg); }
.pay-method-badge--gotyme { background: var(--color-primary-light); color: var(--color-primary-dark); }
.account-demo-tag { font-size: 0.75rem; color: var(--color-muted); font-style: italic; }
.bmi-calculator-section { margin-bottom: var(--space-2xl); padding: var(--space-xl); background: var(--color-surface); border-radius: var(--radius-lg); border: 1px solid var(--color-border); }
.bmi-result-panel { margin-top: var(--space-md); }
.bmi-result__value { font-size: var(--font-size-2xl); font-weight: 600; color: var(--color-primary-dark); }

/* ------------------------------------------------------------------ */
/*  Homepage UX polish - spacing, nav, hierarchy, hovers            */
/* ------------------------------------------------------------------ */

:root {
  --home-section-pad-y: clamp(1.75rem, 3.5vw, 2.75rem);
  --home-section-head-gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

/* Sticky section jump nav */
.home-jump-nav {
  position: sticky;
  top: var(--site-top-offset);
  z-index: 40;
  background: rgba(253, 240, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 70, 104, 0.22);
  box-shadow: 0 4px 20px rgba(146, 45, 77, 0.06);
}

.home-jump-nav__inner {
  display: flex;
  gap: 0.35rem;
  padding-block: 0.65rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.home-jump-nav__inner::-webkit-scrollbar {
  display: none;
}

.home-jump-nav__link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.4rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.home-jump-nav__link:hover {
  color: var(--color-primary-dark);
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(196, 70, 104, 0.25);
}

.home-jump-nav__link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.home-jump-nav__link--active {
  color: var(--color-primary-dark);
  background: var(--color-surface);
  border-color: rgba(196, 70, 104, 0.4);
  box-shadow: 0 2px 8px rgba(212, 88, 122, 0.12);
}

/* Consistent vertical rhythm */
.home-process.home-section.home-docs.home-delivery.home-bottom {
  padding-block: var(--home-section-pad-y);
}

.home-ruo-bar {
  padding-block: clamp(1.25rem, 3vw, 1.75rem);
}

.home-section__head.home-docs__head {
  margin-bottom: var(--home-section-head-gap);
}

.home-section__head .section-title.home-docs__head h2.home-delivery__copy h2 {
  position: relative;
  padding-bottom: 0.85rem;
}

.home-section__head .section-title::after.home-docs__head h2::after.home-delivery__copy h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 3.5rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--color-primary) 30%, var(--color-primary) 70%, transparent);
  opacity: 0.65;
}

.home-delivery__copy h2::after {
  left: 0;
  transform: none;
}

/* Section dividers between same-tone blocks */
.home-section--divider-top {
  position: relative;
}

.home-section--divider-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(90%, 48rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 70, 104, 0.28) 20%, rgba(196, 70, 104, 0.28) 80%, transparent);
}

/* Eyebrow unification for specialty sections */
.home-docs__eyebrow.home-delivery__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary-dark);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(196, 70, 104, 0.35);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: var(--space-sm);
}

.home-docs__links {
  margin-top: var(--space-md);
}

/* Hero → content flow */
.home-hero {
  padding-bottom: 0;
  padding-top: clamp(1.75rem, 4vw, 2.75rem);
}

.home-hero__featured {
  padding-bottom: clamp(1.25rem, 3vw, 2rem);
}

.home-hero__inner {
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.home-process {
  background: linear-gradient(180deg, var(--color-cream) 0%, #fdf6f8 100%);
}

/* Process steps - interactive cards */
.home-process__grid {
  gap: 0.15rem 0.1rem;
}

.home-process-step {
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.home-process-step:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.home-process-step h3 {
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 0.15rem;
  color: var(--color-text);
  line-height: 1.2;
}

.home-process-step p {
  font-size: 0.65rem;
  color: var(--color-muted);
  line-height: 1.4;
  margin: 0;
}

#home-process .home-section__head {
  margin-bottom: clamp(0.85rem, 2vw, 1.15rem);
}

#home-process .section-subtitle {
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Product grid breathing room */
.home-products-grid {
  gap: clamp(0.75rem, 2vw, 1.15rem);
}

.home-products-grid__row {
  gap: clamp(0.65rem, 1.75vw, 1rem);
}

.home-product-card {
  min-height: 0;
}

.home-product-card:hover {
  box-shadow: 0 12px 32px rgba(212, 88, 122, 0.18);
}

.home-product-card__toggle {
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.home-product-card__toggle:hover {
  background: var(--color-primary-light);
  border-color: rgba(196, 70, 104, 0.4);
  color: var(--color-primary-dark);
}

/* Documentation cards */
.home-docs {
  padding-block: var(--home-section-pad-y);
}

.home-docs__cards {
  gap: clamp(0.85rem, 2vw, 1.25rem);
}

.home-docs-card {
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.home-docs-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Confidence cards */
.home-confidence-grid {
  gap: clamp(0.85rem, 2vw, 1.25rem);
}

.home-confidence-card {
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.home-confidence-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

/* Delivery policy note */
.home-delivery__policy {
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 1.25rem 0 0;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.55);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.home-region-card:hover {
  box-shadow: var(--shadow-md);
}

/* Payment section */
.home-pay-grid {
  gap: clamp(0.85rem, 2vw, 1.25rem);
}

.home-pay-card--gotyme {
  border-color: rgba(196, 70, 104, 0.35);
  background: linear-gradient(180deg, rgba(212, 88, 122, 0.06) 0%, var(--color-surface) 45%);
}

.home-pay-card--gotyme:hover {
  border-color: var(--color-primary);
  box-shadow: 0 10px 28px rgba(212, 88, 122, 0.15);
}

.home-pay-trust {
  margin-top: var(--space-md);
  margin-bottom: var(--space-lg);
}

.home-section__cta {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  gap: var(--space-md);
}

/* FAQ polish */
.home-faq {
  gap: var(--space-md);
}

.home-faq__item {
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(146, 45, 77, 0.04);
}

.home-faq__item--open {
  box-shadow: 0 4px 16px rgba(212, 88, 122, 0.1);
}

/* Bottom CTA area */
.home-bottom {
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.home-bottom__actions {
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.home-bottom__panel {
  position: relative;
  overflow: hidden;
}

.home-bottom__panel::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.home-bottom__panel-copy.home-bottom__panel-actions {
  position: relative;
  z-index: 1;
}

#home-process,
#home-ruo,
#home-products,
#home-docs,
#home-confidence,
#home-delivery,
#home-pay,
#home-faq {
  scroll-margin-top: calc(var(--header-height) + 0.75rem);
}

/* Mobile refinements */
@media (max-width: 599px) {
  .home-jump-nav__inner {
    padding-inline: var(--space-md);
    margin-inline: calc(-1 * var(--space-md));
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
  }

  .home-hero__trust {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    padding: var(--space-md);
  }

  .home-hero__trust-item {
    flex-direction: row;
    justify-content: flex-start;
    gap: var(--space-sm);
    text-align: left;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(196, 70, 104, 0.12);
  }

  .home-hero__trust-item:last-child {
    border-bottom: none;
  }

  .home-process-step__icon {
    font-size: 1.5rem;
  }

  .home-confidence-grid {
    grid-template-columns: 1fr;
  }

  .home-section__cta .btn {
    width: 100%;
  }

  .home-bottom__actions .btn {
    flex: 1 1 calc(50% - var(--space-sm));
    min-width: 8rem;
  }
}

@media (max-width: 899px) {
  .home-process__grid {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    max-width: 15.5rem;
    margin-inline: auto;
  }

  .home-process-step {
    flex: none;
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .home-process-arrow {
    min-height: 1.1rem;
    padding-block: 0.05rem;
    justify-content: center;
  }

  .home-process-arrow__chev--right {
    display: none;
  }

  .home-process-arrow__chev--down {
    display: block;
  }
}

@media (min-width: 768px) {
  .home-jump-nav__inner {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

@media (min-width: 900px) {
  .home-process__grid {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0.1rem;
    max-width: none;
  }

  .home-process-step {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
  }

  .home-process-arrow {
    flex: 0 0 0.85rem;
  }

  .home-process-arrow__chev--right {
    display: block;
  }

  .home-process-arrow__chev--down {
    display: none;
  }
}

@media (min-width: 1100px) {
  .home-process__grid {
    gap: 0.12rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-process-step:hover.home-docs-card:hover.home-confidence-card:hover {
    transform: none;
  }
}

/* ------------------------------------------------------------------ */
/*  Homepage - black / pink / cream + kit backdrop overlay            */
/* ------------------------------------------------------------------ */

body[data-page="home"] {
  --home-ink: #0f0c0d;
  --home-cream: #fdf6f2;
  --home-blush: #fce8ef;
  --home-pink: #d4587a;
  background: var(--home-cream);
  color: #2a1a20;
  overflow-x: hidden;
  max-width: 100%;
}

body[data-page="home"] .home-page-bg {
  display: none;
}

body[data-page="home"] main {
  position: relative;
  z-index: 1;
  background: transparent;
  width: 100%;
  max-width: 100%;
}

/* Hero - wide kit photo fills first section */
body[data-page="home"] .home-hero {
  color: #fff;
  width: 100%;
  max-width: 100%;
  padding-top: clamp(1.75rem, 4vw, 2.75rem);
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
  min-height: min(92vh, 52rem);
  display: flex;
  flex-direction: column;
  background: var(--home-ink);
  overflow: hidden;
}

body[data-page="home"] .home-hero__inner,
body[data-page="home"] .home-hero__featured {
  padding-inline: var(--space-lg);
}

body[data-page="home"] .home-hero--kit-backdrop .home-hero__kit-bg {
  display: block;
  background: none;
}

body[data-page="home"] .home-hero__grid {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
}

body[data-page="home"] .home-hero__glow {
  opacity: 0.22;
}

body[data-page="home"] .home-hero__inner {
  padding-bottom: clamp(0.85rem, 2vw, 1.25rem);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

body[data-page="home"] .home-hero__badge {
  display: inline-flex;
  align-self: center;
  margin-inline: auto;
  background: rgba(212, 88, 122, 0.28);
  border-color: rgba(252, 232, 239, 0.45);
  color: #ffe8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

body[data-page="home"] .peplush-wordmark__pep {
  color: #fff;
  text-shadow:
    0 2px 32px rgba(212, 88, 122, 0.55),
    0 2px 8px rgba(0, 0, 0, 0.65);
}

body[data-page="home"] .peplush-wordmark__lush {
  filter: drop-shadow(0 4px 24px rgba(233, 30, 140, 0.65));
}

body[data-page="home"] .peplush-wordmark__tagline {
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.34em;
}

body[data-page="home"] .home-hero__lead {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: var(--space-md);
  font-size: clamp(0.95rem, 2.2vw, 1.08rem);
  font-weight: 500;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
  max-width: 34rem;
  margin-inline: auto;
}

body[data-page="home"] .home-hero__actions {
  margin-bottom: 0.65rem;
}

body[data-page="home"] .home-hero__btn-secondary {
  color: var(--home-cream);
  background: rgba(253, 246, 242, 0.08);
  border-color: rgba(253, 246, 242, 0.22);
}

body[data-page="home"] .home-hero__btn-secondary:hover {
  background: rgba(212, 88, 122, 0.3);
  border-color: rgba(252, 232, 239, 0.45);
  color: #fff;
}

body[data-page="home"] .home-hero__trust {
  margin-top: 0;
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
  padding: 0.45rem var(--space-md);
  background: rgba(12, 10, 11, 0.45);
  border: 1px solid rgba(212, 88, 122, 0.35);
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body[data-page="home"] .home-hero__trust-value {
  color: #ff9fc0;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
  font-size: 1.15rem;
}

body[data-page="home"] .home-hero__trust-label {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.58rem;
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

body[data-page="home"] .home-hero__featured {
  padding-bottom: clamp(0.75rem, 2vw, 1.1rem);
}

body[data-page="home"] .home-hero__featured-inner {
  background: rgba(8, 6, 7, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

body[data-page="home"] .home-hero__featured-info strong {
  color: #fff;
}

body[data-page="home"] .home-hero__featured-meta {
  color: rgba(255, 255, 255, 0.65);
}

body[data-page="home"] .home-hero__ticker-wrap {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  margin-top: auto;
  align-self: stretch;
  flex-shrink: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 6, 7, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding-block: 0.7rem;
}

body[data-page="home"] .home-hero__ticker-wrap::before,
body[data-page="home"] .home-hero__ticker-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(2rem, 8vw, 4rem);
  z-index: 1;
  pointer-events: none;
}

body[data-page="home"] .home-hero__ticker-wrap::before {
  left: 0;
  background: linear-gradient(90deg, rgba(8, 6, 7, 0.95) 15%, transparent);
}

body[data-page="home"] .home-hero__ticker-wrap::after {
  right: 0;
  background: linear-gradient(270deg, rgba(8, 6, 7, 0.95) 15%, transparent);
}

body[data-page="home"] .home-hero__ticker-item {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

body[data-page="home"] .home-hero__ticker-tag {
  background: rgba(212, 88, 122, 0.42);
  border-color: rgba(255, 190, 210, 0.18);
  color: #fff;
}

/* Content sections - cream panels on dark kit backdrop */
body[data-page="home"] .home-process,
body[data-page="home"] .home-section,
body[data-page="home"] .home-docs,
body[data-page="home"] .home-delivery,
body[data-page="home"] .home-bottom {
  background: linear-gradient(
    180deg,
    rgba(253, 246, 242, 0.94) 0%,
    rgba(252, 232, 239, 0.9) 100%
  );
  color: #2a1a20;
  border-block: 1px solid rgba(212, 88, 122, 0.12);
}

body[data-page="home"] .home-ruo-bar {
  background: #f3f0f1;
  border: none;
  padding-block: clamp(1.75rem, 3.5vw, 2.5rem);
}

body[data-page="home"] .home-ruo-bar__copy strong {
  color: #1f1418;
}

body[data-page="home"] .home-ruo-bar__copy p {
  color: #6b6366;
}

body[data-page="home"] .section-title,
body[data-page="home"] .home-docs__head h2,
body[data-page="home"] .home-delivery__copy h2 {
  color: #922d4d;
}

body[data-page="home"] .section-subtitle,
body[data-page="home"] .home-docs__head > p,
body[data-page="home"] .home-delivery__copy p {
  color: #6b4a54;
}

body[data-page="home"] .section-eyebrow,
body[data-page="home"] .home-docs__eyebrow,
body[data-page="home"] .home-delivery__eyebrow {
  background: rgba(212, 88, 122, 0.12);
  border-color: rgba(212, 88, 122, 0.28);
  color: #922d4d;
}

body[data-page="home"] .home-section__head .section-title::after,
body[data-page="home"] .home-docs__head h2::after,
body[data-page="home"] .home-delivery__copy h2::after {
  background: linear-gradient(90deg, transparent, var(--home-pink) 30%, var(--home-pink) 70%, transparent);
  opacity: 0.55;
}

body[data-page="home"] .home-pay-section--prominent,
body[data-page="home"] .home-delivery--prominent {
  border-block: 2px solid rgba(212, 88, 122, 0.2);
}

body[data-page="home"] .home-process-step__card,
body[data-page="home"] .home-product-card,
body[data-page="home"] .home-docs-card,
body[data-page="home"] .home-confidence-card,
body[data-page="home"] .home-region-card,
body[data-page="home"] .home-pay-card,
body[data-page="home"] .home-faq__item {
  background: #fff;
  border-color: rgba(212, 88, 122, 0.18);
  box-shadow: 0 4px 16px rgba(15, 12, 13, 0.08);
}

body[data-page="home"] .home-product-card:hover,
body[data-page="home"] .home-process-step__card:hover,
body[data-page="home"] .home-docs-card:hover {
  border-color: var(--home-pink);
  box-shadow: 0 8px 24px rgba(212, 88, 122, 0.16);
}

body[data-page="home"] .home-bottom__panel {
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(212, 88, 122, 0.18) 0%, transparent 55%),
    linear-gradient(135deg, #fff 0%, var(--home-blush) 100%);
  border: 1.5px solid rgba(212, 88, 122, 0.22);
  color: #2a1a20;
}

body[data-page="home"] .home-bottom__panel h2 {
  color: #922d4d;
}

body[data-page="home"] .home-section__cta {
  margin-top: clamp(1rem, 2.5vw, 1.35rem);
}

body[data-page="home"] .home-section {
  padding-block: var(--home-section-pad-y);
}

@media (max-width: 767px) {
  body[data-page="home"] .home-hero {
    min-height: min(88vh, 44rem);
  }

  body[data-page="home"] .home-hero--kit-backdrop .home-hero__kit-bg {
    background: none;
  }

  body[data-page="home"] .home-hero__kit-bg-photo {
    background-position: 58% 40%;
  }
}

/* Homepage footer - trust bar, RUO disclaimer, PepLush columns */
body[data-page="home"] .site-footer--home {
  position: relative;
  z-index: 2;
  margin-top: 0;
}

body[data-page="home"] #home-faq {
  border-bottom: none;
}

body[data-page="home"] .site-footer--home .footer-trust__title {
  color: #fdf6f2;
}

body[data-page="home"] .site-footer--home .footer-trust__text {
  color: rgba(253, 246, 242, 0.55);
}

body[data-page="home"] .site-footer--home .footer-trust__icon {
  color: #ff9fbe;
}

/* ================================================================== */
/* Products page - clean catalog, mobile app grid, fixed accordion    */
/* ================================================================== */

body[data-page="products"] {
  background: var(--color-bg-warm);
}

body[data-page="products"] .products-main {
  padding-bottom: var(--space-2xl);
}

body[data-page="products"] .products-page-hero {
  background: linear-gradient(165deg, #fff8f5 0%, #f8e8ee 45%, #fdf6f2 100%);
  border-bottom: 1px solid rgba(212, 88, 122, 0.12);
  padding: var(--space-xl) 0 var(--space-lg);
}

body[data-page="products"] .products-page-hero__inner {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

body[data-page="products"] .products-page-hero__copy {
  text-align: center;
}

body[data-page="products"] .products-page-hero__copy h1 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 5vw, 2.1rem);
  color: var(--color-primary-dark);
  margin: 0.3rem 0 0.5rem;
  line-height: 1.15;
}

body[data-page="products"] .products-page-hero__copy p {
  margin: 0 auto;
  max-width: 32rem;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

body[data-page="products"] .products-page-hero__kit {
  display: flex;
  justify-content: center;
}

body[data-page="products"] .products-page-hero__box {
  position: relative;
  width: 9.5rem;
  height: 6.5rem;
  filter: drop-shadow(0 10px 24px rgba(146, 45, 77, 0.14));
}

body[data-page="products"] .products-page-hero__box-lid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.1rem;
  background: linear-gradient(180deg, #fff 0%, #f5ebe3 100%);
  border: 1.5px solid rgba(212, 88, 122, 0.2);
  border-radius: 0.35rem 0.35rem 0 0;
  transform: perspective(200px) rotateX(8deg);
  transform-origin: bottom center;
}

body[data-page="products"] .products-page-hero__box-body {
  position: absolute;
  top: 0.85rem;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(145deg, #fff 0%, #f9efe8 100%);
  border: 1.5px solid rgba(212, 88, 122, 0.22);
  border-radius: 0 0 0.5rem 0.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.5rem 0.75rem 0.65rem;
}

body[data-page="products"] .products-page-hero__vial {
  width: 1.15rem;
  height: 2.6rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
  border: 1px solid rgba(184, 92, 114, 0.3);
  border-radius: 0 0 0.4rem 0.4rem;
  position: relative;
}

body[data-page="products"] .products-page-hero__vial::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(180deg, #f4c4d4, #d4587a);
  border-radius: 0 0 0.35rem 0.35rem;
}

body[data-page="products"] .products-page-hero__syringe {
  width: 0.35rem;
  height: 2.8rem;
  background: linear-gradient(180deg, #e8e4e0, #c8c4c0);
  border-radius: 0.15rem;
  position: relative;
}

body[data-page="products"] .products-page-hero__syringe::before {
  content: "";
  position: absolute;
  top: -0.35rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0.55rem;
  height: 0.35rem;
  background: #d4587a;
  border-radius: 0.1rem;
}

body[data-page="products"] .products-catalog {
  padding-top: var(--space-lg);
  max-width: 100%;
  overflow-x: hidden;
}

body[data-page="products"] .before-order {
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 12px rgba(146, 45, 77, 0.06);
}

body[data-page="products"] .before-order h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 var(--space-md);
  color: var(--color-text);
}

body[data-page="products"] .before-order__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

body[data-page="products"] .before-order__calc {
  padding: var(--space-md);
  background: var(--color-bg-warm);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

body[data-page="products"] .before-order__calc h3 {
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
  color: var(--color-primary-dark);
}

body[data-page="products"] .before-order__calc p {
  font-size: 0.82rem;
  color: var(--color-muted);
  margin: 0 0 var(--space-md);
  line-height: 1.5;
}

body[data-page="products"] .before-order .form-row {
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

body[data-page="products"] .before-order .form-row .form-group {
  margin-bottom: var(--space-sm);
}

body[data-page="products"] .before-order .form-group label {
  font-size: 0.78rem;
  margin-bottom: 0.25rem;
}

body[data-page="products"] .before-order .form-group input {
  padding: 0.65rem 0.75rem;
  font-size: 0.9rem;
}

body[data-page="products"] .bmi-result {
  margin: var(--space-sm) 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

body[data-page="products"] .products-toolbar {
  margin-bottom: var(--space-lg);
}

body[data-page="products"] .products-toolbar__lead {
  font-size: 0.88rem;
}

body[data-page="products"] .products-toolbar .filter-bar {
  width: 100%;
  border-radius: var(--radius-md);
  justify-content: flex-start;
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.3rem;
}

body[data-page="products"] .products-toolbar .filter-bar::-webkit-scrollbar {
  display: none;
}

body[data-page="products"] .products-toolbar .filter-btn {
  font-size: 0.78rem;
  padding: 0.45rem 0.85rem;
  flex-shrink: 0;
}

body[data-page="products"] .product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

body[data-page="products"] .product-card {
  border: 1px solid rgba(212, 88, 122, 0.18);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(146, 45, 77, 0.07);
  background: var(--color-surface);
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

body[data-page="products"] .product-card__image-btn,
body[data-page="products"] .product-card__image-wrap,
body[data-page="products"] .product-card__image-wrap--photo {
  position: relative;
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  aspect-ratio: 4 / 5;
  min-height: 14rem;
  display: block;
  background: linear-gradient(165deg, #fdf6f2 0%, #f8e8ee 50%, #f0e4dc 100%);
  overflow: hidden;
}

body[data-page="products"] .product-card__visual-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 3%;
  background: transparent;
  overflow: hidden;
}

body[data-page="products"] .kit-product-photo-frame {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 3%;
  background: transparent;
}

body[data-page="products"] .product-card__photo,
body[data-page="products"] .kit-product-photo {
  position: relative;
  inset: auto;
  width: 84%;
  height: 94%;
  max-width: 84%;
  max-height: 94%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(31, 26, 28, 0.12));
}

body[data-page="products"] .product-card__image-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
}

body[data-page="products"] .product-card__stock-badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
}

body[data-page="products"] .product-card__photo-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

body[data-page="products"] .product-card__photo-fallback.is-hidden,
body[data-page="products"] .product-card__photo.is-hidden {
  display: none;
}

body[data-page="products"] .product-card__panel,
body[data-page="products"] .product-card__body {
  padding: 0.9rem 1rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-top: 1px solid rgba(212, 88, 122, 0.12);
  background: var(--color-surface);
}

body[data-page="products"] .product-card__category {
  position: static;
  align-self: flex-start;
  font-size: 0.62rem;
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.35rem;
  background: rgba(212, 88, 122, 0.1);
  border: 1px solid rgba(212, 88, 122, 0.2);
  border-radius: 999px;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  white-space: nowrap;
}

body[data-page="products"] .product-card:hover {
  transform: none;
  border: 2px solid #1a1a1a;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

body[data-page="products"] .product-card__stock {
  display: none;
}

body[data-page="products"] .product-card__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.25;
  margin: 0;
  color: var(--color-text);
  word-break: break-word;
}

body[data-page="products"] .product-card__name-btn {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

body[data-page="products"] .product-card__name-btn:hover {
  color: var(--color-primary-dark);
}

body[data-page="products"] .product-card__variant {
  font-size: 0.82rem;
  color: var(--color-muted);
  margin: 0.2rem 0 0.55rem;
}

body[data-page="products"] .product-card__buy-row,
body[data-page="products"] .product-card__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: auto;
}

body[data-page="products"] .product-card__price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0;
  white-space: nowrap;
}

body[data-page="products"] .product-card__cart-btn {
  flex-shrink: 0;
  min-height: 2.4rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.78rem;
}

body[data-page="products"] .product-card__see-research {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  flex-shrink: 0;
}

body[data-page="products"] .product-card__accordion-trigger {
  width: 100%;
  justify-content: center;
  font-size: 0.72rem;
  padding: 0.35rem 0.5rem;
  margin-bottom: 0.35rem;
}

body[data-page="products"] .product-card__details-panel {
  padding: 0.35rem 0 0.5rem;
  border-top: 1px dashed var(--color-border);
}

body[data-page="products"] .product-card__details-panel h4 {
  font-size: 0.65rem;
  margin: 0.5rem 0 0.25rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body[data-page="products"] .product-card__details-panel h4:first-child {
  margin-top: 0.35rem;
}

body[data-page="products"] .product-card__details-panel p,
body[data-page="products"] .product-card__details-panel ul {
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--color-muted);
  margin: 0 0 0.35rem;
  padding-left: 1rem;
}

body[data-page="products"] .product-addons {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0 0 0.35rem;
  padding: 0;
}

body[data-page="products"] .product-addon {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
  margin: 0;
  padding: 0.5rem 0.55rem;
  font-size: 0.72rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-bg-warm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

body[data-page="products"] .product-addon input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  margin: 0.05rem 0 0;
  flex-shrink: 0;
  accent-color: var(--color-primary);
}

body[data-page="products"] .product-addon__text {
  flex: 1;
  min-width: 0;
}

body[data-page="products"] .product-card__actions {
  margin-top: auto;
  padding-top: 0.35rem;
  border-top: none;
}

body[data-page="products"] .product-card__actions .btn {
  width: 100%;
  justify-content: center;
  font-size: 0.72rem;
  padding: 0.45rem 0.5rem;
}

body[data-page="products"] .product-card__accordion .product-card__details {
  max-height: none;
}

/* Placeholder visuals */
body[data-page="products"] .product-kit-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

body[data-page="products"] .product-kit-visual__vial {
  width: 2.4rem;
  filter: drop-shadow(0 4px 10px rgba(143, 63, 85, 0.18));
}

body[data-page="products"] .product-kit-visual__vial-cap {
  width: 1rem;
  height: 0.35rem;
  margin: 0 auto;
  background: linear-gradient(180deg, #ece8e4, #c4c0bc);
  border-radius: 0.12rem 0.12rem 0 0;
}

body[data-page="products"] .product-kit-visual__vial-body {
  position: relative;
  width: 2.4rem;
  height: 4rem;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.25));
  border: 1px solid rgba(184, 92, 114, 0.28);
  border-radius: 0 0 0.65rem 0.65rem;
  overflow: hidden;
}

body[data-page="products"] .product-kit-visual__vial-liquid {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 52%;
  background: linear-gradient(180deg, rgba(244, 184, 202, 0.6), rgba(212, 88, 122, 0.8));
}

body[data-page="products"] .product-kit-visual__bottle {
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 5px 12px rgba(143, 63, 85, 0.15));
}

body[data-page="products"] .product-kit-visual__bottle-cap {
  width: 0.85rem;
  height: 0.4rem;
  background: linear-gradient(180deg, #f5d040, #d4a020);
  border-radius: 0.15rem 0.15rem 0 0;
}

body[data-page="products"] .product-kit-visual__bottle-neck {
  width: 0.65rem;
  height: 0.45rem;
  background: linear-gradient(90deg, #e8e0d4, #fff, #e8e0d4);
}

body[data-page="products"] .product-kit-visual__bottle-body {
  position: relative;
  width: 2.75rem;
  height: 4.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.35));
  border: 1.5px solid rgba(184, 92, 114, 0.2);
  border-radius: 0.25rem 0.25rem 0.85rem 0.85rem;
  overflow: hidden;
}

body[data-page="products"] .product-kit-visual__bottle-liquid {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(180deg, #fff8c8, #f0d840, #e0c030);
}

@media (min-width: 600px) {
  body[data-page="products"] .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 480px) {
  body[data-page="products"] .before-order__grid {
    grid-template-columns: 1fr 1fr;
  }

  body[data-page="products"] .product-card__image-btn,
  body[data-page="products"] .product-card__image-wrap,
  body[data-page="products"] .product-card__image-wrap--photo {
    min-height: 16rem;
  }

  body[data-page="products"] .product-card__name {
    font-size: 1.1rem;
  }

  body[data-page="products"] .product-card__price {
    font-size: 1.15rem;
  }
}

@media (min-width: 640px) {
  body[data-page="products"] .products-page-hero__inner {
    grid-template-columns: 1fr auto;
    text-align: left;
  }

  body[data-page="products"] .products-page-hero__copy {
    text-align: left;
  }

  body[data-page="products"] .products-page-hero__copy p {
    margin-left: 0;
  }

  body[data-page="products"] .product-grid {
    gap: var(--space-md);
  }

  body[data-page="products"] .product-kit-visual__vial {
    width: 2.75rem;
  }

  body[data-page="products"] .product-kit-visual__vial-body {
    width: 2.75rem;
    height: 4.5rem;
  }

  body[data-page="products"] .product-kit-visual__bottle-body {
    width: 3.25rem;
    height: 5.25rem;
  }
}

@media (min-width: 900px) {
  body[data-page="products"] .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-xl);
  }

  body[data-page="products"] .product-card__image-btn,
  body[data-page="products"] .product-card__image-wrap,
  body[data-page="products"] .product-card__image-wrap--photo {
    min-height: 18rem;
  }

  body[data-page="products"] .product-card__name {
    font-size: 1.15rem;
  }

  body[data-page="products"] .product-card__cart-btn {
    font-size: 0.82rem;
  }
}

@media (max-width: 479px) {
  body[data-page="products"] .product-card__buy-row {
    flex-direction: column;
    align-items: stretch;
  }

  body[data-page="products"] .product-card__cart-btn {
    width: 100%;
  }
}

@media (max-width: 479px) {
  body[data-page="products"] .product-card:hover {
    transform: none;
  }

  body[data-page="products"] .products-toolbar__search-input {
    font-size: 16px;
  }
}

/* Product detail modal */
body.product-detail-modal-open {
  overflow: hidden;
}

.product-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.product-detail-modal[hidden] {
  display: none;
}

.product-detail-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 26, 28, 0.6);
  backdrop-filter: blur(6px);
}

.product-detail-modal__panel {
  position: relative;
  width: 100%;
  max-width: 28rem;
  max-height: min(92vh, 44rem);
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 88, 122, 0.2);
  box-shadow: 0 24px 64px rgba(146, 45, 77, 0.28);
  overflow: hidden;
}

.product-detail-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 3;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-detail-modal__content {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.product-detail-modal__hero {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.85rem;
  padding: 1rem 2.5rem 0.85rem 1rem;
  background: linear-gradient(165deg, #f8dce8 0%, #f0d4c0 55%, #f5e8dc 100%);
  border-bottom: 1px solid rgba(212, 88, 122, 0.15);
}

.product-detail-modal__visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 16rem;
  padding-bottom: 6%;
  overflow: hidden;
  background: linear-gradient(165deg, #fdf6f2 0%, #f8e8ee 50%, #f0e4dc 100%);
}

.product-detail-modal__visual .kit-product-photo-frame {
  position: relative;
  width: 100%;
  min-height: 16rem;
  background: transparent;
}

.product-detail-modal__visual .product-card__photo.product-detail-modal__visual .kit-product-photo {
  width: 64%;
  height: auto;
  max-width: 64%;
  max-height: 15rem;
  object-fit: contain;
  object-position: center bottom;
}

.product-detail-modal__intro {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-detail-modal__category {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.35rem;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  color: var(--color-primary-dark);
}

.product-detail-modal__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.2;
  margin: 0 0 0.2rem;
  color: var(--color-text);
}

.product-detail-modal__variant {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.product-detail-modal__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.product-detail-modal__price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.product-detail-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 0.85rem 1rem 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.product-detail-modal__section {
  margin-bottom: 0.85rem;
}

.product-detail-modal__section h3 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin: 0 0 0.4rem;
}

.product-detail-modal__section p.product-detail-modal__section ul {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--color-muted);
  margin: 0;
}

.product-detail-modal__section ul {
  padding-left: 1.1rem;
}

.product-detail-modal__section .product-coa-note {
  margin-bottom: 0.35rem;
}

.product-detail-modal .product-addons {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.product-detail-modal .product-addon {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
  margin: 0;
  padding: 0.5rem 0.55rem;
  font-size: 0.8rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-bg-warm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.product-detail-modal .product-addon input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  margin: 0.05rem 0 0;
  flex-shrink: 0;
  accent-color: var(--color-primary);
}

.product-detail-modal .product-addon__text {
  flex: 1;
  min-width: 0;
}

.product-detail-modal__footer {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.product-detail-modal__footer .btn {
  flex: 1;
  justify-content: center;
}

body[data-page="products"] .product-card__actions--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

body[data-page="products"] .product-card__actions--split .btn {
  width: 100%;
  justify-content: center;
  font-size: 0.68rem;
  padding: 0.42rem 0.35rem;
}

@media (min-width: 640px) {
  .product-detail-modal__panel {
    max-width: 32rem;
  }

  .product-detail-modal__title {
    font-size: 1.35rem;
  }
}

/* Single product page - PeptideX-style PDP */
body[data-page="product"] {
  background: #fff;
}

.product-page {
  padding: 0 0 4rem;
}

.product-page__article {
  width: 100%;
}

.product-page__not-found {
  max-width: 28rem;
  padding: 3rem 1rem;
  margin: 0 auto;
  text-align: center;
}

.product-page__not-found h1 {
  margin-bottom: 0.5rem;
}

.product-page__not-found p {
  margin-bottom: 1.25rem;
  color: var(--color-text-muted);
}

.pdp {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.pdp-breadcrumb {
  padding: 1rem 0 1.25rem;
}

.pdp-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.pdp-breadcrumb__list a {
  color: inherit;
  text-decoration: none;
}

.pdp-breadcrumb__list a:hover {
  color: var(--color-primary);
}

.pdp-breadcrumb__list li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: rgba(31, 26, 28, 0.2);
}

.pdp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem 2.5rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.pdp-hero__media {
  min-width: 0;
  position: relative;
  z-index: 2;
}

.pdp-hero__buy {
  min-width: 0;
}

@media (min-width: 48rem) {
  .pdp-hero__buy {
    position: sticky;
    top: calc(var(--site-top-offset) + 1rem);
  }
}

.pdp-hero__image-wrap {
  position: relative;
  border: 1px solid rgba(31, 26, 28, 0.1);
  border-radius: var(--radius-md);
  background: #f8f7f6;
  overflow: visible;
  aspect-ratio: 4 / 5;
  max-height: min(72vh, 40rem);
}

.pdp-zoom {
  position: relative;
  height: 100%;
}

.pdp-zoom__stage {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  cursor: crosshair;
}

.pdp-zoom__stage:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.pdp-zoom__lens {
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid rgba(31, 26, 28, 0.2);
  background: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  pointer-events: none;
  z-index: 2;
}

.pdp-zoom__flyout {
  position: absolute;
  top: 0;
  left: calc(100% + 0.75rem);
  width: min(28rem, 42vw);
  height: 100%;
  border: 1px solid rgba(31, 26, 28, 0.12);
  border-radius: var(--radius-md);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(31, 26, 28, 0.14);
  z-index: 6;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.pdp-zoom--active .pdp-zoom__flyout {
  opacity: 1;
  visibility: visible;
}

.pdp-zoom__flyout-inner {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-color: #fff;
}

.pdp-zoom__hint {
  margin: 0.55rem 0 0;
  font-size: 0.72rem;
  color: var(--color-text-muted);
  text-align: center;
}

.pdp-lightbox[hidden] {
  display: none !important;
}

.pdp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10100;
  display: grid;
  place-items: center;
  padding: 1rem;
}

body.pdp-lightbox-open {
  overflow: hidden;
}

.pdp-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 14, 0.88);
  border: none;
  cursor: zoom-out;
}

.pdp-lightbox__panel {
  position: relative;
  z-index: 1;
  max-width: min(94vw, 56rem);
  max-height: 92vh;
  margin: 0;
}

.pdp-lightbox__img {
  display: block;
  max-width: min(94vw, 56rem);
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #fff;
}

.pdp-lightbox__close {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #1f1a1c;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.pdp-hero__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.2rem 0.55rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #1f1a1c;
  color: #fff;
  border-radius: 2px;
}

.pdp-hero__photo {
  position: relative;
  width: 58%;
  height: 84%;
  max-width: 58%;
  max-height: 84%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  filter: drop-shadow(0 12px 28px rgba(31, 26, 28, 0.16));
}

.pdp-hero__photo--placeholder {
  background: linear-gradient(180deg, #f3f1ef 0%, #e8e4e0 100%);
}

.pdp-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 0.75rem;
  border: 1px solid rgba(31, 26, 28, 0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.pdp-hero__stat {
  padding: 0.65rem 0.5rem;
  text-align: center;
  border-right: 1px solid rgba(31, 26, 28, 0.08);
}

.pdp-hero__stat:last-child {
  border-right: none;
}

.pdp-hero__stat-label {
  display: block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.2rem;
}

.pdp-hero__stat-value {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text);
}

.pdp-hero__stat-value--green {
  color: #1a8a52;
}

.pdp-cert-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.pdp-cert-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 0.75rem;
  border: 1px solid rgba(31, 26, 28, 0.12);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  min-height: 4.25rem;
}

.pdp-cert-link--docs {
  background: rgba(26, 138, 82, 0.06);
  border-color: rgba(26, 138, 82, 0.2);
}

.pdp-cert-link:hover {
  border-color: rgba(31, 26, 28, 0.25);
  box-shadow: 0 4px 16px rgba(31, 26, 28, 0.06);
}

.pdp-cert-link__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(34, 150, 90, 0.12);
  color: #1a8a52;
  font-size: 0.9rem;
  font-weight: 700;
}

.pdp-cert-link__icon--doc {
  border-radius: var(--radius-sm);
  background: rgba(31, 26, 28, 0.06);
  color: var(--color-text);
}

.pdp-cert-link__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.pdp-cert-link__text strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.pdp-cert-link__kicker {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.pdp-cert-link--docs .pdp-cert-link__kicker {
  color: #1a8a52;
}

.pdp-cert-link__arrow {
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  opacity: 0.7;
}

.pdp-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.pdp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(31, 26, 28, 0.12);
  border-radius: 999px;
  background: #fff;
}

.pdp-badge--muted {
  color: var(--color-text-muted);
}

.pdp-badge-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--color-primary);
}

.pdp-badge-dot--ok {
  background: #1a8a52;
}

.pdp-badge-dot--warn {
  background: #d4880a;
}

.pdp-badge-dot--muted {
  background: #9a9396;
}

.pdp-hero__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.pdp-hero__subtitle {
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.pdp-package {
  margin-bottom: 1rem;
}

.pdp-size {
  margin-bottom: 1rem;
}

.pdp-size__label {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pdp-size__label span {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-text-muted);
}

.pdp-size__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pdp-size-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  padding: 0.45rem 0.85rem;
  border: 1.5px solid rgba(31, 26, 28, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--color-text);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.pdp-size-btn:hover {
  border-color: var(--color-primary);
}

.pdp-size-btn--active {
  background: #1f1a1c;
  border-color: #1f1a1c;
  color: #fff;
}

.pdp-hero__price {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pdp-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.pdp-price-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.pdp-action-link {
  border: none;
  background: none;
  padding: 0;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.pdp-action-link:hover.pdp-action-link[aria-pressed="true"] {
  color: var(--color-primary);
}

.pdp-bulk-pricing {
  margin-bottom: 1rem;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(26, 138, 82, 0.06);
  border: 1px solid rgba(26, 138, 82, 0.16);
}

.pdp-bulk-pricing__label {
  margin: 0 0 0.55rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a8a52;
}

.pdp-bulk-pricing__tiers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}

.pdp-bulk-tier {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.55rem 0.45rem;
  border: 1px solid rgba(31, 26, 28, 0.1);
  border-radius: var(--radius-sm);
  background: #fff;
  text-align: center;
}

.pdp-bulk-tier--active {
  border-color: rgba(26, 138, 82, 0.35);
  box-shadow: inset 0 0 0 1px rgba(26, 138, 82, 0.12);
}

.pdp-bulk-tier__qty {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pdp-bulk-tier__note {
  font-size: 0.58rem;
  font-weight: 600;
  color: #1a8a52;
}

.pdp-bulk-tier__price {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.pdp-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.pdp-trust-grid__item {
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(31, 26, 28, 0.1);
  border-radius: var(--radius-sm);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-text-muted);
}

.pdp-ruo-banner {
  margin-bottom: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 176, 88, 0.18);
  border: 1px solid rgba(210, 120, 30, 0.25);
  font-size: 0.78rem;
}

.pdp-ruo-banner strong {
  display: block;
  margin-bottom: 0.1rem;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pdp-cart-row {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.pdp-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(31, 26, 28, 0.15);
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.pdp-qty__btn {
  width: 2.35rem;
  height: 2.5rem;
  border: none;
  background: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--color-text);
}

.pdp-qty__btn:hover {
  background: #f8f7f6;
}

.pdp-qty__value {
  min-width: 2rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.pdp-cart-btn {
  flex: 1;
  min-height: 2.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pdp-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  margin-bottom: 0.75rem;
  border-top: 1px solid rgba(31, 26, 28, 0.1);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pdp-total-row strong {
  font-size: 1.1rem;
  letter-spacing: 0;
  text-transform: none;
}

.pdp-prep-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
}

.pdp-prep-link:hover {
  text-decoration: underline;
}

.pdp-prep-btn {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-bottom: 0.85rem;
  min-height: 2.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pdp-rewards-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(212, 88, 122, 0.08);
  border: 1px solid rgba(212, 88, 122, 0.2);
  font-size: 0.78rem;
}

.pdp-rewards-banner__icon {
  color: var(--color-primary);
  font-size: 0.85rem;
}

.pdp-rewards-banner__text {
  flex: 1;
  min-width: 10rem;
  font-weight: 500;
}

.pdp-rewards-banner__link {
  font-weight: 700;
  color: var(--color-primary-dark);
  text-decoration: none;
}

.pdp-rewards-banner__link:hover {
  text-decoration: underline;
}

.pdp-kit-included {
  margin-bottom: 2rem;
  padding: 1.35rem 1.35rem 1.5rem;
  border: 2px solid rgba(212, 88, 122, 0.45);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #fff 0%, #fff8fa 100%);
  box-shadow: 0 10px 32px rgba(146, 45, 77, 0.1);
}

.pdp-kit-included__banner {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.3rem 0.65rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-primary);
  border-radius: 999px;
}

.pdp-kit-included__head {
  margin-bottom: 1.1rem;
}

.pdp-kit-included__head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.pdp-kit-included__head h2 strong {
  font-weight: 800;
}

.pdp-kit-included__head p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--color-text);
}

.pdp-kit-included__head p strong {
  font-weight: 800;
  color: var(--color-primary);
}

.pdp-kit-included__jump {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border: 2px solid rgba(212, 88, 122, 0.35);
  border-radius: var(--radius-sm);
  background: rgba(255, 248, 250, 0.95);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.pdp-kit-included__jump strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.pdp-kit-included__jump span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary);
}

.pdp-kit-included__jump:hover {
  border-color: var(--color-primary);
  box-shadow: 0 6px 18px rgba(146, 45, 77, 0.12);
  transform: translateY(-1px);
}

.pdp-kit-included__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pdp-kit-included__item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.pdp-kit-included__item strong {
  font-weight: 700;
}

.pdp-kit-included__check {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.05rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(26, 138, 82, 0.15);
  color: #1a8a52;
  font-size: 0.68rem;
  font-weight: 800;
}

.pdp-tab-kit-included {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(31, 26, 28, 0.08);
}

.pdp-tab-kit-included h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.pdp-fbt {
  margin-bottom: 2rem;
  padding: 1.25rem;
  border: 1px solid rgba(31, 26, 28, 0.1);
  border-radius: var(--radius-md);
  background: #faf9f8;
}

.pdp-fbt__title {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pdp-fbt__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.pdp-fbt__plus {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  font-weight: 300;
}

.pdp-fbt-card {
  position: relative;
  cursor: pointer;
}

.pdp-fbt-card__check {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: #1f1a1c;
}

.pdp-fbt-card__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 7.5rem;
  padding: 0.65rem;
  border: 1.5px solid rgba(31, 26, 28, 0.12);
  border-radius: var(--radius-sm);
  background: #fff;
  text-align: center;
  transition: border-color 0.15s ease;
}

.pdp-fbt-card--checked .pdp-fbt-card__box {
  border-color: #1f1a1c;
}

.pdp-fbt-card__img {
  width: 3.5rem;
  height: 4rem;
  object-fit: contain;
  margin-bottom: 0.35rem;
}

.pdp-fbt-card__img--placeholder {
  background: #eeecea;
  border-radius: 4px;
}

.pdp-fbt-card__name {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pdp-fbt-card__price {
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 0.15rem;
}

.pdp-fbt-card__size {
  font-size: 0.62rem;
  color: var(--color-text-muted);
}

.pdp-fbt__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(31, 26, 28, 0.08);
}

.pdp-fbt__subtotal {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pdp-fbt__add-all {
  min-height: 2.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pdp-fbt--inline {
  margin-top: 1.25rem;
  margin-bottom: 0;
  padding: 1rem;
  border: 1px solid rgba(31, 26, 28, 0.1);
  border-radius: var(--radius-sm);
  background: #faf9f8;
}

.pdp-fbt--inline .pdp-fbt__grid {
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.pdp-fbt--inline .pdp-fbt-card__box {
  width: 6.5rem;
  flex-shrink: 0;
}

.pdp-fbt--inline .pdp-fbt__add-all {
  background: #1f1a1c;
  border-color: #1f1a1c;
}

.pdp-fbt--inline .pdp-fbt__add-all:hover {
  background: #2d2629;
  border-color: #2d2629;
}

.pdp-protected {
  margin-bottom: 2.5rem;
}

.pdp-protected__title {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a8a52;
}

.pdp-protected__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.pdp-protected-card {
  padding: 1rem;
  border: 1px solid rgba(31, 26, 28, 0.1);
  border-radius: var(--radius-sm);
  background: #fff;
}

.pdp-protected-card h3 {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pdp-protected-card p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.pdp-tabs {
  margin-bottom: 2.5rem;
}

.pdp-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid rgba(31, 26, 28, 0.12);
  margin-bottom: 1.5rem;
}

.pdp-tabs__btn {
  padding: 0.75rem 1rem;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: none;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.pdp-tabs__btn:hover {
  color: var(--color-text);
}

.pdp-tabs__btn--active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.pdp-tabs__panel {
  display: none;
}

.pdp-tabs__panel[hidden] {
  display: none !important;
}

.pdp-tabs__panel--active {
  display: block;
}

.pdp-tab-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.pdp-tab-head__eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.pdp-tab-head__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pdp-tab-badge {
  padding: 0.25rem 0.55rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(31, 26, 28, 0.12);
  border-radius: 999px;
  background: #f8f7f6;
}

.pdp-tab-badge--green {
  color: #1a8a52;
  border-color: rgba(26, 138, 82, 0.2);
  background: rgba(26, 138, 82, 0.06);
}

.pdp-scientific-title {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.pdp-tab-copy {
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-text);
}

.pdp-tab-copy p {
  margin: 0 0 0.85rem;
}

.pdp-key-features {
  margin-bottom: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(31, 26, 28, 0.08);
}

.pdp-key-features__title {
  margin: 0 0 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.pdp-key-features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 2rem;
}

.pdp-key-features__grid--quad {
  gap: 1rem 1.25rem;
}

.pdp-key-features__item h4 {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.pdp-key-features__item p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.pdp-key-features__col h4 {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.pdp-key-features__col p {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.pdp-key-features__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.pdp-key-features__tags span {
  padding: 0.2rem 0.5rem;
  font-size: 0.62rem;
  font-weight: 600;
  border: 1px solid rgba(31, 26, 28, 0.1);
  border-radius: 999px;
  background: #faf9f8;
}

.pdp-ruo-callout {
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--color-primary);
  background: rgba(255, 248, 250, 0.8);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.pdp-ruo-callout strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.pdp-ruo-callout p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
}

.pdp-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.pdp-spec-card {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(31, 26, 28, 0.1);
  border-radius: var(--radius-sm);
  background: #faf9f8;
}

.pdp-spec-card__label {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.pdp-spec-card__value {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.pdp-prep-summary {
  margin-bottom: 0.85rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.pdp-prep-summary a {
  color: var(--color-primary);
}

.pdp-prep-note {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.pdp-prep-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.pdp-prep-cols h3 {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pdp-prep-cols p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.pdp-prep-steps-title {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pdp-prep-steps {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.88rem;
  line-height: 1.6;
}

.pdp-prep-steps li + li {
  margin-top: 0.35rem;
}

.pdp-docs-summary {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  background: #f8f7f6;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.55;
}

.pdp-docs-summary p {
  margin: 0 0 0.5rem;
}

.pdp-docs-summary p:last-child {
  margin-bottom: 0;
}

.pdp-test-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.pdp-test-meta__item {
  padding: 0.75rem;
  border: 1px solid rgba(31, 26, 28, 0.1);
  border-radius: var(--radius-sm);
  background: #faf9f8;
}

.pdp-test-meta__item span {
  display: block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.2rem;
}

.pdp-test-meta__item strong {
  font-size: 0.88rem;
  font-weight: 600;
}

.pdp-test-meta__hplc {
  color: #1a8a52;
}

.pdp-test-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.pdp-kit-list.pdp-research-links {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  font-size: 0.88rem;
  line-height: 1.6;
}

.pdp-research-links a {
  color: var(--color-primary);
}

.pdp-related__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.pdp-related__head h2 {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pdp-related__head p {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.pdp-related__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.pdp-related-card {
  display: flex;
  flex-direction: column;
  padding: 0.85rem;
  border: 1px solid rgba(31, 26, 28, 0.1);
  border-radius: var(--radius-sm);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pdp-related-card:hover {
  border-color: rgba(212, 88, 122, 0.35);
  box-shadow: 0 6px 20px rgba(146, 45, 77, 0.08);
}

.pdp-related-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.45rem;
}

.pdp-related-card__dot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--color-primary);
}

.pdp-related-card__img {
  width: 100%;
  height: 5.5rem;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.pdp-related-card__img--placeholder {
  background: #f3f1ef;
  border-radius: 4px;
}

.pdp-related-card__name {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pdp-related-card__subtitle {
  margin-top: 0.15rem;
  font-size: 0.68rem;
  line-height: 1.4;
  color: var(--color-text-muted);
}

.pdp-related-card__footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.45rem;
}

.pdp-related-card__price {
  font-size: 0.72rem;
  font-weight: 700;
}

.pdp-related-card__hplc {
  font-size: 0.62rem;
  font-weight: 600;
  color: #1a8a52;
}

.pdp-related-card__meta {
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

@media (max-width: 48rem) {
  .pdp-hero__media {
    order: 2;
  }

  .pdp-hero__buy {
    order: 1;
  }
}

@media (max-width: 56rem) {
  .pdp-hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pdp-hero__image-wrap {
    max-height: min(58vh, 28rem);
  }

  .pdp-zoom__flyout {
    display: none;
  }

  .pdp-zoom__stage {
    cursor: zoom-in;
  }

  .pdp-hero__buy {
    position: static;
  }

  .pdp-protected__grid {
    grid-template-columns: 1fr;
  }

  .pdp-key-features__grid.pdp-spec-grid.pdp-bulk-pricing__tiers.pdp-test-meta {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 30rem) {
  .pdp-related__grid {
    grid-template-columns: 1fr;
  }

  .pdp-cert-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 36rem) {
  .pdp-cert-links {
    grid-template-columns: 1fr;
  }

  .pdp-kit-included__list {
    grid-template-columns: 1fr;
  }

  .pdp-fbt__grid {
    flex-direction: column;
  }

  .pdp-fbt__plus {
    transform: rotate(90deg);
  }

  .pdp-fbt--inline .pdp-fbt__grid {
    flex-direction: row;
  }

  .pdp-fbt--inline .pdp-fbt__plus {
    transform: none;
  }

  .pdp-fbt--inline .pdp-fbt__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .pdp-fbt--inline .pdp-fbt__add-all {
    width: 100%;
  }

  .pdp-tabs__btn {
    flex: 1 1 auto;
    padding: 0.65rem 0.5rem;
    font-size: 0.7rem;
  }

  .pdp-cart-row {
    flex-direction: column;
  }

  .pdp-qty {
    width: 100%;
    justify-content: center;
  }
}

/* ================================================================== */
/* Checkout page - premium multi-step flow                              */
/* ================================================================== */

body[data-page="order"] {
  background: var(--color-bg-warm);
}

body[data-page="order"] .header-utils__checkout {
  display: none;
}

body[data-page="order"] .order-hero {
  padding: var(--space-xl) var(--space-md) var(--space-lg);
  background: linear-gradient(165deg, #fff8f5 0%, #f8e8ee 50%, #fdf6f2 100%);
  border-bottom: 1px solid rgba(212, 88, 122, 0.12);
}

body[data-page="order"] .order-hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.35rem);
  margin-bottom: 0.35rem;
}

body[data-page="order"] .order-hero p {
  font-size: 0.92rem;
}

body[data-page="order"] .order-checkout {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-3xl);
}

body[data-page="order"] .order-checkout__layout {
  display: grid;
  gap: var(--space-lg);
  align-items: start;
}

body[data-page="order"] .order-form {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

body[data-page="order"] #order-wizard {
  scroll-margin-top: 6rem;
}

body[data-page="order"] .order-jt-region {
  margin: 0 0 var(--space-md);
  padding: 0.85rem 0.9rem;
  border-radius: var(--radius-md);
  background: rgba(212, 88, 122, 0.06);
  border: 1px solid rgba(212, 88, 122, 0.16);
}

body[data-page="order"] .order-jt-region select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
  color: var(--color-text);
}

body[data-page="order"] .order-jt-fee {
  margin: 0.4rem 0 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

body[data-page="order"] .order-jt-customer-note,
body[data-page="order"] .order-lalamove-customer-note {
  margin: 0.55rem 0 var(--space-md);
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--color-muted);
}

.lab-results-coa-panel__preview--coa-pages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.lab-results-coa-panel__preview--coa-pages img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.lab-results-docs-panel {
  display: grid;
  gap: 0.85rem;
}

@media (max-width: 40rem) {
  .lab-results-coa-panel__preview--coa-pages {
    grid-template-columns: 1fr;
  }
}

body[data-page="order"] .order-summary-card__totals {
  margin: 0.5rem 0 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--color-border);
}

body[data-page="order"] .order-summary-card__totals p {
  margin: 0.2rem 0;
}

body[data-page="order"] .order-wizard__progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.35rem;
  margin-bottom: var(--space-lg);
  padding: 0;
  list-style: none;
}

body[data-page="order"] .order-wizard__progress-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.25rem;
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(212, 88, 122, 0.12);
  color: var(--color-muted);
  min-width: 0;
}

body[data-page="order"] .order-wizard__step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(212, 88, 122, 0.12);
  color: var(--color-primary-dark);
}

body[data-page="order"] .order-wizard__step-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

body[data-page="order"] .order-wizard__progress-item--active {
  background: #fff;
  border-color: rgba(212, 88, 122, 0.35);
  color: var(--color-primary-dark);
  box-shadow: 0 4px 14px rgba(146, 45, 77, 0.1);
}

body[data-page="order"] .order-wizard__progress-item--active .order-wizard__step-num {
  background: var(--gradient-brand);
  color: #fff;
}

body[data-page="order"] .order-wizard__progress-item--done {
  background: rgba(61, 122, 85, 0.08);
  border-color: rgba(61, 122, 85, 0.2);
  color: var(--color-success);
}

body[data-page="order"] .order-wizard__progress-item--done .order-wizard__step-num {
  background: rgba(61, 122, 85, 0.15);
  color: var(--color-success);
}

body[data-page="order"] .order-wizard__panel {
  padding: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid rgba(212, 88, 122, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 28px rgba(146, 45, 77, 0.08);
  margin-bottom: 0;
}

body[data-page="order"] .order-wizard__panel-head {
  margin-bottom: var(--space-md);
}

body[data-page="order"] .order-wizard__panel-head h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.25rem;
  color: var(--color-text);
}

body[data-page="order"] .order-wizard__panel-lead {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.5;
}

body[data-page="order"] .order-wizard__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

body[data-page="order"] .order-wizard__nav .btn--primary {
  min-width: 9rem;
  margin-left: auto;
}

body[data-page="order"] .order-wizard__nav-secondary {
  font-size: 0.82rem;
}

body[data-page="order"] .order-cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

body[data-page="order"] .order-cart-item {
  display: grid;
  grid-template-columns: 3.25rem 1fr auto auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.65rem;
  background: var(--color-bg-warm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

body[data-page="order"] .order-cart-item__thumb {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, #f8dce8, #f5e8dc);
}

body[data-page="order"] .order-cart-item__thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

body[data-page="order"] .order-cart-item__thumb--placeholder span {
  width: 1rem;
  height: 2rem;
  border-radius: 0 0 0.35rem 0.35rem;
  background: linear-gradient(180deg, rgba(244, 184, 202, 0.6), rgba(212, 88, 122, 0.75));
  border: 1px solid rgba(184, 92, 114, 0.25);
}

body[data-page="order"] .order-cart-item__info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

body[data-page="order"] .order-cart-item__name {
  font-size: 0.88rem;
  color: var(--color-text);
  line-height: 1.25;
}

body[data-page="order"] .order-cart-item__variant {
  font-size: 0.75rem;
  color: var(--color-muted);
}

body[data-page="order"] .order-cart-item__price {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

body[data-page="order"] .order-qty {
  display: inline-flex;
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  overflow: visible;
}

body[data-page="order"] .order-qty__btn {
  width: 1.85rem;
  height: 1.85rem;
  border: none;
  background: transparent;
  color: var(--color-primary-dark);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}

body[data-page="order"] .order-qty__btn:hover {
  background: rgba(212, 88, 122, 0.1);
}

body[data-page="order"] .order-qty__value {
  min-width: 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
}

body[data-page="order"] .order-cart-item__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(184, 74, 74, 0.1);
  color: var(--color-error);
  cursor: pointer;
}

body[data-page="order"] .order-cart-footer {
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px dashed var(--color-border);
}

body[data-page="order"] .order-cart-footer__count {
  margin: 0 0 0.25rem;
  font-size: 0.88rem;
}

body[data-page="order"] .order-min-note {
  margin: 0;
  font-size: 0.75rem;
  color: var(--color-muted);
}

body[data-page="order"] .order-cart-empty {
  text-align: center;
  padding: var(--space-xl);
  background: var(--color-bg-warm);
  border-radius: var(--radius-md);
  border: 1px dashed var(--color-border);
}

body[data-page="order"] .order-aside-card {
  padding: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid rgba(212, 88, 122, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 28px rgba(146, 45, 77, 0.08);
}

body[data-page="order"] .order-aside-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 var(--space-md);
}

body[data-page="order"] .order-aside-ref {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0 0 var(--space-md);
}

body[data-page="order"] .order-aside-ref__label {
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.65rem;
  font-weight: 700;
}

body[data-page="order"] .order-aside-list {
  list-style: none;
  margin: 0 0 var(--space-md);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

body[data-page="order"] .order-aside-list__row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8rem;
}

body[data-page="order"] .order-aside-list__name em {
  font-style: normal;
  color: var(--color-muted);
  font-size: 0.72rem;
}

body[data-page="order"] .order-aside-list__qty {
  font-weight: 700;
  color: var(--color-primary-dark);
}

body[data-page="order"] .order-aside-total {
  display: flex;
  justify-content: space-between;
  padding: 0.65rem 0;
  margin-bottom: var(--space-md);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  font-weight: 600;
}

body[data-page="order"] .order-aside-total__price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-primary-dark);
}

body[data-page="order"] .order-aside-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.72rem;
  color: var(--color-muted);
  line-height: 1.55;
}

body[data-page="order"] .order-aside-trust li {
  padding-left: 1rem;
  position: relative;
}

body[data-page="order"] .order-aside-trust li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}

body[data-page="order"] .order-payment-methods,
body[data-page="order"] .order-delivery-methods {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
}

body[data-page="order"] .order-payment-option,
body[data-page="order"] .order-delivery-option {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  margin: 0;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-warm);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

body[data-page="order"] .order-payment-option:has(input:checked),
body[data-page="order"] .order-delivery-option:has(input:checked) {
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 4px 14px rgba(212, 88, 122, 0.12);
}

body[data-page="order"] .order-payment-option input,
body[data-page="order"] .order-delivery-option input {
  margin-top: 0.2rem;
  accent-color: var(--color-primary);
}

body[data-page="order"] .order-payment-option__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 2.35rem;
  margin-top: 0.05rem;
  padding: 0.2rem;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

body[data-page="order"] .order-payment-option__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body[data-page="order"] .order-payment-option__body,
body[data-page="order"] .order-delivery-option__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

body[data-page="order"] .order-payment-option__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

body[data-page="order"] .order-payment-option__badge {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: #fff;
}

body[data-page="order"] .order-payment-option__account,
body[data-page="order"] .order-delivery-option__body span {
  font-size: 0.78rem;
  color: var(--color-muted);
}

body[data-page="order"] .order-address {
  margin: 0 0 var(--space-md);
  padding: 0;
  border: 0;
  min-width: 0;
}

body[data-page="order"] .order-address__legend {
  padding: 0;
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-text);
}

body[data-page="order"] .order-address__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 0.85rem;
}

body[data-page="order"] .order-address__field {
  margin-bottom: 0;
}

body[data-page="order"] .order-address__field--full {
  grid-column: 1 / -1;
}

body[data-page="order"] .order-address__field input,
body[data-page="order"] .order-address__field select {
  width: 100%;
  min-height: 3rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid #d7d0d2;
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 0.92rem;
  color: var(--color-text);
  appearance: none;
  -webkit-appearance: none;
}

body[data-page="order"] .order-address__field select:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  background-color: #f5f2f3;
}

body[data-page="order"] .order-address__field input::placeholder {
  color: #9a9194;
}

body[data-page="order"] .order-address__field input:focus,
body[data-page="order"] .order-address__field select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(212, 88, 122, 0.14);
}

body[data-page="order"] .order-address__field input.input-error,
body[data-page="order"] .order-address__field select.input-error {
  border-color: #d35a5a;
  box-shadow: none;
}

body[data-page="order"] .order-address__field .field-error {
  margin-top: 0.35rem;
  margin-left: 0.35rem;
  font-size: 0.78rem;
  color: #d35a5a;
}

body[data-page="order"] .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;
}

@media (max-width: 40rem) {
  body[data-page="order"] .order-address__grid {
    grid-template-columns: 1fr;
  }
}

body[data-page="order"] .order-delivery-tracking-note {
  margin: 0 0 var(--space-md);
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(212, 88, 122, 0.08);
  border: 1px solid rgba(212, 88, 122, 0.16);
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--color-muted);
}

body[data-page="order"] .order-summary-card__address {
  margin: 0.35rem 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

body[data-page="order"] .order-summary-card__address p {
  margin: 0.15rem 0 0;
}

/* Payment QR modal */
.payment-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

.payment-qr-modal[hidden] {
  display: none;
}

.payment-qr-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 26, 28, 0.68);
  backdrop-filter: blur(4px);
}

.payment-qr-modal__panel {
  position: relative;
  width: 100%;
  max-width: min(30rem, calc(100vw - 1.5rem));
  max-height: calc(100vh - 1.5rem);
  overflow-y: auto;
  padding: 1.25rem 1.15rem 1.15rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 88, 122, 0.2);
  box-shadow: 0 24px 64px rgba(31, 26, 28, 0.22);
  text-align: left;
}

.payment-qr-modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: var(--color-bg-warm);
  color: var(--color-text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.payment-qr-modal__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding-right: 2rem;
}

.payment-qr-modal__logo {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--color-bg-warm);
  padding: 0.25rem;
  flex-shrink: 0;
}

.payment-qr-modal__head h3 {
  margin: 0;
  font-size: 1.05rem;
}

.payment-qr-modal__hint {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.45;
}

.payment-qr-modal__steps {
  margin: 0 0 0.9rem;
  padding-left: 1.15rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--color-text);
}

.payment-qr-modal__steps li + li {
  margin-top: 0.25rem;
}

.payment-qr-modal__qr-wrap {
  padding: 0.85rem;
  border-radius: var(--radius-md);
  background: #fff;
  border: 2px solid rgba(212, 88, 122, 0.22);
  margin-bottom: 0.85rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.payment-qr-modal__qr {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  -webkit-user-select: none;
  user-select: none;
}

.payment-qr-modal__save-hint {
  margin: 0 0 0.75rem;
  padding: 0.6rem 0.7rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--color-text);
  background: rgba(212, 88, 122, 0.08);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 88, 122, 0.14);
}

.payment-qr-modal__ref-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 0.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
  padding: 0.7rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--color-bg-warm);
  border: 1px solid var(--color-border);
}

.payment-qr-modal__ref-label {
  grid-column: 1 / -1;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.payment-qr-modal__ref-code {
  font-size: 1rem;
  font-weight: 700;
  word-break: break-all;
}

.payment-qr-modal__copy {
  min-width: 4.5rem;
}

.payment-qr-modal__note {
  margin: 0 0 0.9rem;
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.45;
}

.payment-qr-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.payment-qr-modal__download.payment-qr-modal__done {
  width: 100%;
  min-height: 2.75rem;
}

@media (max-width: 24rem) {
  .payment-qr-modal__actions {
    grid-template-columns: 1fr;
  }
}

body[data-page="order"] .order-proof-upload__zone {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.5rem;
  border: 2px dashed rgba(212, 88, 122, 0.35);
  border-radius: var(--radius-md);
  background: var(--color-bg-warm);
}

body[data-page="order"] .order-proof-upload__zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

body[data-page="order"] .order-proof-upload__hint {
  font-size: 0.85rem;
  color: var(--color-muted);
  pointer-events: none;
}

body[data-page="order"] .order-complete {
  max-width: 28rem;
  margin: var(--space-xl) auto 0;
  padding: var(--space-xl);
  text-align: center;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

body[data-page="order"] .order-complete__icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(61, 122, 85, 0.12);
  color: var(--color-success);
  font-size: 1.35rem;
  font-weight: 800;
}

body[data-page="order"] .order-complete__status {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.55;
}

body[data-page="order"] .order-complete__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: var(--space-lg);
}

@media (min-width: 900px) {
  body[data-page="order"] .order-checkout__layout {
    grid-template-columns: 1fr min(20rem, 32%);
    gap: var(--space-xl);
  }

  body[data-page="order"] .order-checkout__aside {
    position: sticky;
    top: calc(var(--header-height) + 1rem);
  }
}

@media (max-width: 599px) {
  body[data-page="order"] .order-wizard__step-label {
    display: none;
  }

  body[data-page="order"] .order-cart-item {
    grid-template-columns: 3rem minmax(0, 1fr) 2.75rem;
    grid-template-areas:
      "thumb info remove"
      "qty qty qty";
    gap: 0.65rem 0.55rem;
    align-items: center;
  }

  body[data-page="order"] .order-cart-item__thumb,
  body[data-page="order"] .order-cart-item__thumb--placeholder {
    grid-area: thumb;
    width: 3rem;
    height: 3rem;
  }

  body[data-page="order"] .order-cart-item__info {
    grid-area: info;
  }

  body[data-page="order"] .order-qty {
    grid-area: qty;
    width: 100%;
    justify-content: space-between;
    overflow: visible;
  }

  body[data-page="order"] .order-qty__btn {
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
  }

  body[data-page="order"] .order-qty__value {
    flex: 1;
    min-width: 2rem;
    font-size: 0.95rem;
  }

  body[data-page="order"] .order-cart-item__remove {
    grid-area: remove;
    grid-column: auto;
    grid-row: auto;
    width: 2.75rem;
    height: 2.75rem;
  }

  body[data-page="order"] .order-wizard__nav {
    flex-direction: column-reverse;
  }

  body[data-page="order"] .order-wizard__nav .btn--primary {
    width: 100%;
    margin-left: 0;
  }
}

/* ================================================================== */
/* Cart drawer - premium slide-out mini cart                            */
/* ================================================================== */

body.cart-drawer-open {
  overflow: hidden;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 750;
  pointer-events: none;
}

.cart-drawer:not([hidden]) {
  pointer-events: auto;
}

.cart-drawer[hidden] {
  display: none;
}

.cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 26, 28, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.32s ease;
}

.cart-drawer:not([hidden]) .cart-drawer__backdrop {
  opacity: 1;
}

.cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 26.5rem);
  max-width: 100vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-left: 1px solid rgba(212, 88, 122, 0.12);
  box-shadow: -16px 0 48px rgba(146, 45, 77, 0.16);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-drawer:not([hidden]) .cart-drawer__panel {
  transform: translateX(0);
}

.cart-drawer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  flex-shrink: 0;
  padding: 1.15rem 1.15rem 1rem;
  border-bottom: 1px solid rgba(212, 88, 122, 0.12);
  background: linear-gradient(180deg, #fdf6f2 0%, #ffffff 100%);
}

.cart-drawer__head-main {
  min-width: 0;
}

.cart-drawer__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text);
}

.cart-drawer__count {
  margin: 0.3rem 0 0;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--color-muted);
}

.cart-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid rgba(212, 88, 122, 0.18);
  border-radius: 50%;
  background: #ffffff;
  color: var(--color-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cart-drawer__close:hover {
  background: rgba(212, 88, 122, 0.08);
  border-color: rgba(212, 88, 122, 0.35);
  color: var(--color-primary-dark);
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.15rem;
  background: #fdf6f2;
  -webkit-overflow-scrolling: touch;
}

.cart-drawer__foot {
  flex-shrink: 0;
  padding: 1rem 1.15rem 1.15rem;
  border-top: 1px solid rgba(212, 88, 122, 0.12);
  background: #ffffff;
  box-shadow: 0 -8px 24px rgba(146, 45, 77, 0.06);
}

.cart-drawer__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.75rem 1rem 1.5rem;
}

.cart-drawer__empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(244, 184, 202, 0.35), rgba(253, 246, 242, 0.9));
  color: var(--color-primary);
}

.cart-drawer__empty-icon svg {
  width: 2rem;
  height: 2rem;
}

.cart-drawer__empty-title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
}

.cart-drawer__empty-text {
  margin: 0 0 1.25rem;
  max-width: 16rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--color-muted);
}

.cart-drawer__empty-cta {
  width: 100%;
  max-width: 14rem;
  justify-content: center;
}

.cart-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cart-drawer__card {
  padding: 0.85rem;
  background: #ffffff;
  border: 1px solid rgba(212, 88, 122, 0.14);
  border-radius: 0.85rem;
  box-shadow: 0 2px 8px rgba(146, 45, 77, 0.05);
}

.cart-drawer__card-top {
  display: grid;
  grid-template-columns: 3.25rem 1fr auto;
  gap: 0.65rem;
  align-items: start;
}

.cart-drawer__thumb {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  border-radius: 0.55rem;
  background: linear-gradient(160deg, #f8dce8, #f5e8dc);
}

.cart-drawer__thumb--placeholder {
  background: linear-gradient(160deg, #f8dce8, #f5e8dc);
  border-radius: 0.55rem;
  position: relative;
}

.cart-drawer__thumb--placeholder::after {
  content: "";
  position: absolute;
  bottom: 0.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0.8rem;
  height: 1.35rem;
  border-radius: 0 0 0.35rem 0.35rem;
  background: linear-gradient(180deg, rgba(244, 184, 202, 0.7), rgba(212, 88, 122, 0.8));
}

.cart-drawer__card-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cart-drawer__card-name {
  font-size: 0.88rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-text);
}

.cart-drawer__card-variant {
  font-size: 0.74rem;
  color: var(--color-muted);
}

.cart-drawer__card-price {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.cart-drawer__card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(212, 88, 122, 0.18);
}

.cart-drawer__qty-label {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.cart-drawer__qty {
  display: inline-flex;
  align-items: center;
  background: #fdf6f2;
  border: 1px solid rgba(212, 88, 122, 0.2);
  border-radius: 999px;
  overflow: hidden;
}

.cart-drawer__qty-btn {
  width: 1.85rem;
  height: 1.85rem;
  border: none;
  background: transparent;
  color: var(--color-primary-dark);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s ease;
}

.cart-drawer__qty-btn:hover {
  background: rgba(212, 88, 122, 0.12);
}

.cart-drawer__qty-val {
  min-width: 1.5rem;
  text-align: center;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text);
}

.cart-drawer__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.cart-drawer__remove:hover {
  background: rgba(184, 74, 74, 0.1);
  color: var(--color-error);
}

.cart-drawer__summary {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.cart-drawer__summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.84rem;
  color: var(--color-muted);
}

.cart-drawer__summary-row em {
  font-style: normal;
  font-size: 0.76rem;
}

.cart-drawer__summary-row--total {
  padding-top: 0.45rem;
  border-top: 1px solid rgba(212, 88, 122, 0.12);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text);
}

.cart-drawer__summary-row--total strong {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.cart-drawer__mono {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-weight: 700;
  color: var(--color-primary-dark);
}

.cart-drawer__pricing-note {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--color-muted);
  text-align: center;
}

.cart-drawer__checkout {
  width: 100%;
  justify-content: center;
  margin-bottom: 0.55rem;
}

.cart-drawer__add-more {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  color: var(--color-primary);
  text-decoration: none;
}

.cart-drawer__add-more:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.cart-drawer__disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.45;
  text-align: center;
  color: var(--color-muted);
}

.cart-drawer__disclaimer svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

#header-cart-btn {
  cursor: pointer;
}

@media (max-width: 480px) {
  .cart-drawer__panel {
    width: 100%;
  }

  .cart-drawer__head.cart-drawer__body.cart-drawer__foot {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* === Added to cart toast === */

.cart-toast-host {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 10050;
  pointer-events: none;
}

.cart-toast {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0.85rem 1rem 0.85rem 0;
  background: #1f1a1c;
  border-radius: var(--radius-md);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: translateY(0.75rem) scale(0.98);
  transition: opacity 0.28s ease, transform 0.28s ease;
  overflow: hidden;
  pointer-events: auto;
}

.cart-toast--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cart-toast__accent {
  flex-shrink: 0;
  width: 3px;
  background: var(--color-primary);
  border-radius: 3px 0 0 3px;
}

.cart-toast__thumb {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  align-self: center;
  object-fit: contain;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 0.2rem;
}

.cart-toast__thumb--placeholder {
  background: linear-gradient(180deg, #f3f1ef 0%, #e8e4e0 100%);
}

.cart-toast__body {
  min-width: 0;
  align-self: center;
  padding-right: 0.15rem;
}

.cart-toast__status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.25rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.cart-toast__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #3dcc7a;
  flex-shrink: 0;
}

.cart-toast__name {
  margin: 0 0 0.15rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
}

.cart-toast__meta {
  margin: 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 480px) {
  .cart-toast-host {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .cart-toast {
    max-width: none;
  }
}

/* === Home journey band - process, CTA & RUO (polished) === */

#home-ruo.home-ruo-bar {
  background: #f3f0f1;
  border: none;
  padding-block: clamp(1.75rem, 3.5vw, 2.5rem);
}

#home-ruo .home-ruo-bar__panel {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  max-width: 52rem;
  margin-inline: auto;
  padding: 1.15rem 1.35rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(30, 20, 24, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

#home-ruo .home-ruo-bar__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 8px;
  background: #c44668;
  color: #fff;
}

#home-ruo .home-ruo-bar__icon-wrap svg {
  width: 1.4rem;
  height: 1.4rem;
}

#home-ruo .home-ruo-bar__copy {
  min-width: 0;
}

#home-ruo .home-ruo-bar__copy strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1f1418;
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

#home-ruo .home-ruo-bar__copy p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #6b6366;
}

.home-process__footer {
  margin-top: clamp(1.75rem, 3.5vw, 2.25rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 539px) {
  #home-ruo .home-ruo-bar__panel {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

#home-process .home-section__head {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}

#home-process .section-title {
  position: relative;
  padding-bottom: 0.85rem;
}

#home-process .section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 4.5rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #d4587a 30%, #d4587a 70%, transparent);
  opacity: 0.55;
}

#home-process .section-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.65;
  color: #6b4a54;
}

.home-process__overview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.65rem;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.25rem);
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(196, 70, 104, 0.14);
  box-shadow:
    0 4px 24px rgba(146, 45, 77, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  max-width: 44rem;
  margin-inline: auto;
  backdrop-filter: blur(6px);
}

.home-process__phase {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem 0.4rem 0.45rem;
  border-radius: 999px;
  background: transparent;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #7a3f52;
  white-space: nowrap;
}

.home-process__phase-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4587a 0%, #922d4d 100%);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(146, 45, 77, 0.22);
}

.home-process__phase-label {
  letter-spacing: 0.01em;
}

.home-process__phase-arrow {
  width: 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(196, 70, 104, 0.12), rgba(196, 70, 104, 0.45), rgba(196, 70, 104, 0.12));
  position: relative;
  flex-shrink: 0;
}

.home-process__phase-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-left-color: rgba(196, 70, 104, 0.45);
}

.home-process__timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.home-process__timeline .home-process-step {
  margin: 0;
  min-width: 0;
  max-width: none;
  flex: unset;
  text-align: left;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.home-process-step__card {
  position: relative;
  height: 100%;
  padding: 1.25rem 1.15rem 1.1rem;
  padding-top: 1.45rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  border: 1px solid rgba(196, 70, 104, 0.12);
  box-shadow:
    0 8px 28px rgba(146, 45, 77, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.home-process-step__card:hover {
  border-color: rgba(196, 70, 104, 0.32);
  box-shadow: 0 14px 36px rgba(146, 45, 77, 0.11);
  transform: translateY(-4px);
}

.home-process-step__num {
  position: absolute;
  top: -0.7rem;
  left: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #d4587a 0%, #922d4d 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(146, 45, 77, 0.28);
  border: 2.5px solid #fff;
}

.home-process-step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  margin-bottom: 0.7rem;
  border-radius: 14px;
  background: linear-gradient(145deg, #fce8ee 0%, #fff 100%);
  color: #922d4d;
  border: 1px solid rgba(196, 70, 104, 0.1);
}

.home-process-step__icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.home-process-step__card h3 {
  font-family: var(--font-heading, "Playfair Display", serif);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
  color: #3d2228;
  line-height: 1.3;
}

.home-process-step__card p {
  font-size: 0.8125rem;
  color: #6b4a54;
  line-height: 1.6;
  margin: 0;
}

@media (min-width: 540px) {
  .home-process__timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }
}

@media (min-width: 900px) {
  .home-process__timeline {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 68rem;
    margin-inline: auto;
  }

  .home-process__timeline .home-process-step:nth-child(1) { grid-column: 1 / span 3; }
  .home-process__timeline .home-process-step:nth-child(2) { grid-column: 4 / span 3; }
  .home-process__timeline .home-process-step:nth-child(3) { grid-column: 7 / span 3; }
  .home-process__timeline .home-process-step:nth-child(4) { grid-column: 10 / span 3; }
  .home-process__timeline .home-process-step:nth-child(5) { grid-column: 2 / span 3; }
  .home-process__timeline .home-process-step:nth-child(6) { grid-column: 5 / span 3; }
  .home-process__timeline .home-process-step:nth-child(7) { grid-column: 8 / span 3; }
}

@media (max-width: 767px) {
  .home-process__overview {
    border-radius: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    padding: 0.85rem;
  }

  .home-process__phase {
    justify-content: flex-start;
    padding: 0.35rem 0.5rem;
  }

  .home-process__phase-arrow {
    width: 1px;
    height: 0.65rem;
    margin-inline: auto;
    background: linear-gradient(180deg, rgba(196, 70, 104, 0.12), rgba(196, 70, 104, 0.45));
  }

  .home-process__phase-arrow::after {
    right: auto;
    left: 50%;
    top: 100%;
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .home-process__timeline {
    padding-left: 0.5rem;
    border-left: 2px solid rgba(196, 70, 104, 0.15);
  }

  .home-process-step__card {
    margin-left: 0.65rem;
  }
}

#home-process {
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
}

.home-process__note {
  margin: 0;
  max-width: 32rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #6b4a54;
}

.home-process-arrow {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .home-process-step__card:hover {
    transform: none;
  }
}

/* Homepage - kill horizontal overflow / right-edge gap */
body[data-page="home"] .notice-banner,
body[data-page="home"] .site-header,
body[data-page="home"] .home-hero,
body[data-page="home"] .home-process,
body[data-page="home"] .home-ruo-bar,
body[data-page="home"] .home-section,
body[data-page="home"] .home-docs,
body[data-page="home"] .home-delivery,
body[data-page="home"] .home-bottom,
body[data-page="home"] .site-footer {
  width: 100%;
  max-width: 100%;
}

body[data-page="home"] .home-hero__featured {
  overflow: hidden;
}

body[data-page="home"] .home-hero__ticker-wrap {
  overflow: hidden;
  isolation: isolate;
}

/* --- Header redesign: wide premium bar --- */

@media (min-width: 1200px) {
  .site-nav {
    gap: 0.5rem;
  }

  .nav-link {
    font-size: 1rem;
    padding: 0.6rem 1.1rem;
  }

  .header-utils {
    gap: 0.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-utils__btn:hover.header-utils__btn--link:hover {
    transform: none;
  }
}

/* Homepage catalog - compact PeptideX-style product grid */
#home-products .home-section__head {
  margin-bottom: 1.35rem;
}

#home-products .home-products-grid,
body[data-page="products"] .product-grid.home-products-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 58rem;
  margin-inline: auto;
}

#home-products .home-product-card,
body[data-page="products"] .home-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  cursor: pointer;
}

#home-products .home-product-card:hover {
  transform: scale(1.025);
  border-color: rgba(212, 88, 122, 0.28);
  box-shadow: 0 10px 28px rgba(146, 45, 77, 0.14);
}

#home-products .home-product-card__photo,
#home-products .kit-product-photo,
body[data-page="products"] .home-product-card__photo,
body[data-page="products"] .kit-product-photo {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

#home-products .home-product-card:hover .home-product-card__photo,
#home-products .home-product-card:hover .kit-product-photo {
  transform: scale(1.06);
}

#home-products .home-product-card__visual,
body[data-page="products"] .home-product-card__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 14rem;
  max-height: none;
  background: linear-gradient(165deg, #fdf6f2 0%, #f8e8ee 50%, #f0e4dc 100%);
}

#home-products .home-product-card__visual--photo,
body[data-page="products"] .home-product-card__visual--photo {
  background: linear-gradient(165deg, #fdf6f2 0%, #f8e8ee 50%, #f0e4dc 100%);
}

#home-products .kit-product-photo-frame,
body[data-page="products"] .kit-product-photo-frame {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 3%;
  background: transparent;
}

#home-products .home-product-card__photo,
#home-products .kit-product-photo,
body[data-page="products"] .home-product-card__photo,
body[data-page="products"] .kit-product-photo {
  position: relative;
  inset: auto;
  width: 76%;
  height: 88%;
  max-width: 76%;
  max-height: 88%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 8px 18px rgba(31, 26, 28, 0.12));
}

#home-products .home-product-card__hot-tag,
body[data-page="products"] .home-product-card__hot-tag {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: #e03131;
  padding: 0.18rem 0.42rem;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(224, 49, 49, 0.35);
}

#home-products .home-product-card__cat-tag,
body[data-page="products"] .home-product-card__cat-tag {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  background: rgba(255, 255, 255, 0.95);
  padding: 0.18rem 0.4rem;
  border-radius: 4px;
  border: 1px solid rgba(212, 88, 122, 0.12);
}

#home-products .home-product-card__stock-tag,
body[data-page="products"] .home-product-card__stock-tag {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #2b8a3e;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.16rem 0.38rem;
  border-radius: 4px;
}

#home-products .home-product-card__stock-tag::before,
body[data-page="products"] .home-product-card__stock-tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

#home-products .home-product-card__stock-tag--low-stock,
body[data-page="products"] .home-product-card__stock-tag--low-stock {
  color: #e67700;
}

#home-products .home-product-card__stock-tag--out-of-stock,
body[data-page="products"] .home-product-card__stock-tag--out-of-stock {
  color: #868e96;
}

#home-products .home-product-card__body,
body[data-page="products"] .home-product-card__body {
  padding: 0.65rem 0.8rem 0.8rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  gap: 0.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

#home-products .home-product-card__name,
body[data-page="products"] .home-product-card__name {
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.15;
  color: #1a1a1a;
  margin: 0;
}

#home-products .home-product-card__variant,
body[data-page="products"] .home-product-card__variant {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #868e96;
  margin: 0.2rem 0 0.55rem;
}

#home-products .home-product-card__footer,
body[data-page="products"] .home-product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.55rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.12);
}

#home-products .home-product-card__price-block,
body[data-page="products"] .home-product-card__price-block {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

#home-products .home-product-card__price,
body[data-page="products"] .home-product-card__price {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.1;
}

#home-products .home-product-card__price-unit,
body[data-page="products"] .home-product-card__price-unit {
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #868e96;
}

#home-products .home-product-card__view-btn,
body[data-page="products"] .home-product-card__view-btn {
  display: inline-flex;
  align-items: stretch;
  flex-shrink: 0;
  border: 0;
  padding: 0;
  font: inherit;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  pointer-events: auto;
  cursor: pointer;
  background: transparent;
}

#home-products .home-product-card__view-btn {
  pointer-events: none;
}

#home-products .home-product-card:hover .home-product-card__view-btn {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 3px rgba(212, 88, 122, 0.28),
    0 0 18px rgba(212, 88, 122, 0.55),
    0 6px 16px rgba(0, 0, 0, 0.2);
}

#home-products .home-product-card__view-label,
body[data-page="products"] .home-product-card__view-label {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  background: #1a1a1a;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

#home-products .home-product-card__view-arrow,
body[data-page="products"] .home-product-card__view-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.65rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.85rem;
  line-height: 1;
}

#home-products .home-section__cta {
  margin-top: 1.35rem;
}

/* Catalog CTA - perks + hero browse button */
.home-catalog-cta {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
}

.home-catalog-cta__perks {
  list-style: none;
  padding: 0;
  margin: 0 auto clamp(1.75rem, 4vw, 2.25rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  max-width: 52rem;
}

.home-catalog-cta__perks li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #495057;
}

.home-catalog-cta__perks li::before {
  content: "✱";
  color: #2b8a3e;
  font-size: 0.9rem;
  line-height: 1;
}

.home-catalog-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-width: min(100%, 22rem);
  padding: 1.05rem 2.5rem;
  font-family: inherit;
  font-size: clamp(0.82rem, 2vw, 0.95rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #e85a7a 0%, #c93d62 45%, #b83258 100%);
  border: none;
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(184, 50, 88, 0.15),
    0 8px 28px rgba(212, 88, 122, 0.45),
    0 4px 12px rgba(146, 45, 77, 0.2);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}

.home-catalog-cta__btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(184, 50, 88, 0.2),
    0 12px 40px rgba(212, 88, 122, 0.55),
    0 6px 18px rgba(146, 45, 77, 0.28);
  color: #fff;
}

.home-catalog-cta__btn:focus-visible {
  outline: 2px solid var(--color-primary-dark);
  outline-offset: 4px;
}

.home-catalog-cta__arrow {
  font-size: 1.15em;
  line-height: 1;
  transition: transform 0.2s ease;
}

.home-catalog-cta__btn:hover .home-catalog-cta__arrow {
  transform: translateX(4px);
}

@media (min-width: 640px) {
  .home-catalog-cta__btn {
    min-width: 26rem;
    padding: 1.15rem 3rem;
    font-size: 0.92rem;
  }
}

@media (max-width: 479px) {
  .home-catalog-cta__perks {
    flex-direction: column;
    gap: 0.45rem;
  }
}

@media (min-width: 640px) {
  #home-products .home-products-grid,
  body[data-page="products"] .product-grid.home-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 62rem;
    gap: 0.9rem;
  }

  #home-products .home-product-card__visual,
  body[data-page="products"] .home-product-card__visual {
    min-height: 16rem;
  }
}

@media (min-width: 900px) {
  #home-products .home-product-card__visual,
  body[data-page="products"] .home-product-card__visual {
    min-height: 18rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #home-products .home-product-card,
  #home-products .home-product-card__photo,
  #home-products .kit-product-photo,
  body[data-page="products"] .home-product-card,
  body[data-page="products"] .home-product-card__photo,
  body[data-page="products"] .kit-product-photo {
    transition: none;
  }

  #home-products .home-product-card:hover,
  #home-products .home-product-card:hover .home-product-card__photo,
  #home-products .home-product-card:hover .kit-product-photo {
    transform: none;
  }
}

/* Products page - PeptideX-style catalog cards */
body[data-page="products"] .home-product-card.product-card,
body[data-page="products"] .catalog-product-card {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  background: var(--color-surface);
  cursor: default;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

body[data-page="products"] .home-product-card.product-card:hover,
body[data-page="products"] .catalog-product-card:hover {
  transform: none;
  border: 2px solid #1a1a1a;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

body[data-page="products"] .home-product-card:hover .home-product-card__photo,
body[data-page="products"] .home-product-card:hover .kit-product-photo,
body[data-page="products"] .catalog-product-card:hover .home-product-card__photo,
body[data-page="products"] .catalog-product-card:hover .kit-product-photo {
  transform: none;
}

body[data-page="products"] .catalog-product-card__image-link {
  position: absolute;
  inset: 0;
  display: block;
  color: inherit;
  text-decoration: none;
}

body[data-page="products"] .catalog-product-card__image-link:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: -2px;
}

body[data-page="products"] .catalog-product-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.55rem;
}

body[data-page="products"] .catalog-product-card__header .home-product-card__name {
  flex: 1;
  min-width: 0;
}

body[data-page="products"] .catalog-product-card__header .home-product-card__price-block {
  flex-shrink: 0;
  text-align: right;
}

body[data-page="products"] .catalog-product-card .home-product-card__variant {
  margin: 0.15rem 0 0;
}

body[data-page="products"] .catalog-product-card__variants {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

body[data-page="products"] .catalog-product-card__variant-pill {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #f8f9fa;
  border-radius: 6px;
  padding: 0.38rem 0.72rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  color: #495057;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
}

body[data-page="products"] .catalog-product-card__variant-num {
  transition: color 0.18s ease;
}

body[data-page="products"] .catalog-product-card__variant-pill:hover {
  border-color: #1a1a1a;
}

body[data-page="products"] .catalog-product-card__variant-pill:hover .catalog-product-card__variant-num {
  color: #e03131;
}

body[data-page="products"] .catalog-product-card__variant-pill:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 2px;
}

body[data-page="products"] .catalog-product-card__add-btn {
  display: inline-flex;
  align-items: stretch;
  width: 100%;
  margin-top: 0.7rem;
  border: 0;
  padding: 0;
  font: inherit;
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

body[data-page="products"] .catalog-product-card__add-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

body[data-page="products"] .catalog-product-card__add-btn:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 2px;
}

body[data-page="products"] .catalog-product-card__add-btn--disabled,
body[data-page="products"] .catalog-product-card__add-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

body[data-page="products"] .catalog-product-card__add-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 0.55rem 0.9rem;
  background: #1a1a1a;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

body[data-page="products"] .catalog-product-card__add-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.72rem;
  background: #1a1a1a;
  color: #fff;
  font-size: 0.85rem;
  line-height: 1;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

body[data-page="products"] .home-product-card__view-btn {
  display: none;
}

/* Catalog quick-view modal (PeptideX-style) */
.product-detail-modal--quickview .product-detail-modal__panel {
  width: min(56rem, 96vw);
  max-width: min(56rem, 96vw);
  min-height: 34rem;
  max-height: 94vh;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.product-detail-modal--quickview .product-detail-modal__content {
  overflow: hidden;
  height: 100%;
}

.product-detail-modal--quickview .product-detail-modal__close {
  top: 0.85rem;
  right: 0.85rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  color: #495057;
  font-size: 1.5rem;
  z-index: 2;
}

.catalog-quickview__layout {
  display: grid;
  grid-template-columns: 22rem minmax(0, 1fr);
  height: auto;
  min-height: 34rem;
  max-height: 94vh;
  align-items: stretch;
}

.catalog-quickview__visual {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 34rem;
  padding: 1.35rem 1.1rem 1.6rem;
  overflow: hidden;
  background: linear-gradient(165deg, #fdf6f2 0%, #f8e8ee 50%, #f0e4dc 100%);
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}

body[data-page="products"] .product-detail-modal--quickview .catalog-quickview__visual .kit-product-photo-frame {
  position: relative;
  inset: auto;
  display: grid;
  place-items: center;
  width: min(100%, 18rem);
  height: min(100%, 30rem);
  min-height: 0;
  margin: 0 auto;
  padding: 0;
  background: transparent;
}

body[data-page="products"] .product-detail-modal--quickview .catalog-quickview__visual .home-product-card__photo,
body[data-page="products"] .product-detail-modal--quickview .catalog-quickview__visual .kit-product-photo {
  position: relative;
  inset: auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 28rem;
  margin: 0 auto;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center center;
  transform: none;
  filter: drop-shadow(0 12px 24px rgba(31, 26, 28, 0.14));
}

body[data-page="products"] .product-detail-modal--quickview .catalog-quickview__visual {
  place-items: center;
  align-content: center;
}

body[data-page="products"] .product-detail-modal--quickview .catalog-quickview__visual .product-card__photo-fallback {
  position: relative;
  inset: auto;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
}

body[data-page="products"] .product-detail-modal--quickview .catalog-quickview__visual .product-card__photo-fallback.is-hidden,
body[data-page="products"] .product-detail-modal--quickview .catalog-quickview__visual .kit-product-photo-frame.is-hidden {
  display: none !important;
}

.catalog-quickview__details {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  max-height: 94vh;
  overflow: hidden;
  background: #fff;
}

.catalog-quickview__details-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.5rem 1.5rem 0.75rem;
  scrollbar-width: thin;
}

.catalog-quickview__details-footer {
  flex: 0 0 auto;
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1.5rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06);
  pointer-events: auto;
}

.catalog-quickview__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #868e96;
}

.catalog-quickview__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e03131;
  flex-shrink: 0;
}

.catalog-quickview__title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.2;
  color: #1a1a1a;
}

.catalog-quickview__desc {
  display: none;
}

.catalog-quickview__size-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.1rem;
}

.catalog-quickview__size-label {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #495057;
}

.catalog-quickview__stock-badge {
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #c92a2a;
  background: rgba(233, 88, 88, 0.1);
  border: 1px solid rgba(233, 88, 88, 0.2);
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  white-space: nowrap;
}

.catalog-quickview__sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.catalog-quickview__package {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}

.catalog-quickview__package-btn {
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  background: #fff;
  color: #1a1a1a;
  font: inherit;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.catalog-quickview__package-btn:hover {
  border-color: #1a1a1a;
}

.catalog-quickview__package-btn--active {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
}

.catalog-quickview__included {
  margin-top: 0;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: #faf9f8;
}

.catalog-quickview__included-title {
  margin: 0 0 0.45rem;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a1a1a;
}

.catalog-quickview__included-title span {
  color: #6c757d;
  font-weight: 700;
}

.catalog-quickview__included-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem 0.65rem;
}

.catalog-quickview__included-list li {
  position: relative;
  padding-left: 0.85rem;
  font-size: 0.68rem;
  line-height: 1.35;
  color: #343a40;
}

.catalog-quickview__included-list--single {
  grid-template-columns: 1fr;
}

.catalog-quickview__included-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #1a8a52;
  font-size: 0.62rem;
  font-weight: 700;
}

.catalog-quickview__size-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  min-width: 4.25rem;
  padding: 0.38rem 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.catalog-quickview__size-box:hover:not(:disabled) {
  border-color: #1a1a1a;
}

.catalog-quickview__size-box--active {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
}

.catalog-quickview__size-box--out {
  opacity: 0.45;
  cursor: not-allowed;
}

.catalog-quickview__size-mg {
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.1;
}

.catalog-quickview__size-price {
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 0.85;
}

.catalog-quickview__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.5rem;
  margin: 0;
}

.catalog-quickview__price {
  font-size: 1.55rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1;
}

.catalog-quickview__price-unit {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #868e96;
}

.catalog-quickview__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(5.5rem, 1fr));
  gap: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 0;
}

.catalog-quickview__stat {
  padding: 0.55rem 0.7rem;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.catalog-quickview__stat:last-child {
  border-right: 0;
}

.catalog-quickview__stat-label {
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: #868e96;
}

.catalog-quickview__stat-value {
  font-size: 0.68rem;
  font-weight: 800;
  color: #1a1a1a;
}

.catalog-quickview__stat-value--green {
  color: #2b8a3e;
}

.catalog-quickview__coa {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  margin-top: 0;
}

.catalog-quickview__coa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: #2b8a3e;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}

.catalog-quickview__coa-text {
  flex: 1;
  min-width: 0;
  font-size: 0.58rem;
  font-weight: 700;
  color: #495057;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.catalog-quickview__coa-link {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #495057;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.catalog-quickview__coa-link:hover {
  color: #1a1a1a;
}

.product-coa-note__btn.pdp-coa-link__btn.lab-results-coa-open {
  display: inline;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  color: var(--color-primary-dark);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.product-coa-note__btn:hover.pdp-coa-link__btn:hover.lab-results-coa-open:hover {
  color: var(--color-primary);
}

/* COA viewer popup */
body.coa-viewer-open {
  overflow: hidden;
}

.coa-viewer-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.coa-viewer-modal[hidden] {
  display: none;
}

.coa-viewer-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 26, 28, 0.72);
  backdrop-filter: blur(5px);
}

.coa-viewer-modal__panel {
  position: relative;
  width: min(56rem, calc(100vw - 1.5rem));
  max-height: min(92vh, 48rem);
  overflow: auto;
  padding: 1.25rem 1.2rem 1.15rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 88, 122, 0.22);
  box-shadow: 0 28px 72px rgba(31, 26, 28, 0.28);
}

.coa-viewer-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: var(--color-bg-warm);
  color: var(--color-text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.coa-viewer-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-right: 2.5rem;
}

.coa-viewer-modal__eyebrow {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.coa-viewer-modal__head h3 {
  margin: 0.2rem 0 0;
  font-size: 1.15rem;
}

.coa-viewer-modal__meta {
  margin: 0.25rem 0 0;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--color-success);
}

.coa-viewer-modal__pages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.coa-viewer-modal__page {
  margin: 0;
  padding: 0.55rem;
  border-radius: var(--radius-md);
  background: var(--color-bg-warm);
  border: 1px solid var(--color-border);
}

.coa-viewer-modal__page img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  background: #fff;
}

.coa-viewer-modal__page figcaption {
  margin-top: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  text-align: center;
}

.coa-viewer-modal__note {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  color: var(--color-muted);
  line-height: 1.45;
}

.coa-viewer-modal__done {
  width: 100%;
}

.coa-viewer-modal__empty {
  margin: 0;
  padding: 1.5rem;
  text-align: center;
  color: var(--color-muted);
}

@media (max-width: 40rem) {
  .coa-viewer-modal__pages {
    grid-template-columns: 1fr;
  }

  .coa-viewer-modal__head {
    flex-direction: column;
  }
}

.catalog-quickview__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  margin: 0;
}

.catalog-quickview__add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 8px;
  padding: 0.78rem 1rem;
  min-height: 2.65rem;
  background: #1a1a1a;
  color: #fff;
  font: inherit;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.catalog-quickview__add-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.catalog-quickview__add-btn--disabled.catalog-quickview__add-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.catalog-quickview__save-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  min-height: 2.65rem;
  background: #fff;
  color: #1a1a1a;
  font: inherit;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.catalog-quickview__full-page {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
  padding: 0.65rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: #f8f9fa;
  color: #495057;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-align: center;
}

.catalog-quickview__full-page:hover {
  border-color: #1a1a1a;
  color: #1a1a1a;
}

@media (max-width: 720px) {
  .product-detail-modal--quickview {
    align-items: flex-end;
    padding: 0;
  }

  .product-detail-modal--quickview .product-detail-modal__panel {
    width: 100%;
    max-width: 100%;
    height: min(94vh, 100dvh);
    max-height: min(94vh, 100dvh);
    min-height: 0;
    border-radius: 1rem 1rem 0 0;
    margin: 0;
  }

  .product-detail-modal--quickview .product-detail-modal__content,
  .product-detail-modal--quickview .catalog-quickview,
  .product-detail-modal--quickview .catalog-quickview__layout {
    height: 100%;
    min-height: 0;
    max-height: none;
  }

  .catalog-quickview__layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .catalog-quickview__visual {
    height: 11.5rem;
    min-height: 11.5rem;
    max-height: 11.5rem;
    width: 100%;
    padding: 0.85rem 1rem;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  body[data-page="products"] .product-detail-modal--quickview .catalog-quickview__visual .kit-product-photo-frame {
    width: min(100%, 9.5rem);
    height: min(100%, 9.5rem);
  }

  body[data-page="products"] .product-detail-modal--quickview .catalog-quickview__visual .home-product-card__photo,
  body[data-page="products"] .product-detail-modal--quickview .catalog-quickview__visual .kit-product-photo {
    max-width: 100%;
    max-height: 9rem;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  .catalog-quickview__details {
    min-height: 0;
    height: 100%;
    max-height: none;
  }

  .catalog-quickview__details-body {
    padding: 1rem 1rem 0.5rem;
    gap: 0.7rem;
  }

  .catalog-quickview__details-footer {
    position: sticky;
    bottom: 0;
    z-index: 6;
    padding: 0.85rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
    gap: 0.65rem;
  }

  .catalog-quickview__add-btn,
  .catalog-quickview__save-btn {
    min-height: 2.85rem;
    pointer-events: auto;
    position: relative;
    z-index: 7;
  }

  .catalog-quickview__included-list {
    grid-template-columns: 1fr;
  }

  .catalog-quickview__stats {
    grid-template-columns: 1fr;
  }

  .catalog-quickview__stat {
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .catalog-quickview__stat:last-child {
    border-bottom: 0;
  }
}

body[data-page="products"] .product-card__visual-slot {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

body[data-page="products"] .home-product-card .home-product-card__photo,
body[data-page="products"] .home-product-card .kit-product-photo {
  width: 76%;
  height: 88%;
  max-width: 76%;
  max-height: 88%;
}

body[data-page="products"] .home-product-card__body.product-card__panel {
  padding: 0.65rem 0.8rem 0.8rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Payment brand logos (GoTyme, GCash, Maya, BDO, BPI) */
.payment-brand-logos {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: var(--space-md);
  min-height: 2.5rem;
}

.payment-brand-logos img {
  height: 2.2rem;
  width: auto;
  max-width: 7rem;
  object-fit: contain;
  display: block;
}

.payment-brand-logos--single img {
  height: 2.55rem;
  max-width: 8.5rem;
}

.payment-brand-logos--hero {
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: var(--space-md);
}

.payment-brand-logos--hero img {
  height: 1.9rem;
  max-width: 5.5rem;
  padding: 0.35rem 0.55rem;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.home-pay-card .payment-brand-logos {
  justify-content: center;
  width: 100%;
}

.payment-brand-logos--pay-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
  min-height: 4.5rem;
  margin-bottom: 1.15rem;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.payment-brand-logos__slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8.25rem;
  height: 3.15rem;
  padding: 0.35rem 0.5rem;
  flex-shrink: 0;
}

.payment-brand-logos--pay-card .payment-brand-logos__slot img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
}

.home-pay-card--gotyme .payment-brand-logos__slot {
  width: 9rem;
  height: 3.35rem;
}

.pay-method-card--gotyme {
  border-color: rgba(212, 88, 122, 0.22);
  background: linear-gradient(180deg, rgba(212, 88, 122, 0.05) 0%, #fff 50%);
}

/* ================================================================== */
/* Products listing - PeptideX layout                                   */
/* ================================================================== */

body[data-page="products"] .products-catalog {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-3xl);
  max-width: 72rem;
}

/* Before You Order - friendly tool cards */
body[data-page="products"] .before-order {
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: linear-gradient(135deg, #fff 0%, #fdf6f2 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

body[data-page="products"] .before-order__head {
  margin-bottom: 1.15rem;
}

body[data-page="products"] .before-order__eyebrow {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
}

body[data-page="products"] .before-order h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 800;
  color: #1a1a1a;
}

body[data-page="products"] .before-order__lead {
  margin: 0;
  max-width: 42rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #495057;
}

body[data-page="products"] .before-order__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

body[data-page="products"] .before-order__card {
  display: grid;
  grid-template-rows: auto minmax(5.25rem, 1fr) auto 1.2rem;
  gap: 0;
  min-height: 100%;
  padding: 1.15rem 1.2rem 1.1rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body[data-page="products"] .before-order__card:hover {
  border-color: rgba(0, 0, 0, 0.14);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

body[data-page="products"] .before-order__card-top {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

body[data-page="products"] .before-order__card-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 4.25rem;
  margin-bottom: 0.1rem;
}

body[data-page="products"] .before-order__card-icon {
  display: block;
  object-fit: contain;
  object-position: left center;
}

body[data-page="products"] .before-order__card-icon--bmi {
  height: 4rem;
  width: auto;
  max-width: 4rem;
}

body[data-page="products"] .before-order__card-icon--recon {
  height: 3.35rem;
  width: auto;
  max-width: 8.5rem;
}

body[data-page="products"] .before-order__card-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 0.5rem;
}

body[data-page="products"] .before-order__card-actions {
  display: flex;
  align-items: center;
  padding-top: 0.75rem;
}

body[data-page="products"] .before-order__card-result {
  margin: 0;
  min-height: 1.2rem;
  padding-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-primary-dark);
}

body[data-page="products"] .before-order__card-result:empty {
  visibility: hidden;
}

body[data-page="products"] .before-order__card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #1a1a1a;
}

body[data-page="products"] .before-order__card p,
body[data-page="products"] .before-order__hint {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #868e96;
}

body[data-page="products"] .before-order__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  width: 100%;
}

body[data-page="products"] .before-order__card .form-group label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #495057;
}

body[data-page="products"] .before-order__card .form-group input {
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  font: inherit;
  font-size: 0.82rem;
  background: #fdf6f2;
}

body[data-page="products"] .before-order__card .form-group input:focus {
  outline: 2px solid rgba(0, 0, 0, 0.12);
  outline-offset: 1px;
  border-color: rgba(0, 0, 0, 0.2);
}

body[data-page="products"] .before-order__action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 9.5rem;
  padding: 0.58rem 1.1rem;
  border: 0;
  border-radius: 8px;
  background: #1a1a1a;
  color: #fff;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

body[data-page="products"] .before-order__action-btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

body[data-page="products"] .products-listing {
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 2rem;
  row-gap: 1.25rem;
  align-items: start;
}

body[data-page="products"] .products-listing__search-col {
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: start;
  width: 40%;
  max-width: 40%;
  padding-right: 0;
}

body[data-page="products"] .products-listing__meta-col {
  grid-column: 2;
  grid-row: 1;
  z-index: 1;
  justify-self: end;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  min-height: 2.65rem;
}

body[data-page="products"] .products-listing__search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 2.65rem;
  padding: 0 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background: #fff;
}

body[data-page="products"] .products-listing__search-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: #868e96;
}

body[data-page="products"] .products-listing__search-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

body[data-page="products"] .products-listing__search-input {
  flex: 1;
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.84rem;
  color: #1a1a1a;
}

body[data-page="products"] .products-listing__search-input::placeholder {
  color: #adb5bd;
}

body[data-page="products"] .products-listing__search-input:focus {
  outline: none;
}

body[data-page="products"] .products-listing__meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-shrink: 0;
}

body[data-page="products"] .products-refine {
  grid-column: 1;
  grid-row: 2;
  position: sticky;
  top: calc(var(--site-top-offset, 5rem) + 1rem);
  padding: 0;
  background: transparent;
  border: 0;
}

body[data-page="products"] .products-listing__grid-col {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  padding-top: 2.1rem;
}

body[data-page="products"] .products-refine__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #1a1a1a;
}

body[data-page="products"] .products-refine__title-mark {
  width: 7px;
  height: 7px;
  background: #e03131;
  flex-shrink: 0;
}

body[data-page="products"] .products-refine__block + .products-refine__block {
  margin-top: 1.35rem;
  padding-top: 0;
  border-top: 0;
}

body[data-page="products"] .products-refine__label {
  margin: 0 0 0.65rem;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #868e96;
}

body[data-page="products"] .products-refine__list,
body[data-page="products"] .products-refine__checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

body[data-page="products"] .products-refine__cat-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 0.48rem 0.7rem;
  background: transparent;
  color: #495057;
  font: inherit;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

body[data-page="products"] .products-refine__cat-name {
  flex: 1;
  min-width: 0;
}

body[data-page="products"] .products-refine__cat-count {
  flex-shrink: 0;
  font-size: 0.6rem;
  font-weight: 700;
  color: #adb5bd;
}

body[data-page="products"] .products-refine__cat-btn:hover {
  background: #f8f9fa;
  color: #1a1a1a;
}

body[data-page="products"] .products-refine__cat-btn--active {
  background: #1a1a1a;
  color: #fff;
}

body[data-page="products"] .products-refine__cat-btn--active .products-refine__cat-count {
  color: rgba(255, 255, 255, 0.65);
}

body[data-page="products"] .products-refine__check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #495057;
  cursor: pointer;
}

body[data-page="products"] .products-refine__check input {
  accent-color: #1a1a1a;
}

body[data-page="products"] .products-listing__counts {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #868e96;
  white-space: nowrap;
}

body[data-page="products"] .products-listing__sort-select {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  color: #495057;
  background: #fff;
  cursor: pointer;
}

body[data-page="products"] .px-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

body[data-page="products"] .px-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s ease, box-shadow 0.28s ease;
}

body[data-page="products"] .px-product-card[hidden],
body[data-page="products"] .px-product-card.px-product-card--filtered-out {
  display: none !important;
}

body[data-page="products"] .px-product-card:hover {
  transform: scale(1.03);
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

body[data-page="products"] .px-product-card__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 11.5rem;
  padding: 0;
  background: linear-gradient(165deg, #fdf6f2 0%, #f8e8ee 50%, #f0e4dc 100%);
}

body[data-page="products"] .px-product-card__image-link {
  position: absolute;
  inset: 0;
  display: block;
  color: inherit;
  text-decoration: none;
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
  text-align: inherit;
}

body[data-page="products"] .px-product-card__image-slot {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.35rem 1.1rem 1.1rem;
  pointer-events: none;
}

body[data-page="products"] .px-product-card__image-slot .kit-product-photo-frame {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
}

body[data-page="products"] .px-product-card__image-slot .home-product-card__photo,
body[data-page="products"] .px-product-card__image-slot .kit-product-photo {
  width: auto;
  height: auto;
  max-width: 78%;
  max-height: 86%;
  object-fit: contain;
  object-position: center center;
  filter: drop-shadow(0 8px 18px rgba(31, 26, 28, 0.12));
}

body[data-page="products"] .px-product-card__hot {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.45rem;
  background: #1a1a1a;
  color: #fff;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  border-radius: 4px;
}

body[data-page="products"] .px-product-card__sale {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.45rem;
  background: var(--color-primary-dark);
  color: #fff;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  border-radius: 4px;
}

body[data-page="products"] .px-product-card__hot + .px-product-card__sale {
  left: auto;
  right: 0.55rem;
  top: 2.15rem;
}

body[data-page="products"] .px-product-card__sku {
  margin: 0.15rem 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #868e96;
}

body[data-page="products"] .px-product-card__price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  text-align: right;
}

body[data-page="products"] .px-product-card__price-wrap {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.25rem 0.4rem;
}

body[data-page="products"] .px-product-card__price-was,
.catalog-quickview__price-was,
.home-product-card__price-was,
.pdp-hero__price-was,
.product-price__was {
  font-size: 0.82em;
  font-weight: 600;
  color: #868e96;
  text-decoration: line-through;
}

body[data-page="products"] .px-product-card__price-wrap .product-price__badge,
.catalog-quickview__price-wrap .product-price__badge,
.home-product-card__price-wrap .product-price__badge,
.pdp-hero__price-wrap .product-price__badge,
.product-price__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: rgba(212, 88, 122, 0.12);
  color: var(--color-primary-dark);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.catalog-quickview__price-wrap,
.home-product-card__price-wrap,
.pdp-hero__price-wrap,
.product-price {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.45rem;
}

.pdp-hero__sku {
  margin: 0.15rem 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-muted);
}

body[data-page="products"] .px-product-card__hot-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e03131;
}

body[data-page="products"] .px-product-card__category {
  position: absolute;
  top: 0.6rem;
  right: 0.55rem;
  z-index: 2;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #868e96;
}

body[data-page="products"] .px-product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
  padding: 0.9rem 1rem 1rem;
}

body[data-page="products"] .px-product-card__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

body[data-page="products"] .px-product-card__name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  color: #1a1a1a;
}

body[data-page="products"] .px-product-card__price {
  font-size: 0.95rem;
  font-weight: 800;
  color: #1a1a1a;
  white-space: nowrap;
}

body[data-page="products"] .px-product-card__desc {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.45;
  color: #868e96;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body[data-page="products"] .px-product-card__sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

body[data-page="products"] .px-product-card__size-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  padding: 0.3rem 0.55rem;
  background: #f8f9fa;
  color: #495057;
  font: inherit;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: border-color 0.18s ease;
}

body[data-page="products"] .px-product-card__size-dot {
  color: #adb5bd;
  font-size: 0.7rem;
  line-height: 1;
}

body[data-page="products"] .px-product-card__size-dot--active {
  color: #2b8a3e;
}

body[data-page="products"] .px-product-card__size-num {
  transition: color 0.18s ease;
}

body[data-page="products"] .px-product-card__size-chip:hover {
  border-color: #1a1a1a;
}

body[data-page="products"] .px-product-card__size-chip:hover .px-product-card__size-num {
  color: #e03131;
}

body[data-page="products"] .px-product-card__status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

body[data-page="products"] .px-product-card__stock {
  color: #2b8a3e;
}

body[data-page="products"] .px-product-card__stock--low-stock {
  color: #e67700;
}

body[data-page="products"] .px-product-card__stock--out-of-stock {
  color: #868e96;
}

body[data-page="products"] .px-product-card__bought {
  color: #e67700;
  white-space: nowrap;
}

body[data-page="products"] .px-product-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  margin-top: auto;
  padding: 0.62rem 0.85rem;
  border: 0;
  border-radius: 8px;
  background: #1a1a1a;
  color: #fff;
  font: inherit;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

body[data-page="products"] .px-product-card__cta:hover:not(:disabled) {
  transform: translateY(-1px);
}

body[data-page="products"] .px-product-card__cta--disabled,
body[data-page="products"] .px-product-card__cta:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (min-width: 900px) {
  body[data-page="products"] .px-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

@media (min-width: 1200px) {
  body[data-page="products"] .products-listing {
    column-gap: 2.25rem;
  }
}

@media (max-width: 900px) {
  body[data-page="products"] .before-order__grid {
    grid-template-columns: 1fr;
  }

  body[data-page="products"] .products-listing {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    column-gap: 0;
    row-gap: 1rem;
  }

  body[data-page="products"] .products-listing__search-col {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-width: 100%;
    padding-right: 0;
  }

  body[data-page="products"] .products-listing__meta-col {
    grid-column: 1;
    grid-row: 2;
    justify-content: flex-end;
  }

  body[data-page="products"] .products-refine {
    grid-column: 1;
    grid-row: 3;
    position: static;
  }

  body[data-page="products"] .products-listing__grid-col {
    grid-column: 1;
    grid-row: 4;
    padding-top: 0;
  }
}

@media (max-width: 560px) {
  body[data-page="products"] .px-product-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="products"] .before-order__fields {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------ */
/*  Home hero redesign - brand-first first impression                 */
/* ------------------------------------------------------------------ */

@keyframes home-hero-rise {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes home-hero-kenburns {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

@keyframes home-hero-scroll-pulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.65); }
  50% { opacity: 0.95; transform: scaleY(1); }
}

body[data-page="home"] .home-hero {
  --home-hero-pad-x: clamp(1.25rem, 4vw, 2.5rem);
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: calc(100svh - var(--site-top-offset, 5.5rem));
  min-height: calc(100dvh - var(--site-top-offset, 5.5rem));
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: clamp(3.5rem, 9vh, 5.5rem) var(--home-hero-pad-x) clamp(3.25rem, 8vh, 4.75rem);
  overflow: hidden;
  color: #fff;
  background: #120d10;
  text-align: center;
}

body[data-page="home"] .home-hero__kit-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  overflow: hidden;
  background: none;
}

body[data-page="home"] .home-hero__kit-bg-photo {
  position: absolute;
  inset: -2%;
  display: block;
  background-image: url("../images/brand/peplush-kit-hero.png");
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  animation: home-hero-kenburns 18s ease-out both;
  will-change: transform;
}

body[data-page="home"] .home-hero__kit-bg-veil {
  position: absolute;
  inset: 0;
  display: block;
  background:
    radial-gradient(ellipse 55% 50% at 50% 42%, rgba(18, 10, 14, 0.28) 0%, transparent 72%),
    linear-gradient(
      180deg,
      rgba(10, 7, 9, 0.55) 0%,
      rgba(10, 7, 9, 0.28) 32%,
      rgba(10, 7, 9, 0.42) 58%,
      rgba(12, 8, 10, 0.82) 100%
    );
  pointer-events: none;
}

body[data-page="home"] .home-hero__grid,
body[data-page="home"] .home-hero__glow,
body[data-page="home"] .home-hero__badge,
body[data-page="home"] .home-hero__trust,
body[data-page="home"] .home-hero__featured,
body[data-page="home"] .home-hero__ticker-wrap {
  display: none !important;
}

body[data-page="home"] .home-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%, 44rem);
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

body[data-page="home"] .home-hero__eyebrow {
  margin: 0 0 1.1rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 236, 244, 0.78);
  animation: home-hero-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body[data-page="home"] .home-hero__logo {
  margin: 0;
  animation: home-hero-rise 0.9s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body[data-page="home"] .peplush-wordmark {
  font-size: clamp(3.75rem, 14vw, 7.25rem);
  line-height: 0.86;
  letter-spacing: -0.025em;
}

body[data-page="home"] .peplush-wordmark__pep {
  color: #fff;
  text-shadow:
    0 2px 28px rgba(0, 0, 0, 0.45),
    0 8px 48px rgba(212, 88, 122, 0.35);
}

body[data-page="home"] .peplush-wordmark__lush {
  background: linear-gradient(135deg, #ff8eb8 0%, #ff4f93 45%, #e91e8c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 28px rgba(233, 30, 140, 0.45));
}

body[data-page="home"] .peplush-wordmark__tagline {
  margin: 0.85rem 0 0;
  font-size: clamp(0.7rem, 1.8vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
  animation: home-hero-rise 0.9s 0.14s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body[data-page="home"] .home-hero__lead {
  margin: 1.15rem auto 0;
  max-width: 26rem;
  font-size: clamp(1.02rem, 2.3vw, 1.2rem);
  font-weight: 450;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
  animation: home-hero-rise 0.95s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body[data-page="home"] .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.65rem 0 0;
  animation: home-hero-rise 1s 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body[data-page="home"] .home-hero__cta {
  min-width: 10.5rem;
  box-shadow:
    0 10px 32px rgba(212, 88, 122, 0.42),
    0 2px 0 rgba(255, 255, 255, 0.18) inset;
}

body[data-page="home"] .home-hero__cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 40px rgba(212, 88, 122, 0.5),
    0 2px 0 rgba(255, 255, 255, 0.2) inset;
}

body[data-page="home"] .home-hero__btn-secondary {
  min-width: 10.5rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body[data-page="home"] .home-hero__btn-secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

body[data-page="home"] .home-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.15rem;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 1.5rem;
  height: 2.35rem;
  margin: 0;
  padding: 0.35rem 0 0;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  transform: translateX(-50%);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

body[data-page="home"] .home-hero__scroll:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

body[data-page="home"] .home-hero__scroll-line {
  display: block;
  width: 0.18rem;
  height: 0.7rem;
  border-radius: 999px;
  background: #fff;
  transform-origin: top center;
  animation: home-hero-scroll-pulse 1.8s ease-in-out infinite;
}

/* Featured kit + themes - below first fold */
.home-spotlight {
  position: relative;
  z-index: 2;
  margin-top: -1.75rem;
  padding: 0 0 clamp(1.5rem, 4vw, 2.25rem);
}

.home-spotlight__inner {
  display: grid;
  gap: 1rem;
}

.home-spotlight__card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem 1.15rem;
  padding: 1rem 1.15rem;
  border-radius: 1.15rem;
  background: rgba(255, 251, 252, 0.94);
  border: 1px solid rgba(196, 70, 104, 0.18);
  box-shadow:
    0 18px 50px rgba(88, 28, 48, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-spotlight__card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 88, 122, 0.4);
  box-shadow: 0 22px 56px rgba(146, 45, 77, 0.16);
}

.home-spotlight__visual {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 0.85rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 40% 30%, rgba(255, 182, 208, 0.45), transparent 55%),
    linear-gradient(160deg, #fff 0%, #fce8ef 100%);
  display: grid;
  place-items: center;
}

.home-spotlight__photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.35rem;
}

.home-spotlight__copy {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
  text-align: left;
}

.home-spotlight__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.home-spotlight__name {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.2;
}

.home-spotlight__meta {
  font-size: 0.88rem;
  color: var(--color-muted);
}

.home-spotlight__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 650;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(212, 88, 122, 0.28);
}

.home-spotlight__ticker-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(196, 70, 104, 0.16);
  background: rgba(255, 251, 252, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.55rem 0;
}

.home-spotlight__ticker-wrap::before,
.home-spotlight__ticker-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2.5rem;
  z-index: 1;
  pointer-events: none;
}

.home-spotlight__ticker-wrap::before {
  left: 0;
  background: linear-gradient(90deg, rgba(253, 240, 244, 0.98), transparent);
}

.home-spotlight__ticker-wrap::after {
  right: 0;
  background: linear-gradient(270deg, rgba(253, 240, 244, 0.98), transparent);
}

.home-spotlight__ticker {
  display: flex;
  width: max-content;
  gap: 0.65rem;
  animation: home-ticker-scroll 48s linear infinite;
}

.home-spotlight__ticker:hover {
  animation-play-state: paused;
}

.home-spotlight__ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(196, 70, 104, 0.14);
  color: var(--color-muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

.home-spotlight__ticker-tag {
  display: inline-flex;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(212, 88, 122, 0.12);
  color: var(--color-primary-dark);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

@keyframes home-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-25%); }
}

@media (max-width: 720px) {
  body[data-page="home"] .home-hero {
    min-height: calc(100svh - var(--site-top-offset, 4.25rem));
    padding-top: clamp(3rem, 8vh, 4.5rem);
    padding-bottom: clamp(3.5rem, 10vh, 5rem);
  }

  body[data-page="home"] .home-hero__kit-bg-photo {
    background-position: 62% center;
  }

  body[data-page="home"] .home-hero__actions {
    width: 100%;
  }

  body[data-page="home"] .home-hero__cta,
  body[data-page="home"] .home-hero__btn-secondary {
    flex: 1 1 10rem;
  }

  .home-spotlight__card {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "visual copy"
      "cta cta";
  }

  .home-spotlight__visual { grid-area: visual; }
  .home-spotlight__copy { grid-area: copy; }
  .home-spotlight__cta {
    grid-area: cta;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .home-hero__kit-bg-photo,
  body[data-page="home"] .home-hero__eyebrow,
  body[data-page="home"] .home-hero__logo,
  body[data-page="home"] .peplush-wordmark__tagline,
  body[data-page="home"] .home-hero__lead,
  body[data-page="home"] .home-hero__actions,
  body[data-page="home"] .home-hero__scroll-line,
  .home-spotlight__ticker {
    animation: none !important;
  }

  body[data-page="home"] .home-hero__kit-bg-photo {
    transform: none;
  }
}

/* ------------------------------------------------------------------ */
/*  GLOBAL MOBILE RESPONSIVE PASS (all pages / dimensions)            */
/* ------------------------------------------------------------------ */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img,
video,
canvas {
  max-width: 100%;
  height: auto;
}

/* Do NOT force svg { height: auto } — it squashes header icons and UI glyphs */

iframe,
embed,
object {
  max-width: 100%;
}

table {
  max-width: 100%;
}

.container,
.container--narrow,
.header-inner,
.page-hero,
main,
section {
  max-width: 100%;
}

/* Prevent accidental horizontal scroll from long unbroken strings on small screens */
@media (max-width: 767px) {
  body,
  main,
  .container {
    overflow-wrap: anywhere;
  }
}

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

  .calc-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calc-readout__stats {
    grid-template-columns: 1fr;
  }

  .calc-readout__actions {
    grid-template-columns: 1fr;
  }

  .lab-results-detail__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  :root {
    --space-xl: 1.75rem;
    --space-2xl: 2.75rem;
    --space-3xl: 3.5rem;
  }

  .page-hero {
    padding: var(--space-xl) var(--space-md);
  }

  .page-hero p,
  .section-subtitle {
    max-width: 100%;
  }

  /* Header: keep hamburger reserved + visible on every page */
  .site-header {
    overflow: visible !important;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto 2.75rem !important;
    overflow: visible !important;
  }

  .header-utils__btn,
  .header-utils__signin {
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
    min-height: 2.25rem;
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .header-utils__signin {
    border-radius: 50%;
    gap: 0;
  }

  .nav-toggle {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 2.65rem !important;
    height: 2.65rem !important;
    min-width: 2.65rem !important;
    min-height: 2.65rem !important;
    padding: 0.4rem;
    z-index: 400 !important;
    position: relative;
    flex-shrink: 0 !important;
  }

  .nav-toggle__bar {
    display: block !important;
    width: 1.2rem !important;
    height: 2px !important;
    margin: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    background: var(--color-text) !important;
  }

  .header-utils__checkout,
  .header-utils__notif-wrap,
  .header-utils__btn#header-wishlist-btn,
  .header-utils__btn#header-search-btn {
    display: none !important;
  }

  .header-utils__auth {
    min-width: 0 !important;
    max-width: 2.25rem;
  }

  .brand-logo__image--header {
    max-width: min(8.5rem, 38vw);
  }

  .calc-choice-grid {
    grid-template-columns: 1fr;
  }

  .calc-chip,
  .calc-chip--rect,
  .calc-unit-toggle__btn {
    min-height: 2.75rem;
  }

  .filter-btn,
  .faq-pill,
  .contact-category-pill span {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1rem;
  }

  .faq-item__toggle,
  .auth-modal__close,
  .coa-viewer-modal__close,
  .pdp-lightbox__close,
  .product-detail-modal__close,
  .search-modal__close,
  .account-delivery-banner__dismiss {
    width: 2.75rem !important;
    height: 2.75rem !important;
    min-width: 2.75rem;
    min-height: 2.75rem;
  }

  .account-tabs__btn {
    min-height: 2.75rem;
    padding: 0.65rem 1rem;
  }

  body[data-page="order"] .order-qty__btn,
  body[data-page="order"] .order-cart-item__remove {
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
  }

  body[data-page="order"] .order-qty {
    overflow: visible;
  }

  body[data-page="order"] .order-wizard__nav {
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  body[data-page="order"] .order-wizard__nav .btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  body[data-page="home"] .peplush-wordmark {
    font-size: clamp(2.85rem, 13vw, 4.25rem);
  }

  body[data-page="home"] .peplush-wordmark__tagline {
    letter-spacing: 0.28em;
    text-indent: 0.28em;
    padding-inline: 0.75rem;
  }

  body[data-page="home"] .home-hero__actions {
    width: 100%;
  }

  body[data-page="home"] .home-hero__cta,
  body[data-page="home"] .home-hero__btn-secondary {
    flex: 1 1 100%;
    width: 100%;
  }

  body[data-page="home"] .home-hero__trust {
    grid-template-columns: 1fr;
    width: min(100%, 22rem);
    border-radius: 1rem;
  }

  .home-products-grid,
  .product-grid,
  .px-product-grid {
    grid-template-columns: 1fr !important;
  }

  .home-confidence-grid,
  .home-value-props__grid,
  .home-docs-grid {
    grid-template-columns: 1fr !important;
  }

  .contact-layout {
    grid-template-columns: 1fr !important;
  }

  .faq-layout,
  .faq-shell {
    grid-template-columns: 1fr !important;
  }

  .catalog-quickview__stats,
  .catalog-quickview__included-list,
  .catalog-quickview__actions {
    grid-template-columns: 1fr !important;
  }

  .catalog-quickview__layout {
    grid-template-columns: 1fr !important;
  }

  .lab-results-detail__grid,
  .lab-results-library__grid,
  .lab-results-coa-docs {
    grid-template-columns: 1fr !important;
  }

  .account-feature-grid,
  .account-stat-grid,
  .account-header__cards {
    grid-template-columns: 1fr !important;
  }

  .bmi-form .form-row,
  .before-order .form-row,
  .before-order__grid,
  .before-order__fields {
    grid-template-columns: 1fr !important;
  }

  .table-wrap,
  .overflow-x,
  [data-scroll="x"] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 599px) {
  body[data-page="order"] .order-wizard__progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.25rem;
    overflow: visible;
  }

  body[data-page="order"] .order-wizard__progress-item {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.35rem 0.15rem;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  body[data-page="order"] .order-wizard__step-label {
    display: none;
  }

  body[data-page="order"] .order-wizard__step-num {
    margin-inline: auto;
  }

  body[data-page="order"] .order-checkout__layout,
  body[data-page="order"] .order-checkout {
    grid-template-columns: 1fr !important;
  }

  body[data-page="order"] .order-payment-option,
  body[data-page="order"] .order-delivery-option {
    align-items: flex-start;
  }

  .home-jump-nav__inner {
    margin-inline: 0;
    padding-inline: var(--space-md);
  }

  body[data-page="home"] .peplush-wordmark__tagline {
    letter-spacing: 0.2em;
    text-indent: 0;
  }

  .section-title,
  .page-hero h1,
  .contact-panel__title {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 480px) {
  .calc-choice-grid {
    grid-template-columns: 1fr !important;
  }

  .calc-readout {
    padding: 1rem 0.95rem 0.9rem;
  }

  .calc-readout__big {
    font-size: clamp(2rem, 12vw, 2.6rem);
  }

  body[data-page="home"] .peplush-wordmark {
    font-size: clamp(2.45rem, 14vw, 3.25rem);
  }

  body[data-page="home"] .home-hero {
    min-height: calc(100svh - var(--site-top-offset, 4.25rem));
    padding-inline: 1rem;
  }

  body[data-page="home"] .home-hero__lead {
    font-size: 0.98rem;
  }

  .home-spotlight__card {
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
  }

  .home-spotlight__cta {
    width: 100%;
    justify-content: center;
  }

  .catalog-quickview__sizes {
    grid-template-columns: 1fr !important;
  }

  .auth-modal__panel,
  .search-modal__panel {
    width: min(100vw - 1rem, 100%);
    max-width: 100%;
    margin: 0.5rem;
  }

  .product-detail-modal:not(.product-detail-modal--quickview) .product-detail-modal__panel {
    width: min(100vw - 1rem, 100%);
    max-width: 100%;
    margin: 0.5rem;
  }

  .product-detail-modal--quickview .product-detail-modal__panel {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .btn {
    min-height: 2.75rem;
  }

  .header-utils__checkout {
    display: none;
  }
}

@media (max-width: 380px) {
  .brand-logo__image--header {
    max-width: min(7rem, 34vw);
  }

  .header-utils {
    gap: 0;
  }

  .header-utils__btn,
  .header-utils__signin {
    width: 2.1rem;
    height: 2.1rem;
    min-width: 2.1rem;
    min-height: 2.1rem;
  }

  .nav-toggle {
    width: 2.5rem !important;
    height: 2.5rem !important;
    min-width: 2.5rem !important;
    min-height: 2.5rem !important;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto 2.6rem !important;
    padding-inline: 0.65rem;
  }

  body[data-page="order"] .order-payment-option__body,
  body[data-page="order"] .order-delivery-option__body {
    min-width: 0;
  }

  .contact-category-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .contact-category-pill span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* Safe areas for notched phones */
@supports (padding: max(0px)) {
  @media (max-width: 767px) {
    .site-header .header-inner {
      padding-left: max(0.75rem, env(safe-area-inset-left));
      padding-right: max(3.5rem, calc(env(safe-area-inset-right) + 2.85rem));
    }

    .container,
    .page-hero {
      padding-left: max(1rem, env(safe-area-inset-left));
      padding-right: max(1rem, env(safe-area-inset-right));
    }

    body {
      padding-bottom: env(safe-area-inset-bottom);
    }
  }
}

/* ------------------------------------------------------------------ */
/*  MOBILE NAV TOGGLE — final failsafe (must stay last in this file)  */
/*  Pin the hamburger so crowded utils / overflow can never hide it.  */
/* ------------------------------------------------------------------ */
@media (max-width: 767px) {
  .site-header {
    overflow: visible !important;
  }

  .header-inner {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "logo utils"
      "nav nav" !important;
    padding-right: 3.5rem !important;
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
  }

  .header-actions {
    display: contents !important;
  }

  .logo-link {
    grid-area: logo !important;
  }

  .header-utils {
    grid-area: utils !important;
    justify-self: end !important;
  }

  .site-nav {
    grid-area: nav !important;
  }

  .header-utils__checkout,
  .header-utils__notif-wrap,
  .header-utils__btn#header-wishlist-btn,
  .header-utils__btn#header-search-btn,
  .header-utils__signin-label,
  .header-utils__user-label {
    display: none !important;
  }

  .header-utils__auth {
    min-width: 0 !important;
    width: auto !important;
  }

  /* Sign In: same plain icon treatment as cart (no circle border / pill) */
  .header-utils__signin {
    width: 2.25rem !important;
    height: 2.25rem !important;
    min-width: 2.25rem !important;
    min-height: 2.25rem !important;
    padding: 0 !important;
    gap: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--color-text, #2a1520) !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .header-utils__signin svg {
    width: 1.15rem !important;
    height: 1.15rem !important;
  }

  .header-utils__signin:hover,
  .header-utils__signin:focus-visible {
    background: rgba(244, 184, 202, 0.35) !important;
    border: none !important;
    box-shadow: none !important;
  }

  .header-utils__btn--user {
    width: 2.25rem !important;
    height: 2.25rem !important;
    min-width: 2.25rem !important;
    min-height: 2.25rem !important;
    padding: 0 !important;
  }

  button.nav-toggle,
  .nav-toggle {
    position: absolute !important;
    top: 0.45rem !important;
    right: 0.55rem !important;
    left: auto !important;
    bottom: auto !important;
    grid-area: unset !important;
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    width: 2.65rem !important;
    height: 2.65rem !important;
    min-width: 2.65rem !important;
    min-height: 2.65rem !important;
    max-width: 2.65rem !important;
    margin: 0 !important;
    padding: 0.4rem !important;
    z-index: 500 !important;
    background: var(--color-surface, #fff) !important;
    border: 1px solid var(--color-border, #e8c9d4) !important;
    border-radius: var(--radius-sm, 0.5rem) !important;
    color: var(--color-text, #2a1520) !important;
    box-shadow: 0 1px 4px rgba(146, 45, 77, 0.12) !important;
    cursor: pointer !important;
    transform: none !important;
  }

  button.nav-toggle .nav-toggle__bar,
  .nav-toggle .nav-toggle__bar,
  .nav-toggle__bar {
    display: block !important;
    width: 1.2rem !important;
    height: 2px !important;
    min-height: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    border-radius: 1px !important;
    background: currentColor !important;
    flex-shrink: 0 !important;
  }
}

@media (max-width: 380px) {
  .header-inner {
    padding-right: 3.25rem !important;
  }

  button.nav-toggle,
  .nav-toggle {
    top: 0.4rem !important;
    right: 0.4rem !important;
    width: 2.5rem !important;
    height: 2.5rem !important;
    min-width: 2.5rem !important;
    min-height: 2.5rem !important;
  }
}

/* Kit Docs: prevent huge protocol sheet images from stretching the page */
@media (max-width: 767px) {
  body[data-page="lab-results"] .lab-results-hero__stack {
    max-width: 13.5rem !important;
    height: 14rem !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  body[data-page="lab-results"] .lab-results-hero__sheet {
    width: 9.5rem !important;
    height: 12.5rem !important;
    max-height: 12.5rem !important;
    object-fit: cover !important;
  }

  body[data-page="lab-results"] .lab-results-library-card__media img,
  body[data-page="lab-results"] .lab-results-doc-thumb img {
    height: 100% !important;
    max-height: 12rem !important;
    object-fit: cover !important;
  }

  body[data-page="lab-results"] .lab-results-coa-panel__preview img,
  body[data-page="lab-results"] .lab-results-coa-panel__preview--coa-pages img {
    max-height: 14rem !important;
    height: auto !important;
    object-fit: contain !important;
  }

  /* Keep utility SVG icons square (not collapsed by height:auto) */
  .header-utils__btn svg,
  .header-utils__signin svg,
  .header-utils__btn--user svg {
    width: 1.2rem !important;
    height: 1.2rem !important;
    max-width: none !important;
    flex-shrink: 0 !important;
  }

  /* Mobile menu: same list style for active page (never a big pink button) */
  .site-nav.nav--open .nav-link,
  .site-nav.nav--open .nav-link--active {
    width: 100% !important;
    border-radius: 0.75rem !important;
    box-shadow: none !important;
  }

  .site-nav.nav--open .nav-link--active {
    color: var(--color-primary-dark) !important;
    background: rgba(212, 88, 122, 0.12) !important;
    border: 1px solid rgba(212, 88, 122, 0.22) !important;
  }
}
