/* Product detail keeps the main header while hiding its secondary menus. */
body.is-product-detail-open .header-category-nav,
body.is-product-detail-open .app-home-navigation { display: none !important; }

/* Shipping destinations are selected in product and checkout flows. */
body .shipping-destination-control--header { display: none !important; }

/* Use one accessible chevron for navigation back controls. */
:is([id$='BackBtn'], #subscriptionBack, #subscriptionCheckoutBack, .profile-header-back-btn, .back-btn, .cast-search-back, .cast-event-back, .shop-category-close, .purchase-modal-nav-btn, .event-back-link) {
  min-width: 36px;
  min-height: 36px;
  font-size: 0 !important;
  text-align: center;
}
:is([id$='BackBtn'], #subscriptionBack, #subscriptionCheckoutBack, .profile-header-back-btn, .back-btn, .cast-search-back, .cast-event-back, .shop-category-close, .purchase-modal-nav-btn, .event-back-link) > :is(svg, img, span) { display: none !important; }
:is([id$='BackBtn'], #subscriptionBack, #subscriptionCheckoutBack, .profile-header-back-btn, .back-btn, .cast-search-back, .cast-event-back, .shop-category-close, .purchase-modal-nav-btn, .event-back-link)::before {
  content: "" !important;
  display: inline-block !important;
  position: static !important;
  width: 10px !important;
  height: 10px !important;
  margin: 0 0 0 4px !important;
  border: 0 !important;
  border-left: 2px solid currentColor !important;
  border-bottom: 2px solid currentColor !important;
  border-radius: 0 !important;
  transform: rotate(45deg) !important;
  vertical-align: middle;
}
:is([id$='BackBtn'], #subscriptionBack, #subscriptionCheckoutBack, .profile-header-back-btn, .back-btn, .cast-search-back, .cast-event-back, .shop-category-close, .purchase-modal-nav-btn, .event-back-link)::after { content: none !important; }

/* Keep the chevron centered when a button also contains hidden text. */
:is(.cast-search-back, .cast-event-back, .shop-category-close) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
