/* Arte in Legno: barra contatti rapidi solo su smartphone. */
.ail-mobile-contact-bar { display: none; }

@media screen and (max-width: 767px) {
  body.ail-mobile-contact-bar-enabled {
    padding-bottom: calc(69px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .ail-mobile-contact-bar {
    position: fixed;
    z-index: 999999;
    display: flex;
    inset: auto 0 0;
    width: 100%;
    min-height: 69px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #263c32;
    color: #fff;
    box-shadow: 0 -5px 20px rgba(0,0,0,.14);
    box-sizing: border-box;
  }
  .ail-mobile-contact-bar *,
  .ail-mobile-contact-bar *::before,
  .ail-mobile-contact-bar *::after { box-sizing: border-box; }
  .ail-mobile-contact-bar__link {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    min-height: 69px;
    padding: 10px 4px;
    border-right: 1px solid rgba(255,255,255,.18);
    color: #fff !important;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .01em;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
  }
  .ail-mobile-contact-bar__link:last-child { border-right: 0; }
  .ail-mobile-contact-bar__link:hover,
  .ail-mobile-contact-bar__link:focus-visible {
    color: #fff !important;
    background: #395547;
  }
  .ail-mobile-contact-bar__link:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
  .ail-mobile-contact-bar__link svg {
    width: 23px;
    height: 23px;
    display: block;
    flex: 0 0 23px;
  }
}
