/* Preserve the existing layout. Commerce destinations become neutral and inert
   until the server confirms an authenticated owner session. */
html[data-storefront-access="paused"] a:is(
  [data-store-disabled],
  [href="/shop"], [href^="/shop/"], [href^="/shop?"], [href^="/shop#"], [href="/shop.html"],
  [href="/product"], [href^="/product/"], [href^="/product?"], [href="/product.html"],
  [href="/cart"], [href^="/cart/"], [href^="/cart?"], [href^="/cart#"], [href="/cart.html"],
  [href="/request-a-build"], [href^="/request-a-build/"], [href^="/request-a-build?"], [href="/request-a-build.html"],
  [href^="https://masterngta.com/shop"], [href^="https://masterngta.com/product/"], [href^="https://masterngta.com/cart"],
  [href^="https://masterngta.com/request-a-build"],
  [href^="https://www.masterngta.com/shop"], [href^="https://www.masterngta.com/product/"], [href^="https://www.masterngta.com/cart"],
  [href^="https://www.masterngta.com/request-a-build"],
  [href^="https://checkout.stripe.com/"], [href^="https://buy.stripe.com/"]
) {
  filter: grayscale(1) !important;
  opacity: .58 !important;
  cursor: not-allowed !important;
}

html[data-storefront-access="paused"] :is(
  [data-store-control-disabled],
  button[aria-label="Search products"],
  button[aria-label="Cart"],
  button[aria-label^="Cart —"],
  button[aria-label^="Cart,"]
) {
  filter: grayscale(1) !important;
  opacity: .58 !important;
  cursor: not-allowed !important;
}

/* The cart wrapper opens on hover/focus as well as a click. */
html[data-storefront-access="paused"] [data-store-control-disabled] {
  pointer-events: none !important;
}
html[data-storefront-access="paused"] [data-store-control-disabled] :is([data-store-control-disabled], a[data-store-disabled]) {
  opacity: 1 !important;
}
html[data-storefront-access="paused"] [data-store-control-disabled] [role="dialog"],
html[data-storefront-access="paused"] [role="dialog"][aria-label="Search MasternGTA"] {
  display: none !important;
}
