/* The existing .site, .menu, .fcols, .wa and form hooks carry the brand styles. */
.sm-header[data-sm-themed] .sm-header__toggle > span {
  inline-size: auto;
  margin: 0;
}

.sm-header .sm-header__drawer {
  max-inline-size: 100%;
  flex-wrap: nowrap;
}

.sm-footer .sm-footer-heading-404 {
  line-height: 1.15;
}

.sm-whatsapp.wa {
  --sm-wa-gap: 20px;
  --sm-wa-inline-gap: 20px;
  --sm-wa-size: 56px;
  --sm-wa-background: #25d366;
}

.sm-contact-form {
  --sm-form-error: #8a1020;
}

/* No-JS fallback only: with scripting on, the header never expands then collapses (CLS). */
@media (max-width: 1199px) and (scripting: none) {
  .sm-header[data-sm-themed]:not([data-sm-ready]) .sm-header__inner {
    flex-wrap: wrap;
    height: auto;
    min-height: var(--hdr);
  }

  .sm-header[data-sm-themed]:not([data-sm-ready]) .sm-header__drawer {
    display: flex;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: .5rem;
    max-height: none;
  }

  .sm-header[data-sm-themed]:not([data-sm-ready]) .sm-header__toggle {
    display: none;
  }
}
