.c-popupWhatsapp-fix-overlay {
  display: none;
  position: fixed;
  left: 24px;
  bottom: 0;
  width: 1px;
  height: 1px;
  transition: background 0.3s ease;
  background: transparent;
  backdrop-filter: blur(4px);
  border-radius: 50%;
  z-index: 95;
}

.c-popupWhatsapp-fix-overlay.active {
  display: block;
  background: rgba(10, 39, 57, 0.9);
  left: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  border-radius: 0;
  padding: 3rem 16px;
  overflow-y: visible;
  overflow-x: hidden;
  z-index: 99995;
}

/* Ocultar oferta fija en móvil por defecto */
.c-offer-fix-whatsapp {
  display: none;
}

/* Contenedor principal del popup */
.c-popupWhatsapp-fix-overlay .c-popup__flex {
  padding: 10px;
  margin: 0 auto;
  width: 85%;
  max-width: 394px;
  background-color: #f5f5f5;
  color: #50535A;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  top: 14%;
  text-align: center;
  gap: 4px;
  font-size: 16px;
  border-radius: 14px;
}

/* Estilos de texto */
.c-popup__flex .title {
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 28px;
  font-weight: 200;
}

.c-popup__flex .subtitle {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: bold;
}

/* Logo de WhatsApp */
.c-popup__flex .logo-wp {
  background-color: #cef7c4;
  color: #28b72e;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Botón de cierre */
.c-popupWhatsapp-fix-overlay .c-popup__flex #close-popup-btn {
  position: absolute;
  color: var(--blue);
  right: 5%;
  top: 4%;
  font-size: 13px;
  z-index: 999999;
}

/* Botones principales */
.c-popupWhatsapp-fix-overlay .c-popup__flex a {
  width: 100%;
  max-width: 140px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--green);
  color: white;
  font-weight: bold;
  border-radius: 100px;
  font-size: 14px;
}

/* Contenedor de botones */
.buttons-container {
  margin: 0 auto;
  width: 95%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

/* Items de botones */
.button-item {
  padding: 8px 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--white);
  border-radius: 14px;
  gap: 10px;
  color: #86888C;
}

/* Imagen de fondo */
.c-popup__imgcall {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--blue);
  z-index: -1;
}

.c-popup__imgcall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== MEDIA QUERIES (MEJORAS PARA ESCRITORIO) ===== */
@media screen and (min-width: 768px) {
  /* Mostrar oferta fija solo en desktop */
  .c-offer-fix-whatsapp {
    display: flex;
    position: fixed;
    left: 0;
    bottom: 160px;
    background: #D7F6C3;
    align-items: center;
    justify-content: center;
    padding: 10px 4px;
    border-radius: 0px 8px 8px 0px;
    transition: transform 0.3s ease;
    z-index: 99;
  }

  .c-offer-fix-whatsapp.active {
    z-index: 99998;
  }

  .c-offer-fix-whatsapp__collapse {
    font-size: 13px;
    color: #5CB615;
    gap: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .c-offer-fix-whatsapp__collapse i {
    font-size: 19px;
  }

  .c-offer-fix-whatsapp.active .c-offer-fix-whatsapp__collapse::after {
    font-family: 'new-ico-logos-movistar', Arial, Helvetica, sans-serif !important;
    content: "\ea0b";
    display: inline-block;
    color: #5CB615;
    font-size: 13px;
  }

  /* Ajustes para el popup en desktop */
  .c-popupWhatsapp-fix-overlay .c-popup__flex {
    max-width: 514px;
    height: 318px;
    top: 22%;
  }

  .c-popup__flex .title {
    margin: 4px auto 0;
  }

  .c-popup__flex .subtitle {
    margin: 8px 0;
    font-size: 18px;
  }

  .c-popupWhatsapp-fix-overlay .c-popup__flex #close-popup-btn {
    right: 20%;
    top: 10%;
  }

  .c-popup__imgcall img {
    object-position: bottom right;
  }

  /* Ajustes para los botones en desktop */
  .button-item {
    padding: 13px 17px;
    width: 95%;
    flex-direction: row;
    justify-content: space-around;
    text-align: left;
  }

  .button-item__text {
    line-height: 22px;
  }
}