/*
 * BasketHunt Apple storefront fixed header guard - v8.10.43
 * Loaded after the theme styles so iPhone/iPad WebKit cannot fall back to
 * older sticky/mobile header rules.
 */

@supports (-webkit-touch-callout: none){
  html.bh-apple-storefront-fixed-header{
    --shop-fixed-header-offset-top: 0px !important;
    --shop-fixed-header-offset-left: 0px !important;
    --shop-fixed-header-offset-right: 0px !important;
    scroll-padding-top: calc(var(--bh-apple-storefront-header-height, var(--shop-fixed-header-height, 118px)) + 10px) !important;
  }

  html.bh-apple-storefront-fixed-header body:not(.is-partner-portal){
    padding-top: var(--bh-apple-storefront-header-height, var(--shop-fixed-header-height, 118px)) !important;
    overflow-x: hidden !important;
  }

  html.bh-apple-storefront-fixed-header body:not(.is-partner-portal) .site-header{
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    z-index: 2147483000 !important;
    overflow: visible !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    transform: translate3d(0, 0, 0) !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
    will-change: transform;
    contain: none !important;
    isolation: isolate;
  }

  html.bh-apple-storefront-fixed-header body:not(.is-partner-portal) .site-header .container,
  html.bh-apple-storefront-fixed-header body:not(.is-partner-portal) .site-header .header-main{
    overflow: visible !important;
  }

  html.bh-apple-storefront-fixed-header body:not(.is-partner-portal).shop-nav-open .shop-mobile-backdrop{
    z-index: 2147483001 !important;
  }

  html.bh-apple-storefront-fixed-header body:not(.is-partner-portal) .shop-sidebar-drawer{
    z-index: 2147483002 !important;
  }

  html.bh-apple-storefront-fixed-header body:not(.is-partner-portal) .shop-sidebar,
  html.bh-apple-storefront-fixed-header body:not(.is-partner-portal) .order-summary-card,
  html.bh-apple-storefront-fixed-header body:not(.is-partner-portal) .cs-card,
  html.bh-apple-storefront-fixed-header body:not(.is-partner-portal) .sc-card,
  html.bh-apple-storefront-fixed-header body:not(.is-partner-portal) .acc-sidebar{
    top: calc(var(--bh-apple-storefront-header-height, var(--shop-fixed-header-height, 118px)) + 14px) !important;
  }
}
