/* DM Builders - correcao isolada do menu mobile. Carregar apos dm-ajustes.css. */
@media (max-width: 1050px) {
  .site-header { position: sticky; top: 0; z-index: 1000; }
  .site-header .header-inner { position: relative; }
  .site-header #main-nav.main-nav {
    display: none !important;
    position: absolute;
    top: 100%; left: 0; right: 0;
    z-index: 1001;
    width: 100%;
    max-height: calc(100vh - 74px);
    max-height: calc(100dvh - 74px);
    overflow-y: auto;
    overscroll-behavior: contain;
    margin: 0;
    padding: 10px 18px 18px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(0,0,0,.14);
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
  }
  .site-header #main-nav.main-nav.is-open { display: flex !important; }
  .site-header #main-nav.main-nav a {
    display: block;
    padding: 12px 10px;
    font-size: 15px;
    line-height: 1.4;
    white-space: normal;
    text-align: left;
    border-bottom: 1px solid #eee;
  }
  .site-header .menu-toggle { display: flex; position: relative; z-index: 1002; min-width: 44px; min-height: 44px; touch-action: manipulation; }
}
