.sib_msg_disp { display: none !important; }
#mensaje-exito {
  display: none;
  padding: 10px;
  margin-top: 5px;
  background: #e6f7e6;
  color: #2a7a2a;
  border: 1px solid #a0d9a0;
}
#mensaje-exito.error{
  background: #ffeeee !important;
  color: #ff4444 !important;
  border-color: #ffaaaa;
}
#boton-descuento-flotante {
  position: fixed;
  bottom: 12px;
  left: 12px;
  z-index: 999;
  background: #49669f;
  border-radius: 25px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  max-width: 220px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}
#boton-descuento-flotante:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}
.discount-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px;
  min-width: 160px;
  position: relative;
}
.discount-text {
  color: white;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  flex: 1;
  text-align: left;
}
.discount-text-desktop {
  display: inline;
}
.discount-text-mobile {
  display: none;
}
.discount-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  width: 20px;
  height: 20px;
  min-width: 20px;
  color: #ffffff;
}
.discount-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}
.discount-close svg {
  display: block;
}

/* Versión compacta circular en celular (<= 575px / 500px) */
@media (max-width: 575px) {
  #boton-descuento-flotante {
    bottom: 16px;
    left: 16px;
    width: 50.4px;
    height: 50.4px;
    max-width: 50.4px;
    border-radius: 50%;
    padding: 0;
    overflow: visible;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  }
  .discount-content {
    width: 100%;
    height: 100%;
    min-width: 0;
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .discount-text {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .discount-text-desktop {
    display: none;
  }
  .discount-text-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
  .discount-text-mobile .discount-val {
    font-size: 13.5px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.3px;
    line-height: 1.1;
  }
  .discount-text-mobile .discount-sub {
    font-size: 8.1px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    line-height: 1;
    margin-top: 1px;
  }
  .discount-close {
    position: absolute;
    top: -3.6px;
    right: -3.6px;
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 0;
    padding: 0;
    background: #111111;
    border: 1.35px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    z-index: 10;
  }
  .discount-close:hover {
    background: #000000;
  }
  .discount-close svg {
    width: 7.2px;
    height: 7.2px;
  }
}
