/*!
 * Tagoo — barra di contatto rapido al telefono (Chiama, Scrivi, Raggiungici)
 * tagoo-home/css/tagoo-barra.css · v1.0.0 · 2026-11-26
 * Si carica in tutto il sito se in tagoo-home.php 'barra_telefono' è true. Visibile solo sotto i 768 px.
 */
.tg-barra { display: none; }
.tg-barra .tg-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (max-width: 767px) {
  body.tg-con-barra { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .tg-barra {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99990;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #0e0d0b;
    font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
  }
  .tg-barra a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 64px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.1;
    color: #f4f0e8 !important;
    text-decoration: none !important;
  }
  .tg-barra a + a { background: #171512; }
  .tg-barra a + a + a { background: #0e0d0b; }
  .tg-barra svg { width: 22px; height: 22px; color: #c9a45c; }
  .tg-barra a:focus-visible { outline: 2px solid #c9a45c; outline-offset: -4px; }
}
