/* Money2 Realty | 2026-10-25 premium mobile bottom navigation
   Fix white/low-contrast legacy dock inherited from style.css + premium.css.
   Desktop/tablet nav remains unchanged. */
@media (max-width:640px){
  html{scroll-padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}
  body.vr-site:not(.vr-page-admin){
    padding-bottom:calc(86px + env(safe-area-inset-bottom,0px))!important;
  }
  body.vr-site:not(.vr-page-admin) .mobile-actions.vr-mobile-actions{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    align-items:stretch!important;
    justify-content:stretch!important;
    position:fixed!important;
    bottom:0!important;
    inset-inline:0!important;
    width:100%!important;
    height:calc(70px + env(safe-area-inset-bottom,0px))!important;
    padding:7px max(10px,env(safe-area-inset-left,0px))
           calc(9px + env(safe-area-inset-bottom,0px))
           max(10px,env(safe-area-inset-right,0px))!important;
    margin:0!important;
    gap:5px!important;
    box-sizing:border-box!important;
    isolation:isolate;
    z-index:130!important;
    background:linear-gradient(180deg,#17191d 0%,#090d12 100%)!important;
    border:0!important;
    border-top:1px solid rgba(234,192,113,.68)!important;
    border-radius:0!important;
    box-shadow:0 -9px 30px rgba(0,0,0,.45)!important;
    -webkit-backdrop-filter:blur(16px);
    backdrop-filter:blur(16px);
    color:#ebdec8!important;
    -webkit-font-smoothing:antialiased;
    font-family:inherit;
  }
  body.vr-site:not(.vr-page-admin) .mobile-actions.vr-mobile-actions a{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex-direction:column!important;
    gap:4px!important;
    min-width:0!important;
    min-height:51px!important;
    width:auto!important;
    border:1px solid transparent!important;
    border-radius:11px!important;
    padding:6px 4px!important;
    text-align:center!important;
    text-decoration:none!important;
    line-height:1.2!important;
    color:#dacbb4!important;
    background:transparent!important;
    font-size:11px!important;
    font-weight:650!important;
    letter-spacing:.015em!important;
    opacity:1!important;
    transform:none;
    transition:color .2s ease,background .2s ease,border-color .2s ease;
    -webkit-tap-highlight-color:transparent;
  }
  body.vr-site:not(.vr-page-admin) .mobile-actions.vr-mobile-actions a:last-child{
    color:#dacbb4!important;
  }
  body.vr-site:not(.vr-page-admin) .mobile-actions.vr-mobile-actions a svg{
    display:block!important;
    width:21px!important;
    height:21px!important;
    flex:none;
    fill:none;
    stroke:currentColor;
    opacity:1;
  }
  body.vr-site:not(.vr-page-admin) .mobile-actions.vr-mobile-actions a span{
    display:block!important;
    color:inherit!important;
    opacity:1!important;
    font-size:11px!important;
    font-weight:inherit!important;
    white-space:nowrap;
  }
  body.vr-site:not(.vr-page-admin) .mobile-actions.vr-mobile-actions a[aria-current="page"]{
    background:linear-gradient(155deg,rgba(230,188,105,.20),rgba(179,126,54,.07))!important;
    border-color:rgba(218,174,92,.40)!important;
    color:#ffe1a2!important;
  }
  body.vr-site:not(.vr-page-admin) .mobile-actions.vr-mobile-actions a:active{
    color:#ffe3ad!important;
    background:rgba(215,173,102,.16)!important;
  }
  body.vr-site:not(.vr-page-admin) .mobile-actions.vr-mobile-actions a:focus-visible{
    outline:2px solid #f8d598!important;
    outline-offset:-2px!important;
  }
  /* Floating support button sits separately above the tab bar. */
  body.vr-site:not(.vr-page-admin) .vr-whatsapp-chat{
    width:52px!important;
    height:52px!important;
    min-height:0!important;
    max-width:52px!important;
    right:max(13px,env(safe-area-inset-right,0px))!important;
    bottom:calc(83px + env(safe-area-inset-bottom,0px))!important;
    padding:4px!important;
    border-radius:50%!important;
    z-index:112!important;
    box-shadow:0 8px 20px rgba(0,0,0,.38)!important;
  }
  body.vr-site:not(.vr-page-admin) .vr-wa-icon{
    width:42px!important;
    height:42px!important;
    flex:0 0 42px!important;
  }
  body.vr-site:not(.vr-page-admin) .vr-wa-icon img{
    width:29px!important;
    height:29px!important;
  }
  /* Do not obscure location/filter fields while the mobile keyboard is active. */
  body.vr-site:not(.vr-page-admin):has(input:focus) .vr-whatsapp-chat,
  body.vr-site:not(.vr-page-admin):has(textarea:focus) .vr-whatsapp-chat{
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
  }
}
@media (max-width:360px){
  body.vr-site:not(.vr-page-admin) .mobile-actions.vr-mobile-actions{
    gap:2px!important;
    padding-inline:6px!important;
  }
  body.vr-site:not(.vr-page-admin) .mobile-actions.vr-mobile-actions a span{
    font-size:10px!important;
  }
}
@media (prefers-reduced-motion:reduce){
  body.vr-site:not(.vr-page-admin) .mobile-actions.vr-mobile-actions a{
    transition:none!important;
  }
}
