/* Shared deeper navy backdrop for account and cart drawers. */
.rb-account-shade {background:rgba(18,45,72,.64) !important;}
/* Scope mmenu overrides to the cart, leaving the mobile navigation intact. */
html.rb-cart-overlay-mode .mm-slideout {
 transform:none !important;-webkit-transform:none !important;
}
html.rb-cart-overlay-mode .mm-page {
 filter:none !important;-webkit-filter:none !important;
}
html.rb-cart-overlay-mode #mm-blocker {
 position:fixed !important;inset:0 !important;width:100% !important;height:100% !important;
 transform:none !important;-webkit-transform:none !important;
 background:rgba(18,45,72,.64) !important;
 opacity:1 !important;backdrop-filter:none !important;-webkit-backdrop-filter:none !important;
 z-index:100098 !important;
}
#cart-block.rb-cart-front {
 position:fixed !important;top:0 !important;right:0 !important;bottom:0 !important;left:auto !important;
 height:100vh !important;height:100dvh !important;
 z-index:100099 !important;
 transform:translateX(100%) !important;-webkit-transform:translateX(100%) !important;
 transition:transform .24s ease !important;
}
html.mm-opening #cart-block.rb-cart-front.mm-current {
 transform:translateX(0) !important;-webkit-transform:translateX(0) !important;
}
.rb-cart-pointer-closed:not(:focus-visible),
.rb-cart-pointer-closed:not(:focus-visible) > i {
 background:transparent !important;outline:none !important;box-shadow:none !important;
}
@media(prefers-reduced-motion:reduce){#cart-block.rb-cart-front{transition:none !important;}}

/* Exact shared overlay, including when native mmenu classes drive the cart. */
:root {--rb-drawer-shade:rgba(18,45,72,.64);}
body > .rb-account-shade,
html.rb-cart-overlay-mode body > #mm-blocker,
html:has(#cart-block.mm-current) body > #mm-blocker {
 background:var(--rb-drawer-shade) !important;
 background-image:none !important;
 filter:none !important;-webkit-filter:none !important;
 backdrop-filter:none !important;-webkit-backdrop-filter:none !important;
 box-shadow:none !important;mix-blend-mode:normal !important;
}
body > .rb-account-shade.rb-is-open,
html.rb-cart-overlay-mode body > #mm-blocker,
html:has(#cart-block.mm-current) body > #mm-blocker {opacity:1 !important;}
body > .rb-account-shade::before,body > .rb-account-shade::after,
html.rb-cart-overlay-mode #mm-blocker::before,
html.rb-cart-overlay-mode #mm-blocker::after,
html:has(#cart-block.mm-current) #mm-blocker::before,
html:has(#cart-block.mm-current) #mm-blocker::after {content:none !important;display:none !important;}
html:has(#cart-block.mm-current) .mm-page {
 filter:none !important;-webkit-filter:none !important;opacity:1 !important;
}
