.hidden {
  display: none !important;
}

.zenpep-tool.hidden {
  display: none !important;
}

.zenpep-tool {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;

  overflow-y: auto;
  overflow-x: hidden;
  max-height: 100vh;
}


@keyframes fadeSlideUp {
  0% {
    transform: translateY(90%);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}


.zenpep-fade-slide-up {
  animation: fadeSlideUp 0.9s ease-out forwards;
}



/* 🔼 Slide-in animation */
@keyframes slideUpFade {
  0% {
    transform: translateY(200px);
    opacity: 0;
  }

  85% {
    transform: translateY(-20px);
    /* 👈 overshoot */
    opacity: 1;
  }

  100% {
    transform: translateY(0);
    /* 👈 settle back to resting spot */
    opacity: 1;
  }
}

.zenpep-calc__scale-wrapper.slide-in-up {
  animation: slideUpFade 0.6s ease-out both;
}


@keyframes tiltAndSettle {
  0% {
    transform: translateX(-50%) rotateZ(0deg);
  }

  40% {
    transform: translateX(-50%) rotateZ(3deg);
  }

  60% {
    transform: translateX(-50%) rotateZ(-3deg);
  }

  80% {
    transform: translateX(-50%) rotateZ(1deg);
  }

  100% {
    transform: translateX(-50%) rotateZ(0deg);
  }
}

.zenpep-calc__bar.animate-tilt {
  animation: tiltAndSettle 0.9s ease-out forwards;
  transform-origin: bottom left;
}


@keyframes tiltWeightSettle {
  0% {
    transform: rotateZ(0deg);
  }

  40% {
    transform: rotateZ(3deg);
  }

  60% {
    transform: rotateZ(-3deg);
  }

  80% {
    transform: rotateZ(1deg);
  }

  100% {
    transform: rotateZ(0deg);
  }
}

.zenpep-calc__weight-wrapper--light.animate-tilt,
.zenpep-calc__weight-wrapper--heavy.animate-tilt {
  animation: tiltWeightSettle 0.9s ease-out forwards;
  transform-origin: bottom left;
}





/* 🧠 Tool Header */
.zenpep-header-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 1rem;
}

/* 🧼 Centered logo */
.zenpep-tool__logo {
  display: block;
  width: 124px;
  height: 74px;
  margin-left: 2rem;
  z-index: 1;
  position: relative;
  margin-bottom: 50px;
}

.desk-none {
  display: none;
}



/* ❌ Exit Button */
.zenpep-exit-button {
  position: absolute;
  top: 0;
  right: 50px;
  background: transparent;
  border: none;
  color: white;
  font-size: 14px;
  font-style: italic;
  font-weight: 500;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
}

/* 🟣 Exit Icon */
.zenpep-exit-icon {
  width: 46px;
  height: 46px;
}

/* Temporay Footer  */
/* 🟪 ISI Footer Placeholder */
.zenpep-footer-placeholder {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9998;
  pointer-events: none;
  /* prevents interaction interference */
}

.zenpep-footer-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Mobile/desktop visibility */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}



/* ================================
   🎯 Results Header Layout Styling
================================== */
#zenpep-screen-results .zenpep-results__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: url("../img/img-dosing-calc/dosing-bg.png") center/cover no-repeat;
  padding: 1.5rem 2rem;
  color: white;

  position: relative;
}

/* ⬅️ Logo (left) */
#zenpep-screen-results .zenpep-results__logo {
  width: 124px;
  height: 74px;
  flex-shrink: 0;
  margin-bottom: 0;
}



/* ⬆️ Text block (centered) */
.zenpep-results__text {
  flex: 1 1 auto;
  max-width: 900px;
  text-align: left;
  margin-left: 40px;
  margin-right: 40px;
}

.zenpep-results__eyebrow {
  font-size: 0.95rem;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 0.5rem;
  color: white;
}

.zenpep-results__headline {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin: 0;
  line-height: 1.2;
}

/* ➡️ Exit Button (right) */
#zenpep-screen-results .zenpep-results__exit {
  position: relative;
  right: 0;
  font-size: 14px;
  font-style: italic;
  font-weight: 500;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
  gap: 8px;
  padding: 0;
  margin-left: auto;
  width: max-content;
}

@media (max-width: 1189px) {
  #zenpep-screen-results .zenpep-results__exit {
    width: 100px;
    top: 20px;
  }
}

@media (max-width: 992px) {
  #zenpep-screen-results .zenpep-results__exit {
    width: 50px;
    top: 20px;
  }

  #zenpep-screen-results .zenpep-results__exit .zenpep-exit-icon {
    top: auto !important;
    left: -5px !important;
  }
}

@media (max-width: 578px) {
  #zenpep-screen-results .zenpep-results__exit {
    width: 50px;
    top: 20px;
    right: -30px;
  }
}

#zenpep-screen-results .zenpep-results__exit .zenpep-exit-icon {
  width: 46px;
  height: 46px;
}

/* 🧠 Result screen input wrapper */
.zenpep-result__input-wrapper {
  position: relative;
  display: inline-block;
}

/* 📥 Input field (with room for unit) */
.zenpep-result__weight-input {
  font-size: 28px;
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  /* extra right padding */
  border: 2px solid #252e64;
  border-radius: 8px;
  background: white;
  text-align: left;
  font-weight: 700;
  color: #1c1c39;
  width: 120px;
}

/* 🏷 Inline unit (lb) */
.zenpep-result__input-unit {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #1c1c39;
  font-weight: 600;
  pointer-events: none;
}

/* 🔒 Remove spinners in Chrome, Safari, Edge */
.zenpep-result__weight-input::-webkit-inner-spin-button,
.zenpep-result__weight-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* 🔒 Remove spinner in Firefox */
.zenpep-result__weight-input[type="number"] {
  -moz-appearance: textfield;
}

/* ✅ Scoped background for screen 1 only */
.zenpep-tool__bg {
  background: url("../img/img-dosing-calc/dosing-bg.png") center/cover no-repeat;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  height: 100vh;
  min-height: 610px;
  display: flex;
  flex-direction: column;
}

/* ---------------------------------
   🧾 Eyebrow Text
----------------------------------- */
.zenpep-tool__eyebrow {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: italic;
  font-size: 16px;
  color: white;
  text-align: center;
  margin: 0 0.25rem 0.25rem;
  margin-bottom: 25px;
}

/* ---------------------------------
     🧠 Headline Text
  ----------------------------------- */
.zenpep-tool__headline {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 100%;
  color: white;
  text-align: center;
  margin: 0 0 3.5rem;
}

/* ---------------------------------
   🔢 Remove Input Spinners
----------------------------------- */
.zenpep-tool__input::-webkit-outer-spin-button,
.zenpep-tool__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.zenpep-tool__input[type="number"] {
  -moz-appearance: textfield;
}

/* ---------------------------------
   📥 Input Field Styling
----------------------------------- */
.zenpep-tool__input-wrapper {
  position: relative;
  width: 400px;
  margin: 2.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zenpep-tool__input {
  width: 280px;
  height: 54px;
  padding: 0;
  font-size: 47px;
  text-align: center;
  border-radius: 12px;
  border: 1px solid white;
  background: transparent;
  color: white;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

.zenpep-tool__input:focus {
  outline: none;
  border-color: #fff;
}

/* ---------------------------------
   🏷 Input Unit (lb)
----------------------------------- */
.zenpep-tool__input-unit {
  position: relative;
  z-index: 2;
  font-size: 24px;
  color: white;
  font-weight: 400;
  top: 3px;
  margin-left: -1.75rem;
}

/* ---------------------------------
   🟣 Calculate Button
----------------------------------- */
.zenpep-tool__button {
  padding: 0.8rem 2rem;
  font-size: 18px;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  background: rgba(0, 0, 0, 0.2);
  color: white;
  border: none;
  border-radius: 24px;
  cursor: not-allowed;
  opacity: 0.6;
  display: flex;
  justify-content: center;

  margin-left: 40px;

  transition: background 0.3s, opacity 0.3s;
}

.zenpep-tool__button:enabled {
  background: #252e64;
  cursor: pointer;
  opacity: 1;
}

/* ---------------------------------
   ⚠️ Input Warning Message
----------------------------------- */
.zenpep-tool__warning {
  position: absolute;
  top: 50%;
  right: 107%;
  transform: translateY(-50%);

  display: none;
  background-color: #d13f4f;
  color: white;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  font-style: italic;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 5;
}

/* 🟢 Display control (used by JS toggle) */
.zenpep-tool__warning:not(.d-none) {
  display: block;
  opacity: 1;
}

#zenpep-scale-holder {

  position: fixed;
  bottom: 5%;


}

.zenpep-calc__scale-wrapper {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  aspect-ratio: 3.5 / 1;
  /* Adjust as needed */
}

body.no-scroll {
  overflow: hidden;
  /* desactiva scroll en el fondo */
}

.zenpep-calc__scale-base {
  position: absolute;
  bottom: -60px;
  left: 0;
  width: 94%;
  height: auto;
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 1189px) {
  .zenpep-calc__scale-base {
    bottom: -40px;
  }

}

.zenpep-calc__bar {
  position: absolute;
  left: 50%;
  top: -100%;
  width: 100%;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}

.zenpep-calc__rail--light {
  position: absolute;
  top: -105%;
  left: 7%;

  height: auto;
  z-index: 2;
  pointer-events: none;
}

.zenpep-calc__rail--heavy {
  position: absolute;
  top: -50%;
  left: 34%;

  height: auto;
  z-index: 2;
  pointer-events: none;
}

.zenpep-calc__weight-wrapper--light,
.zenpep-calc__weight-wrapper--heavy {
  transition: transform 0.3s ease-in-out;
  will-change: transform;
}

/* ============================
   🟣 Results Header Styles
   ============================ */

#zenpep-screen-results {
  background: #f3f3f3;
  /* margin-bottom: 12%; */
  padding-bottom: 5%;
}

.lipase-title {
  text-align: center;
  color: #a91c8b;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.zenpep-results__header {
  text-align: center;
  width: 100%;
  background: url("../img/img-dosing-calc/dosing-bg.png") center/cover no-repeat;
  padding: 2rem 1rem;
  color: #fff;
}

.zenpep-results__eyebrow {
  font-size: 0.95rem;
  color: #fff;
  font-weight: 500;
}

.zenpep-results__headline {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
}

.zenpep-result__bottombar {
  width: 100%;
  padding: 1rem 1rem;
  background-color: #e8e8f3;
  display: flex;
  justify-content: space-around;
  margin: auto;
}

.zenpep-result__bottombar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;

  gap: 1rem;
}

.zenpep-result__input-group {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.zenpep-result__label {
  font-size: 24px;
  margin-right: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #1c1c39;
}

.zenpep-result__weight-input {
  font-size: 28px;
  padding: 0.5rem 1rem;
  border: 2px solid #252e64;
  border-radius: 8px;
  background: white;
  text-align: center;
  font-weight: 700;
  color: #1c1c39;
  width: 120px;
  height: 43px;
}

.zenpep-result__weight-input:focus {
  outline: none;
  border-color: #252e64;
}

.zenpep-result__button {
  background: #252e64;
  color: white;
  font-size: 18px;
  padding: 0.45rem 1.5rem;
  border-radius: 32px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}



.zenpep-result__disclaimer {
  max-width: 500px;
  font-size: 14px;
  color: #1c1c39;
  line-height: 1.4;
}

#second-bottom-bar {
  display: none;
}

.zenpep-dose-box {
  background-color: #cea2c8;
  border-radius: 16px;
  width: 572px;
  max-width: 570px;
  height: 282px;
  padding-top: 10px;
  padding-left: 10px;

  display: flex;
  padding-bottom: 10px;
  justify-content: space-between;
  flex-direction: column;
  margin: 2rem auto;
  border: 2px solid #6c015d;
  transform: scaleY(0);
  opacity: 0;
  animation: growUp 0.6s ease-out forwards;
  margin-top: 0px;
}

.zenpep-dose-value {
  font-size: 32px;
  font-weight: bold;
  padding-top: 10px;
  padding-left: 24px;
  opacity: 0;
  animation: fadeIn 0.4s ease-out forwards;
  animation-delay: 0.6s;
}

@keyframes growUp {
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.zenpep-dose-box--nested {
  border: 1px solid #fff;
  background-color: #a91c8b;
  width: 80%;
  max-width: 275px;
  height: 142px;
  flex-direction: column;
  border-radius: 12px;
  margin-top: 1rem;
  display: flex;
  align-items: flex-start;
  padding-left: 10px;
  padding-bottom: 10px;

  justify-content: space-between;
  transform: scaleY(0);
  opacity: 0;
  animation: growUpNested 0.6s ease-out forwards;
  animation-delay: 0.6s;
}

.zenpep-dose-value--nested {
  font-size: 32px;
  font-weight: bold;
  padding-left: 17px;
  color: white;
  opacity: 0;
  animation: fadeIn 0.4s ease-out forwards;
  animation-delay: 1.2s;
}

@keyframes growUpNested {
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

.zenpep-dose-box--inner {
  background-color: #641f56;
  width: 90%;
  border: 1px solid #fff;
  max-width: 148px;
  height: 50px;
  border-radius: 10px;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 45px;
  transform: scaleY(0);
  opacity: 0;
  animation: growUpInner 0.6s ease-out forwards;
  animation-delay: 1.2s;
}

.zenpep-dose-value--inner {
  font-size: 32px;
  font-weight: bold;
  color: white;
  opacity: 0;
  animation: fadeIn 0.4s ease-out forwards;
  animation-delay: 1.8s;
}

@keyframes growUpInner {
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

.zenpep-dose-box--nested {
  position: relative;
}

.zenpep-dose-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  align-items: flex-start;
}

.zenpep-dose-label {
  position: absolute;
  left: -170px;
  /* Adjust based on spacing needs */
  white-space: nowrap;

  color: #1d1f21;
  font-weight: 500;
}

.zenpep-pill-label {
  margin-left: auto;
  font-size: 0.9rem;
  color: #66136f;
  font-weight: 500;
}

.first-max {
  text-align: right;
  font-weight: bold;
  font-size: 24px;
  font-family: "Open Sans", sans-serif;
  line-height: 25px;
  left: -199px;
}

.second-max {
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  font-weight: bold;
  line-height: 22px;
  left: -185px;
  top: 2px;

  text-align: right;
}

.third-max {
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  font-weight: bold;
  line-height: 24px;
  left: -220px;
  text-align: right;
  top: 0px;
}

.zenpep-pill-label-second {
  position: absolute;
  margin-left: auto;

  color: #6c015d;
  font-weight: 500;
  top: 2px;
  left: 116%;

  width: 160px;
  font-size: 30px;
}

.zenpep-pill-label-third {
  margin-left: auto;
  font-size: 30px;
  color: #6c015d;
  font-weight: 500;
  top: 8px;
  position: absolute;
  left: 212%;
  width: 160px;
}


.zenpep-left-column .lipase-title {
  display: block;
  text-align: center;
  width: 100%;
}

.zenpep-dose-container {
  display: flex;
  justify-content: center;
  /* center the pair as a group */
  align-items: flex-start;
  gap: 3rem;
  margin-top: 0rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding-left: 150px;
}

.zenpep-right-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* so everything stacks top to bottom */
  align-items: flex-end;
  height: 100%;
  /* this is important to enable bottom alignment */
  position: relative;


}

.zenpep-left-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* so everything stacks top to bottom */
  align-items: flex-end;
  height: 100%;
  /* this is important to enable bottom alignment */
  position: relative;


}

.zenpep-pill-toggle-wrapper {
  margin-top: auto;
  /* ⬅️ pushes this to the bottom */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Pill toggle box - the container that holds the toggle switch and labels */
.zenpep-pill-toggle-box {
    border: 2px solid #66004b;   /* Default purple border (40K state) */
    border-radius: 16px;
    padding: .5rem;
    width: 191px;
    height: 130px;
    flex-shrink: 0;
    background-color: #f5ecf4;    /* Default light purple background (40K state) */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.zenpep-pill-toggle-title {
  font-weight: 600;
  color: #1e1e1e;
  margin-bottom: 0.5rem;
  font-size: 20px;
}

.zenpep-pill-toggle-switch {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.8rem;
  width: 100%;
}


/* Pill toggle track - the main toggle switch container */
.pill-toggle-track {
  width: 155px;
  height: 38px;

  background-color: white;
  border: 2px solid #66004b;
  /* Default purple border (40K state) */
  border-radius: 20px;
  position: relative;
  margin-bottom: 0.4rem;
}

.pill-toggle-thumb {
  width: 28px;
  height: 28px;
  background-color: #66004b;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 4px;
  transition: all 0.3s ease;
}

.pill-toggle-labels {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 0.4rem;
  font-size: 0.9rem;
  color: #1e1e1e;
  font-weight: 600;
}

.zenpep-pill-toggle-rx {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  font-size: 20px;
  font-weight: 600;
  text-align: left;
  color: #ffffff;
  box-sizing: border-box;
  background: #252e64;
  padding: 0.6rem 1.75rem;
  border-radius: 999px;
  flex-shrink: 0;
}
.zenpep-pill-toggle-rx span {
  border-left: 1px solid rgba(255, 255, 255, 0.55);
  padding-left: 0.75rem;
}

.rx-icon {
  width: 26px;
  height: 26px;
}

.zenpep-pill-toggle-section {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: nowrap;
  max-width: 937px;
  margin-top: 2rem;


  margin-right: auto;
}

/* 📎 Link */
.zenpep-more-strengths-link {
  text-align: center;
}

.zenpep-more-strengths-link a {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
  font-size: 20px;
  background: #252e64;
  padding: 0.6rem 1.75rem;
  border-radius: 999px;
}

@media (min-width: 1400px) {
  .zenpep-more-strengths-link a {
    font-size: 24px;
  }

  .zenpep-pill-toggle-rx {
    font-size: 24px;
  }

  .rx-icon {
    width: 22px;
    height: 30px;
  }
}

/* 💬 Callout */
.zenpep-dosing-callout {
  border: 4px solid #8781be;
  border-radius: 10px;
  padding: 1rem;
  max-width: 325px;
  margin-right: auto;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: #f3f3f3;
}

.pill-icon {
  width: 59px;
  height: 47px;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.zenpep-dosing-callout p {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
  color: #1e1e1e;
}

/* 📝 Footnotes */
.zenpep-footnotes {
  text-align: left;
  font-size: 0.7rem;
  color: #1e1e1e;
  max-width: 330px;
  margin: 0 auto 3rem auto;
  padding-bottom: 1rem;
  font-family: "Open Sans", sans-serif;
}

.zenpep-footnotes p {
  margin: 0;
  line-height: 1.4;
  margin-top: 2rem;
  font-size: 12px;
}

.mobile-only {
  display: none;
}

.pill-toggle-track {
  position: relative;
  width: 160px;
  /* enough room to travel */
  height: 40px;
  background-color: white;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.pill-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 4px;
  width: 32px;
  height: 32px;
  background-color: #66004b;
  border-radius: 50%;

  transition: left 0.3s ease, background-color 0.3s ease;
}

.pill-toggle-track[data-state="60K"] .pill-toggle-thumb {
  background-color: #252e64;
  left: 120px;
}

/* When toggled to 60K, update the parent box's background */
.pill-toggle-track[data-state="60K"]~.zenpep-pill-toggle-box {
  background-color: #c7c4e2;
}

/* 🔒 Initial state */
.hidden {
  display: none;
}

/* 🟪 Modal wrapper */
.zenpep-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
}

/* 🔲 Dimmed background */
.zenpep-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

/* 📦 Modal box */
.zenpep-modal-content {
  position: relative;
  max-width: 500px;
  margin: 400px auto;
  padding: 24px 32px;
  background: white;

  border-radius: 12px;
  color: #a91c8b;
  font-size: 1.2rem;
  text-align: center;
  z-index: 100000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.zenpep-modal-content.all-pills {
  max-width: 750px;
  margin: 10% auto;
}

.weightModalP {
  padding-top: 20px;
}

/* ❌ Close Button */
.zenpep-modal-close {
  position: absolute;
  top: -9px;
  right: 5px;
  font-size: 2.5rem;
  color: #a91c8b;
  background: none;
  border: none;
}

.zenpep-modal-content.all-pills p.pill-note-label {
  font-size: 10px;

  margin-top: 24px;
  margin-bottom: 8px;
  color: black;
  text-align: left;
}

.zenpep-modal-content.all-pills ul.pill-note-list {
  font-size: 10px;
  line-height: 1.4;
  color: black;
  padding-left: 20px;
  margin: 0 0 20px 0;
  text-align: left;
  list-style-position: outside;
}

.pill-image {
  max-width: 45%;
  height: auto;
}

.zenpep-modal-content.sample-rx-modal-content {
  background: #fff;
  border-radius: 18px;
  padding: 2rem;
  max-width: 400px;
  margin: 10% auto;
  position: relative;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

/* RX content styles */
.sample-rx-card {
  border: 2px solid #555;
  border-radius: 6px;
  padding: 1rem;
  text-align: center;
  font-family: sans-serif;
  margin-top: 15px;
}

.rx-lines {
  margin-bottom: 1.5rem;
}

.rx-line {
  width: 58%;
  height: 2px;
  background-color: #000;
  margin-top: 12px;
  margin-left: 42%;
}

.rx-divider {
  border: none;
  border-top: 3px solid #a91c8b;
  margin: 1rem 0;
}

.rx-heading {
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: black;
  font-size: 14px;
}

.rx-subheading {
  font-size: 1.2rem;
  font-weight: bold;
  color: #a91c8b;
  margin-bottom: 1rem;
}

.rx-info {
  font-size: 1rem;
  margin: 0.25rem 0;
  color: #6c015d;
}

.rx-note {
  font-size: 0.875rem;
  margin-top: 1rem;
  color: #6c015d;
}

.zenpep-pill-toggle-rx:hover {
  cursor: pointer;
}

.rx-info-container {
  border-top: 1px solid #6c015d;
  border-bottom: 1px solid #6c015d;

  margin: 1rem auto;
  width: fit-content;
}


.zenpep-footer-placeholder {
  height: 170px;
  position: sticky;
  bottom: 0;
  background-color: lightgray;
}


.pill-icon-container {
  display: inline-flex;
  gap: 2px;
  margin-bottom: 4px;
  align-items: flex-end;
  position: absolute;
  height: 24px;
  left: 166%;
  top: 10px;
}

#pill-icons-rec {
  left: 303%;
  top: 16px;
}

.pill-icon-container img {
  height: 100%;
}



@media (max-width: 1189px) {

  .zenpep-pill-toggle-section {
    flex-wrap: nowrap;
  }

  .pill-toggle-thumb {
    position: absolute;
    top: 2px;
    left: 4px;
    width: 25px;
    height: 24px;
    background-color: #66004b;
    border-radius: 50%;
    transition: left 0.3s ease, background-color 0.3s ease;
  }

  .pill-toggle-track {
    position: relative;
    width: 152px;
    height: 32px;
    background-color: white;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .zenpep-pill-toggle-title {
    font-weight: 600;
    color: #1e1e1e;
    margin-bottom: 0.5rem;
    font-size: 16px;
  }

  .zenpep-tool__input-unit {
    position: relative;
    z-index: 2;
    font-size: 16px;
    color: white;
    font-weight: 400;
    top: 2px;
    margin-left: -1.5rem;
  }

  .zenpep-tool__input {
    font-size: 45px;
    padding: 0;
    width: 140px;
  }

  .zenpep-tool__button {
    padding: 0.4rem 1rem;
    font-size: 18px;
    font-weight: 700;
    font-family: "Poppins", sans-serif;
    background: rgba(0, 0, 0, 0.2);
    color: white;
    border: none;
    border-radius: 24px;
    cursor: not-allowed;
    opacity: 0.6;
    display: flex;
    justify-content: center;

    margin-left: 40px;

    transition: background 0.3s, opacity 0.3s;
  }


  .pill-icon-container {
    display: inline-flex;
    gap: 2px;
    margin-bottom: 4px;
    align-items: flex-end;
    position: absolute;
    height: 24px;
    left: 239%;
    top: -24px;
  }

  #pill-icons-rec {
    left: 213%;
    top: -18px;
  }

  .pill-icon-container img {
    height: 100%;
  }

  .zenpep-dose-box--nested {
    height: 173px;
  }


  .zenpep-results__text {
    margin-left: 0px;
  }


  #zenpep-screen-results .zenpep-results__logo {
    width: 120px;
    height: 71px;
  }

  #zenpep-screen-results .zenpep-results__logo {
    display: none;
  }

  #zenpep-screen-results .zenpep-results__exit .zenpep-exit-icon {
    position: absolute;
    top: -10px;
    left: -25px;
    font-size: 14px;
    font-style: italic;
    font-weight: 500;
    color: white;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 8px;
    padding: 0;
    margin-left: auto;
  }

  #zenpep-screen-results .zenpep-results__header {
    flex-direction: column-reverse;
  }

  #zenpep-screen-results .zenpep-results__headline {
    font-size: 18px !important;
  }

  #zenpep-screen-results .zenpep-results__eyebrow {
    font-size: 12px !important;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .desk-none {
    display: block;
  }

  .m-none {
    display: none;
  }

  .zenpep-tool__logo {
    width: 120px;
    height: 71px;
    margin-bottom: 30px;
  }

  .zenpep-exit-icon {
    left: 30px;
    position: relative;
  }

  .zenpep-tool__eyebrow {
    font-size: 16px;
    line-height: 16px;
  }

  .rx-strength-options {

    margin: auto;
  }

  .pill-toggle-labels {
    width: 78%;
  }

  .zenpep-pill-toggle-box {
    width: 195px;
    margin: auto;
    height: 113px;
  }



  .zenpep-modal-content.sample-rx-modal-content {
    background: #fff;
    border-radius: 18px;
    padding: 2rem;
    max-width: 370px;
    margin: 45% auto;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  }

  .zenpep-modal-content {
    max-width: 360px;
    margin: 86% auto;
  }

  .zenpep-modal-content.all-pills {
    max-width: 355px;
    margin: 16% auto;
  }

  .pill-groups {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .pill-image {
    max-width: 90%;
  }

  .zenpep-pill-label-second {
    font-size: 16px;
    left: 208px;
  }

  .zenpep-pill-label-third {
    font-size: 16px;
    left: 207px;
  }

  .zenpep-dose-box--inner {
    height: 88px;
    text-align: left;
    margin-top: 2.5rem;
    width: 100px;
  }

  .zenpep-dose-value {
    font-size: 18px;
    padding-left: 16px;

  }

  .zenpep-dose-value--nested {
    font-size: 14px;
    width: 60%;
    text-align: left;
    padding-left: 7px;
    top: 25px;
    position: relative;

  }

  .second-mobile-box {
    width: 46%;
    max-width: 190px;
  }

  .zenpep-dose-value--inner {
    font-size: 14px;
    text-align: left;
  }

  .zenpep-mobile-dose-label {
    font-size: 12px;
    text-align: left;
    line-height: normal;
    width: max-content;
  }

  .mobile-only {
    display: block;
  }

  .zenpep-dose-label {
    display: none;
  }

  .zenpep-dose-box {
    width: 100%;
    max-width: 357px;
  }

  .zenpep-dose-container {
    margin-left: 10px;
    flex-direction: column;
    width: 95%;
    gap: 0px;
    padding-left: 0px;
  }

  .zenpep-right-column {
    top: 0px;
    margin: auto;
  }

  .zenpep-dosing-callout {
    margin-left: 10px;
    margin-right: 10px;
  }

  .zenpep-footnotes {
    margin-left: 10px;
    margin-right: 10px;
  }

  .pill-icon {
    width: 43px;
    height: 35px;
    flex-shrink: 0;
    margin-top: 0.2rem;
  }

  .zenpep-result__bottombar-inner>div:first-child {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .zenpep-result__bottombar-inner>div:first-child .zenpep-result__input-wrapper {
    order: 1;
    /* shows second */
  }

  .zenpep-result__bottombar-inner>div:first-child .zenpep-result__button {
    order: 2;
    /* shows third */
    border-radius: 10px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .zenpep-result__bottombar-inner>div:first-child .zenpep-result__label {
    order: 3;
    /* shows last */
    font-size: 12px;
    margin-right: 0px;
  }

  .zenpep-result__bottombar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 518px;
    width: 100%;
    gap: 3rem;
    margin: auto;
  }

  .zenpep-result__button {
    margin: auto;
  }

  .zenpep-calc__weight {
    height: 27px;
  }

  .zenpep-calc__rail--light {
    position: absolute;
    top: -105%;
    left: 7%;

    height: auto;
    z-index: 2;
    pointer-events: none;
  }

  .zenpep-calc__rail--heavy {
    position: absolute;
    top: -50%;
    left: 34%;

    height: auto;
    z-index: 2;
    pointer-events: none;
  }

  .zenpep-left-column {
    margin: auto;
  }

  #zenpep-scale-holder {

    padding-right: 45px;
    padding-left: 45px;
  }

  .zenpep-tool__warning {
    top: 196%;
    right: 27%;
  }

  .zenpep-tool__eyebrow {
    font-size: 16px;
  }

  .zenpep-tool__headline {
    font-size: 24px;
    line-height: 24px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .zenpep-tool__input-wrapper {
    padding: 0 1rem;
    width: auto;
    margin-bottom: 3.5rem;
    margin-top: -1.5rem;
  }

  #zenpep-screen-results {
    margin-bottom: -45%;
    padding-bottom: 0%;
  }

  .lipase-title {
    margin-bottom: 0rem;
  }

}

@media (max-height: 679px) {

  /* 1. Reduce el tamaño y los márgenes del contenido superior para crear espacio. */
  .zenpep-tool__headline {
    font-size: 32px;
    /* Reduce el tamaño del título principal */
    margin-bottom: 1.5rem;
    /* Disminuye el espacio debajo del título */
  }

  .zenpep-tool__input-wrapper {
    margin-top: 1rem;
    /* Disminuye el espacio sobre el input */
    margin-bottom: 1rem;
    /* Disminuye el espacio debajo del input */
  }

  /* 2. Escala y reposiciona la báscula para que ocupe menos espacio. */
  #zenpep-scale-holder {
    /* Escala todo el contenedor de la báscula a un 75% de su tamaño original */
    transform: scale(0.75);

    /* Define el punto de origen de la escala en la parte inferior y al centro */
    transform-origin: bottom center;

    /* Ajusta la posición inferior para compensar la nueva escala */
    bottom: 1%;
  }

}

@media (max-width: 578px) {
  #zenpep-scale-holder {
    position: relative;
    bottom: 0;
  }

  .zenpep-tool__input-wrapper {
    margin-bottom: 10.5rem;
  }

  .zenpep-result__button {
    margin: 0;
  }

  .zenpep-dose-box{
    margin: 2rem 2rem;
  }

  .zenpep-pill-toggle-rx{
    font-size: 15px;
    gap: 10px;
  }

}

@media (max-width: 768px) {
  .zenpep-result__button {
    margin: 0;
  }

  .desk-none {
    display: none;
  }

  .zenpep-tool__headline {
    line-height: 30px;
  }

}
