/* NiceSlides.ru V249 — mobile sticky header, footer bottom, review touch scroll */

/* Keep the real Slides header pinned on mobile. This file loads last so stale legacy
   mobile-header rules cannot replace it after deploy. */
@media (max-width:767px){
  html{scroll-padding-top:74px!important}
  .site-header.site-header-v202{
    position:sticky!important;
    position:-webkit-sticky!important;
    top:0!important;
    z-index:3000!important;
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    transform:none!important;
    background:#fff!important;
  }
  .site-header.site-header-v202 .header-inner-v202{
    position:relative!important;
    z-index:3001!important;
    transform:none!important;
  }
  .site-header.site-header-v202 .mobile-menu-v202,
  .site-header.site-header-v202 .mobile-menu-panel{
    z-index:3020!important;
  }

  /* Old footer reserved ~88px for a mobile fixed control that is no longer used.
     Keep only the safe-area breathing room below the footer mark. */
  .site-footer.site-footer-v24.site-footer-v217{
    padding-bottom:0!important;
  }
  .site-footer.site-footer-v24.site-footer-v217 .footer-bottom.footer-bottom-v217{
    padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))!important;
    margin-bottom:0!important;
  }
  .site-footer.site-footer-v24.site-footer-v217 .footer-made-v217{
    padding-bottom:0!important;
    margin-bottom:0!important;
  }

  /* Reviews remain horizontally swipeable but must never capture/block the normal
     vertical page gesture when the finger starts over a review card. */
  .reviews-v213 .reviews-viewport-v214{
    touch-action:auto!important;
    overscroll-behavior:auto!important;
    overscroll-behavior-x:auto!important;
    overscroll-behavior-y:auto!important;
    scroll-snap-type:x proximity!important;
  }
  .reviews-v213 .review-card-v213{
    scroll-snap-stop:normal!important;
  }
}
