/* Footer background extends to both viewport edges; products keep their own surface. */
html.gsfc-store-layout #app .oz-footer {
  background:#e5ecef!important;
  width:100vw;max-width:none;box-sizing:border-box;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
}
@media(max-width:768px){
  html,body,body *{scrollbar-width:none!important;-ms-overflow-style:none!important;}
  html::-webkit-scrollbar,body::-webkit-scrollbar,body *::-webkit-scrollbar{
    display:none!important;width:0!important;height:0!important;background:transparent!important;
  }
  html.gsfc-store-layout #app .h5-home.gsfc-footer-page,
  html.gsfc-store-layout #app .h5-product-details.gsfc-footer-page{padding-bottom:0!important;}
  html:root.gsfc-store-layout body #app .is-mobile.has-mobile-footer .h5-home.view.gsfc-footer-page,
  html.gsfc-store-layout body #app.is-mobile.has-mobile-footer>.h5-home.view.gsfc-footer-page,
  html.gsfc-store-layout body #app .is-mobile>.h5-product-details.gsfc-footer-page{padding-bottom:0!important;}
  html.gsfc-store-layout #app .gsfc-footer-page>.page-content{padding-bottom:0!important;}
  html.gsfc-store-layout #app .gsfc-footer-page .oz-footer{
    padding-bottom:calc(var(--gsfc-nav-row,60px) + var(--gsfc-nav-safe,0px) + 12px)!important;
  }
  html.gsfc-store-layout #app .h5-product-details.gsfc-footer-page .oz-footer{
    padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))!important;
  }
  html.gsfc-store-layout #app .main-stroe-stores{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  html.gsfc-store-layout #app .main-stroe-stores>.store,
  html.gsfc-store-layout #app .main-stroe-stores .store-card,
  html.gsfc-store-layout #app .main-stroe-stores .store-card__body{
    min-width:0;max-width:100%;width:100%;box-sizing:border-box;
  }
  html.gsfc-store-layout #app .main-stroe-stores .store-card{height:100%;}
  html.gsfc-store-layout #app .main-stroe-stores .store-card__name{
    white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;
    line-height:1.4;min-height:2.8em;font-size:14px;
  }
  html.gsfc-store-layout #app .main-stroe-stores .store-card__stat{gap:6px;align-items:baseline;}
  html.gsfc-store-layout #app .main-stroe-stores .store-card__stat-label{min-width:0;overflow-wrap:anywhere;text-align:left;}
  html.gsfc-store-layout #app .main-stroe-stores .store-card__stat-value{flex:0 0 auto;white-space:nowrap;}
  /* The fixed host occupies only the visible dock, never a transparent full-screen layer. */
  html.gsfc-store-layout .gsfc-buyer-dock-host{
    top:auto;bottom:0;height:calc(var(--gsfc-nav-row,60px) + var(--gsfc-nav-safe,0px))!important;
    pointer-events:auto;box-sizing:border-box;
  }
  html.gsfc-store-layout .gsfc-buyer-dock-host .classic-bottom-nav{
    inset:0!important;height:100%!important;padding:0!important;box-sizing:border-box;overflow:hidden;
  }
  html.gsfc-store-layout .gsfc-buyer-dock-host .classic-bottom-nav .nav-item{
    height:100%;min-height:44px;flex:1 1 0;width:25%;padding-top:0;
    user-select:none;-webkit-user-select:none;touch-action:manipulation;
  }
}
@supports(-webkit-touch-callout:none){
  @media(max-width:768px) and (display-mode:standalone),(max-width:768px) and (display-mode:fullscreen){
    html.gsfc-store-layout .gsfc-buyer-dock-host{
      top:calc(100vh - var(--gsfc-nav-row,60px) - var(--gsfc-nav-safe,0px));
      top:calc(100dvh - var(--gsfc-nav-row,60px) - var(--gsfc-nav-safe,0px));bottom:auto;
    }
  }
}
