/* UpdateMe — Footer CSS (v2.3.6)
   - Todos los elementos centrados
   - Sin bordes exteriores del contenedor
   - Separadores de filas delgados
   - Chips del footer aislados (no afectan a chips globales)
*/

/* Contenedor principal del footer */
.um-footer{
  /* Variables (scoped al footer) */
  --um-site-max: 1024px;

  /* Colores/estilos por defecto: el Customizer inyecta overrides inline */
  --um-footer-bg: #f3f4f6;
  --um-footer-text: #111827;
  --um-footer-link: #111827;
  --um-footer-link-hover: #000000;
  --um-footer-divider: #d1d5db; /* gris claro para separadores delgados */
  --um-footer-radius: 15px;

  /* Chips (solo footer) */
  --um-footer-chip-bg: #7a0026;
  --um-footer-chip-text: #ffffff;
  --um-footer-chip-hover: #93002d;

  max-width: var(--um-site-max);
  margin: 0 auto;
  background: var(--um-footer-bg);
  color: var(--um-footer-text);
  padding: 16px 14px 10px;
  /* Eliminado cualquier borde exterior del footer */
  border: none;
  border-radius: var(--um-footer-radius);
  text-align: center;              /* centra texto por defecto */
  overflow: hidden;                /* respeta el radio si el fondo contrasta */
}

/* Filas del footer (todas centradas) */
.um-footer__row{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;         /* centrado horizontal */
  gap: 10px;
  margin: 10px 0;
  text-align: center;
}

/* ===== Nube de etiquetas (Fila 1) ===== */
.um-footer__tags{
  border-bottom: 1px solid var(--um-footer-divider); /* separador delgado */
  padding-bottom: 8px;
}

/* Chips del footer — AÍSLADOS (no afectan chips globales) */
.um-footer .um-chip{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 9999px;
  background: var(--um-footer-chip-bg);
  color: var(--um-footer-chip-text);
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  transition: background .15s ease-in-out, color .15s ease-in-out, transform .05s ease-in-out;
  will-change: background, color, transform;
}
.um-footer .um-chip:hover{
  background: var(--um-footer-chip-hover);
  transform: translateY(-1px);
}

/* ===== Menú (Fila 2) ===== */
.um-footer__menu{
  border-bottom: 1px solid var(--um-footer-divider); /* separador delgado */
  padding: 2px 0 8px;
}

.um-footer__menu .um-footer__menu-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;         /* asegura centrado también en UL */
}

.um-footer__menu .um-footer__menu-list > li > a{
  text-decoration: none;
  color: var(--um-footer-link);
  font-weight: 600;
}
.um-footer__menu .um-footer__menu-list > li > a:hover{
  color: var(--um-footer-link-hover);
  text-decoration: underline;
}

/* ===== Redes sociales (Fila 3) ===== */
.um-footer__social{
  border-bottom: 1px solid var(--um-footer-divider); /* separador delgado */
  padding: 2px 0 8px;
}

.um-footer .um-social-link{
  width: 34px;
  height: 34px;
  border-radius: 9999px;           /* chips circulares */
  background: var(--um-footer-chip-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background .15s ease-in-out, transform .05s ease-in-out;
  will-change: background, transform;
}
.um-footer .um-social-link:hover{
  background: var(--um-footer-chip-hover);
  transform: translateY(-1px);
}

.um-footer .um-social-icon{
  display: inline-flex;
  line-height: 0;
  color: var(--um-footer-chip-text);
}

/* ===== Copyright (Fila 4) ===== */
.um-footer__copy{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  justify-content: center;         /* centrado del contenido */
}

.um-footer__copy a{
  color: var(--um-footer-link);
  text-decoration: none;
  font-weight: 600;
}
.um-footer__copy a:hover{
  color: var(--um-footer-link-hover);
  text-decoration: underline;
}

/* ===== Desktop ===== */
@media (min-width: 960px){
  .um-footer{
    padding: 18px 20px 8px;
  }
  .um-footer__menu .um-footer__menu-list{
    gap: 16px;
  }
  .um-footer .um-social-link{
    width: 38px;
    height: 38px;
  }
}
