/* COCOLOCO - PREMIUM OFFER BANNER */

.cocoloco-offer {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 35px auto 20px;
  padding: 100px 29px 24px;
  background: linear-gradient(145deg, #082e39 0%, #061f29 100%);
  border: 1.5px solid #ffc83d;
  border-radius: 22px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  text-align: left;
  box-shadow: 0 18px 50px rgba(0,0,0,.32);
  overflow: visible;
}

.cocoloco-offer *,
.cocoloco-offer *::before,
.cocoloco-offer *::after {
  box-sizing: border-box;
}

/* ETIQUETA SUPERIOR */

.cocoloco-badge {
  position: absolute;
  top: -19px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: max-content;
  max-width: 90%;
  margin: 0;
  padding: 11px 26px;
  background: #ffce45;
  border-radius: 50px;
  color: #082d38;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.1px;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}

/* TITULO */

.cocoloco-offer .cocoloco-title {
  margin: 13px 0 12px !important;
  padding: 0;
  color: #fff !important;
  font-family: Impact, "Arial Narrow", Arial, sans-serif;
  font-size: 39px;
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: .2px;
  text-transform: uppercase;
}

.cocoloco-offer .cocoloco-title span {
  display: block;
  margin-top: 3px;
  color: #ffcc3e;
}

/* DESCRIPCION */

.cocoloco-offer .cocoloco-details {
  margin: 0 0 24px !important;
  color: #d7e5e9;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

/* AREA DE PRECIO */

.cocoloco-pricing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 23px;
}

.cocoloco-price-info {
  flex: 1;
  min-width: 0;
}

.cocoloco-old {
  margin-bottom: 5px;
  color: #b7c9cf;
  font-size: 15px;
}

.cocoloco-old del {
  font-weight: 700;
}

.cocoloco-price {
  color: #ffcc3e;
  font-size: clamp(56px, 5vw, 78px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -3px;
  white-space: nowrap;
  font-variant-numeric: lining-nums;
}

.cocoloco-per {
  margin-top: 5px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

/* CIRCULO DE AHORRO */

.cocoloco-save {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 118px;
  height: 118px;
  background: #31c5c6;
  border-radius: 50%;
  color: #082e39;
  text-align: center;
  transform: rotate(-8deg);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

.cocoloco-save span {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.1;
}

.cocoloco-save strong {
  margin-top: 3px;
  color: #082e39;
  font-size: 29px;
  font-weight: 900;
  line-height: 1.1;
}

/* BOTON WHATSAPP ANIMADO */

.cocoloco-offer .cocoloco-button {
  display: block;
  width: 100%;
  padding: 17px 12px;
  background: #ffca35;
  border: 1px solid #ffdc72;
  border-radius: 50px;
  color: #082e39 !important;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  text-decoration: none !important;
  animation: cocoloco-glow 1.7s ease-in-out infinite;
  transition: transform .2s ease;
}

.cocoloco-offer .cocoloco-button:hover {
  color: #082e39 !important;
  transform: translateY(-2px);
}

@keyframes cocoloco-glow {
  0%, 100% {
    background: #ffca35;
    box-shadow: 0 0 5px rgba(255,202,53,.25);
  }

  50% {
    background: #fff15a;
    box-shadow:
      0 0 13px rgba(255,231,53,.8),
      0 0 24px rgba(255,231,53,.35);
  }
}

/* CONDICIONES */

.cocoloco-offer .cocoloco-terms {
  max-width: 420px;
  margin: 16px auto 0 !important;
  color: #b7cbd0;
  font-size: 11.5px;
  font-style: italic;
  line-height: 1.55;
  text-align: center;
}

/* MOVIL */

@media (max-width: 600px) {
  .cocoloco-offer {
    max-width: 100%;
    margin-top: -30px;
    padding: 35px 20px 21px;
    border-radius: 19px;
  }

  .cocoloco-badge {
    top: -17px;
    padding: 10px 20px;
    font-size: 11px;
  }

  .cocoloco-offer .cocoloco-title {
    font-size: 32px;
  }

  .cocoloco-offer .cocoloco-details {
    font-size: 13px;
    margin-bottom: 20px !important;
  }

  .cocoloco-price {
    font-size: clamp(44px, 11vw, 60px);
    letter-spacing: -2px;
  }

  .cocoloco-save {
    width: 94px;
    height: 94px;
  }

  .cocoloco-save span {
    font-size: 13px;
  }

  .cocoloco-save strong {
    font-size: 23px;
  }

  .cocoloco-offer .cocoloco-button {
    padding: 15px 9px;
    font-size: 14px;
  }

  .cocoloco-offer .cocoloco-terms {
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .cocoloco-price {
    font-size: 42px;
  }

  .cocoloco-save {
    width: 82px;
    height: 82px;
  }

  .cocoloco-save strong {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cocoloco-offer .cocoloco-button {
    animation: none;
  }
}
/* Corregir tamaño del botón WhatsApp en PC */
@media (min-width: 768px) {
  .cocoloco-offer a.cocoloco-button {
    height: 65px !important;
    min-height: 0 !important;
    padding: 0 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .cocoloco-offer .cocoloco-button-text {
    position: static !important;
    top: auto !important;
    transform: none !important;
    margin: 0 !important;
  }
}