/* Amble custom styles: scroll reveal + FAQ empty state + slider bullets. */
.amble-reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.amble-reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

.faq-empty-state {
  padding: 2rem 0;
  text-align: center;
  font-size: 1rem;
  opacity: 0.6;
}

.swiper-pagination.is-bullets .swiper-bullet {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.25;
  cursor: pointer;
  transition:
    opacity 0.25s ease,
    width 0.25s ease;
}

.swiper-pagination.is-bullets .swiper-bullet.is-active {
  opacity: 1;
  width: 22px;
}

/* Breathing room between the treatment cards and the pagination bullets */
.section_home-treatments .swiper-pagination.is-bullets,
.product_slider_new_wrap .swiper-pagination.is-bullets {
  margin-top: 2.5rem;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

/* ---------------------------------------------------------------
   Treatments: manual horizontal scroll + side arrows (desktop)
   --------------------------------------------------------------- */
@media (min-width: 992px) {
  .section_home-treatments.is-manual-scroll {
    position: relative;
  }
  .section_home-treatments.is-manual-scroll .treatment-contain {
    position: relative;
    top: auto;
  }
  .section_home-treatments.is-manual-scroll .treatments-slider-stage {
    position: relative;
    width: 100%;
    /* Room for hover lift + shadow without clipping */
    padding-top: 1rem;
    padding-bottom: 2.5rem;
    overflow: visible;
  }
  .section_home-treatments.is-manual-scroll .swiper-container.is-product {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-inline: 3.25rem;
    padding-top: 0.75rem;
    padding-bottom: 2.25rem;
    /* Keep arrows' containing block on the stage, not this scroller */
    position: static;
  }
  .section_home-treatments.is-manual-scroll .swiper-container.is-product::-webkit-scrollbar {
    display: none;
  }

  .section_home-treatments.is-manual-scroll .swiper-wrapper.is-product {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    width: max-content;
    transform: none !important;
    animation: none !important;
  }
  .section_home-treatments.is-manual-scroll .swiper-slide.is-product {
    flex: 0 0 28rem !important;
    width: 28rem !important;
    max-width: none;
    scroll-snap-align: start;
    overflow: visible;
  }
  .section_home-treatments.is-manual-scroll .swiper-slide.is-product > div,
  .section_home-treatments.is-manual-scroll .swiper-slide.is-product .product_card_block,
  .section_home-treatments.is-manual-scroll .swiper-slide.is-product .product_card_new_wrap {
    width: 100%;
    box-sizing: border-box;
  }
  .section_home-treatments.is-manual-scroll .swiper-pagination.is-bullets {
    display: none !important;
  }
  .section_home-treatments.is-manual-scroll .arrows-wrapper {
    display: flex !important;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none !important;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 6;
    margin: 0 !important;
    padding: 0;
  }
  .section_home-treatments.is-manual-scroll .arrows-wrapper .arrow-prev,
  .section_home-treatments.is-manual-scroll .arrows-wrapper .arrow-next {
    pointer-events: auto;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    border: 1px solid rgba(20, 38, 63, 0.18);
    background: #fff;
    color: #14263F;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(20, 38, 63, 0.12);
    transition: opacity 0.2s ease, transform 0.2s ease;
    padding: 0;
    flex-shrink: 0;
    margin: 0;
  }
  .section_home-treatments.is-manual-scroll .arrows-wrapper .arrow-prev {
    transform: none !important;
  }
  .section_home-treatments.is-manual-scroll .arrows-wrapper .arrow-next {
    transform: rotate(180deg) !important;
  }
  .section_home-treatments.is-manual-scroll .arrows-wrapper .arrow-prev:hover:not(:disabled) {
    transform: scale(1.05) !important;
  }
  .section_home-treatments.is-manual-scroll .arrows-wrapper .arrow-next:hover:not(:disabled) {
    transform: rotate(180deg) scale(1.05) !important;
  }
  .section_home-treatments.is-manual-scroll .arrows-wrapper .arrow-prev:disabled,
  .section_home-treatments.is-manual-scroll .arrows-wrapper .arrow-next:disabled {
    opacity: 0.35;
    cursor: default;
    box-shadow: none;
  }
  .section_home-treatments.is-manual-scroll .arrows-wrapper .arrow-prev svg,
  .section_home-treatments.is-manual-scroll .arrows-wrapper .arrow-next svg {
    width: 0.7rem;
    height: auto;
  }
}

/* Card hover: gentle lift + image zoom (no colour change) */
.product_card_new_wrap.u-vflex-stretch-center.u-gap-6:hover,
.product_card_new_wrap.u-vflex-stretch-center.u-gap-6.violet:hover {
  background-image: none !important;
}
.product_card_block {
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.product_card_block:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 48px rgba(22, 48, 42, 0.14);
}
.product-images-wrapper {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 1.25rem;
}
.product_card_img_new,
.product_card_img_new.move {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 1.25rem;
  transform: none;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.product_card_block:hover .product_card_img_new,
.product_card_block:hover .product_card_img_new.move {
  transform: scale(1.06);
}

/* Announcement ticker */
.wrapper-marquee[ss-marquee] {
  overflow: hidden;
}
.wrapper-marquee[ss-marquee] .row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
}
.wrapper-marquee[ss-marquee].amble-marquee .row {
  animation: amble-marquee var(--amble-marquee-duration, 40s) linear infinite;
}
.wrapper-marquee[ss-marquee].amble-marquee:hover .row {
  animation-play-state: paused;
}
@keyframes amble-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .wrapper-marquee[ss-marquee].amble-marquee .row { animation: none; }
}

/* Footer alignment */
@media (min-width: 992px) {
  .footer_new_content.u-grid-custom {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    column-gap: 3rem;
  }
  .footer_new_visual.u-column-custom {
    flex: 0 0 26% !important;
    min-width: 0 !important;
    max-width: none !important;
  }
  .footer_new_content.u-grid-custom > .footer-links-box {
    flex: 1 1 0;
    min-width: 12rem;
  }
  .footer_new_content.u-grid-custom > .footer-links-box .footer-link {
    white-space: nowrap;
  }
  .div-block-26 {
    display: contents !important;
  }
  .footer_new_content.u-grid-custom .footer-links-box {
    flex: 0 1 auto;
    min-width: 11rem;
  }
  .footer_new_content.u-grid-custom .footer-links-box .footer-link {
    white-space: nowrap;
  }
}
.footer_bottom_layout {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 2rem;
  row-gap: 0.85rem;
  text-align: center;
}
.footer_bottom_seals {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}
.footer_new_legit {
  display: inline-block;
  line-height: 0;
  position: relative;
  inset: auto;
  width: 73px;
  height: 79px;
  flex: none;
}
.footer_new_legit img {
  display: block;
  width: 73px;
  height: 79px;
}
.meli-usa-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 5.5rem;
  height: 5.5rem;
  padding: 0.55rem 0.4rem;
  box-sizing: border-box;
  border: 1px solid rgba(246, 241, 230, 0.28);
  border-radius: 0.35rem;
  color: #f6f1e6;
  background: rgba(11, 22, 38, 0.35);
  text-align: center;
  line-height: 1.1;
  flex: none;
}
.meli-usa-badge__text {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.meli-usa-badge__flag {
  width: 1.55rem;
  height: 1.05rem;
  display: block;
}
.footer_bottom_list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

/* Treatments: wider stage so cards aren't cropped */
@media (min-width: 992px) {
  .section_home-treatments .treatment-contain {
    max-width: min(96rem, 96vw) !important;
    width: 100% !important;
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .section_home-treatments.is-manual-scroll .swiper-slide.is-product {
    flex: 0 0 28rem !important;
    width: 28rem !important;
  }
}

/* Keep the peptide bottle visible on hover (webflow interactions faded it out) */
.product_card_block .product_card_img_new,
.product_card_block:hover .product_card_img_new,
.product-images-wrapper img {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Treatments cards: match rounded corners used elsewhere */
.product_card_block,
.swiper-slide.is-product .product_card_block {
  border-radius: 1.5rem !important;
  /* Keep overflow visible so hover lift + box-shadow aren't clipped by the card */
  overflow: visible;
}
.product_card_new_wrap,
.product_card_new_wrap.u-vflex-stretch-center.u-gap-6 {
  border-radius: 1.5rem !important;
  overflow: hidden;
}
.section_home-treatments .product-images-wrapper,
.product_card_new_wrap .product-images-wrapper {
  position: relative;
  aspect-ratio: 418 / 316;
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
  overflow: hidden;
}
.section_home-treatments .product_card_img_new,
.section_home-treatments .product_card_img_new.move,
.product_card_new_wrap .product_card_img_new,
.product_card_new_wrap .product_card_img_new.move {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  border-radius: 1.25rem;
  transform: none;
}
.section_home-treatments .product_card_heading {
  max-width: 100% !important;
  white-space: nowrap;
  font-size: 1.5rem !important;
  line-height: 1.2 !important;
  text-align: center;
}

/* Anti-aging sub pages: hero visual reveal + content stagger */
@media (prefers-reduced-motion: no-preference) {
  .hero_product_new_visual .g_visual_wrap {
    animation: amble-img-reveal 1.3s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .hero_product_new_visual .g_visual_img {
    animation: amble-img-zoom 1.8s cubic-bezier(0.22, 1, 0.36, 1) both;
    transform-origin: center;
  }
  .product_hero_new_content > * {
    animation: amble-fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .product_hero_new_content > *:nth-child(1) { animation-delay: 0.1s; }
  .product_hero_new_content > *:nth-child(2) { animation-delay: 0.2s; }
  .product_hero_new_content > *:nth-child(3) { animation-delay: 0.3s; }
  .product_hero_new_content > *:nth-child(4) { animation-delay: 0.4s; }
  .product_hero_new_content > *:nth-child(5) { animation-delay: 0.5s; }
  .product_hero_new_content > *:nth-child(6) { animation-delay: 0.6s; }
}
@keyframes amble-img-reveal {
  from { clip-path: inset(12% 12% 12% 12% round 1.5rem); opacity: 0; }
  to { clip-path: inset(0% 0% 0% 0% round 1.5rem); opacity: 1; }
}
@keyframes amble-img-zoom {
  from { transform: scale(1.18); }
  to { transform: scale(1); }
}
@keyframes amble-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* Keep product name visible on hover (webflow interaction faded it out) */
.product_card_block .product_card_heading,
.product_card_block:hover .product_card_heading,
.product_card_new_wrap .product_card_heading,
.product_card_new_wrap:hover .product_card_heading {
  opacity: 1 !important;
  visibility: visible !important;
  color: var(--amble-dark-green, #14263F) !important;
}

/* ---------------------------------------------------------------
   Product cards: keep text perfectly still on hover
   --------------------------------------------------------------- */
.product_card_block .product_card_new_flex,
.product_card_block:hover .product_card_new_flex,
.product_card_block .product_card_heading,
.product_card_block:hover .product_card_heading,
.product_card_block .product_card_text,
.product_card_block:hover .product_card_text,
.product_card_block .product_card_btns,
.product_card_block:hover .product_card_btns {
  transform: none !important;
  translate: none !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  transition: none !important;
}
.product_card_new_wrap.u-vflex-stretch-center.u-gap-6 {
  padding-top: 2rem !important;
}

/* ---------------------------------------------------------------
   Treatments: mobile vertical stack, tablet 2x2 grid
   --------------------------------------------------------------- */
@media (max-width: 991px) {
  .section_home-treatments .treatment-contain {
    align-items: stretch !important;
  }
  .section_home-treatments .section_tag {
    align-self: center !important;
    width: auto !important;
    margin-left: auto;
    margin-right: auto;
  }
  .section_home-treatments .treatments-slider-stage,
  .section_home-treatments .swiper-container.is-product,
  .section_home-treatments .swiper-wrapper.is-product,
  .section_home-treatments .swiper-slide.is-product,
  .section_home-treatments .product_card_block,
  .section_home-treatments .product_card_new_wrap {
    width: 100% !important;
    max-width: 100% !important;
    align-self: stretch !important;
  }
  .section_home-treatments .swiper-container.is-product {
    overflow: visible !important;
    width: 100%;
  }
  .section_home-treatments .swiper-wrapper.is-product {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    transform: none !important;
    width: 100% !important;
  }
  .section_home-treatments .swiper-slide.is-product {
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    margin: 0 !important;
  }
  .section_home-treatments .swiper-pagination.is-bullets,
  .section_home-treatments .arrows-wrapper {
    display: none !important;
  }

  /* Portrait 4:5 cards on mobile */
  .section_home-treatments .product_card_block {
    gap: 0 !important;
    height: auto !important;
  }
  .section_home-treatments .product_card_new_wrap.u-vflex-stretch-center.u-gap-6,
  .section_home-treatments .product_card_new_wrap {
    aspect-ratio: 4 / 5 !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    gap: 0.5rem !important;
    padding: 1.15rem 1.15rem 1.2rem !important;
    padding-top: 1.15rem !important;
    align-items: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }
  .section_home-treatments .product_card_new_flex,
  .section_home-treatments .product_card_new_flex.left {
    width: 100%;
    flex: 0 0 auto;
    align-items: center !important;
    text-align: center !important;
    gap: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .section_home-treatments .product_card_new_flex .product_card_text.hidden {
    display: none !important;
  }
  .section_home-treatments .product_card_heading {
    margin: 0 auto !important;
    text-align: center !important;
    font-size: clamp(1.05rem, 4.2vw, 1.35rem) !important;
    line-height: 1.2 !important;
    max-width: 100% !important;
    white-space: nowrap;
  }
  .section_home-treatments .product-images-wrapper {
    aspect-ratio: auto !important;
    flex: 1 1 auto !important;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    margin-inline: auto;
    display: block;
    position: relative !important;
    overflow: hidden;
  }
  .section_home-treatments .product_card_img_new,
  .section_home-treatments .product_card_img_new.move {
    position: absolute;
    inset: 0;
    aspect-ratio: auto !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
  }
  .section_home-treatments .product_card_block:hover .product_card_img_new,
  .section_home-treatments .product_card_block:hover .product_card_img_new.move {
    transform: scale(1.06) !important;
  }
  .section_home-treatments .product_card_btns,
  .section_home-treatments .product_card_btns.left {
    width: 100%;
    flex: 0 0 auto;
    justify-content: center !important;
    margin-top: 0.2rem !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .section_home-treatments .swiper-wrapper.is-product {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

/* Footer bottom line: keep to 1-2 tidy lines */
.footer_bottom_text {
  text-wrap: balance;
}

/* Mobile footer: more breathing room (was feeling squeezed) */
@media (max-width: 767px) {
  .footer_new_wrap.u-container.full-width {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .footer_new_contain.u-container.u-vflex-stretch-center {
    padding: 1.15rem 0.65rem 1.75rem !important;
  }

  .footer_new_card.u-hflex-between-center {
    padding: 1.85rem 1.35rem !important;
    row-gap: 1.85rem;
  }

  .footer_new_content.u-grid-custom {
    grid-row-gap: 2rem !important;
    row-gap: 2rem !important;
  }

  .footer_new_content .div-block-26,
  .div-block-26 {
    flex-flow: column !important;
    align-items: flex-start !important;
    width: 100%;
    grid-row-gap: 1.75rem !important;
    row-gap: 1.75rem !important;
  }

  .footer-links-box.u-vflex-left-top.u-gap-5 {
    grid-row-gap: 0.9rem !important;
    row-gap: 0.9rem !important;
    width: 100%;
  }

  .footer-links-box .links-box.u-vflex-left-top.u-gap-3 {
    grid-row-gap: 0.55rem !important;
    row-gap: 0.55rem !important;
  }

  .footer-link {
    line-height: 1.45;
    padding-block: 0.15rem;
  }

  .footer_new_wrap .footer_flex.u-vflex-stretch-top.u-gap-5 {
    grid-row-gap: 1.5rem !important;
    row-gap: 1.5rem !important;
    margin-top: 0.35rem;
  }

  .footer_new_wrap .meli-disclaimer {
    padding: 0.35rem 0 0.15rem;
    line-height: 1.65;
  }

  .footer_new_wrap .meli-disclaimer p {
    margin-bottom: 0.9rem;
  }

  .footer_bottom_layout {
    row-gap: 1.15rem;
    padding-top: 0.35rem;
  }

  .footer_bottom_text {
    max-width: none;
    margin-inline: auto;
    line-height: 1.5;
    padding-bottom: 0.35rem;
  }
}

/* ---------------------------------------------------------------
   Section imagery: soft clip + zoom reveal on scroll (Serenique-style)
   --------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .amble-img-reveal {
    clip-path: inset(10% 10% 10% 10% round 1.5rem);
    opacity: 0;
    transition:
      clip-path 1.1s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: clip-path, opacity;
  }
  .amble-img-reveal > img,
  .amble-img-reveal img {
    transform: scale(1.14);
    transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: center;
  }
  .amble-img-reveal.is-visible {
    clip-path: inset(0% 0% 0% 0% round 1.5rem);
    opacity: 1;
  }
  .amble-img-reveal.is-visible img {
    transform: scale(1);
  }
}

/* ---- Section tags (single sparkle) ---- */
html { scroll-behavior: smooth; }
#why-us { scroll-margin-top: 100px; }

.section_tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.375rem 0.85rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  background-color: rgba(20, 38, 63, 0.08);
  color: #14263F;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
}
.section_tag.is-light {
  background-color: rgba(255, 255, 255, 0.75);
  color: #14263F;
}
.section_tag_icon {
  display: inline-flex;
  width: 14px;
  height: 14px;
}
.section_tag_icon svg { width: 100%; height: 100%; }
.section_tag_center {
  display: flex;
  justify-content: center;
  width: 100%;
}
.section_home-treatments .section_tag {
  align-self: center;
  width: auto;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Inter replaces Manrope (same weights/sizes) ---- */
:root,
body {
  --_typography---font--manrope-family: Inter, "Helvetica Neue", Arial, sans-serif;
}

/* Why Us background overlay: sits on the photo only, never over the content */
.choose_wrap {
  position: relative;
  isolation: isolate;
}
.choose_visual,
.choose_visual.has-overlay,
.choose_visual.u-cover-absolute {
  z-index: 0 !important;
  pointer-events: none;
}
.choose_visual .g_visual_wrap,
.choose_visual .g_visual_img {
  z-index: 0 !important;
}
/* Neutralize any leftover reveal styles on this background */
.choose_visual .amble-img-reveal,
.choose_visual .g_visual_wrap.amble-img-reveal {
  clip-path: none !important;
  opacity: 1 !important;
  transform: none !important;
  will-change: auto !important;
}
.choose_visual .amble-img-reveal img,
.choose_visual .g_visual_wrap.amble-img-reveal img {
  transform: none !important;
}
.choose_visual.has-overlay .g_visual_wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(10, 30, 21, 0.06) 0%,
    rgba(10, 30, 21, 0.05) 50%,
    rgba(10, 30, 21, 0.07) 100%
  );
}
.choose_wrap .choose_container,
.choose_wrap .choose_content,
.choose_wrap .choose_portrait,
.choose_wrap .choose_flex,
.choose_wrap .choose_btn {
  position: relative;
  z-index: 3;
}

/* Weight-loss data cards: sans only, no serif italic inside cards */
.weight_loss_box .weight_loss_heading,
.weight_loss_box .weight_loss_span,
.weight_loss_box .weight_loss_span.bigger,
.weight_loss_box .weight_loss_span.bigger.move,
.weight_loss_box h3 {
  font-family: var(--_typography---font--manrope-family) !important;
  font-style: normal !important;
}


/* ---------------------------------------------------------------
   Homepage v2: transparent header over a full-bleed hero
   --------------------------------------------------------------- */
body.v2-page .nav_1_component.v2-nav,
body.v2-page .nav_1_component.v2-nav .nav_1_wrap,
body.v2-page .nav_1_component.v2-nav .nav_1_container,
body.v2-page .nav_1_component.v2-nav .nav_1_desktop_layout,
body.v2-page .nav_1_component.v2-nav .nav_1_inner,
body.v2-page .nav_1_component.v2-nav .nav_1_menu {
  background-color: transparent !important;
}
body.v2-page .nav_1_component.v2-nav {
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}
body.v2-page .nav_1_component.v2-nav .nav_1_wrap {
  transition: none;
}
body.v2-page .nav_1_component.v2-nav .link-nav,
body.v2-page .nav_1_component.v2-nav .nav_1_links_text,
body.v2-page .nav_1_component.v2-nav .dropdown-toggle .link-nav,
body.v2-page .nav_1_component.v2-nav .nav_1_links_link,
body.v2-page .nav_1_component.v2-nav .nav-dropdown-icon {
  color: #ffffff !important;
}
body.v2-page .nav_1_component.v2-nav .amble-logo-img {
  filter: brightness(0) invert(1);
}
body.v2-page .nav_1_component.v2-nav .nav_1_buttons_wrap .btn_main_new_wrap,
body.v2-page .nav_1_component.v2-nav .nav_1_buttons_item .btn_main_new_wrap {
  background-color: #ffffff !important;
  color: #14263F !important;
}
body.v2-page .nav_1_component.v2-nav .nav_1_buttons_item .btn_main_new_text,
body.v2-page .nav_1_component.v2-nav .nav_1_buttons_item .btn_main_new_icon {
  color: #14263F !important;
}
body.v2-page .nav_1_component.v2-nav .nav_1_btn_line {
  background-color: #ffffff !important;
}

/* Scrolled state: back to the standard header */
body.v2-page .nav_1_component.v2-nav.is-scrolled,
body.v2-page .nav_1_component.v2-nav.is-scrolled .nav_1_wrap,
body.v2-page .nav_1_component.v2-nav.is-scrolled .nav_1_container,
body.v2-page .nav_1_component.v2-nav.is-scrolled .nav_1_desktop_layout,
body.v2-page .nav_1_component.v2-nav.is-scrolled .nav_1_inner,
body.v2-page .nav_1_component.v2-nav.is-scrolled .nav_1_menu {
  background-color: var(--amble-cream, #F6F1E6) !important;
}
body.v2-page .nav_1_component.v2-nav.is-scrolled {
  box-shadow: 0 8px 24px rgba(22, 48, 42, 0.08);
}
body.v2-page .nav_1_component.v2-nav.is-scrolled .link-nav,
body.v2-page .nav_1_component.v2-nav.is-scrolled .nav_1_links_text,
body.v2-page .nav_1_component.v2-nav.is-scrolled .dropdown-toggle .link-nav,
body.v2-page .nav_1_component.v2-nav.is-scrolled .nav_1_links_link,
body.v2-page .nav_1_component.v2-nav.is-scrolled .nav-dropdown-icon {
  color: #0B1626 !important;
}
body.v2-page .nav_1_component.v2-nav.is-scrolled .amble-logo-img {
  filter: none;
}
body.v2-page .nav_1_component.v2-nav.is-scrolled .nav_1_buttons_item .btn_main_new_wrap {
  background-color: #14263F !important;
  color: #ffffff !important;
}
body.v2-page .nav_1_component.v2-nav.is-scrolled .nav_1_buttons_item .btn_main_new_text,
body.v2-page .nav_1_component.v2-nav.is-scrolled .nav_1_buttons_item .btn_main_new_icon {
  color: #ffffff !important;
}
body.v2-page .nav_1_component.v2-nav.is-scrolled .nav_1_btn_line {
  background-color: #0B1626 !important;
}
/* Dropdown panel keeps its own light surface */
body.v2-page .nav_1_component.v2-nav .navlinks-dropdown-list .link-nav,
body.v2-page .nav_1_component.v2-nav .navlinks-dropdown-list .product-name-text,
body.v2-page .nav_1_component.v2-nav .navlinks-dropdown-list .product-sub-text {
  color: #0B1626 !important;
}

/* ---- v2 hero ---- */
.v2_hero {
  position: relative;
  isolation: isolate;
  height: calc(100svh + var(--nav_1--height, 4rem));
  min-height: 44rem;
  display: flex;
  overflow: hidden;
  margin-top: calc(-1 * var(--nav_1--height, 4rem));
}
.v2_hero_bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}
.v2_hero_scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(10, 30, 21, 0.5) 0%,
    rgba(10, 30, 21, 0.2) 40%,
    rgba(10, 30, 21, 0.48) 100%
  );
}
.v2_hero_inner {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav_1--height, 4rem) + 2rem);
  padding-bottom: 3rem;
}
.v2_hero_mid {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #fff;
}
.v2_hero_tag {
  background-color: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  backdrop-filter: blur(6px);
}
.v2_hero_heading {
  margin: 0.75rem 0 0;
  color: #fff;
  max-width: 18ch;
  font-size: clamp(2.5rem, 1.3rem + 4.6vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.v2_hero_heading .italic_span {
  font-style: italic;
}
.v2_hero_cta {
  margin-top: 2rem;
}
.v2_hero .btn_main_new_wrap.is-v2-white {
  background-color: #ffffff !important;
  background-image: none !important;
  border-radius: 999px;
  width: fit-content;
  padding-left: 1.6rem;
  padding-right: 1.6rem;
}
.v2_hero .btn_main_new_wrap.is-v2-white .btn_main_new_text,
.v2_hero .btn_main_new_wrap.is-v2-white .btn_main_new_icon,
.v2_hero .btn_main_new_wrap.is-v2-white .g_clickable_text {
  color: #14263F !important;
}

/* bottom row: description left, product card right */
.v2_hero_bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.5rem;
}
.v2_hero_text {
  margin: 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.6;
}
.v2_hero_card {
  display: block;
  width: 17.5rem;
  padding: 1rem;
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 22px 50px rgba(10, 30, 21, 0.22);
  color: #0B1626;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.v2_hero_card:hover {
  transform: translateY(-6px);
}
.v2_hero_card_top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.v2_hero_card_kicker {
  font-size: 0.9375rem;
  line-height: 1.3;
  font-weight: 500;
  color: #0B1626;
}
.v2_hero_card_badge {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #14263F;
  color: #fff;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.v2_hero_card_media {
  margin: 0.75rem 0;
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  border-radius: 1rem;
  background: #F6F1E6;
  display: block;
  overflow: hidden;
}
.v2_hero_card_img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  transform: none;
}
.v2_hero_card_foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9375rem;
}
.v2_hero_card_name {
  font-weight: 600;
}
.v2_hero_card_meta {
  color: #14263F;
}
@media (max-width: 991px) {
  .v2_hero {
    height: auto;
    min-height: calc(100svh + var(--nav_1--height, 4rem));
  }
  .v2_hero_card {
    display: none;
  }
  .v2_hero_bottom {
    margin-top: 2.5rem;
  }
}

/* v2 header CTA (nav_btn_login_new) contrast */
body.v2-page .nav_1_component.v2-nav .nav_btn_login_new {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
}
body.v2-page .nav_1_component.v2-nav .nav_btn_login_new .btn_main_text,
body.v2-page .nav_1_component.v2-nav .nav_btn_login_new .nav_btn_icon {
  color: #14263F !important;
}
body.v2-page .nav_1_component.v2-nav.is-scrolled .nav_btn_login_new {
  background-color: #14263F !important;
  border-color: #14263F !important;
}
body.v2-page .nav_1_component.v2-nav.is-scrolled .nav_btn_login_new .btn_main_text,
body.v2-page .nav_1_component.v2-nav.is-scrolled .nav_btn_login_new .nav_btn_icon {
  color: #ffffff !important;
}

/* v2 hero refinements */
.v2_hero .section_tag.is-light.v2_hero_tag {
  background-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}
.v2_hero_card_img {
  transform: none;
}

/* ---------------------------------------------------------------
   v2: mobile menu panel is white — keep its links dark and readable
   --------------------------------------------------------------- */
body.v2-page .nav_1_component.v2-nav .nav_1_menu_wrap .link-nav,
body.v2-page .nav_1_component.v2-nav .nav_1_menu_wrap .nav_1_links_text,
body.v2-page .nav_1_component.v2-nav .nav_1_menu_wrap .nav_1_links_link,
body.v2-page .nav_1_component.v2-nav .nav_1_menu_wrap .dropdown-toggle .link-nav,
body.v2-page .nav_1_component.v2-nav .nav_1_menu_wrap .nav-dropdown-icon,
body.v2-page .nav_1_component.v2-nav .nav_1_menu_wrap .product-name-text,
body.v2-page .nav_1_component.v2-nav .nav_1_menu_wrap .product-sub-text {
  color: #0B1626 !important;
}
body.v2-page .nav_1_component.v2-nav .nav_1_menu_wrap {
  background-color: #ffffff !important;
}
/* hamburger sits on the white panel once the menu is open */
body.v2-page .nav_1_component.v2-nav:has(.w-nav-button.w--open) .nav_1_btn_line {
  background-color: #0B1626 !important;
}
body.v2-page .nav_1_component.v2-nav:has(.w-nav-button.w--open) .amble-logo-img {
  filter: none;
}

/* ---------------------------------------------------------------
   Homepage v2 promoted to "/" — button + CTA legibility fixes
   --------------------------------------------------------------- */
/* Mobile "Get started" buttons sit on a white pill: keep the label dark */
.how_works_new_btn.mobile .btn_main_new_wrap,
.cta_new_v2_btn.mobile .btn_main_new_wrap {
  background-color: #ffffff !important;
  background-image: none !important;
}
.how_works_new_btn.mobile .btn_main_new_text,
.how_works_new_btn.mobile .btn_main_new_icon,
.how_works_new_btn.mobile .g_clickable_text,
.cta_new_v2_btn.mobile .btn_main_new_text,
.cta_new_v2_btn.mobile .btn_main_new_icon,
.cta_new_v2_btn.mobile .g_clickable_text {
  color: #14263F !important;
}

/* CTA section: all copy white over the photo */
.cta_new_v2_heading,
.cta_new_v2_heading .cta_new_v2_span,
.cta_new_v2_span.brown-opacity,
.cta_new_v2_text,
.cta_new_v2_text.text-color-brown,
.cta_new_v2_content .section_tag.is-light {
  color: #ffffff !important;
}
/* the ghost pill stays white, so its label must stay dark */
.cta_new_v2_content .ghost-button {
  background-color: #ffffff !important;
}
.cta_new_v2_content .ghost-button .ghost-button-text,
.cta_new_v2_content .ghost-button svg {
  color: #14263F !important;
}
/* Final CTA: full bleed, curve only along the top edge */
.cta_new_v2_wrap {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-bottom: 0 !important;
}
.cta_new_v2_wrap .cta_new_v2_container.u-container,
.cta_new_v2_wrap .cta_new_v2_container.u-container.auto {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  transform: none !important;
}
.cta_new_v2_wrap .cta_new_v2_content,
.cta_new_v2_wrap .cta_new_v2_visual.u-visual-wrap.u-cover-absolute {
  border-radius: 1rem 1rem 0 0 !important;
}

/* soft scrim so white copy reads on the light photo */
.cta_new_v2_content {
  position: relative;
}
.cta_new_v2_content::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    100deg,
    rgba(10, 30, 21, 0.55) 0%,
    rgba(10, 30, 21, 0.32) 38%,
    rgba(10, 30, 21, 0.05) 70%,
    rgba(10, 30, 21, 0) 100%
  );
}
.cta_new_v2_content > * {
  position: relative;
  z-index: 2;
}
.cta_new_v2_content .section_tag.is-light {
  background-color: rgba(255, 255, 255, 0.18) !important;
}

/* Benefits section on treatment pages: light overlay for text legibility */
.weight_loss_visual.has-overlay {
  z-index: 0;
}
.weight_loss_visual.has-overlay .g_visual_wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(10, 30, 21, 0.22) 0%,
    rgba(10, 30, 21, 0.16) 55%,
    rgba(10, 30, 21, 0.26) 100%
  );
}
.weight_loss_wrap .weight_loss_container,
.weight_loss_wrap .weight_loss_content,
.weight_loss_wrap .weight_loss_portrait {
  position: relative;
  z-index: 3;
}

/* Desktop: photo panel stays short; the four steps sit underneath it */
@media (min-width: 992px) {
  #how-it-works .how_works_new_container.u-container.corner-radius {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 36rem auto;
    aspect-ratio: auto !important;
    height: auto !important;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    row-gap: 1.5rem;
  }

  #how-it-works .how_works_new_content.u-vflex-stretch-between {
    display: contents;
  }

  #how-it-works .how_works_new_visual.u-visual-wrap.u-cover-absolute {
    position: relative !important;
    inset: auto !important;
    grid-row: 1;
    grid-column: 1;
    width: 100%;
    height: 36rem;
    border-radius: 2rem;
    overflow: hidden;
    z-index: 0;
  }

  #how-it-works .how_works_new_desktop,
  #how-it-works .how_works_new_desktop .g_visual_wrap {
    height: 100%;
  }

  #how-it-works .how_works_new_desktop .g_visual_img {
    object-position: center 58%;
  }

  #how-it-works .how_works_new_portrait {
    grid-row: 1;
    grid-column: 1;
    z-index: 2;
    align-self: start;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    padding: 2rem 2rem 0;
  }

  #how-it-works .how_works_new_grid {
    grid-row: 2;
    grid-column: 1;
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: 0;
  }

  #how-it-works .how_works_new_card {
    background-color: #14263f;
    backdrop-filter: none;
  }

  #how-it-works .how_works_new_content > .intake_products-popup-trigger {
    display: none !important;
  }
}

/* ---------------------------------------------------------------
   Mobile: trim the tall empty image spacer above the section cards
   --------------------------------------------------------------- */
@media (max-width: 767px) {
  .weight_loss_portrait,
  .choose_portrait {
    aspect-ratio: auto !important;
    height: auto !important;
    min-height: 15rem;
    padding-bottom: 1.5rem;
  }

  #how-it-works .how_works_new_portrait {
    aspect-ratio: auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Keep the How It Works artwork out from behind the step cards. */
  .how_works_new_container.u-container.corner-radius {
    aspect-ratio: auto !important;
    background-color: #14263f;
  }

  .how_works_new_content.u-vflex-stretch-between {
    aspect-ratio: auto !important;
    background-color: #14263f;
    border-radius: 0 !important;
  }

  .how_works_new_visual.u-visual-wrap.u-cover-absolute {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    border-radius: 0 !important;
  }

  /* Soft navy fade so the step cards don't hard-cut into the photo */
  .how_works_new_visual.u-visual-wrap.u-cover-absolute::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 42%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      #14263f 0%,
      rgba(20, 38, 63, 0.92) 28%,
      rgba(20, 38, 63, 0.45) 62%,
      rgba(20, 38, 63, 0) 100%
    );
  }

  .how_works_new_mobile.u-visual-wrap {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  .how_works_new_mobile .g_visual_img {
    object-fit: cover !important;
    object-position: 50% 58% !important;
  }
}

/* How it works, phone and tablet: same stack as the How it works page.
   Navy heading on the page background, steps in the navy block, no spacer above step 1. */
@media (max-width: 991px) {
  #how-it-works .how_works_new_container.u-container.corner-radius {
    background-color: transparent !important;
    aspect-ratio: auto !important;
    overflow: visible !important;
  }
  #how-it-works .how_works_new_content.u-vflex-stretch-between {
    background-color: transparent !important;
    border-radius: 0 !important;
    aspect-ratio: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
  }
  #how-it-works .how_works_new_portrait {
    order: 0;
    position: relative !important;
    z-index: 2;
    aspect-ratio: auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0.5rem 1.25rem 1.15rem !important;
    background: transparent !important;
  }
  #how-it-works .how_works_new_header.u-hflex-between-stretch {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1.1rem !important;
    width: 100%;
    text-align: center;
  }
  #how-it-works .how_works_new_heading.u-text-style-h2.white {
    color: #14263f !important;
    -webkit-text-fill-color: #14263f !important;
    text-align: center !important;
    width: 100%;
    margin: 0 !important;
  }
  #how-it-works .how_works_new_heading .how_works_new_span.opacity {
    color: #14263f !important;
    -webkit-text-fill-color: #14263f !important;
    opacity: 0.72 !important;
  }
  #how-it-works .how_works_new_btn.desktop {
    display: flex !important;
    justify-content: center !important;
    width: auto !important;
    margin: 0 auto !important;
  }
  #how-it-works .how_works_new_btn.mobile {
    display: none !important;
  }
  #how-it-works .how_works_new_btn.desktop .ghost-button {
    background: #14263f !important;
    color: #f6f1e6 !important;
    border-color: #14263f !important;
  }
  #how-it-works .how_works_new_btn.desktop .ghost-button-text,
  #how-it-works .how_works_new_btn.desktop .ghost-button-arrow {
    color: #f6f1e6 !important;
  }
  #how-it-works .how_works_new_btn.desktop .ghost-button-arrow path {
    fill: #b0854a !important;
  }
  #how-it-works .how_works_new_grid {
    order: 1;
    background-color: #14263f;
    border-radius: 1.75rem 1.75rem 0 0 !important;
    padding: 1.35rem 1.15rem 0.35rem !important;
    margin: 0 !important;
    width: 100% !important;
    overflow: hidden;
  }
  #how-it-works .how_works_new_visual.u-visual-wrap.u-cover-absolute {
    order: 2;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    margin: 0 !important;
    border-radius: 0 0 1.75rem 1.75rem !important;
    overflow: hidden !important;
  }
  #how-it-works .how_works_new_visual.u-visual-wrap.u-cover-absolute::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 46%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      #14263f 0%,
      rgba(20, 38, 63, 0.88) 34%,
      rgba(20, 38, 63, 0.4) 68%,
      rgba(20, 38, 63, 0) 100%
    );
  }
  #how-it-works .how_works_new_content > .intake_products-popup-trigger {
    display: none !important;
  }
}

/* Match the second-row treatment cards to the first-row height on desktop */
@media screen and (min-width: 768px) {
  .home_hero_new_grid--second-row > .product-category-card {
    aspect-ratio: 2 / 1;
  }

  .home_hero_new_grid--second-row .home_hero_new_card.size {
    height: 100%;
    aspect-ratio: auto;
  }

  .home_hero_new_grid--second-row .home_hero_new_wrapper {
    max-height: 150px;
    max-width: 66%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Category cards: centered 1×1 photos on tablet/desktop only
   (mobile keeps a compact stacked layout — unscoped 1×1 broke heights) */
@media screen and (min-width: 768px) {
  .product-category-card .home_hero_new_card.size {
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .product-category-card .home_hero_new_relative,
  .product-category-card .home_hero_new_relative.mob-change {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
  }

  .product-category-card .home_hero_new_wrapper.u-grid-custom {
    display: block;
    width: 100%;
    max-width: none;
    height: auto !important;
    max-height: none;
    margin: 0 0 var(--size--1rem, 1rem);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 0.85rem;
    grid-template-columns: 1fr;
    position: relative;
  }

  .product-category-card .home_hero_new_image.u-column-custom {
    grid-column: 1 / -1 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
  }

  .product-category-card .home_hero_new_image.u-column-custom.u-position-absolute {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .product-category-card .home_hero_new_image.u-column-custom.mob-scale {
    transform: none !important;
  }
}

/* Category cards: stacked mobile — 1×1 image, title + arrow below */
@media screen and (max-width: 767px) {
  .home_hero_new_grid.u-grid-custom {
    display: flex !important;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
  }

  .product-category-card {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: auto;
    display: block;
  }

  .product-category-card .home_hero_new_card.size {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: visible;
    gap: 0;
  }

  .product-category-card .home_hero_new_relative,
  .product-category-card .home_hero_new_relative.mob-change {
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1;
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 0.85rem;
  }

  .product-category-card .home_hero_new_wrapper.u-grid-custom {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    aspect-ratio: auto;
    overflow: hidden;
    border-radius: 0.85rem;
    position: absolute;
    inset: 0;
    grid-template-columns: 1fr !important;
  }

  .product-category-card .home_hero_new_image.u-column-custom,
  .product-category-card .home_hero_new_image.u-column-custom.mob-scale,
  .product-category-card .home_hero_new_image.u-column-custom.skin-hover,
  .product-category-card .home_hero_new_image.u-column-custom.skin {
    grid-column: 1 / -1 !important;
    margin: 0 !important;
    transform: none !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block;
  }

  .product-category-card .home_hero_new_image.u-column-custom.u-position-absolute {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
  }

  /* Keep gradient overlays on the square image only (not over the title row) */
  .product-category-card .home_hero_new_visual.u-position-absolute,
  .product-category-card .home_hero_new_visual.u-position-absolute._100,
  .product-category-card .home_hero_new_visual.u-position-absolute.gradient-yellow,
  .product-category-card .home_hero_new_visual.u-position-absolute.gradient-violet {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    border-radius: 0.85rem;
    pointer-events: none;
  }

  /* Title + arrow sit together below the 1×1 image */
  .product-category-card .home_hero_new_flex,
  .product-category-card .home_hero_new_flex.mob {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    z-index: 2;
    transform: none !important;
    translate: none !important;
    margin: 0.7rem 0 0 !important;
    padding: 0 0.1rem;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    box-sizing: border-box;
  }

  .product-category-card .home_hero_new_flex.hidden {
    display: none !important;
  }

  .product-category-card .home_hero_new_heading {
    margin: 0 !important;
  }

  .product-category-card .product-arrow-link {
    flex-shrink: 0;
  }
}

/* ---------------------------------------------------------------
   Hero treatment cards: full-bleed 4:3 artwork + "Learn more" CTA
   --------------------------------------------------------------- */
.home_hero_new_grid.u-grid-custom {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100%;
}

.meli-tx-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1rem;
  text-decoration: none;
  color: #fff;
}

.meli-tx-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.meli-tx-card:hover .meli-tx-card__img {
  transform: scale(1.03);
}

.meli-tx-card__cta {
  position: absolute;
  left: 7%;
  bottom: 8%;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--_typography---font--geist-family, Geist, sans-serif);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.meli-tx-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.meli-tx-card__arrow svg {
  width: 0.6rem;
  height: 0.6rem;
  transform: rotate(45deg);
}

.meli-tx-card:hover .meli-tx-card__arrow {
  background-color: #fff;
  color: #14263f;
}

@media screen and (max-width: 991px) {
  .home_hero_new_grid.u-grid-custom {
    gap: 0.75rem;
  }

  .meli-tx-card__cta {
    font-size: 0.7rem;
  }
}

@media screen and (max-width: 767px) {
  .home_hero_new_grid.u-grid-custom {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .meli-tx-card__cta {
    font-size: 0.8rem;
  }
}

/* Compact treatment row under the three hero cards */
.meli-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  margin-top: 1rem;
}

.meli-mini {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 7.25rem;
  padding: 1.05rem 4.75rem 1.05rem 1.15rem;
  background: #fff;
  border-radius: 1.1rem;
  overflow: hidden;
  text-decoration: none;
  color: #14263f;
  box-shadow: 0 1px 2px rgba(11, 22, 38, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.meli-mini:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11, 22, 38, 0.08);
}

.meli-mini__copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  z-index: 1;
}

.meli-mini__copy strong {
  font-family: var(--_typography---font--geist-family, Geist, sans-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #14263f;
}

.meli-mini__copy span {
  font-size: 0.85rem;
  line-height: 1.3;
  color: #8b8378;
}

.meli-mini__img {
  position: absolute;
  right: 0.15rem;
  bottom: -0.15rem;
  height: 108%;
  width: auto;
  max-width: 48%;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
}

.meli-mini__arrow {
  position: absolute;
  right: 0.7rem;
  top: 50%;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border: 1.5px solid #14263f;
  border-radius: 50%;
  background: #fff;
  color: #14263f;
  transform: translateY(-50%);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.meli-mini__arrow svg {
  width: 0.7rem;
  height: 0.7rem;
}

.meli-mini:hover .meli-mini__arrow {
  background: #14263f;
  color: #fff;
}

@media screen and (max-width: 991px) {
  .meli-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 520px) {
  .meli-mini {
    min-height: 6.5rem;
    padding-right: 4.25rem;
  }

  .meli-mini__copy strong {
    font-size: 0.98rem;
  }
}

/* ---------------------------------------------------------------
   Why patients choose Meli: three rounded quality cards
   --------------------------------------------------------------- */
.meli-quality .choose_container {
  overflow: visible;
  border-radius: 0;
}

.meli-quality__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.meli-quality .choose_heading {
  margin: 0;
  color: #14263f;
  text-align: center;
}

.meli-quality .choose_span {
  color: #14263f;
  opacity: 1;
}

.meli-quality__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  width: 100%;
}

.meli-quality__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.meli-quality__media {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 1.35rem;
  overflow: hidden;
  background: #f3efe6;
  margin-bottom: 1.35rem;
}

.meli-quality__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.meli-quality__media--vials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: linear-gradient(180deg, #f7f3ec 0%, #efe8dc 100%);
}

.meli-quality__media--vials img {
  object-fit: contain;
  height: 88%;
  width: 100%;
  margin: auto;
}

.meli-quality__card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--_typography---font--geist-family, Geist, sans-serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #14263f;
}

.meli-quality__card p {
  margin: 0;
  max-width: 28rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #5c6570;
}

@media (max-width: 991px) {
  .meli-quality__grid {
    grid-template-columns: 1fr;
    max-width: 28rem;
    margin: 0 auto;
  }
}

/* ---------------------------------------------------------------
   Goal selector modal ("What is your goal?")
   --------------------------------------------------------------- */
.goal-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--site--gutter, 1rem);
  background-color: rgba(22, 48, 42, 0.55);
  backdrop-filter: blur(4px);
}

.goal-modal.is-open {
  display: flex;
}

.goal-modal__overlay {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.goal-modal__card {
  position: relative;
  width: 100%;
  max-width: 26rem;
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 2rem;
  border-radius: var(--radius--main, 1rem);
  background-color: var(--swatch--light, #ffffff);
  color: var(--variant-black, #0B1626);
  box-shadow: 0 24px 60px rgba(22, 48, 42, 0.18);
}

.goal-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 100%;
  background: transparent;
  color: var(--variant-black, #0B1626);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  transition: background 0.2s ease;
}

.goal-modal__close:hover {
  background-color: var(--swatch--dark-faded-bkg, rgba(0, 0, 0, 0.05));
}

.goal-modal__title {
  margin: 0 0 1.5rem;
  font-family: var(--_typography---font--satoshi-family, "Satoshi Variable", Arial, sans-serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.goal-modal__options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.goal-modal__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-radius: var(--radius--small, 0.5rem);
  background-color: var(--swatch--body-background, #F6F1E6);
  color: var(--variant-black, #0B1626);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.15s ease;
}

.goal-modal__option:hover {
  background-color: var(--swatch--dark-faded-bkg, rgba(0, 0, 0, 0.05));
  transform: translateX(2px);
}

.goal-modal__arrow {
  color: var(--swatch--dark, #14263F);
  font-weight: 700;
}

@media (max-width: 479px) {
  .goal-modal__card {
    padding: 1.5rem;
  }
  .goal-modal__title {
    font-size: 1.25rem;
  }
}

/* Push the desktop "Get started" button to the far right when nav links are hidden */
.nav_1_desktop_layout {
  display: flex;
  justify-content: flex-end;
  flex: 1;
}

.nav_1_links_component.is-desktop {
  display: flex;
  justify-content: flex-end;
  flex: 1;
}

