/* Weight-loss story panel: photo on its own, chart over the lower right */
.weight_loss_wrap .weight_loss_visual {
  display: none !important;
}

.weight_loss_wrap .weight_loss_content.u-vflex-stretch-between.gap {
  aspect-ratio: auto !important;
  overflow: visible;
  color: #14263f;
  background: transparent;
  padding: 0 !important;
  gap: 1.25rem;
}

.weight_loss_wrap .weight_loss_container.u-container.corner-radius {
  overflow: visible;
  border-radius: 0;
}

.meli-wl-hero {
  position: relative;
  isolation: isolate;
  aspect-ratio: 3 / 2;
  min-height: 34rem;
  max-height: 44rem;
  border-radius: 1.75rem;
  overflow: hidden;
  background: #14263f;
  color: #fff;
  display: flex;
  align-items: center;
}

.meli-wl-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% top;
}

.meli-wl-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 26rem;
  padding: 2.75rem 2.5rem;
}

.meli-wl-hero .weight_loss_heading {
  color: #fff;
  margin: 0;
}

.meli-wl-hero .weight_loss_span {
  color: #fff;
}

.meli-wl-hero__note {
  margin: 1rem 0 0;
  max-width: 22rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.45;
}

.meli-wl-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.35rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  background: #fff;
  color: #14263f !important;
  text-decoration: none !important;
  font-weight: 700;
}

.meli-wl-hero__cta:hover {
  background: #f6f1e6;
}

.meli-wl-chart {
  position: absolute;
  z-index: 1;
  right: 2rem;
  bottom: 2rem;
  width: 17rem;
  padding: 1.25rem 1.4rem 1.35rem;
  border-radius: 1.25rem;
  background: #fff;
  color: #14263f;
  box-shadow: 0 18px 40px rgba(11, 22, 38, 0.2);
}

.meli-wl-chart p {
  margin: 0;
}

.meli-wl-chart__kicker {
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8b8378;
}

.meli-wl-chart__stat {
  margin-top: 0.6rem !important;
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.meli-wl-chart__stat span {
  margin-left: 0.1rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.meli-wl-chart__label {
  margin-top: 0.4rem !important;
  font-size: 0.82rem;
  line-height: 1.3;
  color: #6b7280;
}

.meli-wl-chart__graph {
  position: relative;
  width: 100%;
  margin-top: 1rem;
}

.meli-wl-chart__svg {
  display: block;
  width: 100%;
  height: 4.25rem;
  margin-top: 0;
  overflow: visible;
}

.meli-wl-chart__dot {
  position: absolute;
  /* Path endpoint (232, 58) in viewBox 240×72 — center the ball on the tip */
  left: calc(232 / 240 * 100%);
  top: calc(58 / 72 * 100%);
  transform: translate(-50%, -50%);
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #e8a33d;
  box-shadow: 0 0 0 4px rgba(232, 163, 61, 0.22);
  pointer-events: none;
}

@media (max-width: 991px) {
  .meli-wl-hero {
    aspect-ratio: auto;
    min-height: 36rem;
    max-height: none;
  }
}

@media (max-width: 767px) {
  .meli-wl-hero {
    display: block;
    min-height: 0;
    padding-bottom: 26rem;
  }

  .meli-wl-hero__photo {
    top: auto;
    bottom: 0;
    height: 26rem;
    object-position: 70% top;
  }

  .meli-wl-hero__copy {
    padding: 1.75rem 1.25rem 1.5rem;
  }

  .meli-wl-chart {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: auto;
    padding: 1rem 1.15rem 1.1rem;
  }

}

/* Weight-loss tools: BMI + media + loss slider + modal */
.meli-wl-tools {
  --meli-wl-ink: #14263F;
  --meli-wl-muted: #6b7280;
  --meli-wl-green: #1f8a4c;
  --meli-wl-green-soft: #d8f0e2;
  --meli-wl-card: #ffffff;
  --meli-wl-track: linear-gradient(90deg, #f6a56a 0%, #f472b6 28%, #818cf8 55%, #38bdf8 78%, #86efac 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  margin-top: 0.5rem;
}

.meli-wl-card {
  background: var(--meli-wl-card);
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(11, 22, 38, 0.08);
  min-height: 28rem;
  padding: 1.5rem 1.35rem 1.35rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.meli-wl-card--media {
  padding: 0;
  background: #dbeafe;
}

.meli-wl-media {
  width: 100%;
  height: 100%;
  min-height: 28rem;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.55), transparent 45%),
    linear-gradient(180deg, #93c5fd 0%, #60a5fa 55%, #3b82f6 100%);
  color: rgba(20, 38, 63, 0.55);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.meli-wl-media img,
.meli-wl-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.meli-wl-media:has(img),
.meli-wl-media:has(video) {
  padding: 0;
  color: transparent;
}

.meli-wl-media:has(img)::before,
.meli-wl-media:has(video)::before {
  content: none;
}

.meli-wl-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--meli-wl-ink);
  letter-spacing: -0.02em;
}

.meli-wl-sub {
  margin: 0.35rem 0 0;
  color: var(--meli-wl-muted);
  font-size: 0.95rem;
}

.meli-wl-bmi-value {
  margin: 1.25rem 0 1.5rem;
  font-size: clamp(3.5rem, 6vw, 4.75rem);
  line-height: 0.95;
  font-weight: 800;
  color: var(--meli-wl-ink);
  letter-spacing: -0.04em;
  min-height: 1em;
}

.meli-wl-fields {
  display: grid;
  gap: 0.85rem;
  margin-top: auto;
}

.meli-wl-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--meli-wl-ink);
  margin-bottom: 0.35rem;
}

.meli-wl-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.meli-wl-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.85rem;
  padding: 0.55rem 0.7rem;
  background: #fff;
  min-height: 3rem;
}

.meli-wl-input input {
  width: 100%;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--meli-wl-ink);
  background: transparent;
  appearance: textfield;
  -moz-appearance: textfield;
}

.meli-wl-input input::placeholder {
  color: #9ca3af;
  font-weight: 500;
  opacity: 1;
}

.meli-wl-input input::-webkit-outer-spin-button,
.meli-wl-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.meli-wl-unit {
  color: var(--meli-wl-muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

.meli-wl-stepper {
  display: grid;
  gap: 0.15rem;
  flex: 0 0 auto;
}

.meli-wl-stepper button {
  width: 1.35rem;
  height: 1rem;
  border: 0;
  border-radius: 0.25rem;
  background: #f3f4f6;
  color: var(--meli-wl-ink);
  cursor: pointer;
  font-size: 0.55rem;
  line-height: 1;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.meli-wl-stepper button:hover {
  background: #e5e7eb;
}

.meli-wl-btn {
  margin-top: 1rem;
  width: 100%;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #60a5fa, #a78bfa, #f472b6) border-box;
  color: var(--meli-wl-ink);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 1.25rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.meli-wl-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(20, 38, 63, 0.08);
}

.meli-wl-card--slider {
  text-align: center;
  align-items: center;
}

.meli-wl-could {
  margin: 0;
  color: #8B8378;
  font-size: 0.95rem;
  font-weight: 500;
}

.meli-wl-loss {
  margin: 0.2rem 0 0.85rem;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.3rem;
  color: var(--meli-wl-ink);
  line-height: 1;
}

.meli-wl-loss__num {
  font-size: clamp(3.5rem, 6vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.meli-wl-loss__unit {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.meli-wl-bars-wrap {
  width: min(100%, 17rem);
  margin: 0.5rem auto 0;
  position: relative;
  padding-top: 1rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 4.25rem;
}

.meli-wl-pointer {
  position: absolute;
  top: 0.1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #8fbf7a;
  z-index: 2;
  pointer-events: none;
}

.meli-wl-bars-viewport {
  width: 100%;
  overflow: hidden;
  height: 3.35rem;
  /* Soft fade on both edges so the ruler reads as endless */
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.meli-wl-bars {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0.42rem;
  height: 100%;
  width: max-content;
  will-change: transform;
  /* No CSS transition — sync must track the range thumb 1:1 */
  transition: none;
}

.meli-wl-bars span {
  width: 0.28rem;
  height: 42%;
  border-radius: 999px;
  background: #b5d0a4;
  flex: 0 0 auto;
}

.meli-wl-bars span.is-major {
  height: 100%;
  width: 0.34rem;
  background: #8fbf7a;
}

.meli-wl-slider-foot {
  width: 100%;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.75rem;
}

.meli-wl-start-label {
  margin: 0 0 0.4rem;
  color: #8B8378;
  font-size: 0.95rem;
  font-weight: 500;
}

.meli-wl-start {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.1rem;
  min-width: 6.5rem;
  padding: 0.55rem 1rem;
  border-radius: 0.75rem;
  background: #0f6b45;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 0.9rem;
  letter-spacing: -0.01em;
}

.meli-wl-slider-wrap {
  width: 100%;
  margin-top: 0;
  padding: 0.45rem 0.45rem;
  border: 2px solid #5bb4ff;
  border-radius: 999px;
  background: #fff;
  box-sizing: border-box;
}

.meli-wl-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--meli-wl-track);
  outline: none;
  cursor: pointer;
  display: block;
  margin: 0;
}

.meli-wl-slider-range {
  display: none !important;
}

.meli-wl-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #8fbf7a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: grab;
}

.meli-wl-slider::-moz-range-thumb {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #8fbf7a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: grab;
}

/* Modal */
.meli-wl-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.meli-wl-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.meli-wl-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 22, 38, 0.45);
  backdrop-filter: blur(4px);
}

.meli-wl-modal__dialog {
  position: relative;
  width: min(56rem, 100%);
  background: #fff;
  border-radius: 1.75rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.22);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 2rem 1.75rem 1.75rem;
  max-height: none;
  overflow: hidden;
}

.meli-wl-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.meli-wl-modal__close:hover {
  color: #fff;
  background: #333;
}

.meli-wl-modal__copy {
  padding: 0.5rem 0.5rem 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.meli-wl-modal__kicker {
  margin: 0;
  font-size: 1.05rem;
  color: var(--meli-wl-ink);
}

.meli-wl-modal__pct {
  margin: 0.15rem 0;
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: #111;
}

.meli-wl-modal__with {
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
  color: var(--meli-wl-ink);
}

.meli-wl-modal__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 11rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  background: #111;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 1.05rem;
  transition: background 0.15s ease, transform 0.15s ease;
}

.meli-wl-modal__cta:hover {
  background: var(--meli-wl-ink);
  transform: translateY(-1px);
}

.meli-wl-modal__fine {
  margin-top: auto;
  padding-top: 2rem;
  font-size: 0.68rem;
  line-height: 1.45;
  color: #9ca3af;
  max-width: 28rem;
}

.meli-wl-modal__panel {
  border: 2px solid #14263F;
  background: #fff;
  border-radius: 1.35rem;
  padding: 1.5rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 22rem;
  margin-left: auto;
  min-height: 0;
  box-sizing: border-box;
  gap: 1.25rem;
}

.meli-wl-modal__start-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 2px solid #B0854A;
  color: #14263F;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
  background: #fff;
  flex-shrink: 0;
}

.meli-wl-modal__start-pill strong {
  color: #14263F;
  font-weight: 800;
}

.meli-wl-modal__panel .meli-wl-could {
  margin: 0;
  color: #8B8378;
  font-size: 0.95rem;
  font-weight: 500;
}

.meli-wl-modal__panel .meli-wl-loss {
  margin: 0.35rem 0 0;
}

.meli-wl-modal__panel .meli-wl-loss__num {
  font-size: clamp(4rem, 7vw, 5.5rem);
}

.meli-wl-modal__mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

body.meli-wl-modal-open {
  overflow: hidden;
}

.weight_loss_wrap .weight_loss_grid {
  display: none !important;
}

@media (max-width: 991px) {
  .meli-wl-tools {
    grid-template-columns: 1fr;
  }

  .meli-wl-card,
  .meli-wl-media {
    min-height: 0;
  }

  .meli-wl-media {
    min-height: 18rem;
  }

  /* Center the middle media image on mobile */
  .meli-wl-card--media {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }

  .meli-wl-media {
    width: 100%;
  }

  .meli-wl-media img,
  .meli-wl-media video {
    width: 100%;
    height: 100%;
    min-height: 18rem;
    object-fit: cover;
    object-position: center center;
  }

  .weight_loss_mobile .g_visual_img,
  .weight_loss_mobile .g_visual_wrap {
    object-position: center center !important;
  }

  .meli-wl-modal__dialog {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.15rem 1.15rem;
  }

  .meli-wl-modal__panel {
    margin: 0.5rem auto 0;
    max-width: min(22rem, 100%);
  }

  .meli-wl-modal__close {
    top: 0.75rem;
    right: 0.75rem;
  }

  .meli-wl-modal__fine {
    padding-top: 1.25rem;
  }

  /* Starting-weight modal: compact so it fits without scrolling */
  .meli-wl-modal[data-meli-wl-modal] .meli-wl-modal__dialog {
    gap: 0.85rem;
    padding: 1.25rem 1rem 1rem;
    max-height: none;
    overflow: hidden;
  }

  .meli-wl-modal[data-meli-wl-modal] .meli-wl-modal__copy {
    min-height: 0;
    padding: 0;
  }

  .meli-wl-modal[data-meli-wl-modal] .meli-wl-modal__pct {
    font-size: clamp(2.75rem, 12vw, 3.5rem);
    margin: 0;
  }

  .meli-wl-modal[data-meli-wl-modal] .meli-wl-modal__kicker {
    font-size: 0.95rem;
  }

  .meli-wl-modal[data-meli-wl-modal] .meli-wl-modal__with {
    margin: 0 0 0.85rem;
    font-size: 1rem;
  }

  .meli-wl-modal[data-meli-wl-modal] .meli-wl-modal__cta {
    min-width: 9.5rem;
    padding: 0.75rem 1.35rem;
    font-size: 0.95rem;
  }

  .meli-wl-modal[data-meli-wl-modal] .meli-wl-modal__fine {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    font-size: 0.6rem;
    line-height: 1.35;
  }

  .meli-wl-modal[data-meli-wl-modal] .meli-wl-modal__panel {
    aspect-ratio: auto;
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 1rem 1rem 0.95rem;
    gap: 0.65rem;
  }

  .meli-wl-modal[data-meli-wl-modal] .meli-wl-modal__panel .meli-wl-loss__num {
    font-size: clamp(2.75rem, 12vw, 3.75rem);
  }

  .meli-wl-modal[data-meli-wl-modal] .meli-wl-modal__panel .meli-wl-loss {
    margin: 0.1rem 0 0;
  }

  .meli-wl-modal[data-meli-wl-modal] .meli-wl-modal__start-pill {
    padding: 0.35rem 0.8rem;
    font-size: 0.85rem;
  }
}


/* BMI result modal */
.meli-bmi-modal .meli-wl-modal__dialog {
  grid-template-columns: 1fr 1.05fr;
  width: min(58rem, 100%);
  padding: 1.75rem;
}

.meli-bmi-panel {
  border: 1.5px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #93c5fd, #fdba74, #f9a8d4, #86efac) border-box;
  border-radius: 1.35rem;
  padding: 1.5rem 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100%;
}

.meli-bmi-panel__title {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.02em;
}

.meli-bmi-gauge {
  width: min(100%, 16.5rem);
  position: relative;
  margin: 0.25rem auto 0.5rem;
}

.meli-bmi-gauge svg {
  width: 100%;
  height: auto;
  display: block;
}

.meli-bmi-gauge__value {
  position: absolute;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.meli-bmi-gauge__num {
  display: block;
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #111;
}

.meli-bmi-gauge__label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #111;
}

.meli-bmi-panel__def {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #6b7280;
  max-width: 22rem;
}

.meli-bmi-cats {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.35rem 0.25rem 0;
}

.meli-bmi-cat {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: start;
  padding: 0.55rem 0.7rem;
  border-radius: 0.9rem;
  color: #111;
}

.meli-bmi-cat__dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  margin-top: 0.35rem;
}

.meli-bmi-cat[data-cat="underweight"] .meli-bmi-cat__dot { background: #93c5fd; }
.meli-bmi-cat[data-cat="healthy"] .meli-bmi-cat__dot { background: #86efac; }
.meli-bmi-cat[data-cat="overweight"] .meli-bmi-cat__dot { background: #fdba74; }
.meli-bmi-cat[data-cat="obesity"] .meli-bmi-cat__dot { background: #fca5a5; }

.meli-bmi-cat__name {
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.meli-bmi-cat__range {
  font-size: 0.95rem;
  color: #4b5563;
  font-weight: 500;
  white-space: nowrap;
}

.meli-bmi-cat__body {
  grid-column: 2 / -1;
  display: none;
  margin-top: 0.35rem;
}

.meli-bmi-cat.is-active {
  background: #fde8d2;
}

.meli-bmi-cat.is-active .meli-bmi-cat__body {
  display: block;
}

.meli-bmi-cat.is-active .meli-bmi-cat__arrow {
  display: inline;
}

.meli-bmi-cat__arrow {
  display: none;
  font-weight: 700;
}

.meli-bmi-cat__msg {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #1f2937;
}

.meli-bmi-cat__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  background: #111;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 1rem;
}

.meli-bmi-cat__cta:hover {
  background: #14263F;
}

.meli-bmi-fine {
  margin-top: 1.25rem;
  font-size: 0.68rem;
  line-height: 1.45;
  color: #9ca3af;
}

.meli-bmi-fine p {
  margin: 0 0 0.65rem;
}

.meli-bmi-gauge__seg {
  fill: none;
  stroke: #e5e7eb;
  stroke-width: 14;
  stroke-linecap: butt;
}

.meli-bmi-gauge__seg.is-lit[data-tone="underweight"] { stroke: #93c5fd; }
.meli-bmi-gauge__seg.is-lit[data-tone="healthy"] { stroke: #86efac; }
.meli-bmi-gauge__seg.is-lit[data-tone="overweight"] { stroke: #fdba74; }
.meli-bmi-gauge__seg.is-lit[data-tone="obesity"] { stroke: #fca5a5; }

@media (max-width: 991px) {
  .meli-bmi-modal .meli-wl-modal__dialog {
    grid-template-columns: 1fr;
  }
}
