/* ============================================================
   Ascension Healthcare — packaging design system
   Multi-product gradients from Ascension Healthcare boxes
   ============================================================ */

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

/* ── Variables — light clinical palette ────────────────────── */
:root {
  /* Global brand: Retatrutide indigo → violet */
  --primary:        #4A56C8;
  --primary-mid:    #5B4DB8;
  --primary-dark:   #3A45B0;
  --primary-soft:   #5B67D4;
  --primary-mist:   rgba(74, 86, 200, 0.10);
  --primary-glow:   rgba(74, 86, 200, 0.14);
  --primary-border: rgba(74, 86, 200, 0.28);
  --primary-border-hover: rgba(74, 86, 200, 0.5);
  --primary-gradient: linear-gradient(135deg, #4A5AD4 0%, #7B5FC0 100%);
  --primary-gradient-hover: linear-gradient(135deg, #5B6BE0 0%, #8B6FD0 100%);

  /* Light clinical surfaces */
  --bg:             #F4F5FA;
  --bg-2:           #EBEDF5;
  --bg-card:        #FFFFFF;
  --bg-card-hover:  #F8F9FD;
  --bg-elevated:    #FFFFFF;
  --bg-input:       #FFFFFF;

  /* Dark type on light */
  --text:           #161925;
  --text-muted:     #4F566C;
  --text-dim:       #6A7288;
  --text-on-primary: #ffffff;

  --success:        #0F9F8A;
  --warning:        #C4850A;
  --danger:         #C53D3D;

  --border:         rgba(22, 25, 37, 0.12);
  --border-primary: var(--primary-border);
  --border-inset:   rgba(22, 25, 37, 0.04);

  --radius:         12px;
  --radius-lg:      18px;
  --radius-xl:      999px;
  --radius-pill:    999px;

  --shadow:         0 8px 28px rgba(22, 25, 37, 0.08);
  --shadow-glow:    0 12px 36px rgba(74, 86, 200, 0.16);
  --shadow-card:    0 4px 20px rgba(22, 25, 37, 0.06);

  --surface-chrome: #FFFFFF;
  --nav-bg:         rgba(255, 255, 255, 0.92);
  --overlay-hover:  rgba(74, 86, 200, 0.08);

  --font-display:   'Montserrat', system-ui, sans-serif;
  --font-body:      'Manrope', system-ui, sans-serif;

  --transition:     0.22s ease;
  --nav-height:     76px;

  --product-img-fallback: #EEF0F8;
  --packaging-face: #EEF0F8;
  --packaging-ink: #161925;
  --packaging-ink-muted: #4F566C;
  --packaging-ink-dim: #6A7288;
  --photo-well:     #11141C;

  /* Product theme gradients (packaging) — slightly brighter on dark */
  --theme-reta-from:   #5B6BE0;
  --theme-reta-to:     #9B6FD0;
  --theme-reta:        linear-gradient(135deg, var(--theme-reta-from), var(--theme-reta-to));
  --theme-tirz-from:   #14A87E;
  --theme-tirz-to:     #3DDBA0;
  --theme-tirz:        linear-gradient(135deg, var(--theme-tirz-from), var(--theme-tirz-to));
  --theme-glow-from:   #D66B9A;
  --theme-glow-to:     #F0B078;
  --theme-glow:        linear-gradient(135deg, var(--theme-glow-from), var(--theme-glow-to));
  --theme-ghkcu-from:  #D45B4A;
  --theme-ghkcu-to:    #F09A68;
  --theme-ghkcu:       linear-gradient(135deg, var(--theme-ghkcu-from), var(--theme-ghkcu-to));
  --theme-neutral-from:#8A93A3;
  --theme-neutral-to:  #B4BCC8;
  --theme-neutral:     linear-gradient(135deg, var(--theme-neutral-from), var(--theme-neutral-to));

  /* Active theme (default = reta / brand) */
  --theme-from: var(--theme-reta-from);
  --theme-to:   var(--theme-reta-to);
  --theme:      var(--theme-reta);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(1100px 520px at 90% -8%, rgba(155, 111, 208, 0.08), transparent 55%),
    radial-gradient(900px 480px at -8% 20%, rgba(74, 90, 212, 0.07), transparent 50%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Product theme scopes ──────────────────────────────────── */
.theme-reta, .product-bg-reta-pen, .product-bg-rt30 {
  --theme-from: var(--theme-reta-from);
  --theme-to: var(--theme-reta-to);
  --theme: var(--theme-reta);
}
.theme-tirz, .product-bg-tr30, .product-bg-sm5 {
  --theme-from: var(--theme-tirz-from);
  --theme-to: var(--theme-tirz-to);
  --theme: var(--theme-tirz);
}
.theme-glow, .product-bg-glow {
  --theme-from: var(--theme-glow-from);
  --theme-to: var(--theme-glow-to);
  --theme: var(--theme-glow);
}
.theme-ghkcu, .product-bg-ghkcu {
  --theme-from: var(--theme-ghkcu-from);
  --theme-to: var(--theme-ghkcu-to);
  --theme: var(--theme-ghkcu);
}
.theme-neutral,
.product-bg-mt2, .product-bg-bpc157, .product-bg-tb500, .product-bg-igf1,
.product-bg-cjc, .product-bg-ipam, .product-bg-cjc-ipam-stack,
.product-bg-nadplus, .product-bg-motsc, .product-bg-semax, .product-bg-selank,
.product-bg-bac {
  --theme-from: var(--theme-neutral-from);
  --theme-to: var(--theme-neutral-to);
  --theme: var(--theme-neutral);
}

/* ── Signature motifs ──────────────────────────────────────── */
.text-gradient {
  background: var(--theme);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--theme);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--theme-from) 28%, transparent);
}

.helix-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.helix-bg svg {
  position: absolute;
  right: -8%;
  bottom: -18%;
  width: 115%;
  height: auto;
  opacity: 0.55;
}

.packaging-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  min-height: inherit;
  padding: 22px 20px 20px;
  background:
    radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--theme-from) 22%, transparent), transparent 55%),
    radial-gradient(90% 70% at 0% 100%, color-mix(in srgb, var(--theme-to) 14%, transparent), transparent 50%),
    var(--packaging-face);
  overflow: hidden;
  z-index: 1;
  color: var(--packaging-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.packaging-placeholder::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14%;
  bottom: 14%;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--theme);
  z-index: 2;
}

.packaging-placeholder__window {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 72px;
  height: 14px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.18));
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 2;
}

.packaging-placeholder__brand {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--packaging-ink);
  line-height: 1.35;
}

.packaging-placeholder__brand span {
  display: block;
  font-size: 0.42rem;
  letter-spacing: 0.32em;
  margin-top: 2px;
  color: var(--packaging-ink-dim);
}

.packaging-placeholder__sub {
  position: relative;
  z-index: 2;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--packaging-ink-muted);
  max-width: 28ch;
  line-height: 1.4;
}

.packaging-placeholder__name {
  position: relative;
  z-index: 2;
  margin-top: auto;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  background: var(--theme);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  max-width: 90%;
}

.packaging-placeholder__dose {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  margin-top: 16px;
}

.packaging-placeholder .helix-bg svg {
  animation: helix-drift 18s ease-in-out infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
  .packaging-placeholder .helix-bg svg,
  .hero-helix,
  .hero-orb,
  .hero-dna__drift,
  .hero-dna__ladder-front,
  .hero-dna__glow {
    animation: none !important;
  }
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; color-scheme: light; }

::selection {
  background: rgba(123, 138, 240, 0.35);
  color: var(--text);
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
  box-shadow: 0 0 0 1000px var(--bg-input) inset;
  transition: background-color 99999s ease-in-out 0s;
}

/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--primary-border-hover); border-radius: 3px; }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text);
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); text-transform: uppercase; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); text-transform: uppercase; letter-spacing: -0.025em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); text-transform: none; letter-spacing: -0.02em; font-weight: 700; }
h4 { font-size: 1.1rem; text-transform: none; font-weight: 700; }

p { color: var(--text-muted); }

.section-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

/* ── Layout ────────────────────────────────────────────────── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ── Disclaimer Banner (seamless horizontal marquee) ─────────── */
.disclaimer-bar {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.45;
  color: var(--text-muted);
  position: relative;
  z-index: 101;
  overflow-x: hidden;
  max-width: 100%;
}

.disclaimer-bar__viewport {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  overflow: hidden;
  box-sizing: border-box;
}

.disclaimer-bar__marquee-content {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  width: max-content;
  max-width: none;
  margin: 0 auto;
  will-change: transform;
}

.disclaimer-bar__marquee-content.is-marquee-loop {
  justify-content: flex-start;
  margin-left: 0;
  margin-right: 0;
  /* Normal direction so t=0 matches translateX(0). `reverse` started at -50% and shifted the strip left (clipped banner/nav). */
  animation: disclaimer-marquee-loop var(--disclaimer-duration, 40s) linear infinite;
}

.disclaimer-bar__marquee-content--static {
  animation: none !important;
  justify-content: center;
  flex-wrap: wrap;
  white-space: normal;
  width: 100%;
  max-width: 72rem;
  text-align: center;
  transform: none !important;
}

.disclaimer-bar__segment {
  flex: 0 0 auto;
}

.disclaimer-bar__sep {
  flex: 0 0 auto;
  padding: 0 0.85rem;
  color: var(--text-dim);
  font-weight: 300;
  user-select: none;
  font-size: 0;
  line-height: 0;
}

.disclaimer-bar__sep::before {
  content: '\00b7';
  font-size: 0.85rem;
  line-height: 1;
  font-weight: 300;
  color: var(--text-dim);
}

.disclaimer-bar__label {
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.disclaimer-bar__link {
  color: var(--primary-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.disclaimer-bar__link:hover {
  color: var(--primary);
}

@keyframes disclaimer-marquee-loop {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .disclaimer-bar__marquee-content {
    animation: none !important;
    justify-content: center;
    flex-wrap: wrap;
    white-space: normal;
    width: 100%;
    max-width: 72rem;
    text-align: center;
    transform: none !important;
  }

  .disclaimer-bar__marquee-content.is-marquee-loop {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .disclaimer-bar__sep {
    display: none;
  }
}

@media (max-width: 768px) {
  .disclaimer-bar {
    padding: 5px 0;
    font-size: clamp(0.6rem, 2.5vw, 0.68rem);
    letter-spacing: 0.03em;
    line-height: 1.28;
  }

  .disclaimer-bar__viewport {
    padding: 0 12px;
  }

  .disclaimer-bar__sep {
    padding: 0 0.4rem;
  }

  /* Wrapped / reduced-motion copy: keep a slim bar with in-bar scroll */
  .disclaimer-bar__marquee-content--static {
    display: block;
    max-height: 5.25rem;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    text-align: left;
  }

  .disclaimer-bar__marquee-content--static .disclaimer-bar__segment {
    display: inline;
    white-space: normal;
  }

  .disclaimer-bar__marquee-content--static .disclaimer-bar__sep {
    display: inline;
    padding: 0 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 768px) {
  .disclaimer-bar__marquee-content {
    display: block;
    max-height: 5.25rem;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    text-align: left;
  }

  .disclaimer-bar__marquee-content .disclaimer-bar__segment {
    display: inline;
    white-space: normal;
  }

  .disclaimer-bar__marquee-content .disclaimer-bar__sep {
    display: inline;
    padding: 0 0.35rem;
  }
}

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 var(--border-inset) inset;
  /* Must stay visible: backdrop-filter + overflow:hidden traps fixed/absolute children and forces a y-scrollbar on the ~72px bar */
  overflow: visible;
  box-sizing: border-box;
  max-width: 100%;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text);
  flex-shrink: 0;
  transition: opacity var(--transition);
}

.nav-logo:hover { opacity: 0.85; }

.nav-logo img {
  height: 40px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
  object-fit: contain;
}

.nav-logo-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  line-height: 1;
  max-width: 14rem;
}

.nav-logo-line {
  display: block;
  white-space: nowrap;
  width: 100%;
  text-align: center;
}

.nav-logo-line:first-child {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.1;
}

.nav-logo-line--accent {
  color: var(--text-dim);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-top: 0;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Nav category dropdowns (markup from js/nav.js) */
.nav-links > li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item--dropdown {
  position: relative;
}

.nav-item__head {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
  padding: 6px 0;
}

.nav-item__label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav-item__label:hover,
.nav-item__label:focus-visible {
  color: var(--text);
}

.nav-item__label:hover::after,
.nav-item__label:focus-visible::after {
  width: 100%;
}

.nav-item__panel {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 220px;
  padding: 10px 0;
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(22, 25, 37, 0.12);
  z-index: 120;
}

.nav-item__sublink {
  display: block;
  padding: 10px 16px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.nav-item__sublink::after {
  display: none !important;
}

.nav-item__sublink:hover,
.nav-item__sublink:focus-visible {
  background: var(--bg-2);
  color: var(--text);
}

.nav-item__sublink--all {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}

.nav-item__sublink--all:hover,
.nav-item__sublink--all:focus-visible {
  color: var(--primary-dark);
}

/* Desktop: hover / keyboard focus opens panel */
@media (min-width: 769px) {
  .nav-item__panel {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .nav-item--dropdown:hover .nav-item__panel,
  .nav-item--dropdown:focus-within .nav-item__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* Mobile: category goes straight to catalogue section — no hover panels / accordion */
@media (max-width: 768px) {
  .nav-item__panel {
    display: none !important;
  }
}

/* Nav product search */
.nav-search {
  position: relative;
  flex: 1;
  max-width: 280px;
  min-width: 0;
  margin: 0 16px 0 8px;
}

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

.nav-search__field {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px 0 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.nav-search__field:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.nav-search__icon {
  flex-shrink: 0;
  color: var(--text-dim);
}

.nav-search__input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.84rem;
  color: var(--text);
  outline: none;
}

.nav-search__input::placeholder {
  color: var(--text-dim);
}

.nav-search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.nav-search__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 320px;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(22, 25, 37, 0.12);
  z-index: 140;
  padding: 6px 0;
}

.nav-search__hit {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.nav-search__hit:hover,
.nav-search__hit.is-active {
  background: var(--bg-2);
}

.nav-search__hit-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.nav-search__hit-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav-search__empty {
  margin: 0;
  padding: 14px 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.nav-search__empty a {
  color: var(--primary);
  font-weight: 600;
}

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Currency dropdown (GBP / USD / EURO) — flags + larger control */
.nav-currency--dropdown {
  position: relative;
  flex-shrink: 0;
  z-index: 130;
}

.nav-currency__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px 0 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 1px 0 var(--border-inset) inset;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.nav-currency__trigger:hover {
  border-color: rgba(47, 62, 184, 0.35);
  background: var(--bg-2);
}

/* Inline SVG flags (emoji RI sequences are invisible on many Windows desktop browsers) */
.nav-currency-flag-svg {
  width: 22px;
  height: auto;
  display: block;
  flex-shrink: 0;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.nav-currency__trigger-flag,
.nav-currency__option-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  vertical-align: middle;
}

.nav-currency__trigger-flag svg {
  width: 22px;
  height: auto;
}

.nav-currency__trigger-code {
  min-width: 3.25rem;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.nav-currency__trigger-chevron {
  flex-shrink: 0;
  margin-left: 2px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.nav-currency--dropdown.is-open .nav-currency__trigger-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.nav-currency--dropdown.is-open .nav-currency__trigger {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(47, 62, 184, 0.2);
}

.nav-currency__trigger:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.nav-currency__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: min(280px, calc(100vw - 32px));
  padding: 8px;
  margin: 0;
  list-style: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(22, 25, 37, 0.12);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-currency__menu[hidden] {
  display: none !important;
}

.nav-currency__option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  color: var(--text);
  transition: background 0.15s ease;
}

.nav-currency__option:hover,
.nav-currency__option:focus-visible {
  background: var(--bg-2);
  outline: none;
}

.nav-currency__option.is-selected {
  background: rgba(47, 62, 184, 0.1);
  box-shadow: inset 0 0 0 1px rgba(47, 62, 184, 0.22);
}

.nav-currency__option-flag {
  flex-shrink: 0;
}

.nav-currency__option-flag svg {
  width: 26px;
  height: auto;
}

.nav-currency__option-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}

.nav-currency__option-code {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.nav-currency__option-desc {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border: 1px solid var(--primary-border);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-glow);
  transition: all var(--transition);
}

.cart-btn:hover {
  background: rgba(47, 62, 184, 0.12);
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(47, 62, 184, 0.14);
}

.cart-badge {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--primary);
  color: var(--text-on-primary);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 100px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  transition: all var(--transition);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--text-on-primary);
  border: 1px solid transparent;
  box-shadow: 0 8px 22px rgba(47, 62, 184, 0.28);
}

.btn-primary:hover {
  background: var(--primary-gradient-hover);
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(47, 62, 184, 0.36);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 1.5px solid var(--primary-border-hover);
}

.btn-outline:hover {
  background: var(--primary-glow);
  border-color: var(--primary);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--primary-border);
  background: var(--overlay-hover);
}

.btn-lg { padding: 16px 36px; font-size: 0.88rem; }
.btn-sm { padding: 9px 18px; font-size: 0.72rem; letter-spacing: 0.05em; }
.btn-full { width: 100%; }

.btn:focus-visible,
.add-to-cart-btn:focus-visible,
.variant-pill:focus-visible,
.notify-me-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  isolation: isolate;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-dna {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-dna__canvas {
  position: absolute;
  inset: -8% -6%;
  width: 112%;
  height: 116%;
  opacity: 0.72;
}

.hero-dna__drift {
  transform-origin: 50% 50%;
  animation: dna-helix-flow 36s linear infinite;
}

.hero-dna__helix--1 { opacity: 0.95; }
.hero-dna__helix--2 { opacity: 0.55; }
.hero-dna__helix--3 { opacity: 0.38; }

.hero-dna__backbone {
  filter: drop-shadow(0 0 6px rgba(123, 138, 240, 0.25));
}

.hero-dna__ladder-front {
  animation: dna-rung-pulse 7s ease-in-out infinite alternate;
}

.hero-dna__glow {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse 55% 45% at 18% 35%, rgba(91, 107, 224, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 40% at 82% 55%, rgba(155, 111, 208, 0.12), transparent 58%),
    radial-gradient(ellipse 40% 35% at 55% 90%, rgba(45, 212, 191, 0.08), transparent 55%);
  animation: dna-glow-drift 16s ease-in-out infinite alternate;
}

@keyframes dna-helix-flow {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(0, -105px, 0); }
}

@keyframes dna-rung-pulse {
  from { opacity: 0.82; }
  to   { opacity: 1; }
}

@keyframes dna-glow-drift {
  from { transform: translate3d(-2%, 1%, 0) scale(1); }
  to   { transform: translate3d(3%, -2%, 0) scale(1.08); }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: center;
}

.hero h1 {
  margin-bottom: 20px;
  color: var(--text);
  -webkit-text-fill-color: currentColor;
  background: none;
}

.hero h1 em {
  font-style: normal;
  background: var(--theme-reta);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 24px;
  line-height: 1.7;
}

.hero-pen-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.hero-pen-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-decoration: none;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.hero-pen-chip span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--theme);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-pen-chip em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
}

.hero-pen-chip:hover {
  border-color: color-mix(in srgb, var(--theme-from) 45%, transparent);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--theme-from) 14%, transparent);
  transform: translateY(-1px);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: stretch;
  align-items: center;
  width: 100%;
  min-height: 0;
}

.hero-pack-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  width: 100%;
  max-width: none;
  margin: 0;
}

.hero-pack-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  min-height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--packaging-face);
  border: 1px solid color-mix(in srgb, var(--theme-from) 35%, transparent);
  box-shadow:
    0 14px 32px rgba(22, 25, 37, 0.08),
    0 0 0 1px rgba(22, 25, 37, 0.04) inset;
  text-decoration: none;
  color: inherit;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.hero-pack-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 20px 40px rgba(22, 25, 37, 0.12),
    0 0 28px color-mix(in srgb, var(--theme-from) 18%, transparent);
  border-color: color-mix(in srgb, var(--theme-from) 55%, transparent);
}

.hero-pack-card .packaging-placeholder {
  min-height: 100%;
  padding: 22px 20px 18px;
}

.hero-pack-card .packaging-placeholder__window {
  width: 64px;
  top: 18px;
  right: 18px;
}

.hero-pack-card .packaging-placeholder__brand {
  font-size: 0.58rem;
}

.hero-pack-card .packaging-placeholder__brand span {
  font-size: 0.44rem;
}

.hero-pack-card .packaging-placeholder__name {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-pack-card .packaging-placeholder__sub {
  font-size: 0.58rem;
  max-width: 22ch;
}

.hero-pack-card .packaging-placeholder__dose {
  margin-top: 16px;
}

.hero-pack-card .pill-badge {
  min-width: 68px;
  padding: 8px 16px;
  font-size: 0.88rem;
}

@keyframes helix-drift {
  from { transform: translate(-8px, 6px) scale(1); }
  to { transform: translate(10px, -10px) scale(1.06); }
}

.hero-pen-feature {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: min(520px, 100%);
  margin: 0 auto;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  aspect-ratio: 4 / 5;
  min-height: 420px;
}

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

.hero-pen-feature__meta {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  background: transparent;
  border-top: none;
}

.hero-pen-feature__tag {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 8px;
}

.hero-pen-feature__meta h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  margin: auto 0 8px;
  background: var(--theme-reta);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-pen-feature__meta p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.hero-pen-feature__sub {
  font-family: var(--font-display);
  font-size: 0.68rem !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted) !important;
  margin: 0 0 16px !important;
  max-width: 28ch;
  line-height: 1.45;
}

.hero-dose-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: 88px;
  padding: 10px 22px;
  margin: 0 0 14px;
  border-radius: var(--radius-pill);
  background: var(--theme-reta);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 20px rgba(47, 62, 184, 0.3);
}

.hero-helix {
  position: absolute;
  right: -8%;
  top: 8%;
  width: min(420px, 90%);
  height: auto;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
  animation: helix-drift 18s ease-in-out infinite alternate;
}

.hero-vials {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: stretch;
  align-items: start;
  gap: clamp(16px, 3vw, 28px);
  z-index: 1;
  width: 100%;
  max-width: min(680px, 100%);
  margin: 0 auto;
}

.hero-vial-card {
  min-width: 0;
  background: transparent;
  border: none;
  padding: 0;
  text-align: center;
  transition: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}

.hero-vial-card:hover .hero-vial-img,
.hero-vial-card:focus-visible .hero-vial-img {
  border-color: var(--primary);
  box-shadow: 0 0 24px rgba(47, 62, 184, 0.18);
}

.hero-vial-card:focus-visible {
  outline: none;
}

.hero-vial-img {
  width: 100%;
  max-width: none;
  aspect-ratio: 1;
  height: auto;
  margin: 0 auto 12px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--primary-border);
  flex-shrink: 0;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.hero-vial-name {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
}

.hero-vial-sub {
  font-size: 0.76rem;
  color: var(--primary);
  margin-top: 2px;
}

/* ── Summer deal hero card / Feature Strip ─────────────────── */
@keyframes spring-deal-enter {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes spring-deal-item-in {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes spring-deal-glow {
  0%, 100% { opacity: 0.45; transform: translate(0, 0) scale(1); }
  50% { opacity: 0.75; transform: translate(4%, -3%) scale(1.05); }
}

@keyframes spring-deal-leaf {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spring-deal-savings-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(47, 62, 184, 0.35); }
  50% { transform: scale(1.03); box-shadow: 0 0 0 6px rgba(47, 62, 184, 0); }
}

@keyframes spring-deal-shimmer {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@keyframes spring-deal-border-flow {
  0%, 100% { opacity: 0.55; filter: hue-rotate(0deg); }
  50% { opacity: 0.85; filter: hue-rotate(12deg); }
}

@keyframes spring-deal-shine-move {
  0% { transform: translate(-40%, -30%) rotate(12deg); }
  100% { transform: translate(40%, 30%) rotate(12deg); }
}

.spring-deal-layer {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.spring-deal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 690px);
  margin: 0 auto;
  padding: 22px 20px 18px;
  border-radius: 22px;
  border: 1px solid transparent;
  background:
    linear-gradient(165deg, rgba(21, 29, 46, 0.98) 0%, rgba(15, 39, 64, 0.9) 38%, rgba(17, 24, 39, 0.96) 100%) padding-box,
    linear-gradient(145deg, rgba(34, 211, 238, 0.42), rgba(47, 62, 184, 0.28), rgba(6, 182, 212, 0.38)) border-box;
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(34, 211, 238, 0.12) inset,
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 0 48px rgba(34, 211, 238, 0.1);
  overflow: hidden;
  isolation: isolate;
  animation: spring-deal-enter 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.spring-deal-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(47, 62, 184, 0.12), transparent 42%, rgba(34, 211, 238, 0.1));
  opacity: 0.85;
  pointer-events: none;
  z-index: -1;
  animation: spring-deal-border-flow 10s ease-in-out infinite;
}

.spring-deal-card__mesh {
  inset: 0;
  border-radius: inherit;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(47, 62, 184, 0.09) 0%, transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(34, 211, 238, 0.07) 0%, transparent 38%),
    radial-gradient(circle at 78% 92%, rgba(245, 158, 11, 0.06) 0%, transparent 36%),
    radial-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: auto, auto, auto, 14px 14px;
}

.spring-deal-card__shine {
  top: -40%;
  left: -30%;
  width: 90%;
  height: 140%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 40%,
    rgba(255, 255, 255, 0.14) 50%,
    rgba(255, 255, 255, 0.03) 60%,
    transparent 100%
  );
  animation: spring-deal-shine-move 14s ease-in-out infinite alternate;
  mix-blend-mode: soft-light;
}

.spring-deal-ambient {
  border-radius: 50%;
  animation: spring-deal-glow 7s ease-in-out infinite;
}

.spring-deal-ambient--a {
  width: 220px;
  height: 220px;
  top: -72px;
  right: -88px;
  background: radial-gradient(circle, rgba(47, 62, 184, 0.16) 0%, transparent 68%);
}

.spring-deal-ambient--b {
  width: 160px;
  height: 160px;
  bottom: -48px;
  left: -56px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.18) 0%, transparent 70%);
  animation-delay: -3.5s;
}

.spring-deal-card > *:not(.spring-deal-layer) {
  position: relative;
  z-index: 1;
}

.spring-deal-head {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(47, 62, 184, 0.12);
}

.spring-deal-tag {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--primary-dark);
  background: linear-gradient(180deg, rgba(47, 62, 184, 0.14), rgba(47, 62, 184, 0.06));
  padding: 7px 14px;
  border-radius: 10px;
  border: 1px solid rgba(47, 62, 184, 0.22);
}

.spring-deal-savings {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(145deg, #0e7490 0%, var(--primary) 48%, #155e75 100%);
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 2px 8px rgba(47, 62, 184, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  animation: spring-deal-savings-pulse 2.8s ease-in-out infinite;
}

.spring-deal-intro {
  margin-bottom: 2px;
}

.spring-deal-card h3 {
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 3.2vw, 1.38rem);
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.03em;
}

.spring-deal-highlight {
  color: var(--primary);
  font-weight: 800;
}

@supports (-webkit-background-clip: text) {
  .spring-deal-highlight {
    background: linear-gradient(120deg, #0e7490 0%, var(--primary) 35%, #A8B0E8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.spring-deal-copy {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.spring-deal-visual {
  margin: 0 auto 10px;
  max-width: min(85%, 480px);
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(47, 62, 184, 0.14);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  line-height: 0;
  position: relative;
  isolation: isolate;
}

.spring-deal-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.12);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 72%,
    rgba(34, 211, 238, 0.08) 100%
  );
}

.spring-deal-visual__img {
  width: 100%;
  height: auto;
  display: block;
}

.spring-deal-bonus {
  margin: 0 0 14px;
  padding: 9px 12px;
  background: rgba(47, 62, 184, 0.08);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius);
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.spring-deal-bonus strong {
  color: var(--text);
}

/* Legacy step labels — hide if still present (cached HTML / older deploys) */
.spring-deal-item-num {
  display: none !important;
}

.spring-deal-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  border: 1px solid rgba(47, 62, 184, 0.22);
  border-radius: 16px;
  padding: 11px 14px 11px 11px;
  font-weight: 600;
  color: var(--text);
  background: linear-gradient(180deg, rgba(26, 36, 56, 0.95) 0%, rgba(17, 24, 39, 0.9) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 6px 18px rgba(0, 0, 0, 0.25);
  transition:
    border-color 0.25s ease,
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.25s ease,
    box-shadow 0.25s ease;
  animation: spring-deal-item-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  animation-delay: calc(0.15s + var(--sd-i, 0) * 0.09s);
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.spring-deal-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--primary), #A8B0E8);
  opacity: 0;
  transform: scaleY(0.6);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.spring-deal-thumb {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(47, 62, 184, 0.25);
  box-shadow:
    0 4px 14px rgba(47, 62, 184, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  background-color: var(--product-img-fallback, #EEF0F8);
  transform: translateZ(0);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.spring-deal-thumb--illust {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.spring-deal-thumb--glp-rt {
  background: linear-gradient(148deg, #F4F5FB 0%, #A8B0E8 55%, #EEF0FA 100%);
}

.spring-deal-thumb--mt2 {
  background: linear-gradient(148deg, #fffbeb 0%, #fde68a 45%, #fed7aa 100%);
  border-color: rgba(234, 88, 12, 0.28);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.12);
}

.spring-deal-thumb--ghkcu {
  background: linear-gradient(148deg, #f0f9ff 0%, #bae6fd 50%, #e0f2fe 100%);
}

.spring-deal-illust {
  width: 100%;
  height: 100%;
  display: block;
}

.spring-deal-illust__orbit {
  transform-origin: 36px 36px;
  animation: spring-deal-orbit-drift 14s linear infinite;
}

.spring-deal-illust__node {
  animation: spring-deal-node-pulse 2.5s ease-in-out infinite;
}

.spring-deal-illust__node--b { animation-delay: 0.4s; }
.spring-deal-illust__node--c { animation-delay: 0.8s; }

.spring-deal-illust__rays {
  transform-origin: 36px 36px;
  animation: spring-deal-ray-spin 26s linear infinite;
}

.spring-deal-illust__spark {
  animation: spring-deal-spark 2s ease-in-out infinite;
}

.spring-deal-illust__spark--b { animation-delay: 0.55s; }

@keyframes spring-deal-orbit-drift {
  to { transform: rotate(360deg); }
}

@keyframes spring-deal-node-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

@keyframes spring-deal-ray-spin {
  to { transform: rotate(360deg); }
}

@keyframes spring-deal-spark {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.25; }
}

.spring-deal-thumb .product-surface-photo {
  object-fit: contain;
  object-position: center center;
}

.spring-deal-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.spring-deal-item-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.spring-deal-item-name em {
  font-style: normal;
  font-weight: 800;
  color: var(--primary);
}

.spring-deal-item-sub {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--primary);
  opacity: 0.9;
}

.spring-deal-item-arrow {
  flex-shrink: 0;
  color: var(--primary);
  opacity: 0.55;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.spring-deal-item:hover .spring-deal-item-arrow,
.spring-deal-item:focus-visible .spring-deal-item-arrow {
  opacity: 1;
  transform: translateX(3px);
}

.spring-deal-item:hover::before,
.spring-deal-item:focus-visible::before {
  opacity: 1;
  transform: scaleY(1);
}

.spring-deal-item:hover .spring-deal-thumb,
.spring-deal-item:focus-visible .spring-deal-thumb {
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow:
    0 8px 22px rgba(34, 211, 238, 0.18),
    0 0 0 1px rgba(34, 211, 238, 0.15) inset;
}

.spring-deal-item:hover,
.spring-deal-item:focus-visible {
  border-color: rgba(34, 211, 238, 0.45);
  background: linear-gradient(180deg, rgba(26, 36, 56, 1) 0%, rgba(15, 39, 64, 0.9) 100%);
  transform: translateX(4px) translateY(-1px);
  box-shadow:
    0 12px 32px rgba(34, 211, 238, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
  outline: none;
}

.spring-deal-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spring-deal-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  color: #fff;
  background: linear-gradient(155deg, #0e7490 0%, var(--primary) 42%, #06b6d4 100%);
  border-radius: 12px;
  padding: 11px 16px;
  box-shadow:
    0 12px 28px rgba(47, 62, 184, 0.38),
    0 1px 0 rgba(255, 255, 255, 0.22) inset;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease;
  overflow: hidden;
}

.spring-deal-cta span {
  flex: 1;
  text-align: center;
}

.spring-deal-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.2) 45%, transparent 70%);
  transform: translateX(-100%);
  animation: spring-deal-shimmer 3.2s ease-in-out infinite;
  pointer-events: none;
}

.spring-deal-cta__arrow {
  flex-shrink: 0;
  opacity: 0.92;
  transition: transform 0.22s ease;
}

.spring-deal-cta:hover .spring-deal-cta__arrow,
.spring-deal-cta:focus-visible .spring-deal-cta__arrow {
  transform: translateX(3px);
}

.spring-deal-cta:hover,
.spring-deal-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 18px 36px rgba(47, 62, 184, 0.42),
    0 1px 0 rgba(255, 255, 255, 0.28) inset;
  outline: none;
}

.spring-deal-cta:focus-visible {
  box-shadow:
    0 18px 36px rgba(47, 62, 184, 0.42),
    0 0 0 3px rgba(47, 62, 184, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.28) inset;
}

.spring-deal-cta:active {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .spring-deal-card,
  .spring-deal-card::after,
  .spring-deal-card__shine,
  .spring-deal-item,
  .spring-deal-ambient,
  .spring-deal-visual__img,
  .spring-deal-savings,
  .spring-deal-cta::before,
  .spring-deal-illust__orbit,
  .spring-deal-illust__node,
  .spring-deal-illust__node--b,
  .spring-deal-illust__node--c,
  .spring-deal-illust__rays,
  .spring-deal-illust__spark,
  .spring-deal-illust__spark--b {
    animation: none !important;
  }

  .spring-deal-card {
    opacity: 1;
    transform: none;
  }

  .spring-deal-card::after {
    opacity: 0.65;
  }

  .spring-deal-item {
    opacity: 1;
    transform: none;
  }
}

.feature-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.feature-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.feature-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.feature-strip-item svg { color: var(--primary); flex-shrink: 0; }

/* Bottom CTA — wholesale & custom peptides (homepage) */
.wholesale-banner {
  background: linear-gradient(135deg, rgba(47, 62, 184, 0.12), rgba(34, 211, 238, 0.06));
  border-top: 1px solid var(--primary-border);
  padding: 28px 0;
}

.wholesale-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.wholesale-banner__text-wrap {
  flex: 1;
  min-width: min(100%, 280px);
}

.wholesale-banner__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 8px;
}

.wholesale-banner__copy {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 52ch;
}

.wholesale-banner__copy strong {
  color: var(--text);
  font-weight: 600;
}

.wholesale-banner__email {
  flex-shrink: 0;
  white-space: nowrap;
}

.deal-spotlight {
  padding: 20px 0 8px;
}

.page-hero-deal-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.page-hero-main {
  flex: 1 1 480px;
  min-width: 0;
  padding-right: 8px;
}

.page-hero--with-deal .breadcrumb {
  padding: 0 0 16px;
}

.page-hero--with-deal .section-label {
  margin-bottom: 10px;
}

.page-hero--with-deal h1 {
  margin-bottom: 14px;
}

.page-hero--with-deal .page-hero-main > p {
  max-width: 54ch;
  line-height: 1.6;
  margin: 0;
}

.deal-spotlight--inline {
  flex: 0 0 380px;
  width: 380px;
  max-width: 100%;
  padding: 0;
  margin: 4px 0 0 28px;
}

.deal-spotlight--inline .deal-spotlight-card {
  padding: 22px 24px;
}

.deal-spotlight--inline .deal-spotlight-head {
  margin-bottom: 14px;
  padding-right: 108px;
}

.deal-spotlight--inline .deal-spotlight-tag {
  line-height: 1.35;
}

.deal-spotlight--inline .deal-spotlight-deadline {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  margin: 0;
  font-size: 0.72rem;
  padding: 6px 12px;
  line-height: 1.2;
}

.deal-spotlight--inline .deal-spotlight-card h3 {
  font-size: 1.18rem;
  line-height: 1.38;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.deal-spotlight--inline .deal-spotlight-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

.products-filter-bar {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  margin-bottom: 56px;
}

.deal-spotlight-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(47, 62, 184, 0.1), rgba(107, 63, 160, 0.06));
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  isolation: isolate;
  animation: dealCardPulse 2.8s ease-in-out infinite;
}

.deal-spotlight-glow {
  position: absolute;
  inset: -40% auto auto -15%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 63, 160, 0.22) 0%, rgba(107, 63, 160, 0) 68%);
  z-index: -1;
  animation: dealGlowDrift 5.6s ease-in-out infinite;
}

.deal-spotlight-shimmer {
  position: absolute;
  top: 0;
  left: -45%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.42) 48%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg);
  animation: dealShimmer 2.6s ease-in-out infinite;
}

.deal-spotlight-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.deal-spotlight-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.deal-spotlight-deadline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(47, 62, 184, 0.16);
  border: 1px solid rgba(47, 62, 184, 0.36);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.deal-spotlight-deadline.is-expired {
  background: rgba(100, 116, 139, 0.18);
  border-color: rgba(100, 116, 139, 0.35);
  color: var(--text-dim);
}

.deal-spotlight-card h3 {
  margin: 0 0 4px;
  font-size: 1.28rem;
  color: var(--text);
}

.deal-spotlight-card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
}

@keyframes dealShimmer {
  0% { left: -45%; opacity: 0; }
  14% { opacity: 1; }
  44% { left: 120%; opacity: 0.95; }
  100% { left: 120%; opacity: 0; }
}

@keyframes dealGlowDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18px, 8px) scale(1.06); }
}

@keyframes dealCardPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(47, 62, 184, 0); border-color: var(--primary-border); }
  50% { box-shadow: 0 10px 34px rgba(47, 62, 184, 0.14); border-color: rgba(47, 62, 184, 0.5); }
}

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.card:hover {
  border-color: var(--primary-border-hover);
  box-shadow: var(--shadow-card);
}

/* ── Product Cards ─────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.28s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
}

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

.product-card-img {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  background: var(--packaging-face);
  border-bottom: 1px solid var(--border);
}

.product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 6px;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.product-placeholder svg { opacity: 0.55; }

.product-placeholder-label {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--theme);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.product-placeholder-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Per-product photography (catalogue cards, hero thumbs, cart, detail headers) */
.product-bg-rt30 {
  background-color: var(--product-img-fallback);
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.product-bg-reta-pen {
  background-color: var(--product-img-fallback);
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.product-bg-tr30 {
  background-color: var(--product-img-fallback);
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.product-bg-mt2 {
  background-color: var(--product-img-fallback);
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.product-bg-ghkcu {
  background-color: var(--product-img-fallback);
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.product-bg-sm5 {
  background-color: var(--product-img-fallback);
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.product-bg-bpc157 {
  background-color: var(--product-img-fallback);
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.product-bg-tb500 {
  background-color: var(--product-img-fallback);
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.product-bg-igf1 {
  background-color: var(--product-img-fallback);
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.product-bg-cjc {
  background-color: var(--product-img-fallback);
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.product-bg-ipam {
  background-color: var(--product-img-fallback);
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Placeholder tile until pack photography exists */
.product-bg-cjc-ipam-stack {
  background-color: var(--product-img-fallback);
  background-image: none;
}
.product-card-img.product-bg-cjc-ipam-stack .product-placeholder,
.cart-item-img.product-bg-cjc-ipam-stack .product-placeholder {
  display: flex !important;
}
.product-bg-nadplus {
  background-color: var(--product-img-fallback);
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.product-bg-motsc {
  background-color: var(--product-img-fallback);
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.product-bg-semax {
  background-color: var(--product-img-fallback);
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.product-bg-selank {
  background-color: var(--product-img-fallback);
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.product-bg-glow {
  background-color: var(--packaging-face);
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.product-card-img[class*='product-bg-']::before,
.cart-item-img[class*='product-bg-']::before,
.product-img-main.theme-reta::before,
.product-img-main.theme-tirz::before,
.product-img-main.theme-glow::before,
.product-img-main.theme-ghkcu::before,
.product-img-main.theme-neutral::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 280' fill='none'%3E%3Cpath d='M20 40c70 35 90 100 45 155s-15 95 50 130' stroke='%232F3EB8' stroke-width='2.2' opacity='0.55'/%3E%3Cpath d='M70 20c55 45 75 110 35 160s-5 100 55 135' stroke='%236B3FA0' stroke-width='1.6' opacity='0.4'/%3E%3Cpath d='M120 8c45 55 60 120 22 168s5 105 48 145' stroke='%232F3EB8' stroke-width='1.2' opacity='0.28'/%3E%3Cpath d='M40 60c40 0 40 40 0 40s-40 40 0 40 40 40 0 40 40 40 0 40' stroke='%236B3FA0' stroke-width='1' opacity='0.2'/%3E%3C/svg%3E");
  background-size: 120% auto;
  background-position: 60% 110%;
  background-repeat: no-repeat;
}

.product-bg-tr30::before,
.product-bg-sm5::before,
.theme-tirz::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 280' fill='none'%3E%3Cpath d='M20 40c70 35 90 100 45 155s-15 95 50 130' stroke='%230D8A6A' stroke-width='2.2' opacity='0.55'/%3E%3Cpath d='M70 20c55 45 75 110 35 160s-5 100 55 135' stroke='%232DB88A' stroke-width='1.6' opacity='0.4'/%3E%3Cpath d='M120 8c45 55 60 120 22 168s5 105 48 145' stroke='%230D8A6A' stroke-width='1.2' opacity='0.28'/%3E%3C/svg%3E");
}

.product-bg-glow::before,
.theme-glow::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 280' fill='none'%3E%3Cpath d='M20 40c70 35 90 100 45 155s-15 95 50 130' stroke='%23C45B8A' stroke-width='2.2' opacity='0.55'/%3E%3Cpath d='M70 20c55 45 75 110 35 160s-5 100 55 135' stroke='%23E8A06A' stroke-width='1.6' opacity='0.4'/%3E%3Cpath d='M120 8c45 55 60 120 22 168s5 105 48 145' stroke='%23C45B8A' stroke-width='1.2' opacity='0.28'/%3E%3C/svg%3E");
}

.product-bg-ghkcu::before,
.theme-ghkcu::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 280' fill='none'%3E%3Cpath d='M20 40c70 35 90 100 45 155s-15 95 50 130' stroke='%23C44B3A' stroke-width='2.2' opacity='0.55'/%3E%3Cpath d='M70 20c55 45 75 110 35 160s-5 100 55 135' stroke='%23E8895A' stroke-width='1.6' opacity='0.4'/%3E%3Cpath d='M120 8c45 55 60 120 22 168s5 105 48 145' stroke='%23C44B3A' stroke-width='1.2' opacity='0.28'/%3E%3C/svg%3E");
}

.product-bg-mt2::before, .product-bg-bpc157::before, .product-bg-tb500::before,
.product-bg-igf1::before, .product-bg-cjc::before, .product-bg-ipam::before,
.product-bg-cjc-ipam-stack::before, .product-bg-nadplus::before, .product-bg-motsc::before,
.product-bg-semax::before, .product-bg-selank::before, .product-bg-bac::before,
.theme-neutral::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 280' fill='none'%3E%3Cpath d='M20 40c70 35 90 100 45 155s-15 95 50 130' stroke='%233D4550' stroke-width='2.2' opacity='0.4'/%3E%3Cpath d='M70 20c55 45 75 110 35 160s-5 100 55 135' stroke='%236B7380' stroke-width='1.6' opacity='0.3'/%3E%3Cpath d='M120 8c45 55 60 120 22 168s5 105 48 145' stroke='%233D4550' stroke-width='1.2' opacity='0.22'/%3E%3C/svg%3E");
}

.product-card-img[class*='product-bg-'],
.cart-item-img[class*='product-bg-'] {
  background-color: var(--packaging-face) !important;
  position: relative;
}

/* Slightly tighter framing for Bac Water only */
.product-bg-bac .product-surface-photo {
  object-fit: cover;
  object-position: center;
  transform: none;
}

#product-visual-10ml .product-detail-photo {
  transform: scale(1.06);
  transform-origin: center center;
}

/*
 * Catalogue tiles: square frame; cover fills the thumb so the vial reads large (PNG letterboxing handled by scaling).
 */
.product-card-img[class*='product-bg-'] {
  aspect-ratio: 1 / 1 !important;
  width: 252px;
  max-width: calc(100% - 24px);
  margin: 18px auto 12px;
  padding: 0;
  border: 1px solid var(--primary-border);
  border-radius: var(--radius);
  box-sizing: border-box;
  background-size: cover !important;
  background-position: center 42%;
  background-repeat: no-repeat;
  background-color: var(--packaging-face) !important;
  overflow: hidden;
}

.product-card:hover .product-card-img[class*='product-bg-'] {
  border-color: var(--primary);
}

@media (max-width: 480px) {
  .product-card-img[class*='product-bg-'] {
    width: 220px;
    max-width: calc(100% - 20px);
    margin-top: 14px;
  }
}

/* Hero vial strip: square frame matches pack shots - cover fills edge-to-edge (no letterboxing bands) */
.hero-vial-img[class*='product-bg-'] {
  background-size: cover;
  background-position: center 42%;
  background-color: var(--bg-card);
}

/* Render product thumbnails as real <img> elements for sharper rasterization on non-detail pages. */
.product-photo-enhanced {
  background-image: none !important;
}

.product-surface-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
  image-rendering: auto;
  background: var(--packaging-face);
}

/* Catalog cards should fully fill frames (no side/top strips). */
.product-card-img[class*='product-bg-'] .product-surface-photo {
  object-fit: contain;
}

/* Text labels when product photography is disabled */
.product-card-img .product-placeholder,
.hero-vial-img > .vial-svg,
.cart-item-img .product-placeholder,
.product-img-main:not(.product-img-main--variants) .product-placeholder {
  display: flex !important;
}

.product-img-main:empty,
.product-detail-visual:empty {
  display: none !important;
}

/* Hide product photo frames when no photo or text placeholder remains */
.product-img-main:not(:has(img)):not(:has(.product-placeholder)):not(:has(.packaging-placeholder)) {
  display: none !important;
}

/* Out-of-stock listing cards (split link + actions) */
.product-card--oos {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  position: relative;
  min-width: 0;
  height: auto;
}

.products-grid > .product-card--oos {
  align-self: stretch;
}

/* Site-wide deal ribbon (injected on catalogue cards) */
.product-card-deal-banner {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #0e7490 0%, var(--primary) 45%, #A8B0E8 100%);
  box-shadow: 0 4px 14px rgba(47, 62, 184, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  pointer-events: none;
}

/* Product detail hero image corner ribbon */
.product-detail-deal-banner {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 9px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #0e7490 0%, var(--primary) 45%, #A8B0E8 100%);
  box-shadow: 0 4px 16px rgba(47, 62, 184, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  pointer-events: none;
}

.product-card--oos .product-card__main {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
  padding: 0;
}

.product-card--oos .product-card-body {
  padding: 22px 22px 16px;
}

.product-card--oos:hover {
  transform: translateY(-4px);
}

.product-card--oos .product-card-footer--oos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px 20px;
  border-top: 1px solid var(--border);
  margin-top: auto;
  flex-wrap: wrap;
}

.product-card-footer--oos:has(.notify-form),
.product-card-footer--oos:has(.notify-success) {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.product-card-footer--oos .notify-form--card {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.product-card-footer--oos .notify-form--card .notify-input {
  min-height: 40px;
}

.product-card-footer--oos .notify-form--card .notify-submit {
  align-self: stretch;
  padding-left: 14px;
  padding-right: 14px;
}

/* Notify-me success (after email submit) */
.notify-success {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--success);
  line-height: 1.45;
  box-sizing: border-box;
}

.notify-success svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.notify-success__text {
  flex: 1;
  min-width: 0;
}

.notify-success__product {
  color: var(--text);
  font-weight: 600;
}

.notify-success--card {
  flex: 1 1 100%;
  width: 100%;
  max-width: 100%;
  padding: 11px 13px;
  background: color-mix(in srgb, var(--success) 10%, var(--bg-card));
  border: 1px solid color-mix(in srgb, var(--success) 30%, var(--border));
  border-radius: var(--radius);
}

.notify-success--block {
  font-size: 0.9375rem;
  padding: 16px 18px;
  margin-top: 4px;
  background: color-mix(in srgb, var(--success) 10%, var(--bg-card));
  border: 1px solid color-mix(in srgb, var(--success) 30%, var(--border));
  border-radius: var(--radius-lg);
}

.product-card-stock {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--warning);
}

.notify-me-btn {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid var(--primary-border-hover);
  background: var(--primary-glow);
  color: var(--primary);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.notify-me-btn:hover {
  border-color: var(--primary);
  background: rgba(47, 62, 184, 0.18);
}

/* Product detail - out of stock */
.product-stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warning);
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.08);
  margin-bottom: 12px;
}

.add-to-cart-btn.is-disabled,
.add-to-cart-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.notify-me-btn--block {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 0.95rem;
  border-radius: var(--radius-lg);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Stock notify modal */
.stock-notify-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.stock-notify-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.stock-notify-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.stock-notify-modal__panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow);
}

.stock-notify-modal__panel h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text);
}

.stock-notify-modal__panel p {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.stock-notify-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.stock-notify-modal__close:hover {
  color: var(--text);
  border-color: var(--primary-border);
}

.stock-notify-field {
  margin-bottom: 16px;
}

.stock-notify-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.stock-notify-field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-input);
  color: var(--text);
  font-size: 0.95rem;
}

.stock-notify-field input:focus {
  outline: none;
  border-color: var(--primary-border-hover);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.stock-notify-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.stock-notify-actions .btn { flex: 1; }

/* ── Welcome popup (homepage first-visit offer) ───────────────────────── */
.welcome-popup-modal.stock-notify-modal {
  padding: min(24px, 4vw);
}

.welcome-popup-modal .stock-notify-modal__backdrop {
  background: rgba(8, 15, 30, 0.72);
  backdrop-filter: blur(8px);
}

.welcome-popup-modal .welcome-popup-panel.stock-notify-modal__panel {
  max-width: min(100%, 600px);
  width: 100%;
  padding: 0;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 32px 64px -20px rgba(8, 15, 30, 0.45),
    0 12px 32px -12px rgba(8, 15, 30, 0.2);
  overflow: hidden;
  transform: scale(0.97);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.welcome-popup-modal.is-open .welcome-popup-panel {
  transform: scale(1);
  opacity: 1;
}

.welcome-popup-panel::before {
  content: "";
  display: block;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--primary), #A8B0E8, var(--primary));
  opacity: 0.95;
}

.welcome-popup-inner {
  padding: 32px 44px 36px;
}

@media (max-width: 560px) {
  .welcome-popup-inner {
    padding: 36px 22px 28px;
  }
}

.welcome-popup-modal .welcome-popup-close {
  top: 14px;
  right: 14px;
  z-index: 2;
  border-radius: 10px;
}

.welcome-popup-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 10px;
}

.welcome-popup-modal .welcome-popup-inner h3#welcome-popup-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.6vw, 1.7rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  color: var(--text);
}

.welcome-popup-modal .welcome-popup-lead {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 28px;
}

.welcome-popup-modal .welcome-popup-lead strong {
  color: var(--text);
  font-weight: 700;
}

.welcome-popup-field {
  margin-bottom: 6px;
}

.welcome-popup-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.welcome-popup-field input {
  width: 100%;
  box-sizing: border-box;
  padding: 15px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-input);
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.welcome-popup-field input:focus {
  outline: none;
  border-color: var(--primary-border-hover);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.welcome-popup-modal .welcome-popup-error {
  margin: 14px 0 0;
  font-size: 0.84rem;
  color: var(--danger);
}

.welcome-popup-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
}

.welcome-popup-submit {
  width: 100%;
  justify-content: center;
  padding-top: 16px !important;
  padding-bottom: 16px !important;
  font-size: 1rem !important;
  border-radius: var(--radius-lg) !important;
}

.welcome-popup-dismiss {
  width: 100%;
  padding: 14px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.welcome-popup-dismiss:hover {
  color: var(--text);
  border-color: var(--primary-border);
  background: var(--bg-2);
}

.welcome-popup-legal {
  margin: 22px 0 0;
  font-size: 0.72rem;
  line-height: 1.65;
  color: var(--text-dim);
}

.welcome-popup-legal a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.welcome-popup-legal a:hover {
  text-decoration: underline;
}

.welcome-popup-success {
  text-align: center;
}

.welcome-popup-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 150, 105, 0.12);
  border: 1px solid rgba(5, 150, 105, 0.35);
  color: var(--success);
}

.welcome-popup-success-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--text);
}

.welcome-popup-success-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 28px;
}

.welcome-popup-success-text strong {
  color: var(--text);
}

@media (max-width: 480px) {
  .welcome-popup-modal .welcome-popup-inner {
    padding-left: 18px;
    padding-right: 18px;
  }
}

.product-card-body { padding: 22px 22px 20px; flex: 1; display: flex; flex-direction: column; }

.product-card-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.product-card-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.product-card-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.op-price-sale-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  margin-top: 2px;
}

.op-price-now {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.product-card-price .op-price-was-wrap {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
}

.product-card-price .op-price-was {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.product-card-price .op-price-suffix {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

/* Inline product copy (e.g. “in stock at …”) */
.op-inline-price-promo {
  font-weight: 600;
  color: var(--text);
}
.op-inline-price-promo .op-price-was-inline {
  font-weight: 500;
  font-size: 0.92em;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 0.35em;
}

.product-card-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all var(--transition);
}

.product-card:hover .product-card-arrow {
  background: var(--primary);
  color: var(--text-on-primary);
  border-color: var(--primary);
}

/* ── Product Detail Page ───────────────────────────────────── */
.product-hero {
  padding: 60px 0;
}

.product-hero-grid {
  display: grid;
  /* minmax(0,1fr) lets the column shrink below content min-width; plain 1fr can refuse to shrink with aspect-ratio + min-height */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: flex-start;
  min-width: 0;
}

.product-img-wrap {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  min-width: 0;
  max-width: 100%;
  /* anchor for .product-detail-deal-banner */
  isolation: isolate;
}

.product-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  background: var(--packaging-face);
  border: 1px solid var(--border);
  box-sizing: border-box;
  position: relative;
}

.product-img-main .product-placeholder,
.product-img-main .packaging-placeholder {
  height: 100%;
  width: 100%;
}

/* Spec mini-grid under PDP image */
.product-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.product-spec-cell {
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.product-spec-cell__label {
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.product-spec-cell__value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.product-spec-cell__value--accent {
  color: var(--theme-from);
  background: var(--theme);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.product-detail-info {
  min-width: 0;
  max-width: 100%;
}

.product-img-main--variants {
  position: relative;
}

.product-img-main--variants .product-detail-visual {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
}

.product-img-main--variants .product-detail-visual.is-active {
  display: flex;
}

.product-img-main--variants .product-detail-visual .packaging-placeholder {
  width: 100%;
  height: 100%;
  min-height: 100%;
}

/* Variant panes sit on .product-img-main fill - no second “white card” layer */
#product-visual-5mg,
#product-visual-30mg,
#product-visual-10mg {
  background: transparent;
}

.product-detail-photo {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.product-detail-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.product-detail-name {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: var(--theme);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.product-detail-code {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.product-detail-desc {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
}

.product-purity {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.purity-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
}

.purity-badge svg { color: var(--success); }

/* Variant selector */
.variant-section { margin-bottom: 28px; }

.variant-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.variant-label em {
  font-style: normal;
  color: var(--primary);
  font-weight: 700;
}

.variant-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.variant-pill {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.variant-pill:hover {
  border-color: var(--primary-border-hover);
  color: var(--text);
}

.variant-pill.active {
  border-color: transparent;
  background: var(--theme);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--theme-from) 30%, transparent);
}

.variant-pill .pill-price {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: inherit;
  margin-top: 2px;
}

/* Quantity */
.qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}

.qty-btn {
  width: 40px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.qty-btn:hover { background: var(--overlay-hover); color: var(--text); }

.qty-input {
  width: 52px;
  height: 44px;
  text-align: center;
  background: none;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

.current-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  line-height: 1.15;
  text-align: right;
}

.current-price .op-hero-sale {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.current-price .op-hero-was {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.add-to-cart-btn {
  width: 100%;
  padding: 17px;
  background: var(--primary-gradient);
  color: var(--text-on-primary);
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  box-shadow: 0 8px 22px rgba(47, 62, 184, 0.28);
}

.add-to-cart-btn:hover {
  background: var(--primary-gradient-hover);
  box-shadow: 0 12px 28px rgba(47, 62, 184, 0.36);
  transform: translateY(-2px);
}

.add-to-cart-btn:active { transform: translateY(0); }

.view-cart-link {
  display: block;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.view-cart-link:hover { color: var(--primary); }

/* Product tabs */
.product-tabs { padding: 64px 0; border-top: 1px solid var(--border); }

.tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
  overflow-x: auto;
}

.tab-btn {
  padding: 14px 28px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color var(--transition);
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.tab-btn:hover { color: var(--text); }

.tab-btn.active { color: var(--primary); }
.tab-btn.active::after { transform: scaleX(1); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.tab-panel h3 {
  color: var(--text);
  margin-bottom: 16px;
}

.tab-panel p {
  margin-bottom: 16px;
  font-size: 0.97rem;
  line-height: 1.8;
}

.tab-panel ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 16px;
}

.tab-panel ul li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 6px;
  padding-left: 4px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.info-item {
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.info-item-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.info-item-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

/* ── Section: Why choose us ───────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  padding: 28px 8px;
  background: transparent;
  border: none;
  border-radius: 0;
  transition: none;
}

.why-card:hover {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--primary-mist);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
}

.why-card h4 {
  color: var(--text);
  margin-bottom: 10px;
  font-family: var(--font-display);
}

.why-card p { font-size: 0.88rem; line-height: 1.7; }

/* ── Section: Current Research (homepage teasers) ─────────── */
.section-intro {
  max-width: 560px;
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.current-research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.research-teaser {
  padding: 28px 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.research-teaser:hover {
  border-color: var(--primary-border-hover);
  box-shadow: var(--shadow-glow);
}

.research-teaser h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 10px;
}

.research-teaser-alias {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.92em;
}

.research-teaser p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.research-teaser-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.research-teaser-link:hover {
  color: var(--text);
}

.current-research-disclaimer {
  margin-top: 28px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 720px;
}

/* ── Wholesale enquiry page ─────────────────────────────────── */
.enquiry-page {
  padding: 48px 0 96px;
}

.enquiry-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.enquiry-page-intro h1 {
  color: var(--text);
  margin-bottom: 16px;
}

.enquiry-page-intro > p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.enquiry-page-points {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.enquiry-page-points li {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.enquiry-page-note {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.enquiry-form-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.enquiry-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.enquiry-field label span {
  color: var(--primary);
}

.enquiry-field input,
.enquiry-field select,
.enquiry-field textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.enquiry-field textarea {
  resize: vertical;
  min-height: 120px;
}

.enquiry-field input:focus,
.enquiry-field select:focus,
.enquiry-field textarea:focus {
  border-color: var(--primary);
}

.enquiry-form-error {
  font-size: 0.82rem;
  color: var(--danger);
  margin: 0;
}

.enquiry-form-submit {
  width: 100%;
  justify-content: center;
}

.enquiry-form-legal {
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0;
}

.enquiry-form-legal a {
  color: var(--primary);
}

.enquiry-form-success {
  text-align: center;
  padding: 24px 8px;
}

.enquiry-form-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--primary-glow);
  border: 1px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.enquiry-form-success h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: 10px;
}

.enquiry-form-success p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ── Section: Research Notice ──────────────────────────────── */
.research-notice {
  background: linear-gradient(135deg, var(--bg-2) 0%, rgba(47, 62, 184, 0.06) 100%);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-xl);
  padding: 48px 56px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.research-notice-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: var(--radius);
  background: var(--primary-glow);
  border: 1px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.research-notice h3 { color: var(--text); margin-bottom: 10px; font-size: 1.25rem; }
.research-notice p { font-size: 0.9rem; line-height: 1.7; }

/* ── Cart Page ─────────────────────────────────────────────── */
.cart-page { padding: 60px 0 96px; }

.cart-page-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 48px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: flex-start;
}

/* Checkout — payment method cards (two equal options: 2-up on wide screens, stacked on narrow) */
.co-payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.co-payment-grid > .co-payment-option {
  min-width: 0;
}

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

.cart-items { display: flex; flex-direction: column; gap: 16px; }

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition);
}

.cart-item:hover { border-color: var(--primary-border); }

.cart-item-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid var(--primary-border);
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: var(--photo-well);
}

.cart-item-img .product-placeholder { height: 100%; }

.cart-item-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.cart-item-variant {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.cart-item-actions { display: flex; align-items: center; gap: 12px; }

.remove-btn {
  font-size: 0.78rem;
  color: var(--text-dim);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
}

.remove-btn:hover { color: var(--danger); }

.cart-item-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  text-align: right;
}

.cart-item-unit {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 2px;
}

/* Cart summary */
.cart-summary {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.cart-summary h3 {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.summary-line.total {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
  margin-bottom: 24px;
}

.cart-disclaimer {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(47, 62, 184, 0.06);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius);
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cart-empty {
  text-align: center;
  padding: 80px 0;
}

.cart-empty svg { color: var(--text-dim); margin: 0 auto 20px; }
.cart-empty h3 { color: var(--text); margin-bottom: 10px; }
.cart-empty p { margin-bottom: 28px; }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand img { height: 36px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 280px; }

.footer-brand-mark {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand-mark .nav-swiss-badge {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
}

.footer-brand .nav-logo-text {
  flex: 0 1 auto;
  width: auto;
  max-width: none;
  margin-bottom: 0;
}

.footer-brand .nav-logo-line:first-child {
  font-size: 1.25rem;
  letter-spacing: 0.14em;
}

.footer-brand .nav-logo-line--accent {
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  color: var(--text-dim);
}

.footer-social { margin-top: 24px; }
.footer-social .footer-heading { margin-bottom: 12px; }

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.footer-social-link:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-glow);
}

.footer-social-link svg { flex-shrink: 0; opacity: 0.85; }
.footer-social-link:hover svg { opacity: 1; }

.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-disclaimer {
  max-width: 860px;
  font-size: 0.72rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ── Toast ─────────────────────────────────────────────────── */
.op-toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--bg-card);
  border: 1px solid var(--success);
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  box-shadow: 0 8px 32px rgba(22, 25, 37, 0.12);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.op-toast svg { color: var(--success); flex-shrink: 0; }
.op-toast.show { transform: translateY(0); opacity: 1; }

/* ── Vial SVG placeholder ──────────────────────────────────── */
.vial-svg {
  width: 48px;
  height: 88px;
  opacity: 0.7;
}

/* ── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-dim);
  padding: 20px 0;
}

.breadcrumb a { color: var(--text-dim); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text-muted); }

/* ── Related products ──────────────────────────────────────── */
.related-section { padding: 64px 0; border-top: 1px solid var(--border); }
.related-section h2 { color: var(--text); margin-bottom: 32px; }

/* ── Section headers ───────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
}

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

/* ── Page hero (inner pages) ───────────────────────────────── */
.page-hero {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 64px;
}

.page-hero h1 { color: var(--text); margin-bottom: 12px; }
.page-hero p { font-size: 1.05rem; }

.page-hero.page-hero--with-deal {
  margin-bottom: 0;
  border-bottom: none;
  padding: 48px 0 32px;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 960px) {
  .page-hero-deal-row {
    flex-direction: column;
    gap: 20px;
  }

  .page-hero-main {
    flex: 0 0 auto;
    padding-right: 0;
  }

  .deal-spotlight--inline {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    margin: 0;
  }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual {
    display: flex;
    margin-top: 8px;
    min-height: 0;
  }
  .hero-pack-grid {
    max-width: 560px;
    margin: 0 auto;
  }
  .spring-deal-card { max-width: 840px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .current-research-grid { grid-template-columns: 1fr; }
  .enquiry-page-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .product-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .product-img-wrap {
    position: relative;
    top: auto;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    gap: 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(22, 25, 37, 0.12);
    z-index: 99;
  }
  .nav-search {
    flex: 1;
    max-width: none;
    min-width: 0;
    margin: 0 6px 0 0;
    order: 0;
  }
  .nav-search__field {
    height: 38px;
    padding: 0 10px;
  }
  .nav-search__input {
    font-size: 16px;
  }
  .nav-search__input::placeholder {
    font-size: 0.88rem;
  }
  /* Panel is moved to document.body on mobile (see nav.js) — avoids backdrop-filter trapping fixed children */
  .nav-search__panel--mobile {
    position: fixed;
    z-index: 10001;
    max-height: min(50vh, 280px);
  }
  .nav-toggle { display: flex; }
  /* Mobile nav: logo + cart + menu share one row - avoid overlap */
  .nav-inner {
    gap: 8px;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  /* Keep wordmark + icon on one row; don't grow a flex slot that fights max-width:100% on images */
  .nav-logo {
    flex: 0 1 auto;
    min-width: 0;
    gap: 8px;
    overflow: visible;
    align-items: center;
  }
  .nav-logo img {
    height: 34px;
    width: auto;
    max-width: none;
    flex-shrink: 0;
    object-fit: contain;
  }
  .nav-logo-text {
    flex-direction: column;
    align-items: center;
    gap: 2px;
    line-height: 1;
    max-width: 12rem;
    overflow: visible;
    min-width: 0;
  }
  .nav-logo-line:first-child {
    font-size: 1.1rem;
    letter-spacing: 0.1em;
  }
  .nav-logo-line--accent {
    font-size: 0.66rem;
    letter-spacing: 0.16em;
  }
  .nav-actions {
    flex-shrink: 0;
    gap: 6px;
  }
  .nav-currency__trigger {
    min-height: 32px;
    padding: 0 8px 0 7px;
    gap: 5px;
    font-size: 0.7rem;
    border-radius: 8px;
  }
  .nav-currency__trigger-flag svg {
    width: 16px;
  }
  .nav-currency__trigger-chevron {
    width: 13px;
    height: 13px;
  }
  .nav-currency__menu {
    min-width: min(260px, calc(100vw - 24px));
    padding: 6px;
  }
  .nav-currency__option {
    padding: 12px 13px;
    gap: 11px;
  }
  .nav-currency__option-flag svg {
    width: 24px;
  }
  .nav-currency__option-code {
    font-size: 0.98rem;
  }
  .cart-btn {
    padding: 8px 12px;
    gap: 6px;
    font-size: 0.74rem;
  }
  .cart-btn svg {
    flex-shrink: 0;
  }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-header {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    margin-bottom: 36px;
  }
  .section-header .section-intro {
    max-width: none;
  }
  .section-header .btn {
    align-self: flex-start;
  }
  .page-hero.page-hero--with-deal {
    padding: 32px 0 20px;
  }
  .page-hero-deal-row {
    gap: 16px;
  }
  .products-filter-bar {
    margin-bottom: 40px;
  }
  .research-notice { flex-direction: column; padding: 32px; }
  .hero { padding: 72px 0 64px; }
  .section { padding: 64px 0; }
  .hero-stats { gap: 24px; }
  .cart-item { grid-template-columns: 80px 1fr; }
  .cart-item-price { display: none; }
  .feature-strip-inner { gap: 28px; }
  .wholesale-banner { padding: 22px 0; }
  .wholesale-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .wholesale-banner__email {
    white-space: normal;
    text-align: center;
    justify-content: center;
  }
}

/* Narrow phones (~320–430px): nav row is tight - icon-only cart + stable side padding */
@media (max-width: 440px) {
  .nav-inner {
    gap: 6px;
    padding-left: max(14px, env(safe-area-inset-left, 0px));
    padding-right: max(14px, env(safe-area-inset-right, 0px));
  }
  .nav-logo {
    gap: 6px;
  }
  .nav-logo img {
    height: 32px;
  }
  .nav-logo-text {
    max-width: 10.5rem;
  }
  .nav-logo-line:first-child {
    font-size: 1rem;
    letter-spacing: 0.08em;
  }
  .nav-logo-line--accent {
    font-size: 0.6rem;
    letter-spacing: 0.14em;
  }
  .nav-currency__trigger {
    min-height: 30px;
    padding: 0 6px 0 5px;
    gap: 4px;
    font-size: 0.65rem;
  }
  .nav-currency__trigger-flag svg {
    width: 14px;
  }
  .nav-currency__trigger-code {
    min-width: 2.1rem;
  }
  .nav-currency__trigger-chevron {
    width: 12px;
    height: 12px;
  }
  .nav-currency__menu {
    right: 0;
    left: auto;
    min-width: min(248px, calc(100vw - 20px));
  }
  .cart-btn {
    font-size: 0;
    padding: 8px 10px;
    gap: 0;
  }
  .cart-btn svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 0; }
  .hero-pack-grid {
    max-width: none;
    gap: 12px;
  }
  .hero-pack-card {
    min-height: 210px;
  }
  .hero-pen-list { gap: 8px; }
  .hero-pen-chip { padding: 9px 12px; }
  .deal-spotlight:not(.deal-spotlight--inline) { padding-top: 16px; }
  .deal-spotlight-card { padding: 14px 14px; }
  .deal-spotlight--inline { max-width: none; }
  .deal-spotlight-head { align-items: flex-start; gap: 8px; }
  .deal-spotlight-tag { font-size: 0.7rem; }
  .deal-spotlight-deadline { font-size: 0.72rem; padding: 5px 10px; }
  .deal-spotlight-card h3 { font-size: 1.08rem; }
  .deal-spotlight-card p { font-size: 0.88rem; }
  .variant-pills { gap: 8px; }
  .variant-pill { padding: 8px 14px; font-size: 0.82rem; }
}

@media (prefers-reduced-motion: reduce) {
  .deal-spotlight-card,
  .deal-spotlight-glow,
  .deal-spotlight-shimmer {
    animation: none !important;
  }
}

/* Very narrow: slightly smaller mark (cart already icon-only from 440px) */
@media (max-width: 380px) {
  .nav-inner {
    gap: 6px;
    padding-left: max(12px, env(safe-area-inset-left, 0px));
    padding-right: max(12px, env(safe-area-inset-right, 0px));
  }
  .nav-logo img {
    height: 30px;
  }
  .nav-logo-text {
    max-width: 9.5rem;
  }
  .nav-logo-line:first-child {
    font-size: 0.95rem;
    letter-spacing: 0.06em;
  }
  .nav-logo-line--accent {
    font-size: 0.56rem;
    letter-spacing: 0.12em;
  }
  .cart-btn {
    padding: 8px 9px;
  }
}
