/* Meli Health brand tokens + shell styles */
:root {
  --navy: #14263F;
  --midnight: #0B1626;
  --brass: #B0854A;
  --gold: #D4A94A;
  --cream: #F8F8F9;
  --warm-white: #FDFBF6;
  --stone: #DBD3C4;

  --brand: var(--navy);
  --ink: var(--midnight);
  --accent: var(--brass);
  --accent-hover: var(--gold);
  --muted: #8B8378;
  --bg: var(--cream);
  --surface: var(--warm-white);
  --border: var(--stone);
}

.amble-logo-img {
  height: 2rem;
  width: auto;
  max-width: 9.5rem;
  object-fit: contain;
  object-position: left center;
}
.mh-header .amble-logo-img {
  height: 1.35rem;
}
/* Homepage / Webflow nav wordmark — smaller than inherited Amble sizing */
.nav_1_logo_wrap .amble-logo-img,
.nav_1_logo_wrap .amble-logo-img.code-embed-2,
.nav_1_logo_wrap .amble-logo-img.code-embed-3,
body.v2-page .nav_1_component.v2-nav .amble-logo-img {
  height: 1.35rem !important;
  max-height: 22px !important;
  max-width: 6.5rem;
}
@media (max-width: 767px) {
  .nav_1_logo_wrap .amble-logo-img,
  .nav_1_logo_wrap .amble-logo-img.code-embed-2,
  .nav_1_logo_wrap .amble-logo-img.code-embed-3,
  body.v2-page .nav_1_component.v2-nav .amble-logo-img {
    height: 1.2rem !important;
    max-height: 20px !important;
    max-width: 5.75rem;
  }
}
.mh-footer .amble-logo-img,
.footer_new_logo .amble-logo-img,
.code-embed-4.amble-logo-img {
  height: 2rem;
  max-width: 10rem;
}
.meli-emblem {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
}


/* Real URLs should be clickable, not hidden behind inert buttons */
.g_clickable_wrap a[href]:not([href="#"]) {
  display: block;
}
.g_clickable_wrap a[href]:not([href="#"]) ~ button {
  display: none;
}

/* Homepage accent polish on top of remapped Webflow vars */
.btn_main_new_wrap:not(.is-v2-white):not([data-wf--btn-main-new--style="secondary"]),
.nav_btn_login_new,
.mh-cta {
  background-color: var(--brass) !important;
  color: var(--warm-white) !important;
}
.btn_main_new_wrap:not(.is-v2-white):hover,
.nav_btn_login_new:hover,
.mh-cta:hover {
  background-color: var(--gold) !important;
}
.product-arrow-link {
  background-color: var(--brass) !important;
}
a:hover,
.footer-link:hover,
.nav_1_links_link:hover {
  color: var(--gold);
}
.section_tag_icon,
.home_hero_new_span.yellow,
.home_hero_new_span.violet {
  color: var(--brass);
}

.meli-disclaimer {
  max-width: var(--container--main, 72rem);
  margin: 0 auto;
  padding: 2rem 0 3rem;
  color: #ffffff;
  font-size: 0.8125rem;
  line-height: 1.55;
}
.meli-disclaimer h3 {
  color: #ffffff;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 1.25rem 0 0.4rem;
}
.meli-disclaimer p,
.meli-disclaimer ul,
.meli-disclaimer li,
.meli-disclaimer strong {
  margin: 0 0 0.75rem;
  color: #ffffff;
  opacity: 1;
}
.meli-disclaimer a {
  color: #ffffff;
  text-decoration: underline;
}
.meli-disclaimer a:hover {
  color: var(--gold);
}

.mh-shell {
  min-height: 100vh;
  background: var(--cream);
  color: var(--midnight);
}
.mh-top {
  background: var(--navy);
  color: var(--warm-white);
  font-size: 0.8rem;
  padding: 0.55rem 1.5rem;
  text-align: center;
}
.mh-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  background: rgba(246, 241, 230, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stone);
}
.mh-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.95rem;
}
.mh-header a,
.mh-footer a {
  color: inherit;
  text-decoration: none;
}
.mh-header nav a:hover,
.mh-footer a:hover {
  color: var(--gold);
  text-decoration: underline;
}
.mh-cta {
  display: inline-flex;
  align-items: center;
  background: var(--brass);
  color: var(--warm-white) !important;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
}
.mh-cta:hover {
  background: var(--gold);
}
.mh-main {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}
.mh-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.mh-main h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--navy);
}
.mh-lede {
  font-size: 1.1rem;
  max-width: 42rem;
  margin-bottom: 2rem;
}
.mh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
}
.mh-card {
  background: var(--warm-white);
  border: 1px solid var(--stone);
  border-radius: 1.25rem;
  padding: 1.4rem;
}
.mh-card h2,
.mh-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
  color: var(--navy);
}
.mh-banner {
  background: var(--navy);
  color: var(--warm-white);
  border-radius: 1rem;
  padding: 1rem 1.15rem;
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}
.mh-banner.emergency {
  background: #7a1f1f;
}

.mh-product-img {
  display: block;
  width: min(100%, 28rem);
  max-width: 100%;
  height: auto;
  margin: 1.5rem auto;
  border-radius: 1.25rem;
  background: linear-gradient(180deg, var(--warm-white), var(--stone));
}

.mh-placeholder {
  width: 100%;
  min-height: 16rem;
  border-radius: 1.25rem;
  background: linear-gradient(180deg, var(--warm-white), var(--stone));
  display: grid;
  place-items: center;
  color: var(--muted);
  margin: 1.5rem 0;
}
.mh-footer {
  background: var(--midnight);
  color: #ffffff;
  padding: 3rem 1.5rem 2rem;
}
.footer_new_wrap #meli-legal-disclaimers,
.footer_new_wrap .meli-disclaimer,
.footer_new_wrap .meli-disclaimer p,
.footer_new_wrap .meli-disclaimer strong,
.footer_new_wrap .meli-disclaimer a {
  color: #ffffff !important;
  opacity: 1 !important;
}
.mh-footer-inner {
  max-width: 72rem;
  margin: 0 auto;
}
.mh-footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.mh-footer h2,
.mh-footer h3 {
  color: var(--warm-white);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.8rem;
}
.mh-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mh-footer li {
  margin: 0.35rem 0;
}
.mh-prose h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.6rem;
  color: var(--navy);
}
.mh-prose p,
.mh-prose li {
  margin: 0 0 0.75rem;
  max-width: 48rem;
  line-height: 1.65;
}
.mh-prose ul,
.mh-prose ol {
  padding-left: 1.2rem;
}
.mh-trust {
  display: grid;
  gap: 0.4rem;
  margin: 1rem 0 2rem;
}
@media (max-width: 800px) {
  .mh-header nav {
    display: none;
  }
}

/* Homepage hero: Meli portrait keeps subject on the right */
.v2_hero_bg {
  object-position: 72% center;
}
@media (max-width: 767px) {
  .v2_hero_bg {
    object-position: 68% center;
  }
}

/* How it works background portrait — keep vial base in frame */
.how_works_new_desktop .g_visual_img,
.how_works_new_mobile .g_visual_img {
  object-position: center 58%;
}

/* Weight loss section background */
.weight_loss_desktop .g_visual_img,
.weight_loss_mobile .g_visual_img {
  object-position: center center;
}

/* Why patients choose Meli background */
.choose_wrap .g_visual_img {
  object-position: center 25%;
}

/* Final CTA portrait — subject on the right */
.cta_new_v2_image {
  object-fit: cover;
  object-position: 78% center;
}

