:root {
  --warehouse-panel-backdrop-color: rgba(0, 0, 0, .28);
  --warehouse-panel-backdrop-filter: blur(3px);
  --warehouse-panel-backdrop-duration: 180ms;
}

#mobile_menu_click_overlay,
.iqit-side-menu__overlay,
.offcanvas-backdrop,
.modal-backdrop,
.ps-shoppingcart.side-cart::before {
  background-color: var(--warehouse-panel-backdrop-color);
  -webkit-backdrop-filter: var(--warehouse-panel-backdrop-filter);
  backdrop-filter: var(--warehouse-panel-backdrop-filter);
}

.modal-backdrop {
  --bs-backdrop-opacity: 1;
}

.offcanvas-backdrop.show {
  opacity: 1;
}

.ps-shoppingcart.side-cart::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 5007;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--warehouse-panel-backdrop-duration) ease-out,
              visibility 0s var(--warehouse-panel-backdrop-duration);
}

.ps-shoppingcart.side-cart:has(:is(#_desktop_blockcart-content, #_mobile_blockcart-content).show)::before {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

.ps-shoppingcart.side-cart #blockcart-content {
  z-index: 5008;
}

/* A transformed sticky cart wrapper constrains both fixed layers. */
#sticky-cart-wrapper:has(> .ps-shoppingcart.side-cart) {
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  transform: none;
}

#sticky-cart-wrapper .ps-shoppingcart.side-cart #blockcart-content {
  top: 0;
  right: 0;
}

#header:not(.desktop-header-style-w-6):not(.desktop-header-style-w-7):has(
  .ps-shoppingcart.side-cart :is(#_desktop_blockcart-content, #_mobile_blockcart-content).show
) {
  z-index: 1001;
}

@media (prefers-reduced-motion: reduce) {
  .ps-shoppingcart.side-cart::before {
    transition: none;
  }
}

.header-action-icon {
  vertical-align: top;
}

.header-action-glyph {
  display: inline-block;
  font-style: normal;
  line-height: 1;
}

#header .iqit-side-menu__trigger > .header-action-glyph {
  font-size: 18px;
}

#header :is(.header-btn, .m-nav-btn, .search-btn, .box-mobile-search-submit, .iqit-side-menu__trigger, .header-compare-link, .search-widget button[type="submit"]):focus-visible :is(.header-action-icon, .material-icons),
#header :is(.header-btn, .m-nav-btn, .search-btn, .box-mobile-search-submit, .iqit-side-menu__trigger, .header-compare-link, .search-widget button[type="submit"]):focus-visible > .fa::before {
  color: var(--warehouse-header-action-color, var(--bs-primary, currentColor));
}

@media (any-hover: hover) {
  #header :is(.header-btn, .m-nav-btn, .search-btn, .box-mobile-search-submit, .iqit-side-menu__trigger, .header-compare-link, .search-widget button[type="submit"]):hover :is(.header-action-icon, .material-icons),
  #header :is(.header-btn, .m-nav-btn, .search-btn, .box-mobile-search-submit, .iqit-side-menu__trigger, .header-compare-link, .search-widget button[type="submit"]):hover > .fa::before {
    color: var(--warehouse-header-action-color, var(--bs-primary, currentColor));
  }
}

@media (prefers-reduced-motion: no-preference) {
  #header .header-action-icon {
    transition: color .2s ease;
  }
}

@media (min-width: 992px) {
  .header-action-icon {
    vertical-align: baseline;
  }

  .mobile-header-style-1 .header-action-icon {
    width: 26px;
    height: 26px;
  }

  .desktop-header-style-2 .header-action-icon,
  .desktop-header-style-4 .header-action-icon {
    width: 30px;
    height: 30px;
  }
}
