.card-cardiovascular {
  overflow: hidden;
  background-color: white;
  padding: 1rem;
  text-align: center;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.card_farmarcias {
  border: 1px solid #97c8f8;
  overflow: hidden;
  background-color: white;
  padding: 1rem;
  text-align: center;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.farmacia-img-container {
  width: 100%;
  height: 100%;
  min-height: 150px;
}

.farmacia-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.btn-comprar {
  background-color: #003671;
  color: white;
  padding: 10px 40px;
  border-radius: 25px;
  border: none;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
}

.btn-comprar_dos {
  border: 1px solid #003366;
  background-color: white;
  padding: 10px 40px;
  border-radius: 25px;
  font-weight: 500;
  color: #003366;
  text-decoration: none;
  font-size: 16px;
}

.separador {
  margin: 20px 0;
  min-width: 100%;
  border: 1px solid #86c6fb;
}

.promo_master {
  display: flex;
  gap: 10px;
  margin-top: 1rem;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
}

.promo {
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.promo-agregado-ste {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 5rem;
  justify-content: center;
}

.promo-agregado {
  order: 0;
}

.promo-dark {
  order: 2;
  flex: 0 0 calc(50% - 5px);
  width: calc(50% - 5px);
}

.promo-light {
  order: 1;
  flex: 0 0 calc(50% - 5px);
  width: calc(50% - 5px);
}

.promo-agregado-ste .promo_chip {
  flex: 0 0 calc(50% - 5px);
  width: calc(50% - 5px);
  color: #003366;
}

.promo-agregado-ste .promo-agregados_list {
  flex: 0 0 calc(100% - 5px);
  width: calc(100% - 5px);
}

.promo-agregado-ste {
  text-align: left;
}

.promo_detalles_list {
  display: flex;
  justify-content: center;
  text-align: left;
}

ul li::marker,
ol li::marker {
  color: #93d0ff; /* Cambia el color de la viñeta a verde */
}

.promo_chip {
  border: 1px solid #85c6fa;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 0.5rem;
}

.promo_text_header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
}

.promo_membresia span {
  margin-top: 1rem;
  background-color: #e0f0ff;
  color: #003366;
  padding: 5px 20px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 16px;
}

.promo i {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.promo-light i {
  color: #003366;
}

.promo-dark i {
  color: #003366;
}

.promo p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.promo-light p {
  color: #003671;
}

.promo-dark p {
  color: #003671;
}

.promo ul {
  margin: 5px 0 0 0;
  padding-left: 20px;
  list-style: disc;
}

.promo ul li {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #003366;
}

.image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.con-membresia {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.8;
}

#cuerpo-base {
  border-radius: 15px;
}

.laddig_03 li::marker {
  color: #ff5421;
}

.laddig_04 li::marker {
  color: #c1c1c1;
}

.laddig_05 li::marker {
  color: #e372b9;
}

/* Sección de beneficios - CORREGIDA */
.benefits-section {
  background: #d9eeff;
  border-radius: 20px;
  padding: 25px 10%;
  margin-top: 20px;
}

.farmacia_beneficios_header {
  padding: 25px;
  margin-top: 20px;
  width: 800px;
}

.farmacia_beneficios {
  border-radius: 20px;
  padding: 25px;
  margin-top: 20px;
}

.farma_bene_text_land {
  padding: 1rem 2rem;
  text-align: left;
}

.tratamiento {
  background-color: #d8e4fc;
  padding: 10px 40px;
  border-radius: 50px;
}

.benefits-icon {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  font-size: 20px;
  margin-right: 15px;
}

.benefits-content h3 {
  color: #1a365d;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.benefits-content_orage h3 {
  color: #ff5421;
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.benefits-content p {
  line-height: 1.5;
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.farma_bene_text {
  padding: 1rem 2rem;
  font-weight: 400;
  text-align: left;
}

.farma_bene_text_dos {
  padding: 0 2rem;
  font-weight: 400;
  text-align: left;
}

.farmacia_beneficios_text {
  text-align: left;
}

#beneficios_icon {
  max-width: 100%;
  height: auto;
  width: 65px;
}

/* Sección de contenido */
.content-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.main-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a365d;
  line-height: 1.2;
  margin-bottom: 16px;
}

.imagen-cardiovascular {
  max-width: 80%;
  height: auto;
  object-fit: contain;
}

.benet_tex {
  padding: 20px;
  color: #fff;
  text-align: center;
}

.benet_tex_dos {
  padding: 20px 50px;
  color: #1568ff;
  text-align: center;
  font-weight: bold;
  font-size: 1.8rem;
}

.card_apego {
  background-color: white;
}

.text-orange {
  color: #f26a38;
}

#farmacia_img {
  background-repeat: no-repeat;
  background-size: 100%;
  object-fit: cover;
  display: flex;
  justify-content: flex-start;
}

.btn-orange {
  background-color: #f26a38;
  color: #fff;
  border-radius: 50px;
  border: none;
  padding: 0.5rem 1.5rem;
}

.btn-orange-linea {
  background-color: white;
  color: #f26a38;
  border-radius: 50px;
  border: 1px solid #f26a38;
  padding: 0.5rem 1.5rem;
}

.btn-morado {
  background-color: #76004c;
  color: white;
  border-radius: 50px;
  border: 1px solid #76004c;
  padding: 0.5rem 1.5rem;
}

.btn-morado-linea {
  background-color: white;
  color: #76004c;
  border-radius: 50px;
  border: 1px solid #76004c;
  padding: 0.5rem 1.5rem;
}

.btn-orange:hover {
  background-color: #d9582c;
  color: white;
}
.btn-orange-linea:hover {
  background-color: #d9582c;
  color: white;
}

.nutricion_control {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
}

.tags_retro {
  background-color: #75004a;
  color: white;
  border-radius: 50px;
  padding: 12px 20px;
  text-align: left;
}

.beneficios_movil {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nutricion-seccion {
  background-color: #fff;
  border-radius: 20px;
  margin-top: 20px;
  padding: 20px;
}

.etiqueta-oferta {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #e0f0ff;
  color: #003366;
  padding: 5px 10px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 12px;
}

.imagen-logo {
  max-width: 70%;
  height: auto;
  padding: 2rem;
}

.promo-light p {
  font-size: 20px;
  margin-bottom: 0;
  font-weight: bold;
}

.promo-dark p {
  font-size: 20px;
  margin-bottom: 0;
  font-weight: bold;
}

.icono-promo {
  font-size: 14px;
  color: #ff6600;
  /* ejemplo */
  margin-right: 5px;
}

.nav-tabs {
  border: none;
  gap: 0;
}

.nav-tabs .nav-item {
  flex: 1;
}

.nav-tabs .nav-link {
  border: 1px solid #dee2e6;
  border-radius: 0;
  background-color: #fff;
  color: #495057;
  text-align: center;
  padding: 12px 20px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
}

.nav-tabs .nav-link:hover {
  background-color: #f8f9fa;
  border-color: #dee2e6;
}

.nav-tabs .nav-link.active {
  background-color: #7eb3e8;
  color: white;
  border-color: #7eb3e8;
}

.nutrition-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Clase maestra para tu fila específica */
.row-evenly {
  display: flex;
  /* activamos flex */
  justify-content: space-evenly;
  /* como el justify-content-evenly de Bootstrap */
  flex-wrap: wrap;
  /* que respete el grid al hacer responsive */
}

/* Responsive */
@media (max-width: 991px) and (min-width: 320px) {
  .card-cardiovascular {
    height: auto;
  }

  .imagen-cardiovascular {
    width: 70%;
    height: 180px;
    object-fit: contain;
  }

  .btn_master {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .imagen-logo {
    max-width: 100%;
    height: auto;
    padding: 2rem;
  }

  .farmacia {
    display: flex;
    justify-content: center;
  }

  .farmacia_beneficios_text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .farma_bene_text {
    text-align: center;
  }

  #farmacia_img {
    background-repeat: no-repeat;
    background-size: 100%;
    display: flex;
    justify-content: center;
  }

  .main-title {
    font-size: 2rem;
    text-align: center;
  }

  .content-section {
    align-items: center;
    text-align: center;
    padding: 1rem;
  }

  .doctor-patient-wrapper {
    max-width: 320px;
  }

  .circle-1,
  .circle-2,
  .circle-3 {
    display: none;
  }

  .benefits-section {
    margin-top: 30px;
  }

  .beneficios_movil {
    display: flex;
    flex-direction: column;
  }

  .tags_retro {
    background-color: #75004a;
    color: white;
    border-radius: 50px;
    padding: 12px 20px;
    text-align: center;
  }

  .benefits-content {
    text-align: center;
  }

  .promo_master {
    flex-direction: column;
  }

  .promo {
    min-width: 100%;
  }

  .promo-agregado-ste {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0rem;
    justify-content: center;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .card-cardiovascular {
    height: auto;
    padding: 8px;
  }

  .farma_bene_text {
    text-align: center;
    padding: 1rem;
  }

  .farma_bene_text_dos {
    padding: 0 1rem;
    text-align: center;
  }

  .imagen-cardiovascular {
    max-height: 140px;
  }

  .btn_master {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .imagen-logo {
    max-width: 100%;
    height: auto;
    padding: 2rem;
  }

  .tratamiento {
    background-color: #d8e4fc;
    padding: 10px 38px;
    border-radius: 50px;
  }

  .main-title {
    font-size: 1.3rem;
    text-align: center;
  }

  .beneficios_movil {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .beneficios_movil_descuentos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .farmacia_beneficios .beneficios_movil .farmacia_beneficios_text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .promo-dark,
  .promo-light {
    flex: 0 0 100%;
    width: 100%;
  }

  .nutricion_control {
    display: flex;
    flex-direction: column;
  }

  .nutricion_control p {
    text-align: center;
  }

  .tags_retro {
    background-color: #75004a;
    color: white;
    border-radius: 50px;
    padding: 12px 20px;
    text-align: center;
  }

  .benefits-content {
    text-align: center;
  }
}
