/* 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: scroll-pinned horizontal pan (desktop) + card hover
   --------------------------------------------------------------- */
@media (min-width: 992px) {
  .section_home-treatments.is-scrollpan {
    position: relative;
  }
  .section_home-treatments.is-scrollpan .treatment-contain {
    position: sticky;
    top: 7rem;
  }
  .section_home-treatments.is-scrollpan .swiper-container.is-product {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 3rem,
      #000 calc(100% - 9rem),
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 3rem,
      #000 calc(100% - 9rem),
      transparent 100%
    );
  }

  .section_home-treatments.is-scrollpan .swiper-wrapper.is-product {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .section_home-treatments.is-scrollpan .swiper-slide.is-product {
    flex: 0 0 auto;
    width: 26rem;
    max-width: 80vw;
  }
  .section_home-treatments.is-scrollpan .swiper-pagination.is-bullets,
  .section_home-treatments.is-scrollpan .arrows-wrapper {
    display: none !important;
  }
}

/* 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;
}
.product_card_img_new {
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.product_card_block:hover .product_card_img_new {
  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-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 2rem;
  row-gap: 0.75rem;
  text-align: center;
}
.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-scrollpan .swiper-slide.is-product {
    width: 24rem;
  }
}

/* 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,
.product_card_new_wrap,
.product_card_new_wrap.u-vflex-stretch-center.u-gap-6,
.swiper-slide.is-product .product_card_block {
  border-radius: 1.5rem !important;
  overflow: hidden;
}
.product-images-wrapper {
  border-radius: 1.25rem;
}

/* 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, #2F5D45) !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 .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;
  }
}
@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;
}
@media (max-width: 767px) {
  .footer_bottom_text {
    max-width: 22ch;
    margin-inline: auto;
    line-height: 1.5;
  }
}

/* ---------------------------------------------------------------
   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(47, 93, 69, 0.08);
  color: #2f5d45;
  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: #2f5d45;
}
.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%;
}

/* ---- 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_visual.has-overlay {
  z-index: 0;
}
.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 {
  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: #2f5d45 !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: #2f5d45 !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, #f6f3ea) !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: #16302a !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: #2f5d45 !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: #16302a !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: #16302a !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: #2f5d45 !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: #16302a;
  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: #16302a;
}
.v2_hero_card_badge {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #2f5d45;
  color: #fff;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.v2_hero_card_media {
  margin: 0.75rem 0;
  height: 9.5rem;
  border-radius: 1rem;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.v2_hero_card_img {
  height: 100%;
  width: auto;
  object-fit: contain;
  padding: 0.5rem 0;
}
.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: #2f5d45;
}
@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: #2f5d45 !important;
}
body.v2-page .nav_1_component.v2-nav.is-scrolled .nav_btn_login_new {
  background-color: #2f5d45 !important;
  border-color: #2f5d45 !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: scale(1.45);
}

/* ---------------------------------------------------------------
   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: #16302a !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: #16302a !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: #2f5d45 !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: #2f5d45 !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;
}

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

/* 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;
  }
}

/* ---------------------------------------------------------------
   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, #16302a);
  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, #16302a);
  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, #f6f3ea);
  color: var(--variant-black, #16302a);
  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, #2f5d45);
  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;
}
