/* =========================================
   FOOTER — Regalos ARI (OPTIMIZADO)
   Estructura profesional y responsiva
   ========================================= */

/* Solo lectores de pantalla (utilidad) */
.sr-only{
    position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
  }
  
  /* Foco visible accesible (sin cambiar layout) */
  #site-footer a:focus-visible,
  #site-footer button:focus-visible{
    outline: none;
    box-shadow: 0 0 0 3px rgba(34,204,211,.25);
    border-radius: .4rem;
  }
  
  /* Contenedor del footer */
  #site-footer{
    background-color: var(--color-primario, #0AC5CA);
    color: var(--color-blanco, #FFFFFF);
    padding: 20px 15px;
    font-size: 0.95rem;
  }
  
  /* Contenedor principal */
  .footer-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    max-width: var(--container, 1200px);
    margin-inline: auto;
    width: 100%;
  }
  
  /* Redes sociales */
  .footer-social ul{
    display: flex;
    gap: 15px;
    padding: 0;
    margin: 0;
    list-style: none;
  }
  .footer-social a{
    color: var(--color-blanco, #FFFFFF);
    font-size: 1.3rem;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
  }
  .footer-social a:hover,
  .footer-social a:focus-visible{
    color: var(--color-acento, #22CCD3);
    transform: translateY(-1px);
  }
  
  /* Texto y derechos */
  .footer-text{
    flex: 1;
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  /* Políticas */
  .footer-links ul{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
  }
  .footer-links a{
    color: var(--color-blanco, #FFFFFF);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
  }
  .footer-links a:hover,
  .footer-links a:focus-visible{
    color: var(--color-acento, #22CCD3);
  }
  
 /* Botón WhatsApp — robustez y visibilidad */
.whatsapp-float{
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;       /* + centrado sólido */
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #25D366;        /* verde WhatsApp (opcional, tu acento está ok) */
  color: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.22);
  z-index: 9999;              /* <- subir para ganar a header/carrito/banners */
  pointer-events: auto;       /* explícito por si algún overlay padre afectara */
}

.whatsapp-float svg,
.whatsapp-float i{
  width: 28px;
  height: 28px;
  line-height: 1;
  flex: 0 0 auto;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible{
  transform: translateY(-1px);
}

@media (max-width: 480px){
  .whatsapp-float{
    right: 14px;
    width: 54px;
    height: 54px;
  }
}

  /* ============================
     VISTA MÓVIL — 3 FILAS
     ============================ */
  @media (max-width: 768px){
    .footer-container{
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
    .footer-social{ order: 1; }
    .footer-text{   order: 2; }
    .footer-links{  order: 3; }
  }
  
  /* Alto contraste (opcional) */
  @media (prefers-contrast: more){
    .footer-social a:hover,
    .footer-social a:focus-visible,
    .footer-links a:hover,
    .footer-links a:focus-visible{
      text-decoration: underline;
    }
  }
  
  /* Reduce motion */
  @media (prefers-reduced-motion: reduce){
    *{ animation: none !important; transition: none !important; }
  }
  