/* A stable cart shell with one scroll owner. */
#cartDrawer{position:fixed!important;top:8px!important;bottom:auto!important;left:50%!important;
height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)!important;min-height:0!important;
display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;overflow:hidden!important;
transform:translateX(-50%) scale(.98)!important;}
#cartDrawer.open{transform:translateX(-50%)!important}
#cartDrawer .drawer-head,#cartDrawer .drawer-foot{min-height:0!important;flex-shrink:0!important}
#cartDrawer #cartItems{height:100%!important;min-height:0!important;max-height:none!important;
overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;touch-action:pan-y!important;box-sizing:border-box!important;-webkit-overflow-scrolling:touch!important}
html.cart-open{overflow:hidden!important;overscroll-behavior:none!important}
body.cart-open{position:fixed!important;top:var(--cart-scroll-top)!important;left:0!important;right:0!important;width:100%!important;overflow:hidden!important}
#cartDrawer .cart-thumb{position:relative!important;overflow:hidden!important}
#cartDrawer .cart-thumb>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;transform:none!important;scale:none!important;padding:0!important;margin:0!important;box-sizing:border-box!important}
