/* TELEGRAM-MS_CATALOG_VIEWPORT_STABLE_20261022
   Mobile page-axis containment for infinite scroll V2.
   New additive stylesheet: no catalog themes or behavior replaced. */
html,body{
  max-width:100%;
  overflow-x:clip !important;
  overscroll-behavior-x:none;
}
/* A product with unexpectedly long content must not widen the document. */
main.container,.catalog-area,#catalogResults,
#catalogResults .product,#catalogResults .product-copy{
  min-width:0;
  max-width:100%;
}
#catalogResults .product{
  overflow-wrap:anywhere;
}
/* Keep purposeful horizontal browsing inside the strips themselves. */
.promos-track,.mobile-categories{
  max-width:100%;
  overscroll-behavior-x:contain;
}
@media (max-width:700px){
  /* Keep the bottom menu attached to the visual viewport while new cards load. */
  .mobile-bottom-nav{
    position:fixed !important;
    top:auto !important;
    bottom:0 !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    transform:none !important;
    box-sizing:border-box !important;
    z-index:880;
  }
  .catalog-mobile-floats,.floating-cart.catalog-float-icon{
    position:fixed !important;
  }
  /* The existing bottom padding makes the last products reachable above the menu. */
  body{padding-bottom:calc(84px + env(safe-area-inset-bottom));}
}
