:root {
  --rb-ink: #183127;
  --rb-ink-soft: #385044;
  --rb-ivory: #faf7f1;
  --rb-studio: #f4eadc;
  --rb-studio-deep: #e7d6bf;
  --rb-gold: #805714;
  --rb-rose: #8b3f4b;
  --rb-blue: #23647a;
  --rb-line: #d7cbbb;
}

*, *::before, *::after { letter-spacing: 0 !important; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-offset, 100px); }

body {
  background: var(--rb-ivory);
  color: #202820;
}

.anno {
  background: var(--rb-ink);
  color: #fffaf2;
  text-align: center;
}

.hero h1,
.page-hero h1 {
  max-width: 10em;
  text-wrap: balance;
}

.page-hero.media-page-hero {
  position: relative;
  min-height: clamp(480px, 66svh, 650px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 68px 0;
  background-color: var(--rb-studio) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
}

.page-hero.media-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(250, 247, 241, .5);
  pointer-events: none;
}

.page-hero.media-page-hero .wrap {
  position: relative;
  z-index: 1;
  width: 100%;
}

.page-hero.media-page-hero h1,
.page-hero.media-page-hero p {
  width: min(54%, 680px);
}

.premixed-hero {
  position: relative;
  min-height: clamp(610px, 78svh, 760px) !important;
  background-color: var(--rb-studio) !important;
  background-image: url("https://storage.googleapis.com/airpict.appspot.com/tool-edits%2F5xwNfSOEx5fWPDSDo78INHKG5Or2%2F43ff1bb5-d2f3-4b3c-97b3-3201151e4720.png") !important;
  background-repeat: no-repeat !important;
  background-position: 72% center !important;
  background-size: cover !important;
}

.premixed-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

.premixed-hero .premixed-hero-grid {
  position: relative;
  z-index: 1;
  display: block !important;
  width: 100%;
}

.premixed-hero .hero-copy {
  width: min(56%, 640px);
  max-width: 640px;
  padding: clamp(72px, 10vh, 110px) 0;
}

.premixed-hero .hero-product-stage { display: none !important; }

.hero .lead,
.page-hero p,
.peptide-primer p {
  text-wrap: pretty;
}

.hero-ready-line {
  margin: -12px 0 24px;
  color: var(--rb-ink);
  font-size: .86rem;
  font-weight: 800;
}

.proof-row span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 9px 1px 0;
  border-radius: 50%;
  background: var(--rb-gold);
}

.hero-product-stage.line-photo-stage {
  min-height: 660px;
  display: flex;
  align-items: center;
  padding: 36px 0;
}

.hero-line-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  align-items: end;
}

.hero-line-card {
  min-width: 0;
  aspect-ratio: .72 / 1;
  border: 1px solid var(--rb-line);
  color: var(--rb-ink);
}

.hero-line-card.is-featured {
  aspect-ratio: .68 / 1.08;
  box-shadow: 0 24px 50px rgba(45, 33, 20, .14);
}

.hero-line-card img {
  display: block;
  object-position: center;
}

.hero-line-card span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  background: rgba(250, 247, 241, .9);
  color: var(--rb-ink);
  font-size: .76rem;
  font-weight: 800;
  text-align: center;
  backdrop-filter: blur(8px);
}

.peptide-primer {
  position: relative;
  overflow: hidden;
  background: var(--rb-ink);
  color: #f8f3e9;
}

.peptide-primer::before {
  content: "PEPTIDES";
  position: absolute;
  right: -18px;
  bottom: -42px;
  color: rgba(255, 255, 255, .035);
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 13rem);
  line-height: .8;
  pointer-events: none;
}

.peptide-primer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(460px, 1.12fr);
  gap: clamp(54px, 8vw, 120px);
  align-items: center;
}

.peptide-primer .eyebrow { color: #d9b677; }

.peptide-primer h2 {
  max-width: 9em;
  margin: 12px 0 28px;
  color: #fffaf2;
  font-size: clamp(3rem, 5.2vw, 5.4rem);
  line-height: .94;
}

.peptide-primer-copy > p {
  max-width: 42rem;
  color: rgba(255, 250, 242, .77);
}

.peptide-primer-copy .lead {
  color: #fffaf2;
  font-size: 1.08rem;
}

.text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  padding-bottom: 4px;
  border-bottom: 1px solid #d9b677;
  color: #fffaf2;
  font-weight: 800;
}

.peptide-benefit-list {
  border-top: 1px solid rgba(255, 255, 255, .22);
}

.peptide-benefit-list article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}

.peptide-benefit-list article > span {
  color: #d9b677;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.peptide-benefit-list h3 {
  margin: 0 0 6px;
  color: #fffaf2;
  font-size: 1.55rem;
}

.peptide-benefit-list p {
  margin: 0;
  color: rgba(255, 250, 242, .7);
}

.product-photo-visual,
.product-card-visual,
.shelf-edit-showcase figure,
.hero-line-card {
  background: var(--rb-studio) !important;
}

.product-photo-visual,
.shelf-edit-showcase figure,
.hero-line-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.product-photo-visual::after,
.shelf-edit-showcase figure::after,
.hero-line-card::after {
  content: "";
  position: absolute;
  inset: auto 7% 4% 7%;
  z-index: -1;
  height: 12%;
  border-radius: 50%;
  background: rgba(82, 57, 31, .14);
  filter: blur(18px);
}

.product-photo-visual img,
.shelf-edit-showcase img,
.hero-line-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.96) contrast(1.02);
}

.product-card {
  border-top: 1px solid var(--rb-line);
}

.product-card-body h3 a:hover { color: var(--rb-rose); }

.skin-goal-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid var(--rb-line);
  color: var(--rb-ink-soft);
  font-size: .72rem;
  font-weight: 800;
}

.card-row {
  align-items: center;
  gap: 12px;
}

.card-row .price,
.pdp-status-price > b {
  color: var(--rb-ink);
}

.stock-state,
.pdp-status-price > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rb-rose);
  font-size: .78rem;
  font-weight: 800;
}

.stock-state::before,
.pdp-status-price > span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rb-rose);
}

.out-of-stock-panel {
  margin: 20px 0;
  padding: 18px;
  border: 1px solid #d7b9bd;
  border-left: 4px solid var(--rb-rose);
  background: #fbf5f5;
}

.out-of-stock-panel b {
  display: block;
  margin-bottom: 3px;
  color: var(--rb-rose);
}

.out-of-stock-panel p { margin: 0; }

.product-story-hero {
  position: relative;
  min-height: clamp(470px, 68svh, 680px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--rb-studio);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-top: 1px solid var(--rb-line);
  border-bottom: 1px solid var(--rb-line);
}

.product-story-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(250, 247, 241, .34);
  pointer-events: none;
}

.product-story-hero .wrap {
  position: relative;
  z-index: 1;
  width: 100%;
}

.product-story-copy {
  width: min(46%, 540px);
  color: var(--rb-ink);
}

.product-story-copy > span {
  color: var(--rb-gold);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-story-copy h2 {
  margin: 12px 0 18px;
  font-size: clamp(3rem, 5.2vw, 5.4rem);
  line-height: .92;
  text-wrap: balance;
}

.product-story-copy p {
  max-width: 34rem;
  color: #2f4037;
  font-size: 1.06rem;
}

.product-peptide-story {
  background: var(--rb-ivory);
}

.product-peptide-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .8fr);
  gap: clamp(56px, 8vw, 120px);
  align-items: end;
}

.product-peptide-story h2 {
  max-width: 11em;
  margin: 12px 0 20px;
  font-size: clamp(2.8rem, 4.7vw, 4.8rem);
  line-height: .96;
}

.product-peptide-story p {
  max-width: 44rem;
  color: var(--rb-ink-soft);
  font-size: 1.04rem;
}

.product-outcomes {
  border-top: 1px solid var(--rb-line);
}

.product-outcomes span {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 70px;
  border-bottom: 1px solid var(--rb-line);
  color: var(--rb-ink);
  font-weight: 800;
}

.product-outcomes b {
  color: var(--rb-gold);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 400;
}

.business-details {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rb-line);
}

.business-details h3 { margin-bottom: 8px; }

.business-details address {
  margin-bottom: 8px;
  color: var(--rb-ink-soft);
  font-style: normal;
}

.business-details a {
  color: var(--rb-ink);
  font-weight: 800;
}

.ingredient-intro-band {
  padding: 54px 0;
  background: var(--rb-ink);
  color: #fffaf2;
}

.ingredient-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .22);
  border-left: 1px solid rgba(255, 255, 255, .22);
}

.ingredient-intro-grid > div {
  min-height: 220px;
  padding: 26px;
  border-right: 1px solid rgba(255, 255, 255, .22);
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}

.ingredient-intro-grid span {
  color: #d9b677;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.ingredient-intro-grid h2 {
  margin: 30px 0 10px;
  color: #fffaf2;
  font-size: 1.7rem;
  line-height: 1.04;
}

.ingredient-intro-grid p {
  margin: 0;
  color: rgba(255, 250, 242, .72);
}

.shop-desire-row a:nth-child(1) { border-color: #d8b374; }
.shop-desire-row a:nth-child(2) { border-color: #bd8891; }
.shop-desire-row a:nth-child(3) { border-color: #74a0ae; }
.shop-desire-row a:nth-child(4) { border-color: #87a27e; }

.shop-guide > div,
.claim-card,
.detail,
.formula-info-grid article {
  border-radius: 0 !important;
}

.prelaunch-banner {
  border-left: 4px solid var(--rb-rose);
  background: #fbf5f5;
}

.prelaunch-banner > span {
  background: var(--rb-rose);
  color: #fff;
}

.nav-cta,
.btn-primary {
  background: var(--rb-ink);
  color: #fffaf2;
}

.nav-cta:hover,
.btn-primary:hover { background: #28493b; }

.mini-btn[data-restock-link],
.restock-link {
  border-color: var(--rb-rose);
  color: var(--rb-rose);
}

.mini-btn[data-restock-link]:hover,
.restock-link:hover {
  background: var(--rb-rose);
  color: #fff;
}

@media (max-width: 960px) {
  .peptide-primer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .peptide-primer h2 { max-width: 11em; }

  .hero-product-stage.line-photo-stage { min-height: 480px; }

  .product-peptide-story-grid { grid-template-columns: 1fr; }

  .ingredient-intro-grid { grid-template-columns: 1fr; }

  .ingredient-intro-grid > div { min-height: auto; }
}

@media (max-width: 680px) {
  .premixed-hero {
    min-height: 78svh !important;
    background-position: 64% center !important;
  }

  .premixed-hero::before { background: transparent; }

  .premixed-hero .hero-copy {
    width: 100%;
    padding: 58px 0 76px;
  }

  .page-hero.media-page-hero {
    min-height: 520px;
    align-items: flex-start;
    padding: 56px 0;
    background-position: 64% center !important;
  }

  .page-hero.media-page-hero::before { background: rgba(250, 247, 241, .68); }

  .page-hero.media-page-hero h1,
  .page-hero.media-page-hero p { width: 100%; }

  .peptide-primer { padding: 70px 0; }

  .peptide-primer::before {
    right: -8px;
    bottom: -12px;
    font-size: 4.8rem;
  }

  .peptide-primer h2 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .peptide-benefit-list article {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    padding: 22px 0;
  }

  .hero-ready-line { margin-top: 0; }

  .hero-product-stage.line-photo-stage {
    min-height: auto;
    padding: 24px 0 0;
  }

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

  .hero-line-card:nth-child(3) { display: none; }

  .hero-line-card,
  .hero-line-card.is-featured { aspect-ratio: .78 / 1; }

  .product-story-hero {
    min-height: 520px;
    align-items: flex-start;
    background-position: 64% center;
  }

  .product-story-hero::before { background: rgba(250, 247, 241, .62); }

  .product-story-copy {
    width: 100%;
    max-width: 28rem;
    padding-top: 52px;
  }

  .product-story-copy h2 {
    max-width: 8em;
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

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

  .card-row .mini-btn { width: 100%; text-align: center; }
}

/* Shared storefront refinements from the September frontend audit. */
:where(input, select, textarea, [id]) { scroll-margin-top: var(--header-offset, 100px); }
.site-header .nav-restock { display: none; }
.line-film-section .eyebrow { color: #dfc084; }
.line-film-section .line-film-frame { box-shadow: none; }
.home-page .premixed-hero { min-height: 540px !important; padding: 40px 0; }
.home-page .premixed-hero .premixed-hero-grid { min-height: 0; }
.home-page .hero-ready-line { display: block; padding: 0; margin: 16px 0; }
.home-page .premixed-hero .hero-copy { width: 48%; padding: 0; }
.home-page .premixed-hero h1 { font-size: 4rem; line-height: 1.02; max-width: 8em; }
.hero-tagline { max-width: 24em; margin: 18px 0 12px; font-size: 1.35rem; font-weight: 600; color: var(--rb-ink); }
.home-page .premixed-hero .lead { max-width: 34em; margin: 12px 0 20px; }
.home-page .premixed-hero .proof-row { display: flex; height: auto; max-height: none; overflow: visible; flex-wrap: wrap; gap: 8px 16px; font-size: .72rem; }
.home-page .premixed-hero .proof-row span { white-space: normal; }
.home-page .premixed-hero .proof-row span + span::before { margin: 0 9px 1px 0; content: ""; }
.peptide-primer h2 { font-size: 3.25rem; line-height: 1.05; }
.peptide-primer::before { display: none; }
.peptide-primer { padding: 60px 0; }
.peptide-benefit-list h3 { font-size: 1.35rem; }
.peptide-benefit-list article { padding: 20px 0; }
.shop-page .shop-hero { min-height: 0; padding: 32px 0 22px !important; background: transparent; }
.shop-page .shop-hero h1 { font-size: 3rem !important; max-width: none; margin: 8px 0; line-height: 1.1 !important; }
.shop-page .shop-hero p { max-width: 46em; margin: 10px 0; }
.shop-finder-link, .shop-toolbar a, .pdp-details-link { color: var(--rb-ink); text-decoration: underline; text-underline-offset: 4px; font-weight: 700; }
.shop-page .shop-products { padding: 0 0 48px; }
.shop-page .shop-toolbar { margin: 0 0 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.shop-toolbar p { margin: 0; }
.shop-page .shop-toolbar > p:last-child { display: block; }
.shop-toolbar a { display: inline-block; margin-left: 12px; }
.shop-page .shop-filter-shell { position: static; margin: 0 0 24px; padding: 0; border: 0; background: transparent; backdrop-filter: none; }
.shop-page .shop-filter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; padding: 0 0 18px; gap: 12px; border: 0; border-bottom: 1px solid var(--rb-line); background: transparent; }
.shop-page .shop-filter-grid label { font-size: .75rem; }
.shop-page .shop-filter-grid select { font-size: .9rem; background: #fff; }
.shop-page .shop-filter-grid button { min-height: 46px; font-size: .75rem; margin: 0; }
.shop-page #productGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.shop-page .product-card-visual, .shop-page .product-photo-visual { min-height: 0; height: auto; aspect-ratio: 1 / 1; }
.shop-page .product-photo-visual img { min-height: 0; aspect-ratio: 1 / 1; object-fit: contain; }
.product-card-body { display: flex; flex-direction: column; }
.product-card-body .card-row { margin-top: auto; padding-top: 16px; }
.product-card-body .card-formula, .product-card-body .product-peptide { display: none; }
.shop-routine-note { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.shop-routine-note h2 { font-size: 2.2rem; }
.shop-empty { grid-column: 1 / -1; padding: 36px 0 56px; text-align: center; }
.shop-empty h2 { font-size: 1.7rem; }
.shop-empty p { margin: 12px 0 24px; }
.product-page .fixed-pdp { background: #f8f8f5; padding: 24px 0 40px; }
.pdp-back { display: inline-block; margin-bottom: 18px; color: var(--rb-ink-soft); font-size: .85rem; }
.product-page .fixed-pdp .pdp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.pdp-summary { max-width: none; }
.pdp-summary h1 { max-width: none; font-size: 2.8rem; line-height: 1.06; margin: 8px 0 14px; }
.pdp-summary .lead { font-size: 1rem; line-height: 1.6; margin: 0 0 16px; }
.pdp-summary .pdp-status-price { flex-direction: row; align-items: center; margin: 16px 0; padding: 12px 0; border: 0; border-block: 1px solid var(--rb-line); background: none; }
.pdp-summary .pdp-status-price span { padding: 0; background: none; border-radius: 0; font-size: .75rem; }
.pdp-summary .fixed-waitlist-form { margin: 0; padding: 0; border: 0; background: none; }
.pdp-summary .fixed-waitlist-form > label { font-size: .85rem; }
.pdp-summary .waitlist-row { grid-template-columns: minmax(0, 1fr) auto; }
.pdp-summary .waitlist-row input { background: #fff; font-size: 1rem; }
.pdp-summary .waitlist-row button { padding-inline: 16px; font-size: .75rem; }
.pdp-summary .pdp-peptide { margin: 20px 0 12px; text-transform: none; font-size: .88rem; }
.pdp-summary .pdp-desire-points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
.pdp-summary .pdp-desire-points span { padding: 0; border: 0; background: none; min-height: 0; }
.pdp-summary .pdp-desire-points b { margin-bottom: 4px; }
.pdp-details-link { font-size: .85rem; }
.pdp-image-button { display: block; position: relative; width: 100%; height: 470px; padding: 0; border: 0; background: #f4eadc; cursor: zoom-in; }
.pdp-image-button .pdp-main-image { display: block; width: 100%; height: 100%; object-fit: contain; filter: none; }
.pdp-image-button > span { position: absolute; right: 12px; bottom: 12px; padding: 5px 10px; background: #fff; color: var(--rb-ink); font-size: .75rem; }
.pdp-image-tabs { display: flex; gap: 8px; padding-top: 12px; }
.pdp-image-tabs button { min-height: 44px; padding: 8px 12px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--rb-ink-soft); font: inherit; font-size: .82rem; cursor: pointer; }
.pdp-image-tabs button[aria-pressed="true"] { color: var(--rb-ink); border-color: var(--rb-ink); font-weight: 700; }
body.image-viewer-open { overflow: hidden; }
.image-viewer { width: min(1200px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; background: #fff; color: var(--rb-ink); border-radius: 4px; }
.image-viewer::backdrop { background: rgba(15, 25, 20, .82); }
.image-viewer-toolbar { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--rb-line); }
.image-viewer-toolbar h2 { margin: 0 auto 0 0; font-size: 1.1rem; }
.image-viewer-toolbar button { min-height: 44px; padding: 8px 12px; border: 1px solid var(--rb-line); border-radius: 4px; background: #fff; color: var(--rb-ink); font: inherit; font-size: .85rem; white-space: nowrap; cursor: pointer; }
.image-viewer-canvas { height: min(72dvh, 820px); overflow: auto; overscroll-behavior: contain; }
.image-viewer-canvas img { display: block; width: 100%; height: 100%; object-fit: contain; }
.image-viewer.is-zoomed .image-viewer-canvas img { width: auto; height: auto; max-width: none; min-width: 100%; }
.product-overview .product-detail-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
.product-overview .detail { border: 0; padding: 0; background: transparent; }
.product-overview .detail h2 { margin-top: 0; }
.product-overview ul { padding-left: 20px; color: var(--rb-ink-soft); }
.product-accordions { border-top: 1px solid var(--rb-line); }
.product-accordions details { padding: 0 0 20px; border-bottom: 1px solid var(--rb-line); }
.product-accordions summary { padding: 20px 0 0; font-weight: 700; cursor: pointer; }
.product-accordions p, .product-accordions ul, .product-accordions .product-routine-links { margin-top: 16px; max-width: 70em; }
.product-accordions a { text-decoration: underline; text-underline-offset: 3px; }
.product-accordions summary:focus-visible { outline: 2px solid var(--rb-ink); outline-offset: 4px; }
.product-story-hero { display: block; min-height: 0; padding: 0; border: 0; background: #f4eadc; }
.product-story-hero::before { display: none; }
.product-story-hero > img { display: block; width: 100%; height: auto; max-height: 640px; object-fit: contain; }
.product-peptide-story h2 { font-size: 2.5rem; line-height: 1.08; }
.ingredient-detail-hero h1 { max-width: 24em; font-size: 2.7rem; overflow-wrap: normal; word-break: normal; }
.quiz-result:empty { display: none; }
.page-hero.compact-page-hero { min-height: 0; padding: 36px 0 24px !important; background: transparent; }
.page-hero.compact-page-hero h1 { max-width: 20em; font-size: 3rem !important; line-height: 1.1 !important; }
.page-hero.compact-page-hero p { max-width: 45em; }
.collection-stock { margin: 0 0 24px; color: var(--rb-ink-soft); font-size: .9rem; }
.collection-stock a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.collection-page .product-card-visual, .collection-page .product-photo-visual { min-height: 0; height: auto; aspect-ratio: 1 / 1; }
.collection-page .product-photo-visual img { min-height: 0; object-fit: contain; aspect-ratio: 1 / 1; }
.collection-page .grid { align-items: stretch; }
.collection-page .product-card:only-child { max-width: 420px; }

@media (max-width: 1240px) {
  .site-header .nav-restock { display: block; }
}
@media (max-width: 900px) {
  .product-page .fixed-pdp .pdp-grid { gap: 24px; }
  .pdp-summary h1 { font-size: 2.1rem; }
  .pdp-image-button { height: 400px; }
  .pdp-summary .waitlist-row { grid-template-columns: 1fr; }
  .home-page .premixed-hero .hero-copy { width: 52%; }
  .home-page .premixed-hero h1 { font-size: 3rem; }
}
@media (max-width: 760px) {
  .page-hero.compact-page-hero { padding: 24px 0 16px !important; }
  .page-hero.compact-page-hero h1 { font-size: 2.1rem !important; }
  .home-page .premixed-hero { min-height: 600px !important; padding: 24px 0 0; background-position: 78% bottom !important; background-size: auto 300px !important; background-color: #f4eadc !important; }
  .home-page .premixed-hero .hero-copy { width: 100%; max-width: 100%; padding: 0; }
  .home-page .premixed-hero h1 { font-size: 2.25rem; line-height: 1.05; max-width: none; margin: 8px 0 10px; }
  .hero-tagline { margin: 10px 0; max-width: 22em; font-size: 1.1rem; line-height: 1.4; }
  .home-page .premixed-hero .lead { font-size: .9rem; max-width: 26em; line-height: 1.5; margin: 8px 0; }
  .home-page .hero-ready-line { margin: 10px 0; font-size: .75rem; }
  .home-page .hero-actions { grid-template-columns: 1fr 1fr; margin: 14px 0; gap: 10px; }
  .home-page .hero-actions .btn { padding-inline: 10px; font-size: .7rem; }
  .home-page .premixed-hero .proof-row { display: none; }
  .peptide-primer { padding: 40px 0; }
  .peptide-primer h2 { font-size: 2.1rem; max-width: 14em; margin-bottom: 18px; }
  .peptide-primer-grid { gap: 24px; }
  .peptide-primer-copy .lead { font-size: 1rem; }
  .shop-page .shop-hero { padding: 24px 0 18px !important; }
  .shop-page .shop-hero h1 { font-size: 2.1rem !important; }
  .shop-page .shop-hero p { font-size: .9rem !important; line-height: 1.5 !important; }
  .shop-finder-link { font-size: .85rem; }
  .shop-page .shop-toolbar { font-size: .78rem; margin-bottom: 14px; }
  .shop-toolbar a { margin-left: 6px; }
  .shop-page .shop-filter-grid { grid-template-columns: 1fr 1fr; gap: 10px; padding-bottom: 14px; }
  .shop-page .shop-filter-grid select { padding-left: 9px; padding-right: 24px; font-size: .82rem; }
  .shop-page .shop-filter-grid button { min-height: 46px; font-size: .72rem; }
  .shop-page #productGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .shop-page .product-card-body { padding: 12px 0 0; gap: 6px; }
  .shop-page .product-card h3 { font-size: 1.15rem; line-height: 1.2; margin: 4px 0; }
  .shop-page .product-card-body > p { font-size: .8rem; line-height: 1.5; }
  .shop-page .card-kicker { flex-wrap: wrap; gap: 4px 10px; font-size: .65rem; }
  .shop-page .skin-goal-chip { font-size: .68rem; padding: 0; border: 0; min-height: 20px; background: none; }
  .shop-page .card-row { gap: 6px; }
  .shop-page .stock-state { font-size: .68rem; }
  .shop-page .card-row .mini-btn { padding-inline: 5px; font-size: .68rem; min-height: 44px; }
  .shop-routine-note { display: block; }
  .shop-routine-note h2 { font-size: 1.8rem; }
  .shop-routine-note .btn { margin-top: 20px; }
  .product-page .fixed-pdp { padding-top: 14px; }
  .pdp-back { margin-bottom: 12px; font-size: .8rem; }
  .product-page .fixed-pdp .pdp-grid { display: grid; grid-template-columns: 1fr; gap: 18px; padding-inline: 0; }
  .pdp-image-button { height: 240px; }
  .pdp-image-tabs { padding-top: 4px; }
  .pdp-image-tabs button { min-height: 36px; }
  .pdp-summary h1 { font-size: 2rem; line-height: 1.08; }
  .pdp-summary .lead { font-size: .9rem; line-height: 1.5; }
  .pdp-summary .pdp-status-price { margin: 12px 0; padding: 8px 0; }
  .pdp-summary .waitlist-row { grid-template-columns: minmax(0, 1fr) auto; }
  .pdp-summary .waitlist-row button { font-size: .67rem; padding-inline: 10px; }
  .pdp-summary .fixed-waitlist-form > label { font-size: .8rem; }
  .pdp-summary .fixed-waitlist-form > p { font-size: .73rem; }
  .pdp-summary .pdp-desire-points { grid-template-columns: 1fr; }
  .product-overview .product-detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .image-viewer { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .image-viewer-toolbar { gap: 8px; flex-wrap: wrap; padding: 10px; }
  .image-viewer-toolbar h2 { width: 100%; font-size: 1rem; }
  .image-viewer-toolbar form { margin-left: auto; }
  .image-viewer-canvas { height: 65dvh; }
  .product-peptide-story h2 { font-size: 2rem; }
  .page-hero.ingredient-detail-hero h1 { font-size: 1.65rem !important; line-height: 1.2 !important; text-wrap: wrap; }
}
@media (max-width: 360px) {
  .home-page .premixed-hero { min-height: 610px !important; }
  .pdp-summary .waitlist-row { grid-template-columns: 1fr; }
  .pdp-summary h1 { font-size: 1.8rem; }
}

/* Mobile conversion follow-up - September 2026 */
.mobile-home-more > summary,
.mobile-restock-dock { display: none; }

@media (max-width: 760px) {
  .mobile-home-more > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 78px;
    padding: 16px 20px;
    border-top: 1px solid var(--rb-line);
    border-bottom: 1px solid var(--rb-line);
    background: #fffdf9;
    color: var(--rb-ink);
    cursor: pointer;
    list-style: none;
  }
  .mobile-home-more > summary::-webkit-details-marker { display: none; }
  .mobile-home-more > summary::marker { content: ""; }
  .mobile-home-more > summary::after { display: none !important; content: "" !important; }
  .mobile-home-more > summary small,
  .mobile-home-more > summary b { display: block; }
  .mobile-home-more > summary small {
    margin-bottom: 3px;
    color: var(--rb-ink-soft);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .mobile-home-more > summary b { font-size: .84rem; line-height: 1.35; }
  .mobile-home-more-icon {
    display: grid;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid var(--rb-line);
    border-radius: 50%;
    color: var(--rb-green);
    font-size: 1.25rem;
    transition: transform .2s ease;
  }
  .mobile-home-more[open] .mobile-home-more-icon { transform: rotate(45deg); }
  .mobile-home-more[open] > summary { background: var(--rb-sage-wash); }

  .mobile-restock-dock {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--rb-line);
    background: rgba(255, 253, 249, .97);
    box-shadow: 0 -14px 32px rgba(23, 32, 23, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(110%);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    pointer-events: none;
  }
  .mobile-restock-dock.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .mobile-restock-dock > div { min-width: 0; }
  .mobile-restock-dock span,
  .mobile-restock-dock b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-restock-dock span { margin-bottom: 3px; color: var(--rb-ink-soft); font-size: .68rem; }
  .mobile-restock-dock b { color: var(--rb-ink); font-size: .75rem; }
  .mobile-restock-dock .btn { min-height: 48px; padding: 11px 16px; font-size: .7rem; }
  body.product-page.mobile-restock-visible { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  #waitlistForm { scroll-margin-top: 108px; }
}

@media (max-width: 430px) {
  .shop-page #productGrid { gap: 16px 10px; }
  .shop-page #productGrid .product-card-body { padding: 12px 10px 10px; }
  .shop-page #productGrid .product-card-body > p { display: none; }
  .shop-page #productGrid .card-row { margin-top: 8px; }
}

@media (max-width: 360px) {
  .mobile-restock-dock span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-home-more-icon,
  .mobile-restock-dock { transition: none; }
}

/* Shared routine cards keep product rows and actions aligned at every width. */
.routine-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.routine-card.concern-routine-card { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 28px; border: 1px solid var(--rb-line); background: #fffdf9; }
.routine-card-heading { margin-bottom: 22px; }
.routine-card-heading .eyebrow { color: var(--rb-ink-soft); font-size: .7rem; line-height: 1.5; }
.routine-card.concern-routine-card h3 { margin: 10px 0 12px; font-size: 1.75rem; line-height: 1.15; text-wrap: balance; }
.routine-card-heading p { margin: 0; color: var(--rb-ink-soft); font-size: .95rem; line-height: 1.6; }
.routine-card-products { margin: auto 0 0; padding: 0; }
.routine-card-products > div { padding: 14px 0; border-top: 1px solid var(--rb-line); }
.routine-card-products dt { margin: 0 0 5px; color: var(--rb-ink-soft); font-size: .7rem; line-height: 1.4; }
.routine-card-products dd { margin: 0; color: var(--rb-ink); font-size: .95rem; font-weight: 700; line-height: 1.5; }
.routine-card-products a { text-underline-offset: 4px; }
.routine-card-products a:hover { text-decoration: underline; }
.routine-card-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; align-self: stretch; min-height: 48px; margin-top: 18px; padding: 10px 0; border-top: 1px solid var(--rb-line); color: var(--rb-ink); font-size: .85rem; font-weight: 700; line-height: 1.5; }
.routine-card-link span { flex: 0 0 auto; font-size: 1.25rem; line-height: 1; }
.routine-card-link:hover { color: var(--rb-rose); }
.routine-card-link:focus-visible, .routine-card-products a:focus-visible { outline: 2px solid var(--rb-ink); outline-offset: 4px; }
.routine-card.routine-addon { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.routine-addon .routine-card-heading { margin-bottom: 0; }
.routine-addon .routine-card-products { grid-column: 2; grid-row: 1 / 3; align-self: center; margin: 0; }
.routine-addon .routine-card-link { grid-column: 1; align-self: end; }
.home-page .section:has(#homeRoutineGrid) .section-head h2,
.home-page .section:has(#moistureProductGrid) .section-head h2 { font-size: 3rem; line-height: 1.1; }
.cream-collection-grid, .cream-collection-page #productGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product-card[data-format="cream"] .product-card-visual,
.product-card[data-format="cream"] .product-photo-visual { height: auto; min-height: 0; aspect-ratio: 1 / 1; }
.product-card[data-format="cream"] .product-photo-visual img { min-height: 0; aspect-ratio: 1 / 1; object-fit: contain; transform: none; filter: none; }
.cream-collection-grid .product-card h3,
.cream-collection-page .product-card h3 { font-size: 1.5rem; line-height: 1.2; }
.cream-collection-grid .product-card-body,
.cream-collection-page .product-card-body { padding: 20px; }
.cream-collection-grid .card-row,
.cream-collection-page .card-row { gap: 12px; flex-wrap: wrap; }
.cream-collection-grid .mini-btn,
.cream-collection-page .mini-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
@media (max-width: 760px) {
  .routine-grid { grid-template-columns: 1fr; gap: 16px; }
  .routine-card.concern-routine-card { padding: 22px; }
  .routine-card.concern-routine-card h3 { font-size: 1.6rem; }
  .routine-card.routine-addon { display: flex; }
  .routine-addon .routine-card-heading { margin-bottom: 22px; }
  .routine-addon .routine-card-products { align-self: stretch; }
  .routine-addon .routine-card-link { align-self: stretch; }
  .home-page .section:has(#homeRoutineGrid) .section-head h2,
  .home-page .section:has(#moistureProductGrid) .section-head h2 { font-size: 2.1rem; }
  .cream-collection-grid, .cream-collection-page #productGrid { grid-template-columns: 1fr; gap: 24px; }
}

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