/* ==========================================
   BANNER OFERTAS - ESTILO CON ARCO Y CONTADOR
   ========================================== */
 .promo-title, 
.discount-number, 
.discount-suffix {
  font-family: var(--font-headings);
}

.promo-subtitle, 
.btn-promo-white, 
.countdown-title, 
.timer-unit {
  font-family: var(--font-body);
}  
.promo-banner-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

.promo-banner-card {
  background-color: #0038a8; /* Azul rey */
  border-radius: 20px;
  display: flex;
  align-items: stretch; /* Estira las columnas para ocupar la misma altura */
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 56, 168, 0.2);
  min-height: 280px;
}

/* Columna 1: Texto e interactivo */
.promo-col-main {
  flex: 1.2;
  padding: 40px 20px 40px 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promo-title {
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  margin: 0 0 12px 0;
  letter-spacing: 0.5px;
}

.promo-title .text-light-blue {
  color: #38bdf8;
}

.promo-subtitle {
  font-size: 13px;
  color: #e0f2fe;
  margin: 0 0 22px 0;
  line-height: 1.35;
  max-width: 260px;
}

/* Botón Blanco */
.btn-promo-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #ffffff;
  color: #0038a8;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  width: fit-content;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-promo-white:hover {
  background-color: #f8fafc;
  transform: translateY(-2px);
  color: #002673;
}

/* Línea divisoria vertical */
.promo-divider {
  width: 1px;
  background-color: rgba(255, 255, 255, 0.25);
  margin: 30px 5px;
}

/* Columna 2: Porcentaje y Contador */
.promo-col-discount {
  flex: 1;
  padding: 30px 15px;
  text-align: center;
  color: #ffffff;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.discount-label-top {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  display: block;
  opacity: 0.9;
}

.discount-number-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
  line-height: 0.9;
  margin: 4px 0 14px 0;
}

.discount-number {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -2px;
}

.discount-suffix {
  font-size: 20px;
  font-weight: 800;
  margin-left: 4px;
  line-height: 1.1;
}

/* Estilos del Contador Regresivo */
.promo-countdown {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0.85;
  margin-bottom: 6px;
}

.timer-boxes {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 800;
}

.timer-unit {
  background: rgba(255, 255, 255, 0.18);
  padding: 4px 6px;
  border-radius: 6px;
  min-width: 32px;
  text-align: center;
}

.timer-unit span {
  font-size: 13px;
  display: block;
  line-height: 1;
}

.timer-unit small {
  font-size: 8px;
  font-weight: 600;
  opacity: 0.85;
  display: block;
}

.timer-boxes .dots {
  font-size: 12px;
  opacity: 0.7;
}

/* Columna 3: Imagen Principal (Aumentada en proporción) */
.promo-col-image {
  flex: 2.2; /* Aumenta el ancho de la foto en escritorio */
  width: 100%;
  min-height: 280px;
  position: relative;
}

.promo-curved-frame {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  /* Curva en forma de medio círculo perfecto hacia la izquierda */
  border-radius: 50% 0 0 50% / 100% 0 0 100%;
}

/* ==========================================
   ADAPTACIÓN PARA PANTALLAS PEQUEÑAS (MÓVIL)
   ========================================== */
@media (max-width: 992px) {
  .promo-banner-card {
    flex-direction: column;
    text-align: center;
    min-height: auto;
    overflow: hidden; /* Garantiza que los bordes redondeados inferiores de la tarjeta corten la foto */
  }

  .promo-col-main {
    align-items: center;
    padding: 30px 20px 15px 20px;
  }

  .promo-subtitle {
    max-width: 100%;
  }

  .promo-divider {
    width: 80%;
    height: 1px;
    margin: 10px auto;
  }

  .promo-col-discount {
    padding: 15px 20px 25px 20px;
  }

  /* Forzamos el bloque de imagen a tener presencia física en el flujo vertical */
  .promo-col-image {
    flex: none;
    width: 100%;
    height: 240px; /* Altura fija para desplegar la imagen en celular */
    min-height: 240px;
    position: relative;
  }

  /* Ajuste del marco de la imagen en móvil */
  .promo-curved-frame {
    width: 100%;
    height: 100%;
    background-size: 120%;
    background-position: center;
    background-repeat: no-repeat;
    /* Arco superior que conecta suavemente con la sección azul */
    border-radius: 30px 30px 0 0;
  }
}