/* Store containment; local category/product scrollers remain independent. */
@media(max-width:700px){
 html.ys-store-document{width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:hidden!important}
 html.ys-store-document body.ys-store-page{width:100%!important;max-width:100%!important;min-width:0!important;margin-inline:0!important;overflow-x:hidden!important}
 body.ys-store-page #main{width:100%;max-width:100%;min-width:0;box-sizing:border-box;contain:inline-size;overflow-x:clip}
 body.ys-store-page #main>.container{width:calc(100% - 28px);max-width:calc(100% - 28px);min-width:0;padding-inline:0;box-sizing:border-box;margin-inline:auto}
 body.ys-store-page #main .ys-store{width:100%;max-width:100%;min-width:0;contain:inline-size}
 body.ys-store-page #main .ys-promotions-tiles{width:100%;grid-template-columns:minmax(0,1fr)}
 body.ys-store-page #main .ys-promotions-tiles .ys-promotion{width:100%;max-width:100%;min-width:0}
 body.ys-store-page #main .ys-promotion-copy{min-width:0;max-width:100%;overflow-wrap:anywhere}
 body.ys-store-page #main .ys-promotion picture{min-width:0;max-width:100%}
 body.ys-store-page #main .ys-store-categories,body.ys-store-page #main .ys-store-row{max-width:100%;min-width:0;overscroll-behavior-x:contain}
}

/* WooCommerce's absolutely positioned accessibility price labels must stay
   inside the product card's containing block, including horizontal rows. */
body.ys-store-page .ys-store-grid.ys-store-row,
body.ys-store-page .ys-store-card,
body.ys-store-page .ys-store-card-copy,
body.ys-store-page .ys-store-card .ys-store-price{position:relative}
body.ys-store-page .ys-store-card .screen-reader-text{
 position:absolute!important;top:0!important;left:0!important;right:auto!important;bottom:auto!important;
 width:1px!important;height:1px!important;max-width:1px!important;min-width:0!important;
 padding:0!important;margin:-1px!important;border:0!important;
 overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;
 white-space:nowrap!important;word-wrap:normal!important;
}
