:root {
  --pscv-ink: #17131f;
  --pscv-muted: #6e6876;
  --pscv-paper: #fffdf8;
  --pscv-soft: #f5f0fb;
  --pscv-accent: #7c3aed;
  --pscv-accent-dark: #4c1d95;
  --pscv-green: #0f9f6e;
  --pscv-line: rgba(43, 29, 57, .12);
  --pscv-shadow: 0 16px 44px rgba(44, 25, 67, .09);
}

.pscv-wrap {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.pscv-home {
  color: var(--pscv-ink);
  background: transparent;
}

/* The theme owns the navigation behavior; this layer only restyles it. */
.ps-announcement { display: none !important; }
.ps-header {
  box-sizing: border-box;
  top: 14px;
  width: min(94.1vw, 1620px);
  margin: 18px auto 0;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 20px;
  background: rgba(255, 255, 255, .45);
  box-shadow: 0 14px 42px rgba(42, 31, 49, .08);
  backdrop-filter: blur(20px) saturate(115%);
  -webkit-backdrop-filter: blur(20px) saturate(115%);
}
.admin-bar.pscv-admin-bar-visible .ps-header { top: 46px; }
.ps-header > .ps-wrap.ps-header-row {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  width: 100%;
  max-width: none;
  height: 80px;
  padding: 0 36px;
  gap: 24px;
}
.ps-header .ps-logo { justify-self: start; }
.ps-header .ps-logo img {
  width: 224px;
  max-height: 40px;
}
.ps-header .ps-nav {
  justify-self: center;
  width: auto;
  margin: 0;
  padding: 0;
  gap: 26px;
  border: 0;
}
.ps-header .ps-nav svg,
.ps-header .ps-login-pill svg { display: none; }
.ps-header .ps-nav a,
.ps-header .ps-nav button {
  padding: 8px 4px;
  border-radius: 0;
  background: transparent;
  color: #3f3a43;
  font-size: 15px;
  font-weight: 500;
}
.ps-header .ps-nav a:hover,
.ps-header .ps-nav button:hover,
.ps-header .ps-nav a.is-active {
  background: transparent;
  color: #17131f;
  box-shadow: none;
}
.ps-header .ps-nav a::after,
.ps-header .ps-nav button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}
.ps-header .ps-nav a,
.ps-header .ps-nav button { position: relative; }
.ps-header .ps-nav a:hover::after,
.ps-header .ps-nav button:hover::after,
.ps-header .ps-nav a.is-active::after { transform: scaleX(1); }
.ps-header .ps-actions {
  justify-self: end;
  gap: 12px;
}
.ps-header .ps-cart-link {
  width: 40px;
  height: 40px;
  color: #29242d;
}
.ps-header .ps-cart-link:hover { background: rgba(255, 255, 255, .5); }
.ps-header .ps-login-pill {
  height: 42px;
  padding: 0 20px;
  border: 1px solid rgba(31, 26, 35, .62);
  border-radius: 10px;
  background: rgba(255, 255, 255, .16);
  color: #211d24;
  font-size: 14px;
  font-weight: 500;
}
.ps-header .ps-login-pill:hover { background: rgba(255, 255, 255, .55); }

.pscv-offer-wrap { padding-top: 18px; }

.pscv-offerbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
  padding: 11px 14px;
  border: 1px solid rgba(124, 58, 237, .18);
  border-radius: 12px;
  background: linear-gradient(100deg, #24172f, #4c1d95 62%, #6d28d9);
  color: #fff;
  box-shadow: 0 9px 24px rgba(76, 29, 149, .12);
}

.pscv-offerbar > div { display: flex; align-items: center; gap: 12px; }
.pscv-offerbar__eyebrow {
  flex: 0 0 auto;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  color: #e9d5ff;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .11em;
}
.pscv-offerbar strong { font: 700 14px/1.35 Inter, system-ui, sans-serif; }
.pscv-offerbar__action {
  flex: 0 0 auto;
  padding: 8px 13px;
  border-radius: 9px;
  background: #fff;
  color: #4c1d95;
  font-size: 12px;
  font-weight: 800;
}
.pscv-offerbar--applied { background: linear-gradient(100deg, #123d31, #08775a); }

.pscv-hero {
  min-height: clamp(610px, calc(100svh - 116px), 820px);
  padding: clamp(64px, 7vw, 104px) 0 clamp(78px, 8vw, 122px);
  overflow: hidden;
  background-image: linear-gradient(90deg, rgba(255, 252, 247, .38) 0%, rgba(255, 252, 247, .3) 56%, rgba(255, 252, 247, .24) 100%);
  background-position: center;
  background-size: cover;
}
html[data-pscv-hero-variant="texture"] .ps-site-bg video { display: none !important; }
html[data-pscv-hero-variant="texture"] .pscv-home {
  background:
    radial-gradient(circle at 6% 14%, rgba(124, 58, 237, .08), transparent 31rem),
    #fbfaf7;
}
html[data-pscv-hero-variant="texture"] .pscv-hero {
  background-image:
    linear-gradient(90deg, rgba(251, 250, 247, .96) 0%, rgba(251, 250, 247, .84) 52%, rgba(251, 250, 247, .42) 100%),
    url("hero-lab-texture.jpg");
}
.pscv-catalog,
.pscv-merch-section,
.pscv-tools-section {
  background: rgba(251, 250, 247, .88);
  backdrop-filter: blur(16px);
}
.pscv-hero > .pscv-wrap { width: min(94.1vw, 1620px); }
.pscv-hero-grid {
  display: flex;
  align-items: center;
  min-height: clamp(430px, calc(100svh - 300px), 600px);
}
.pscv-hero-copy {
  box-sizing: border-box;
  width: min(45vw, 774px);
  max-width: 774px;
}
.pscv-hero-panel {
  margin-left: clamp(0px, 2.8vw, 48px);
  padding: 52px 62px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 27px;
  background: rgba(255, 253, 248, .52);
  box-shadow: 0 24px 70px rgba(43, 31, 49, .1);
  backdrop-filter: blur(20px) saturate(112%);
  -webkit-backdrop-filter: blur(20px) saturate(112%);
}
.pscv-kicker,
.pscv-section-heading > div > span,
.pscv-tools-intro > span,
.pscv-tool-link > span,
.pscv-tool-intro > span {
  color: var(--pscv-accent);
  font: 850 10px/1.2 Inter, system-ui, sans-serif;
  letter-spacing: .13em;
}
.pscv-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  color: #247a5c;
  font-size: 12px;
  letter-spacing: .14em;
}
.pscv-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f8f68;
  box-shadow: 0 0 0 4px rgba(47, 143, 104, .08);
}
.pscv-hero h1 {
  max-width: 690px;
  margin: 27px 0 20px;
  font: 500 clamp(46px, 3.3vw, 58px)/1.08 Lora, Georgia, serif;
  letter-spacing: -.035em;
}
.pscv-hero-copy > p {
  max-width: 610px;
  margin: 0;
  color: #57515b;
  font-size: clamp(17px, 1.22vw, 20px);
  line-height: 1.55;
}
.pscv-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin: 32px 0 24px; }
.pscv-hero .pscv-primary {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 56px;
  padding: 13px 26px;
  border-radius: 10px;
  background: linear-gradient(120deg, #762bd1, #4538d1);
  box-shadow: 0 10px 24px rgba(86, 45, 196, .2);
  color: #fff;
  font-size: 15px;
}
.pscv-text-link { color: #5330bd; font-size: 14px; font-weight: 600; }
.pscv-text-link span { color: var(--pscv-accent); font-size: 17px; margin-left: 4px; }
.pscv-trust-line { display: flex; flex-wrap: wrap; gap: 10px 0; max-width: 620px; }
.pscv-trust-line span {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #514a58;
  font-size: 13px;
  font-weight: 500;
}
.pscv-trust-line span + span::before {
  content: "·";
  margin: 0 16px;
  color: #7f7883;
}
.pscv-hero-offer {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(43, 29, 57, .1);
  color: #5c5661;
  font-size: 13px;
}
.pscv-hero-offer svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #31845f;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pscv-hero-offer strong { color: #287a59; font-weight: 650; }
.pscv-hero-offer:hover strong { text-decoration: underline; text-underline-offset: 3px; }

/* Sales-first product rows: compact, factual, and easy to scan. */
.pscv-merch-section { padding: 48px 0; border-top: 1px solid rgba(43, 29, 57, .07); }
.pscv-featured { background: rgba(255, 255, 255, .58); }
.pscv-kits { background: rgba(246, 241, 250, .78); }
.pscv-merch-products.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}
.pscv-merch-card.product {
  display: flex !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(43, 29, 57, .1);
  border-radius: 16px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 9px 28px rgba(43, 28, 56, .045);
}
.pscv-merch-media { display: block; min-height: 0; background: linear-gradient(145deg, #f6f0fb, #fffdf8); }
.pscv-merch-media > img { display: block; width: 100%; aspect-ratio: 1.35 / 1; padding: 14px; object-fit: contain; }
.pscv-merch-card .pscv-vial-art { aspect-ratio: 1.35 / 1; }
.pscv-merch-body { display: flex; min-height: 222px; flex: 1; flex-direction: column; padding: 15px; }
.pscv-merch-body h3 { min-height: 2.7em; margin: 0 0 9px !important; color: var(--pscv-ink); font: 750 15px/1.35 Inter, system-ui, sans-serif !important; }
.pscv-merch-meta { display: flex; flex-wrap: wrap; gap: 5px 12px; margin-bottom: 10px; color: var(--pscv-muted); font-size: 9px; font-weight: 700; }
.pscv-merch-meta span + span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 6px 1px 0; border-radius: 50%; background: var(--pscv-green); }
.pscv-merch-price { margin-bottom: 8px; color: #2b2230; font-size: 15px; font-weight: 800; }
.pscv-merch-price del { color: #8a838f; font-size: 11px; font-weight: 500; }
.pscv-merch-price ins { color: #4c1d95; text-decoration: none; }
.pscv-merch-price small { display: block; margin-top: 2px; color: #30785b; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.pscv-document-action { color: #54268b; font-size: 11px; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.pscv-document-action--compact { display: inline-flex; align-items: center; gap: 4px; margin: 0 15px 10px; font-size: 9px; }
.pscv-merch-body .pscv-document-action--compact { margin: 0 0 13px; }
.pscv-merch-add.button { width: 100%; min-height: 40px; margin: auto 0 0 !important; padding: 10px 12px !important; border-radius: 9px !important; background: #24192d !important; color: #fff !important; font-size: 11px !important; text-align: center; }
.pscv-store-trust { display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; gap: 10px 18px; margin-top: 20px; padding: 14px 18px; border: 1px solid rgba(43, 29, 57, .09); border-radius: 13px; background: rgba(255, 255, 255, .62); color: #5d5663; font-size: 9px; font-weight: 700; }
.pscv-store-trust span::before { content: "✓"; margin-right: 6px; color: var(--pscv-green); font-weight: 900; }

.pscv-catalog { padding: 38px 0 58px; border-top: 1px solid rgba(43, 29, 57, .07); background: rgba(255, 255, 255, .38); }
.pscv-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.pscv-section-heading h2 { margin: 5px 0 0; font-size: clamp(28px, 3.2vw, 39px); line-height: 1.08; letter-spacing: -.03em; }
.pscv-section-heading > p { margin: 0; color: var(--pscv-muted); font-size: 12px; }
.pscv-section-heading--center { justify-content: center; text-align: center; }
.pscv-catalog-tools { display: grid; grid-template-columns: minmax(260px, .38fr) minmax(0, 1fr); gap: 14px; margin-bottom: 22px; }
.pscv-search { display: flex; min-width: 0; height: 41px; overflow: hidden; border: 1px solid var(--pscv-line); border-radius: 10px; background: #fff; box-shadow: 0 4px 16px rgba(48, 30, 63, .035); }
.pscv-search input { min-width: 0; flex: 1; padding: 0 13px; border: 0; background: transparent; font: inherit; outline: 0; }
.pscv-search button { border: 0; padding: 0 15px; background: #22182b; color: #fff; font: 750 12px Inter, sans-serif; cursor: pointer; }
.pscv-focus-nav { display: flex; min-width: 0; gap: 7px; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
.pscv-focus-nav::-webkit-scrollbar { display: none; }
.pscv-focus-nav a { flex: 0 0 auto; display: inline-flex; align-items: center; height: 41px; padding: 0 12px; border: 1px solid var(--pscv-line); border-radius: 10px; background: rgba(255, 255, 255, .78); color: #5d5663; font-size: 10px; font-weight: 750; }
.pscv-focus-nav a:hover,
.pscv-focus-nav a.is-active { border-color: #2c1c35; background: #22182b; color: #fff; }

.pscv-home .woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px !important;
}
.pscv-home .woocommerce ul.products li.product {
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
  padding-bottom: 15px !important;
  border-color: rgba(43, 29, 57, .1);
  border-radius: 14px;
  background: rgba(255, 255, 255, .84);
  width: auto !important;
  margin: 0 !important;
}
.pscv-home .woocommerce ul.products li.product img { width: 100%; aspect-ratio: 1.3 / 1; padding: 18px; background: linear-gradient(145deg, #f6f0fb, #fffdf8); object-fit: contain; }
.pscv-home .woocommerce-loop-product__title { min-height: 2.7em; overflow: visible; font-size: 15px !important; line-height: 1.35 !important; text-overflow: clip; white-space: normal !important; }
.pscv-card-facts { display: flex; flex-wrap: wrap; gap: 5px; padding: 0 15px 10px; }
.pscv-card-facts span { display: inline-flex; align-items: center; min-height: 22px; padding: 3px 7px; border-radius: 6px; background: #f3eff5; color: #625b68; font-size: 9px; font-weight: 750; line-height: 1.2; }
.pscv-card-facts .is-stocked::before { content: ""; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: var(--pscv-green); }
.pscv-card-facts .is-unavailable { color: #9b3030; background: #fff0f0; }
.pscv-card-facts .pscv-card-report { flex-basis: 100%; justify-content: center; border: 1px solid rgba(109, 53, 165, .15); background: #f3ecfa; color: #5b258b; }
.pscv-offer-price { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 1px 7px; margin: 0 15px 9px; padding: 8px 9px; border: 1px solid rgba(47, 132, 95, .14); border-radius: 8px; background: rgba(231, 247, 239, .68); }
.pscv-offer-price span { color: #337459; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.pscv-offer-price strong { color: #155f45; font-size: 13px; }
.pscv-offer-price small { grid-column: 1 / -1; color: #5e756b; font-size: 7px; }
.pscv-home .woocommerce ul.products li.product .price { margin-top: auto; }
.pscv-catalog-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.pscv-catalog-actions > a:not(.ps-button) { color: var(--pscv-accent-dark); font-size: 12px; font-weight: 800; }

/* Product-specific identity lives inside the physical paper label, not above it. */
.pscv-vial-art {
  display: grid;
  width: 100%;
  aspect-ratio: 1.3 / 1;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #f6f0fb, #fffdf8);
}
.pscv-vial-stage {
  position: relative;
  display: block;
  height: 100%;
  aspect-ratio: 1 / 1;
  max-width: 100%;
}
.pscv-vial-stage > img,
.pscv-vial-stage > picture,
.pscv-vial-stage > picture > img,
.pscv-home .woocommerce ul.products li.product .pscv-vial-stage > img,
.pscv-home .woocommerce ul.products li.product .pscv-vial-stage > picture > img,
.pscv-compare-card .pscv-vial-stage > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  aspect-ratio: 1 / 1 !important;
  background: transparent !important;
  object-fit: contain !important;
}
.pscv-vial-stage > picture { position: relative; }
.pscv-vial-canvas {
  position: absolute;
  z-index: 2;
  top: 45.2%;
  left: 34.7%;
  display: block;
  width: 30.6%;
  height: 27.5%;
  pointer-events: none;
}
.pscv-vial-stage--single { width: 100%; height: auto; }
.pscv-compare-card .pscv-vial-art { height: 150px; margin-bottom: 11px; aspect-ratio: auto; }
.pscv-compare-card .pscv-vial-stage { height: 150px; }

.pscv-proof-section { padding: 46px 0; background: #22182b; color: #fff; }
.pscv-proof-section .pscv-section-heading > div > span { color: #c4b5fd; }
.pscv-proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pscv-proof-grid article { padding: clamp(17px, 2vw, 21px); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; background: rgba(255, 255, 255, .045); }
.pscv-proof-grid article > span { color: #c4b5fd; font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.pscv-proof-grid h3 { margin: 18px 0 7px; font-family: Inter, sans-serif; font-size: 17px; }
.pscv-proof-grid p { margin: 0; color: #c9c3ce; font-size: 12px; line-height: 1.55; }

.pscv-tools-section { padding: 58px 0 66px; }
.pscv-tools-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 15px; align-items: stretch; }
.pscv-tools-intro { padding: 16px 30px 16px 0; }
.pscv-tools-intro h2 { margin: 8px 0 11px; font-size: clamp(28px, 3.1vw, 38px); line-height: 1.08; letter-spacing: -.03em; }
.pscv-tools-intro p { margin: 0; color: var(--pscv-muted); font-size: 13px; line-height: 1.55; }
.pscv-tool-link { display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--pscv-line); border-radius: 15px; background: rgba(255, 255, 255, .7); box-shadow: 0 7px 24px rgba(43, 28, 56, .04); transition: transform .18s, border-color .18s; }
.pscv-tool-link:hover { transform: translateY(-3px); border-color: rgba(124, 58, 237, .35); }
.pscv-tool-link h3 { margin: 35px 0 9px; font-family: Inter, sans-serif; font-size: 20px; }
.pscv-tool-link p { margin: 0 0 26px; color: var(--pscv-muted); font-size: 13px; }
.pscv-tool-link b { margin-top: auto; color: var(--pscv-accent-dark); font-size: 12px; }
.pscv-tool-link i { font-style: normal; font-size: 17px; }

/* Product page: compact the oversized media and put proof beside the decision. */
body.single-product .woocommerce div.product {
  display: grid !important;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  gap: 34px;
  padding: clamp(20px, 3vw, 34px);
}
body.single-product .woocommerce div.product div.images,
body.single-product .woocommerce div.product div.summary { float: none !important; width: auto !important; margin: 0 !important; }
body.single-product .woocommerce div.product div.images img { width: 100%; height: auto; max-height: none; object-fit: contain; }
body.single-product .woocommerce-tabs,
body.single-product .related,
body.single-product .upsells { grid-column: 1 / -1; }
body.single-product .product_title { margin-bottom: 8px; }
.pscv-product-proof { display: grid; gap: 0; margin: 14px 0; overflow: hidden; border: 1px solid var(--pscv-line); border-radius: 14px; background: #fbf9fd; }
.pscv-proof-row { display: flex; justify-content: space-between; gap: 20px; padding: 9px 12px; border-bottom: 1px solid var(--pscv-line); font-size: 11px; }
.pscv-proof-row span { color: var(--pscv-muted); }
.pscv-proof-row strong { text-align: right; }
.pscv-proof-document { display: flex; align-items: flex-start; gap: 11px; padding: 13px; }
.pscv-proof-document__icon { display: grid; flex: 0 0 36px; height: 42px; place-items: center; border-radius: 8px; background: #ede4fa; color: var(--pscv-accent-dark); font-size: 8px; font-weight: 900; }
.pscv-proof-document p { margin: 3px 0 7px; color: #665f6c; font-size: 10px; line-height: 1.45; }
.pscv-proof-document a { color: var(--pscv-accent-dark); font-size: 11px; font-weight: 850; text-decoration: underline; text-underline-offset: 2px; }
.pscv-document-facts { display: grid; gap: 0; margin: 9px 0 10px; }
.pscv-document-facts > div { display: flex; justify-content: space-between; gap: 14px; padding: 5px 0; border-top: 1px solid rgba(43, 29, 57, .09); font-size: 9px; line-height: 1.35; }
.pscv-document-facts dt { color: var(--pscv-muted); }
.pscv-document-facts dd { margin: 0; color: #2f2635; font-weight: 800; text-align: right; }
.pscv-purchase-assurance { display: grid; gap: 5px; margin: 12px 0 0; padding: 11px 12px; border-radius: 10px; background: #f7f3fa; color: #625b68; font-size: 10px; }
.pscv-purchase-assurance span::before { content: "✓"; margin-right: 6px; color: var(--pscv-green); font-weight: 900; }
.pscv-purchase-assurance .pscv-document-action { margin: 3px 0 0; }
body.single-product .summary > .pscv-offer-price { width: fit-content; min-width: 225px; margin: -2px 0 14px; padding: 9px 11px; }
body.pscv-has-proof .ps-batch-docs { display: none !important; }

/* Keep the homepage catalog compact without changing single-product copy. */
.pscv-home .products .ps-loop-description { display: none !important; }

/* Underwriting gate: contain the existing content-box card on narrow screens. */
.psuw-gate .psuw-gate-card {
  box-sizing: border-box;
  max-width: 580px;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
}

@media (max-width: 480px) {
  .psuw-gate { padding: 12px !important; }
  .psuw-gate .psuw-gate-card {
    width: 100% !important;
    max-width: 100% !important;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    padding: 20px 16px !important;
    border-radius: 16px;
  }
  .psuw-gate .psuw-gate-card h2 { margin: 12px 0 8px; font-size: 28px; line-height: 1.08; }
  .psuw-gate .psuw-gate-card p { margin: 0; font-size: 13px; line-height: 1.45; }
  .psuw-gate .psuw-gate-card label { margin: 16px 0; font-size: 12px; line-height: 1.4; }
  .psuw-gate .psuw-gate-card button {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    font-size: 12px;
  }
}

/* Cart/checkout: compact, one consent, and no duplicate coupon entry. */
.psuw-checkout-ack.pscv-checkout-ack { margin: 8px 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; }
.pscv-checkout-ack .form-row { margin: 0 !important; padding: 9px 11px; border: 1px solid rgba(43, 29, 57, .1); border-radius: 8px; background: rgba(255, 255, 255, .72); font-size: 11px; line-height: 1.45; }
.pscv-checkout-ack a { color: var(--pscv-accent-dark); font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }
body.woocommerce-cart .woocommerce-cart-form .coupon { align-items: center; gap: 7px; }
body.woocommerce-cart .woocommerce-cart-form .coupon .input-text { min-width: 140px; min-height: 40px; }
body.woocommerce-cart .woocommerce-cart-form .coupon .button { min-height: 40px; padding-block: 8px; }
body.woocommerce-checkout .woocommerce-form-coupon { padding: 14px; border: 1px solid var(--pscv-line); border-radius: 9px; background: rgba(255, 255, 255, .78); box-shadow: 0 5px 18px rgba(43, 28, 56, .035); }
body.pscv-has-applied-coupon.woocommerce-cart .woocommerce-cart-form .coupon,
body.pscv-has-applied-coupon.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.pscv-has-applied-coupon.woocommerce-checkout .woocommerce-form-coupon { display: none !important; }
body.woocommerce-cart .cart_totals,
body.woocommerce-checkout #order_review { border-radius: 12px; }
body.woocommerce-checkout #place_order { width: 100%; min-height: 46px; padding: 11px 16px; border-radius: 9px; font-size: 14px; }
.pscv-payment-help-copy { color: #625b68; font-size: 13px; line-height: 1.55; }
.pscv-payment-help-copy p { margin: 0 0 12px; }
.pscv-payment-help-copy p:last-child { margin-bottom: 0; }

/* Research-safe tools. */
.pscv-tool-shell { width: min(1180px, calc(100% - 36px)); margin: 30px auto 70px; }
.pscv-tool-intro { max-width: 800px; margin: 0 auto 30px; text-align: center; }
.pscv-tool-intro > span { display: inline-block; margin-bottom: 10px; }
.pscv-tool-intro h1 { margin: 0 0 13px; font-size: clamp(38px, 5vw, 58px); letter-spacing: -.035em; }
.pscv-tool-intro p { margin: 0; color: var(--pscv-muted); font-size: 15px; }
.pscv-compare-form { position: relative; }
.pscv-compare-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-bottom: 90px; }
.pscv-compare-card { position: relative; display: flex; min-width: 0; flex-direction: column; padding: 14px; border: 1px solid var(--pscv-line); border-radius: 16px; background: rgba(255, 255, 255, .78); cursor: pointer; transition: border-color .18s, transform .18s; }
.pscv-compare-card:hover { transform: translateY(-2px); border-color: rgba(124, 58, 237, .32); }
.pscv-compare-card:has(input:checked) { border-color: var(--pscv-accent); box-shadow: 0 0 0 2px rgba(124, 58, 237, .12); }
.pscv-compare-card input { position: absolute; opacity: 0; }
.pscv-compare-check { position: absolute; top: 11px; right: 11px; z-index: 2; width: 22px; height: 22px; border: 1px solid #cfc5d5; border-radius: 7px; background: #fff; }
.pscv-compare-card input:checked + .pscv-compare-check { border-color: var(--pscv-accent); background: var(--pscv-accent); }
.pscv-compare-card input:checked + .pscv-compare-check::after { content: "✓"; display: grid; height: 100%; place-items: center; color: #fff; font-size: 12px; }
.pscv-compare-card img { width: 100%; height: 150px; margin-bottom: 11px; object-fit: contain; }
.pscv-compare-card strong { overflow: hidden; font-size: 13px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.pscv-compare-card > span:not(.pscv-compare-check) { margin-top: 6px; font-size: 11px; }
.pscv-compare-card small { margin-top: 4px; color: var(--pscv-muted); font-size: 9px; }
.pscv-compare-card em { align-self: flex-start; margin-top: 10px; padding: 4px 7px; border-radius: 6px; background: #efe8f8; color: #603093; font-size: 8px; font-style: normal; font-weight: 800; }
.pscv-compare-tray { position: sticky; z-index: 20; bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 18px; width: min(600px, calc(100% - 24px)); margin: -70px auto 0; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 15px; background: rgba(31, 22, 39, .94); color: #fff; box-shadow: 0 18px 45px rgba(35, 21, 44, .22); backdrop-filter: blur(18px); }
.pscv-compare-tray span { font-size: 11px; }
.pscv-compare-tray span strong { color: #c4b5fd; font-size: 17px; }
.pscv-compare-tray .ps-button { padding: 10px 13px; }
.pscv-tool-boundary { max-width: 800px; margin: 24px auto 0; color: #8a838f; text-align: center; font-size: 10px; }
.pscv-math-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 920px; margin: auto; }
.pscv-math-card { padding: clamp(20px, 4vw, 32px); border: 1px solid var(--pscv-line); border-radius: 20px; background: rgba(255, 255, 255, .82); box-shadow: 0 14px 42px rgba(48, 28, 64, .06); }
.pscv-math-card h2 { margin: 0 0 20px; font-family: Inter, sans-serif; font-size: 22px; }
.pscv-math-card label { position: relative; display: block; margin: 12px 0; color: #544d5a; font-size: 11px; font-weight: 750; }
.pscv-math-card label span { position: absolute; right: 11px; bottom: 11px; color: #8c8591; font-size: 10px; }
.pscv-math-card input { display: block; width: 100%; height: 44px; margin-top: 5px; padding: 0 44px 0 11px; border: 1px solid #dcd3e1; border-radius: 10px; background: #fff; font: inherit; }
.pscv-math-card .ps-button { margin-top: 6px; }
.pscv-math-result { min-height: 58px; margin-top: 13px; padding: 13px; border-radius: 10px; background: #f2ebf9; color: #4d2a74; font-size: 13px; font-weight: 750; }
.pscv-math-card > small { display: block; margin-top: 9px; color: #8a838f; font-size: 9px; }

/* Constrained catalog assistant. */
.pscv-peppy-toggle { position: fixed; z-index: 100002; right: 16px; bottom: 16px; display: grid; grid-template-columns: 38px auto; grid-template-rows: auto auto; column-gap: 9px; align-items: center; padding: 8px 13px 8px 8px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--pscv-ink); box-shadow: 0 17px 45px rgba(38, 24, 48, .2); backdrop-filter: blur(18px); cursor: pointer; transition: opacity .18s ease, transform .18s ease; }
.pscv-peppy-toggle > span { grid-row: 1 / 3; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--pscv-accent), var(--pscv-accent-dark)); color: #fff; font: 800 18px Lora, serif; }
.pscv-peppy-toggle b { align-self: end; text-align: left; font-size: 11px; line-height: 1.1; }
.pscv-peppy-toggle small { align-self: start; color: #827a87; font-size: 8px; line-height: 1.1; }
.pscv-peppy-toggle.is-hero-compact { grid-template-columns: 38px; grid-template-rows: 38px; column-gap: 0; padding: 6px; opacity: 0; transform: translateY(8px); pointer-events: none; }
.pscv-peppy-toggle.is-hero-compact > span { grid-row: 1; }
.pscv-peppy-toggle.is-hero-compact b,
.pscv-peppy-toggle.is-hero-compact small { display: none; }
.pscv-peppy { position: fixed; z-index: 100003; right: 16px; bottom: 78px; width: min(360px, calc(100vw - 24px)); overflow: hidden; border: 1px solid rgba(255, 255, 255, .7); border-radius: 18px; background: rgba(255, 255, 255, .94); box-shadow: 0 25px 70px rgba(38, 22, 49, .28); backdrop-filter: blur(22px); }
.pscv-peppy[hidden] { display: none !important; }
.pscv-peppy header { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; background: linear-gradient(100deg, #2b1937, #6d28d9); color: #fff; }
.pscv-peppy header div { display: flex; flex-direction: column; }
.pscv-peppy header strong { font-size: 13px; }
.pscv-peppy header span { color: #ddd0eb; font-size: 9px; }
.pscv-peppy header button { border: 0; background: transparent; color: #fff; font-size: 22px; cursor: pointer; }
.pscv-peppy-body { padding: 14px; }
.pscv-peppy-answer { min-height: 70px; margin: 0 0 12px; padding: 11px; border-radius: 11px; background: #f5f0f8; color: #544c5b; font-size: 11px; line-height: 1.5; }
.pscv-peppy form { display: flex; gap: 7px; }
.pscv-peppy input { min-width: 0; flex: 1; height: 40px; padding: 0 11px; border: 1px solid #dcd3e1; border-radius: 10px; font: inherit; }
.pscv-peppy form button { flex: 0 0 auto; border: 0; border-radius: 10px; padding: 0 13px; background: var(--pscv-accent); color: #fff; font-size: 11px; font-weight: 800; cursor: pointer; }
.pscv-peppy-body > small { display: block; margin-top: 9px; color: #8b8490; font-size: 8px; line-height: 1.4; }

.pscv-mobile-buy { display: none; }

@media (max-width: 980px) {
  .ps-header > .ps-wrap.ps-header-row { height: 72px; padding-inline: 24px; }
  .ps-header .ps-logo img { width: 184px; }
  .ps-header .ps-nav { gap: 18px; }
  .pscv-hero-copy { width: min(76vw, 700px); max-width: 700px; }
  .pscv-hero-panel { margin-left: 0; padding: 44px 48px; }
  .pscv-hero h1 { font-size: 46px; }
  .pscv-merch-products.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pscv-store-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pscv-home .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pscv-tools-grid { grid-template-columns: 1fr 1fr; }
  .pscv-tools-intro { grid-column: 1 / -1; max-width: 700px; padding-right: 0; }
  .pscv-compare-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .ps-header {
    top: 12px;
    width: calc(100% - 24px);
    margin-top: 12px;
    border-radius: 18px;
  }
  .admin-bar.pscv-admin-bar-visible .ps-header { top: 58px; }
  .ps-header > .ps-wrap.ps-header-row {
    grid-template-columns: auto 1fr auto;
    width: 100%;
    height: 64px;
    min-height: 64px;
    padding: 0 14px;
    gap: 12px;
  }
  .ps-header .ps-logo img { width: 145px; max-height: 30px; }
  .ps-header .ps-nav {
    order: initial;
    justify-self: center;
    width: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
    gap: 12px;
    border: 0;
  }
  .ps-header .ps-nav a,
  .ps-header .ps-nav button {
    padding: 6px 1px;
    background: transparent;
    font-size: 11.5px;
  }
  .ps-header .ps-actions { margin: 0; }
  .ps-header .ps-cart-link { width: 38px; height: 38px; }
  .ps-header .ps-login-pill { display: none; }
}

@media (max-width: 760px) {
  .pscv-wrap { width: min(100% - 24px, 1180px); }
  .pscv-offer-wrap { padding-top: 10px; }
  .pscv-offerbar { align-items: flex-start; gap: 10px; margin-bottom: 8px; padding: 11px 12px; border-radius: 12px; }
  .pscv-offerbar > div { align-items: flex-start; flex-direction: column; gap: 5px; }
  .pscv-offerbar__eyebrow { font-size: 7px; }
  .pscv-offerbar strong { font-size: 11px; }
  .pscv-offerbar__action { padding: 7px 9px; font-size: 9px; }
  .pscv-hero {
    min-height: 0;
    padding: 36px 0 56px;
    background-image: linear-gradient(90deg, rgba(255, 252, 247, .46), rgba(255, 252, 247, .3));
  }
  .pscv-hero > .pscv-wrap { width: calc(100% - 24px); }
  .pscv-hero-grid { min-height: 0; }
  .pscv-hero-copy { text-align: left; }
  .pscv-hero-panel { width: 100%; max-width: none; margin-left: 0; padding: 30px 22px; border-radius: 22px; }
  .pscv-kicker { gap: 9px; font-size: 10px; }
  .pscv-hero h1 { margin: 20px 0 15px; font-size: clamp(39px, 11vw, 46px); line-height: 1.06; }
  .pscv-hero-copy > p { font-size: 15px; line-height: 1.52; }
  .pscv-hero-actions { gap: 18px; margin: 24px 0 20px; }
  .pscv-hero .pscv-primary { min-height: 50px; padding: 11px 17px; font-size: 13px; }
  .pscv-text-link { font-size: 12px; }
  .pscv-trust-line { gap: 8px 0; }
  .pscv-trust-line span { font-size: 10.5px; }
  .pscv-trust-line span + span::before { margin-inline: 6px; }
  .pscv-hero-offer { margin-top: 19px; padding-top: 15px; font-size: 11px; }
  .pscv-merch-section { padding: 34px 0; }
  .pscv-merch-products.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px !important; }
  .pscv-merch-card .pscv-vial-art,
  .pscv-merch-media > img { aspect-ratio: 1.2 / 1; }
  .pscv-merch-body { min-height: 210px; padding: 12px; }
  .pscv-merch-body h3 { font-size: 13px !important; }
  .pscv-merch-meta { gap: 4px 7px; font-size: 7px; }
  .pscv-merch-price { font-size: 13px; }
  .pscv-merch-add.button { min-height: 38px; font-size: 10px !important; }
  .pscv-store-trust { grid-template-columns: 1fr; gap: 7px; margin-top: 14px; padding: 12px 14px; }
  .pscv-catalog { padding: 30px 0 50px; }
  .pscv-section-heading { align-items: flex-start; flex-direction: column; gap: 6px; margin-bottom: 17px; }
  .pscv-section-heading--center { align-items: center; }
  .pscv-section-heading h2 { font-size: 31px; }
  .pscv-catalog-tools { grid-template-columns: 1fr; }
  .pscv-focus-nav a { height: 40px; padding-inline: 10px; font-size: 9px; }
  .pscv-home .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px !important; }
  .pscv-home .woocommerce ul.products li.product img { aspect-ratio: 1.3 / 1; padding: 12px; }
  .pscv-home .woocommerce ul.products li.product .pscv-vial-stage > img { aspect-ratio: 1 / 1 !important; padding: 0; }
  .pscv-home .woocommerce-loop-product__title { min-height: 2.7em; font-size: 13px !important; line-height: 1.35 !important; }
  .pscv-card-facts { gap: 4px; padding: 0 11px 7px; }
  .pscv-card-facts span { min-height: 19px; padding: 2px 5px; font-size: 7px; }
  .pscv-offer-price { margin-inline: 11px; }
  .pscv-document-action--compact { margin-inline: 11px; }
  .pscv-proof-section { padding: 42px 0; }
  .pscv-proof-grid { grid-template-columns: 1fr; }
  .pscv-proof-grid h3 { margin-top: 18px; }
  .pscv-tools-section { padding: 52px 0 62px; }
  .pscv-tools-grid { grid-template-columns: 1fr; }
  .pscv-tools-intro { grid-column: auto; padding: 0 0 8px; }
  .pscv-tool-link h3 { margin-top: 24px; }

  body.single-product .woocommerce div.product { grid-template-columns: 1fr; gap: 16px; padding: 15px; }
  body.single-product .woocommerce div.product div.images { max-height: none; overflow: visible; }
  body.single-product .woocommerce div.product div.images img { width: 100%; height: auto; max-height: none; object-fit: contain; }
  body.single-product .woocommerce div.product .product_title { font-size: 30px; }
  body.single-product .woocommerce-tabs,
  body.single-product .related,
  body.single-product .upsells { grid-column: auto; }

  .pscv-tool-shell { width: min(100% - 24px, 1180px); margin-top: 24px; }
  .pscv-tool-intro h1 { font-size: 38px; }
  .pscv-compare-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .pscv-compare-card { padding: 10px; }
  .pscv-compare-card img { height: 105px; }
  .pscv-compare-card .pscv-vial-art,
  .pscv-compare-card .pscv-vial-stage { height: 105px; }
  .pscv-compare-tray { bottom: 82px; }
  .pscv-math-grid { grid-template-columns: 1fr; }

  .pscv-mobile-buy { position: fixed; z-index: 100001; right: 8px; bottom: 8px; left: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 66px; padding: 9px 10px 9px 13px; border: 1px solid rgba(255, 255, 255, .75); border-radius: 15px; background: rgba(29, 21, 35, .95); color: #fff; box-shadow: 0 18px 48px rgba(31, 20, 38, .3); backdrop-filter: blur(18px); }
  .pscv-mobile-buy > div { min-width: 0; display: flex; flex-direction: column; }
  .pscv-mobile-buy strong { overflow: hidden; font-size: 10px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
  .pscv-mobile-buy span { color: #d8cbe1; font-size: 11px; }
  .pscv-mobile-buy span small { display: block; color: #c4b5fd; font-size: 8px; font-weight: 750; }
  .pscv-mobile-buy button { flex: 0 0 auto; border: 0; border-radius: 10px; padding: 11px 13px; background: linear-gradient(90deg, var(--pscv-accent), #5b21b6); color: #fff; font-size: 10px; font-weight: 850; }
  body.single-product { padding-bottom: 78px; }
  body.single-product .pscv-peppy-toggle { bottom: 82px; }
  body.single-product .pscv-peppy { bottom: 140px; }
  .pscv-peppy-toggle { right: 9px; bottom: 9px; grid-template-columns: 34px auto; }
  .pscv-peppy-toggle > span { width: 34px; height: 34px; }
  .pscv-peppy-toggle.is-hero-compact { grid-template-columns: 34px; grid-template-rows: 34px; }
  .pscv-peppy-toggle small { display: none; }
  .pscv-peppy { right: 8px; bottom: 69px; }
}

@media (max-width: 360px) {
  .ps-header > .ps-wrap.ps-header-row { padding-inline: 10px; gap: 8px; }
  .ps-header .ps-logo img { width: 100px; }
  .ps-header .ps-nav { gap: 8px; }
  .ps-header .ps-nav a,
  .ps-header .ps-nav button { font-size: 10px; }
  .ps-header .ps-cart-link { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .pscv-tool-link,
  .pscv-compare-card { transition: none; }
}
