/* Keep the original mobile drawer width and appearance; extend it only to the bottom of the viewport. */
@media screen and (max-width:1023px) {
  html body .d-burger {
    position:fixed !important;
    inset:0 !important;
    width:100% !important;
    max-width:none !important;
    height:100vh !important;
    height:100dvh !important;
    min-height:100vh !important;
    min-height:100dvh !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
  }
  html body .d-burger .d-burger__body {
    position:absolute !important;
    top:0 !important;
    bottom:0 !important;
    left:0 !important;
    right:min(56px, 7vw) !important;
    width:auto !important;
    max-width:420px !important;
    height:auto !important;
    min-height:100% !important;
    max-height:100% !important;
    margin:0 !important;
    padding:64px 0 calc(24px + env(safe-area-inset-bottom)) !important;
    box-sizing:border-box !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
    -webkit-overflow-scrolling:touch !important;
    overscroll-behavior:contain !important;
  }
  html body .d-burger .d-burger__hide.js-soberger-burger-close {
    position:absolute !important;
    top:calc(10px + env(safe-area-inset-top)) !important;
    right:14px !important;
    z-index:11120 !important;
  }
  html body .d-burger .d-burger__body > .nav_sections,
  html body .d-burger .d-burger__body > .nav_main {
    width:100% !important;
    max-width:none !important;
    box-sizing:border-box !important;
  }
}
