/*
 * MPP Premium Hero Replacement v1.4.2
 * Clean light background, dimensional vial artwork, mobile-first conversion UX.
 * Scoped by a plugin-added body class so it styles only the dedicated homepage and shop archive.
 */


/*
 * Static Homepage title cleanup.
 * The render_block filter removes the normal block-theme Post Title. These
 * selectors are a narrow fallback for themes/templates that output the page
 * title outside core/post-title. They do not affect the custom hero H1.
 */
body.mpp-premium-hero-home main .wp-block-post-title,
body.mpp-premium-hero-home main .entry-title,
body.mpp-premium-hero-home main > h1.entry-title {
  display: none !important;
}

body.mpp-premium-hero-active .mpp-premium-hero,
body.mpp-premium-hero-active .mpp-premium-hero * {
  box-sizing: border-box;
}

body.mpp-premium-hero-active {
  overflow-x: clip;
}

body.mpp-premium-hero-active .mpp-premium-hero {
  --mpp-ph-navy: #07182f;
  --mpp-ph-teal: #087b6c;
  --mpp-ph-teal-bright: #079a88;
  --mpp-ph-muted: #52657d;
  --mpp-ph-line: #dbe5ee;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 calc(50% - 50vw) !important;
  padding: 0 !important;
  color: var(--mpp-ph-navy) !important;
  background:
    radial-gradient(ellipse at 76% 92%, rgba(15, 151, 132, .055) 0%, rgba(15, 151, 132, .018) 30%, transparent 59%),
    linear-gradient(102deg, #f7fafc 0%, #ffffff 50%, #fbfdfe 100%) !important;
  border-top: 1px solid rgba(219, 229, 238, .72);
  border-bottom: 1px solid #e2eaf1;
  box-shadow: none !important;
  border-radius: 0 !important;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

@supports (overflow: clip) {
  body.mpp-premium-hero-active .mpp-premium-hero {
    overflow: clip;
  }
}

@supports (width: 100dvw) {
  body.mpp-premium-hero-active .mpp-premium-hero {
    width: 100dvw !important;
    max-width: 100dvw !important;
    margin-left: calc(50% - 50dvw) !important;
    margin-right: calc(50% - 50dvw) !important;
  }
}

/* Very subtle science pattern. It stays on the copy side only. */
body.mpp-premium-hero-active .mpp-premium-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0 auto 0 0;
  width: min(38vw, 560px);
  opacity: .42;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='210' height='244' viewBox='0 0 210 244'%3E%3Cg fill='none' stroke='%23d6e1ea' stroke-width='1.5'%3E%3Cpath d='M53 2 103 31v58l-50 29L3 89V31Z'/%3E%3Cpath d='m157 62 50 29v58l-50 29-50-29V91Z'/%3E%3Cpath d='m53 122 50 29v58l-50 29-50-29v-58Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 210px 244px;
  background-position: left center;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.72) 54%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.72) 54%, transparent 100%);
}

/* A restrained floor glow only—no large blue patch behind the vials. */
body.mpp-premium-hero-active .mpp-premium-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 2.5%;
  bottom: 3.5%;
  width: min(52vw, 820px);
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(8, 125, 108, .13) 0%, rgba(8, 125, 108, .045) 42%, transparent 72%);
  filter: blur(16px);
  pointer-events: none;
}

body.mpp-premium-hero-active .mpp-premium-hero__inner {
  position: relative;
  width: min(100%, 1480px) !important;
  min-height: 470px;
  margin: 0 auto !important;
  padding: 28px clamp(30px, 6vw, 92px) 28px !important;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(500px, 1.12fr);
  grid-template-rows: auto auto;
  column-gap: clamp(18px, 2.7vw, 48px);
  align-items: center;
}

body.mpp-premium-hero-active .mpp-premium-hero__copy {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  min-width: 0;
  position: relative;
  z-index: 4;
}

body.mpp-premium-hero-active .mpp-premium-hero__eyebrow {
  margin: 0 0 13px !important;
  padding: 0 !important;
  color: var(--mpp-ph-teal) !important;
  font-size: clamp(12px, 1.12vw, 15px) !important;
  line-height: 1.2 !important;
  font-weight: 850 !important;
  letter-spacing: .075em !important;
  text-transform: uppercase !important;
}

body.mpp-premium-hero-active .mpp-premium-hero__title {
  margin: 0 !important;
  padding: 0 !important;
  max-width: 660px;
  color: var(--mpp-ph-navy) !important;
  font-size: clamp(43px, 4.35vw, 66px) !important;
  line-height: .98 !important;
  font-weight: 830 !important;
  letter-spacing: -.055em !important;
  text-wrap: balance;
}

body.mpp-premium-hero-active .mpp-premium-hero__title span {
  display: block;
  white-space: nowrap;
}

body.mpp-premium-hero-active .mpp-premium-hero__title em {
  color: var(--mpp-ph-teal) !important;
  font-style: normal !important;
}

body.mpp-premium-hero-active .mpp-premium-hero__description {
  margin: 19px 0 0 !important;
  padding: 0 !important;
  max-width: 600px;
  color: var(--mpp-ph-muted) !important;
  font-size: clamp(15px, 1.28vw, 18px) !important;
  line-height: 1.48 !important;
  font-weight: 450 !important;
  letter-spacing: -.01em !important;
}

body.mpp-premium-hero-active .mpp-premium-hero__description-line {
  display: block;
}

body.mpp-premium-hero-active .mpp-premium-hero__cta,
body.mpp-premium-hero-active .mpp-premium-hero__cta:visited {
  width: fit-content;
  min-height: 52px;
  margin: 20px 0 0 !important;
  padding: 13px 23px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 1px solid rgba(6, 32, 58, .18) !important;
  border-radius: 10px !important;
  background: linear-gradient(112deg, #069883 0%, #0a6d75 42%, #061b3b 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(6, 47, 72, .18) !important;
  text-decoration: none !important;
  font-size: 16px !important;
  line-height: 1.1 !important;
  font-weight: 750 !important;
  letter-spacing: -.01em !important;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

body.mpp-premium-hero-active .mpp-premium-hero__cta svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

body.mpp-premium-hero-active .mpp-premium-hero__cta:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(6, 47, 72, .25) !important;
  filter: saturate(1.08);
}

body.mpp-premium-hero-active .mpp-premium-hero__cta:focus-visible,
body.mpp-premium-hero-active .mpp-premium-hero__trust:focus-visible {
  outline: 3px solid rgba(14, 165, 233, .42) !important;
  outline-offset: 4px !important;
}

/*
 * Vial stage. Larger scale + layered shadows creates the "popping out"
 * depth while the background remains clean and nearly white.
 */
body.mpp-premium-hero-active .mpp-premium-hero__media {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: stretch;
  margin: -10px -4vw -12px -2vw !important;
  padding: 0 !important;
  position: relative;
  z-index: 3;
  pointer-events: none;
  perspective: 1200px;
}

body.mpp-premium-hero-active .mpp-premium-hero__media::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 7% -1% 10%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.98) 0%, rgba(255,255,255,.78) 43%, rgba(255,255,255,0) 75%);
  pointer-events: none;
}

body.mpp-premium-hero-active .mpp-premium-hero__vial-glow {
  position: absolute;
  z-index: -1;
  left: 4%;
  right: 0;
  bottom: 2.5%;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(18, 167, 150, .24) 0%, rgba(18, 167, 150, .085) 39%, transparent 73%);
  filter: blur(13px);
  opacity: .86;
}

body.mpp-premium-hero-active .mpp-premium-hero__media img {
  display: block !important;
  width: min(103%, 735px) !important;
  height: auto !important;
  max-width: none !important;
  margin: 0 auto !important;
  object-fit: contain;
  transform: translate3d(1.2%, -6px, 0) scale(1.045);
  transform-origin: center center;
  filter:
    drop-shadow(0 29px 24px rgba(7, 24, 45, .16))
    drop-shadow(0 9px 8px rgba(7, 24, 45, .085));
  backface-visibility: hidden;
}

body.mpp-premium-hero-active .mpp-premium-hero__assurance {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  min-width: 0;
  margin-top: 22px;
  position: relative;
  z-index: 5;
}

body.mpp-premium-hero-active .mpp-premium-hero__trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, auto));
  align-items: start;
  justify-content: start;
  gap: clamp(15px, 1.8vw, 26px);
}

body.mpp-premium-hero-active .mpp-premium-hero__trust,
body.mpp-premium-hero-active a.mpp-premium-hero__trust,
body.mpp-premium-hero-active a.mpp-premium-hero__trust:visited {
  min-width: 0;
  min-height: 48px;
  display: inline-flex !important;
  align-items: flex-start;
  gap: 9px;
  margin: 0 !important;
  padding: 0 !important;
  color: #12233c !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  font-size: 12.5px !important;
  line-height: 1.24 !important;
  font-weight: 650 !important;
  white-space: nowrap;
}

body.mpp-premium-hero-active a.mpp-premium-hero__trust:hover {
  color: var(--mpp-ph-teal) !important;
}

body.mpp-premium-hero-active .mpp-premium-hero__trust-copy,
body.mpp-premium-hero-active .mpp-premium-hero__trust-title {
  display: block;
  min-width: 0;
}

body.mpp-premium-hero-active .mpp-premium-hero__trust-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0b1d39;
}

body.mpp-premium-hero-active .mpp-premium-hero__trust-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.mpp-premium-hero-active .mpp-premium-hero__trust-proof {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
  color: var(--mpp-ph-teal) !important;
  font-size: 11.5px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.005em;
  white-space: nowrap;
  text-decoration: none;
}

body.mpp-premium-hero-active .mpp-premium-hero__trust-proof svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .16s ease;
}

body.mpp-premium-hero-active a.mpp-premium-hero__trust--lab:hover .mpp-premium-hero__trust-proof svg {
  transform: translateX(2px);
}

body.mpp-premium-hero-active .mpp-premium-hero__notice {
  margin: 18px 0 0 !important;
  padding: 0 !important;
  color: #6b7d91 !important;
  font-size: 12.5px !important;
  line-height: 1.35 !important;
  font-weight: 450 !important;
}

@media (max-width: 1220px) {
  body.mpp-premium-hero-active .mpp-premium-hero__inner {
    grid-template-columns: minmax(0, .96fr) minmax(465px, 1.04fr);
    padding-left: 34px !important;
    padding-right: 34px !important;
  }

  body.mpp-premium-hero-active .mpp-premium-hero__title {
    font-size: clamp(41px, 4.35vw, 58px) !important;
  }

  body.mpp-premium-hero-active .mpp-premium-hero__media {
    margin-right: -4vw !important;
  }

  body.mpp-premium-hero-active .mpp-premium-hero__media img {
    width: min(103%, 700px) !important;
  }

  body.mpp-premium-hero-active .mpp-premium-hero__trust-grid {
    grid-template-columns: repeat(2, minmax(165px, auto));
    row-gap: 12px;
  }
}

@media (max-width: 900px) {
  body.mpp-premium-hero-active .mpp-premium-hero__inner {
    min-height: 430px;
    grid-template-columns: minmax(0, 1fr) minmax(390px, .95fr);
    column-gap: 8px;
    padding: 28px 22px 29px !important;
  }

  body.mpp-premium-hero-active .mpp-premium-hero__title {
    font-size: clamp(37px, 5.1vw, 47px) !important;
  }

  body.mpp-premium-hero-active .mpp-premium-hero__description {
    font-size: 15px !important;
  }

  body.mpp-premium-hero-active .mpp-premium-hero__media {
    margin-right: -5vw !important;
    margin-left: -2vw !important;
  }

  body.mpp-premium-hero-active .mpp-premium-hero__media img {
    transform: translate3d(1%, -4px, 0) scale(1.035);
  }
}

/* Mobile: copy first, large CTA, dimensional vials, then a 2x2 trust grid. */
@media (max-width: 780px) {
  body.mpp-premium-hero-active .mpp-premium-hero::before {
    width: 82%;
    opacity: .34;
  }

  body.mpp-premium-hero-active .mpp-premium-hero::after {
    right: 3%;
    bottom: 23%;
    width: 94%;
    height: 58px;
  }

  body.mpp-premium-hero-active .mpp-premium-hero__inner {
    min-height: 0;
    padding: 30px 19px 28px !important;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 0;
  }

  body.mpp-premium-hero-active .mpp-premium-hero__copy {
    grid-column: 1;
    grid-row: 1;
    align-self: auto;
  }

  body.mpp-premium-hero-active .mpp-premium-hero__eyebrow {
    margin-bottom: 11px !important;
    font-size: 12px !important;
    letter-spacing: .07em !important;
  }

  body.mpp-premium-hero-active .mpp-premium-hero__title {
    max-width: none;
    font-size: clamp(35px, 9.75vw, 42px) !important;
    line-height: .99 !important;
    letter-spacing: -.052em !important;
  }

  body.mpp-premium-hero-active .mpp-premium-hero__title span {
    white-space: normal;
  }

  body.mpp-premium-hero-active .mpp-premium-hero__description {
    max-width: 560px;
    margin-top: 17px !important;
    font-size: 15.5px !important;
    line-height: 1.48 !important;
  }

  body.mpp-premium-hero-active .mpp-premium-hero__description-line {
    display: inline;
  }

  body.mpp-premium-hero-active .mpp-premium-hero__cta,
  body.mpp-premium-hero-active .mpp-premium-hero__cta:visited {
    width: 100%;
    min-height: 54px;
    margin-top: 19px !important;
    padding: 14px 18px !important;
    border-radius: 11px !important;
    font-size: 16px !important;
  }

  body.mpp-premium-hero-active .mpp-premium-hero__media {
    grid-column: 1;
    grid-row: 2;
    width: calc(100% + 42px);
    margin: 16px -21px -4px !important;
  }

  body.mpp-premium-hero-active .mpp-premium-hero__media::before {
    inset: 5% -3% 9%;
  }

  body.mpp-premium-hero-active .mpp-premium-hero__vial-glow {
    left: 1%;
    right: 1%;
    bottom: 0;
    height: 42px;
    opacity: .76;
  }

  body.mpp-premium-hero-active .mpp-premium-hero__media img {
    width: min(106%, 650px) !important;
    margin: 0 auto !important;
    transform: translate3d(0, -2px, 0) scale(1.055);
    filter:
      drop-shadow(0 22px 19px rgba(7, 24, 45, .14))
      drop-shadow(0 7px 6px rgba(7, 24, 45, .075));
  }

  body.mpp-premium-hero-active .mpp-premium-hero__assurance {
    grid-column: 1;
    grid-row: 3;
    margin-top: 6px;
  }

  body.mpp-premium-hero-active .mpp-premium-hero__trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(181, 196, 209, .56);
    border-bottom: 1px solid rgba(181, 196, 209, .56);
  }

  body.mpp-premium-hero-active .mpp-premium-hero__trust,
  body.mpp-premium-hero-active a.mpp-premium-hero__trust,
  body.mpp-premium-hero-active a.mpp-premium-hero__trust:visited {
    min-height: 88px;
    padding: 13px 8px !important;
    font-size: 13px !important;
    white-space: normal;
  }

  body.mpp-premium-hero-active .mpp-premium-hero__trust:nth-child(odd) {
    border-right: 1px solid rgba(181, 196, 209, .56) !important;
  }

  body.mpp-premium-hero-active .mpp-premium-hero__trust:nth-child(-n+2) {
    border-bottom: 1px solid rgba(181, 196, 209, .56) !important;
  }

  body.mpp-premium-hero-active .mpp-premium-hero__trust-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  body.mpp-premium-hero-active .mpp-premium-hero__trust-proof {
    margin-top: 5px;
    font-size: 11.5px;
  }

  body.mpp-premium-hero-active .mpp-premium-hero__notice {
    margin-top: 16px !important;
    font-size: 12.5px !important;
    text-align: left;
  }
}

@media (max-width: 390px) {
  body.mpp-premium-hero-active .mpp-premium-hero__inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.mpp-premium-hero-active .mpp-premium-hero__title {
    font-size: clamp(34px, 9.55vw, 38px) !important;
  }

  body.mpp-premium-hero-active .mpp-premium-hero__media {
    width: calc(100% + 32px);
    margin-left: -16px !important;
    margin-right: -16px !important;
  }

  body.mpp-premium-hero-active .mpp-premium-hero__trust,
  body.mpp-premium-hero-active a.mpp-premium-hero__trust,
  body.mpp-premium-hero-active a.mpp-premium-hero__trust:visited {
    gap: 7px;
    padding-left: 6px !important;
    padding-right: 6px !important;
    font-size: 12.25px !important;
  }

  body.mpp-premium-hero-active .mpp-premium-hero__trust-proof {
    font-size: 10.75px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.mpp-premium-hero-active .mpp-premium-hero__cta,
  body.mpp-premium-hero-active .mpp-premium-hero__trust-proof svg {
    transition: none;
  }
}

/* ========================================================================
 * v1.2.0 — Clean feathered vial stage
 *
 * The previous transparent extraction carried semi-opaque white/gray matte
 * pixels around the glass, while CSS added a second broad halo and two more
 * shadows. That combination caused the visible cloudy blocks. This version
 * uses the approved vial composition with its natural product shadows intact,
 * then feathers only the empty outside edges into the live hero background.
 * No synthetic background patch or duplicate shadow is applied.
 * ======================================================================== */
body.mpp-premium-hero-active .mpp-premium-hero--v120 {
  background:
    linear-gradient(90deg, rgba(247,250,252,.80) 0%, rgba(255,255,255,.38) 47%, rgba(255,255,255,0) 70%),
    linear-gradient(180deg, #fdfefe 0%, #fafcfd 56%, #f0f3f5 100%) !important;
}

body.mpp-premium-hero-active .mpp-premium-hero--v120::after {
  content: none !important;
  display: none !important;
  background: none !important;
  filter: none !important;
}

body.mpp-premium-hero-active .mpp-premium-hero--v120 .mpp-premium-hero__media {
  justify-self: end;
  width: calc(100% + 6vw);
  margin: -7px -6vw -9px -2vw !important;
  overflow: visible;
  perspective: none;
}

body.mpp-premium-hero-active .mpp-premium-hero--v120 .mpp-premium-hero__media::before,
body.mpp-premium-hero-active .mpp-premium-hero--v120 .mpp-premium-hero__vial-glow {
  content: none !important;
  display: none !important;
  background: none !important;
  filter: none !important;
  box-shadow: none !important;
}

body.mpp-premium-hero-active .mpp-premium-hero--v120 .mpp-premium-hero__media img {
  display: block !important;
  width: min(53.5vw, 745px) !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 0 0 auto !important;
  object-fit: contain !important;
  transform: none !important;
  filter: none !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

/* A specific proof action converts better than generic "click here" copy. */
body.mpp-premium-hero-active .mpp-premium-hero--v120 .mpp-premium-hero__trust--lab {
  min-height: 62px;
}

body.mpp-premium-hero-active .mpp-premium-hero--v120 .mpp-premium-hero__trust-proof {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #087b6c !important;
  font-weight: 820 !important;
  text-decoration: none !important;
}

body.mpp-premium-hero-active .mpp-premium-hero--v120 a.mpp-premium-hero__trust--lab:hover .mpp-premium-hero__trust-proof,
body.mpp-premium-hero-active .mpp-premium-hero--v120 a.mpp-premium-hero__trust--lab:focus-visible .mpp-premium-hero__trust-proof {
  color: #045f55 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

@media (max-width: 1220px) {
  body.mpp-premium-hero-active .mpp-premium-hero--v120 .mpp-premium-hero__media {
    width: calc(100% + 5vw);
    margin-right: -5vw !important;
  }

  body.mpp-premium-hero-active .mpp-premium-hero--v120 .mpp-premium-hero__media img {
    width: min(55vw, 720px) !important;
  }
}

@media (max-width: 900px) {
  body.mpp-premium-hero-active .mpp-premium-hero--v120 .mpp-premium-hero__media {
    margin-left: -1.5vw !important;
  }

  body.mpp-premium-hero-active .mpp-premium-hero--v120 .mpp-premium-hero__media img {
    width: min(58vw, 690px) !important;
  }
}

@media (max-width: 780px) {
  body.mpp-premium-hero-active .mpp-premium-hero--v120 {
    background:
      linear-gradient(180deg, #fdfefe 0%, #fafcfd 60%, #f1f4f6 100%) !important;
  }

  body.mpp-premium-hero-active .mpp-premium-hero--v120 .mpp-premium-hero__media {
    width: calc(100% + 30px);
    margin: 17px -15px -2px !important;
    overflow: visible;
  }

  body.mpp-premium-hero-active .mpp-premium-hero--v120 .mpp-premium-hero__media img {
    width: 100% !important;
    max-width: 745px !important;
    margin: 0 auto !important;
    transform: none !important;
    filter: none !important;
  }

  body.mpp-premium-hero-active .mpp-premium-hero--v120 .mpp-premium-hero__assurance {
    margin-top: 8px;
  }
}

@media (max-width: 390px) {
  body.mpp-premium-hero-active .mpp-premium-hero--v120 .mpp-premium-hero__media {
    width: calc(100% + 26px);
    margin-left: -13px !important;
    margin-right: -13px !important;
  }
}

/* ========================================================================
 * v1.3.3 — reference-matched vial integration
 * The bundled artwork is taken from the approved visual direction and is
 * deliberately blended into the hero itself rather than shown as a card.
 * ====================================================================== */
body.mpp-premium-hero-active .mpp-premium-hero {
  background:
    radial-gradient(ellipse at 74% 88%, rgba(27, 175, 155, .065) 0%, rgba(27, 175, 155, .02) 26%, transparent 56%),
    linear-gradient(180deg, #fdfcfc 0%, #fbfbfb 58%, #f7f7f8 100%) !important;
}

/* Do not create a second white oval/panel behind the already integrated art. */
body.mpp-premium-hero-active .mpp-premium-hero__media::before {
  content: none !important;
  display: none !important;
}

body.mpp-premium-hero-active .mpp-premium-hero__vial-glow {
  display: none !important;
}

body.mpp-premium-hero-active .mpp-premium-hero__media {
  margin: -12px -3.2vw -18px -1.2vw !important;
  overflow: visible !important;
}

body.mpp-premium-hero-active .mpp-premium-hero__media img {
  width: min(107%, 780px) !important;
  max-width: none !important;
  margin: 0 auto !important;
  transform: translate3d(1%, -3px, 0) scale(1.02) !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Slightly widen the product side at large desktop sizes like the reference. */
@media (min-width: 1200px) {
  body.mpp-premium-hero-active .mpp-premium-hero__inner {
    grid-template-columns: minmax(0, .86fr) minmax(535px, 1.14fr);
  }
}

/* Keep the artwork clean on tablets/mobile instead of revealing its canvas. */
@media (max-width: 980px) {
  body.mpp-premium-hero-active .mpp-premium-hero__media {
    margin: 2px auto -8px !important;
  }

  body.mpp-premium-hero-active .mpp-premium-hero__media img {
    width: min(104%, 700px) !important;
    transform: none !important;
  }
}


/* v1.4.0 — dedicated shop variant. */
body.mpp-premium-hero-shop .mpp-premium-hero {
  margin-bottom: 18px !important;
}

@media (min-width: 981px) {
  body.mpp-premium-hero-shop .mpp-premium-hero__inner {
    min-height: 445px;
    padding-top: 22px !important;
    padding-bottom: 22px !important;
  }
}

/* ========================================================================
 * v1.4.1 — separated Home / Shop behavior
 * - Home CTA opens /shop/ at the top (no #mpp-shop-experience jump).
 * - Shop gets the original RETA-TRUTIDE / MOTS-C / NAD+ hero.
 * - Restore the compact Premium Peptides + Track / Account row.
 * ======================================================================== */
body.mpp-premium-hero-shop .woocommerce-breadcrumb,
body.mpp-premium-hero-shop .woocommerce-products-header__title,
body.mpp-premium-hero-shop .wp-block-query-title,
body.mpp-premium-hero-shop h1.page-title {
  display: none !important;
}

body.mpp-premium-hero-shop .mpp-premium-hero--shop {
  margin-top: 0 !important;
}

body.mpp-premium-hero-shop .mpp-premium-shop-tools {
  width: min(calc(100% - 24px), 1180px);
  margin: 16px auto 12px !important;
  padding: 0 12px 10px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid #dfe7ee;
  color: #07182f;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body.mpp-premium-hero-shop .mpp-premium-shop-tools * {
  box-sizing: border-box;
}

body.mpp-premium-hero-shop .mpp-premium-shop-tools__title {
  flex: 1 1 auto;
  min-width: 220px;
  font-size: 27px;
  line-height: 1.05;
  font-weight: 820;
  letter-spacing: -.025em;
}

body.mpp-premium-hero-shop .mpp-premium-shop-tools__title span {
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
}

body.mpp-premium-hero-shop .mpp-premium-shop-tools__title span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 62px;
  height: 3px;
  border-radius: 999px;
  background: #f6b900;
}

body.mpp-premium-hero-shop .mpp-premium-shop-tools__actions {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

body.mpp-premium-hero-shop .mpp-premium-shop-tools__prompt {
  margin-right: 3px;
  color: #65758b;
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
}

body.mpp-premium-hero-shop .mpp-premium-shop-tools__button,
body.mpp-premium-hero-shop .mpp-premium-shop-tools__button:visited {
  min-height: 42px;
  padding: 9px 15px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 11px !important;
  text-decoration: none !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 780 !important;
  white-space: nowrap;
  box-shadow: none !important;
}

body.mpp-premium-hero-shop .mpp-premium-shop-tools__button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.mpp-premium-hero-shop .mpp-premium-shop-tools__button--track,
body.mpp-premium-hero-shop .mpp-premium-shop-tools__button--track:visited {
  border: 1px solid #079a88 !important;
  background: linear-gradient(112deg, #0a9e8d, #087e76) !important;
  color: #fff !important;
}

body.mpp-premium-hero-shop .mpp-premium-shop-tools__button--account,
body.mpp-premium-hero-shop .mpp-premium-shop-tools__button--account:visited {
  border: 1px solid #079a88 !important;
  background: #fff !important;
  color: #07182f !important;
}

body.mpp-premium-hero-shop .mpp-premium-shop-tools__button:hover {
  transform: translateY(-1px);
  filter: brightness(.98);
}

/* Keep the Shop hero a little tighter than the dedicated landing page. */
@media (min-width: 781px) {
  body.mpp-premium-hero-shop .mpp-premium-hero__inner {
    min-height: 430px;
    padding-top: 22px !important;
    padding-bottom: 22px !important;
  }

  body.mpp-premium-hero-shop .mpp-premium-hero__title {
    font-size: clamp(40px, 4vw, 60px) !important;
  }

  body.mpp-premium-hero-shop .mpp-premium-hero__media img {
    width: min(102%, 735px) !important;
  }
}

@media (max-width: 900px) {
  body.mpp-premium-hero-shop .mpp-premium-shop-tools {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  body.mpp-premium-hero-shop .mpp-premium-shop-tools__actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  body.mpp-premium-hero-shop .mpp-premium-shop-tools {
    width: min(calc(100% - 12px), 1180px);
    margin-top: 10px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  body.mpp-premium-hero-shop .mpp-premium-shop-tools__title {
    min-width: 0;
    font-size: 23px;
  }

  body.mpp-premium-hero-shop .mpp-premium-shop-tools__prompt {
    width: 100%;
    margin: 0 0 1px;
    white-space: normal;
  }

  body.mpp-premium-hero-shop .mpp-premium-shop-tools__button {
    flex: 1 1 calc(50% - 5px);
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}
