/* Pulsante WhatsApp in header desktop (al posto di Negozio Online) */
.btn-header-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: #25d366 !important;
  border-color: #25d366 !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1rem !important;
  margin-left: 0.5rem;
  flex-shrink: 0;
  text-decoration: none !important;
  border-radius: 4px;
  line-height: 1.2;
  vertical-align: middle;
}

.btn-header-wa:hover,
.btn-header-wa:focus {
  background: #1da851 !important;
  border-color: #1da851 !important;
  color: #fff !important;
  text-decoration: none !important;
}

.btn-header-wa i {
  font-size: 1.15rem;
  line-height: 1;
}

@media (max-width: 992px) {
  .btn-header-wa {
    display: none !important;
  }
}

/* Pulsante Chiama — solo mobile, tra logo e menu hamburger */
.header-call-btn {
  display: none;
}

@media (max-width: 992px) {
  .navbar .header-call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-right: 0.5rem;
    padding: 0.4rem 0.55rem;
    background: #0073ce;
    color: #fff !important;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none !important;
    line-height: 1.2;
    z-index: 20;
    flex-shrink: 0;
    white-space: nowrap;
    overflow: visible;
    box-shadow: 0 2px 8px rgba(0, 115, 206, 0.35);
  }

  .navbar .header-call-btn:hover,
  .navbar .header-call-btn:focus {
    background: #005fa3;
    color: #fff !important;
    text-decoration: none !important;
  }

  .navbar .header-call-btn i {
    font-size: 1.15rem;
    line-height: 1;
  }

  .navbar .header-call-btn__text {
    font-size: 0.75rem;
    letter-spacing: 0;
  }

  /* Logo non invade lo spazio del pulsante Chiama */
  #site-header .navbar {
    position: relative;
    min-height: 52px;
    padding-right: 0.25rem;
  }

  #site-header .navbar-brand.logo {
    max-width: 38%;
    z-index: 1;
  }

  #site-header .navbar-brand.logo img {
    max-height: 42px;
    width: auto;
    max-width: 100%;
  }

  #site-header .navbar-toggler {
    flex-shrink: 0;
    margin-right: 0.35rem;
  }
}

/* Schermi stretti: solo icona (tap chiama comunque) */
@media (max-width: 400px) {
  .navbar .header-call-btn__text {
    display: none;
  }

  .navbar .header-call-btn {
    padding: 0.5rem 0.6rem;
  }

  #site-header .navbar-brand.logo {
    max-width: 48%;
  }
}
