
/* DFM Mobile Burger - sitewide override */
@media (max-width: 900px){
  .dfm-burger{
    position: fixed;
    top: calc(var(--barH) + 10px);
    right: 20px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 10px;
    background-color: #007BFF;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-direction: column;
    justify-content: center;
    z-index: 9999;
  }
  .dfm-burger span { display:block; width:22px; height:3px; background:#fff; border-radius:2px; }
  body.dfm-no-scroll{overflow:hidden}
  #dfm-overlay[hidden]{display:none !important}
  #dfm-overlay{
    position: fixed;
    inset: 0;
    background: rgba(5,15,25,.92);
    z-index: 9998;
    padding-top: 80px;
  }
  .dfm-list{
    list-style:none;
    margin: 0;
    padding: 0 24px;
  }
  .dfm-list li{
    border-bottom: 1px solid rgba(255,255,255,.2);
  }
  .dfm-list a{
    display:block;
    padding: 16px 4px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: .2px;
  }
  /* Hide any header calculator link on mobile (but not our overlay) */
  header nav a[href*='calculator'],
  .site-nav a[href*='calculator'],
  .topbar a[href*='calculator']{
    display:none !important;
  }
}

@media (min-width: 901px){
  .dfm-burger{display:none !important;}
}

/* Build 35.30: shifted burger left to align with Apply Now */

/* Build 35.30: conservative clean + left shift alignment */

/* Build 35.30: restored white burger lines, spacing, and vertical stack */
.dfm-burger span { display:block; width:22px; height:3px; background:#fff; border-radius:2px; }

/* Build 35.30: burger blue + stacked lines */


/* Build 35.30: Left slide-out drawer (half-width), no bottom empty space */
@media (max-width: 900px){
  #dfm-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
    z-index: 9998;
  }
  #dfm-overlay.open{ display:block; }
  #dfm-overlay .dfm-drawer {
    position: absolute;
    top: 0; 
    right: 0;
    left: auto;
    width: min(55vw, 300px);
    max-width: 300px;
    max-height: 100vh;
    overflow-y: auto;
    background: #0f2233;
    transform: translateX(100%);
    transition: transform .28s ease;
    padding: 8px 16px;
    box-shadow: -8px 0 24px rgba(0,0,0,0.35);
    border-left: 1px solid rgba(255,255,255,.12);
  }
  #dfm-overlay.open .dfm-drawer { transform: translateX(0); }
  #dfm-overlay .dfm-list{
    list-style: none;
    margin: 0;
    padding: 0;
  }
  #dfm-overlay .dfm-list li{ margin: 0; }
  #dfm-overlay .dfm-list a{
    display: block;
    padding: 16px 0;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    border-bottom: 1px solid rgba(255,255,255,.15);
  }
  #dfm-overlay .dfm-list li:last-child a{ border-bottom: none; }
}


/* Build 35.30: Drawer slides in from the RIGHT side */
