/* ===== FOOTER PRINCIPAL ===== */
.footer-main {
  background-color: #5689c3;
  color: white;
}

.footer-title {
  font-size: 15px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-list {
  list-style: none;
  padding: 0;
  font-size: 11px;
  text-transform: uppercase;
}

.footer-list li {
  margin-bottom: 0.75rem;
}

.footer-list a {
  color: white;
  text-decoration: none;
}

.footer-list a:hover {
  text-decoration: underline;
}

.footer-contact {
  font-size: 11px;
  text-transform: lowercase;
  margin-bottom: 0.5rem;
}

/* ===== FOOTER INFERIOR ===== */
.footer-bottom {
  /*background-color: #202c7a;*/
  background-color: #24499e !important;
  color: white;
  font-size: 11px;
  text-align: center;
  padding: 1rem 0;
}

.payment-info {
  margin-bottom: 18px;
}

.payment-icon {
  width: 53px;
  height: 32px;
  margin-left: 10px;
  vertical-align: middle;
}

.payment-icon:first-of-type {
  margin-left: 5px;
}

/* 1. Estilo para la letra más chica (unificamos a 12px) */
.lista-surtido .list-group-item {
  font-size: 12px;
  /* Tamaño de fuente definitivo: 12px */
}

/* 2. ESTILO PARA FIJAR EL ANCHO (450px) */
.modal-surtido-custom {
  max-width: 460px !important;
  margin: 1.75rem auto;
}

/* 3. ESTILO PARA REDUCIR LA ALTURA Y HABILITAR EL SCROLL */
.modal-surtido-custom .modal-body {
  /* Mantiene la altura máxima a 50% de la ventana, o puedes usar 350px si prefieres un valor fijo */
  max-height: 70vh;

  /* Mantiene el scroll vertical automático */
  overflow-y: auto;

  /* Pequeña mejora: asegura que no haya scroll horizontal no deseado */
  overflow-x: hidden;
}









/* ============================================================
   FOOTER: LIMPIEZA Y ORDEN EN CELULAR
   ============================================================ */
@media screen and (max-width: 768px) {

  /* 1. Ajuste del contenedor de pagos */
  .payment-info {
    display: flex !important;
    flex-direction: column !important;
    /* Apilamos: Texto arriba, logos abajo */
    align-items: center !important;
    gap: 15px !important;
    margin-bottom: 25px !important;
    padding: 0 10px !important;
  }

  /* Texto de "Formas de pago" centrado y con espacio */
  .payment-info span,
  .payment-info b,
  .payment-info p {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 14px !important;
    margin-bottom: 5px !important;
  }

  /* 2. Contenedor de los iconos (Visa, Master, etc) */
  .payment-icons-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    /* Si no caben, que bajen */
    justify-content: center !important;
    gap: 10px !important;
    /* Separación uniforme entre logos */
    width: 100% !important;
  }

  .payment-icon {
    width: 50px !important;
    /* Un poco más chicos para que quepan en fila */
    height: auto !important;
    margin: 0 !important;
    /* Quitamos el margin-left que los movía a la derecha */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    /* Un toque de relieve */
  }

  /* 3. Logo de Pago Seguro */
  .payment-info img[alt*="seguro"],
  .payment-info img:last-of-type {
    margin: 15px auto 0 auto !important;
    display: block !important;
    width: 80px !important;
    /* Un poco más grande para que se lea */
  }

  /* 4. Texto de Derechos Reservados */
  .footer-bottom {
    padding: 20px 10px !important;
    line-height: 1.6 !important;
  }

  .footer-bottom p {
    font-size: 12px !important;
    text-align: center !important;
    margin: 0 !important;
  }
}