/* Mobile bottom navigation — screens 768px and below only */

:root {
  --mobile-bottom-nav-height: 4.5rem;
  --mobile-sheet-height: 70vh;
}
html {
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #333 #e2e6eb;
}

html::-webkit-scrollbar {
  width: 10px;
}
html::-webkit-scrollbar-track {
  background: #e2e6eb;
}
html::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 10px;
}
@media only screen and (max-width: 767px) {
  /* Reserve scrollbar gutter so nav/content don't shift right when
     overlays (category, search, account) lock scroll and remove the
     scrollbar. Applied to both root scroll containers so it survives the
     theme's overflow:hidden scroll lock. No effect on real mobile devices
     (overlay scrollbars = 0px width). */
  html,
  body {
    scrollbar-gutter: stable;
  }

  body.has-mobile-bottom-nav {
    --mobile-bottom-nav-offset: calc(var(--mobile-bottom-nav-height) + env(safe-area-inset-bottom, 0px));
  }

  body.has-mobile-bottom-nav .header ~ .main {
    padding-bottom: calc(var(--mobile-bottom-nav-offset, 0px) + 0.5rem);
  }

  body.has-mobile-bottom-nav .sticky-atc {
    bottom: var(--sticky-atc-mobile-bottom, 0px);
  }

  /* Header: logo only (default mobile) */
  .section-header__content.menu_toggle.menu_toggle--bottom-nav:not(.menu_toggle--pdp) {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .section-header__content.menu_toggle.menu_toggle--bottom-nav:not(.menu_toggle--pdp)
    > .section-header__content-item:first-child,
  .section-header__content.menu_toggle.menu_toggle--bottom-nav:not(.menu_toggle--pdp) > .menu_header_icon {
    display: none !important;
  }

  /* Category sheet: hidden until explicitly opened via bottom nav */
  body:not(.mobile-menu-sheet-open)
    .menu_toggle--bottom-nav
    .mobile_menu--bottom-nav.mobile_menu.section-header__list-box {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    position: absolute;
    inset: auto;
    width: 0;
    height: 0;
    min-height: 0;
    overflow: hidden;
    z-index: -1;
  }

  /* Legacy header scroll lock must not apply when category sheet is closed */
  body.has-mobile-bottom-nav.menu-is-active:not(.mobile-menu-sheet-open) {
    overflow-x: hidden;
    overflow-x: scroll;
    overflow-y: auto !important;
  }

  body.mobile-menu-sheet-open {
    /* overflow: hidden; */
    overflow: scroll;

  }

  /* Category sheet open: solid white header + logo (no announcement peek-through behind logo) */
  body.has-mobile-bottom-nav.mobile-menu-sheet-open {
    --announcement-bar-height: 0px;
  }

  body.has-mobile-bottom-nav.mobile-menu-sheet-open #shopify-section-announcement-bar {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }

  body.has-mobile-bottom-nav.mobile-menu-sheet-open .header.menu-is-active .section-header::after {
    transform: scaleY(1) !important;
  }

  body.has-mobile-bottom-nav.mobile-menu-sheet-open
    .header.menu-is-active
    .section-header__logo-image--dark {
    display: none !important;
  }

  /* Backdrop element (.mobile-sheet-backdrop) handles dimming — see JS */

  body.mobile-menu-sheet-open .mobile-bottom-nav__shell,
  body.mobile-menu-sheet-open .mobile-bottom-nav {
    z-index: 10000000010 !important;
  }

  /* Modal open: white corner fill behind rounded nav + nav stays above sheet */
  body.mobile-menu-sheet-open .mobile-bottom-nav__shell,
  body.mobile-account-sheet-open .mobile-bottom-nav__shell,
  body.mobile-menu-sheet-dismissing .mobile-bottom-nav__shell {
    overflow: visible;
    background: #fff;
  }

  .mobile-bottom-nav__shell::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: -1.5rem;
    background: #ffffff;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.28s cubic-bezier(0.32, 0.72, 0, 1);
  }

  body.mobile-menu-sheet-open:not(.mobile-menu-sheet-dismissing) .mobile-bottom-nav__shell::before,
  body.mobile-account-sheet-open .mobile-bottom-nav__shell::before {
    opacity: 1;
  }

  body.mobile-menu-sheet-dismissing .mobile-bottom-nav__shell::before {
    opacity: 0;
  }

  /* Keep nav elevation; hide only top border seam against sheet */
  body.mobile-menu-sheet-open .mobile-bottom-nav,
  body.mobile-account-sheet-open .mobile-bottom-nav {
    border-top-color: transparent;
  }

  body.mobile-menu-sheet-open .mobile_menu--bottom-nav.mobile_menu.section-header__list-box,
  body.mobile-menu-sheet-open .menu_toggle--bottom-nav .mobile_menu--bottom-nav.mobile_menu.section-header__list-box {
    display: flex !important;
    flex-direction: column;
    grid-template-rows: unset !important;
    visibility: visible;
    pointer-events: auto;
    background: #fff;
    opacity: 1 !important;
    padding-top: 0;
    animation: mobile-menu-sheet-in 0.46s cubic-bezier(0.32, 0.72, 0, 1) forwards;
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: var(--mobile-bottom-nav-offset, 4.5rem) !important;
    top: auto !important;
    z-index: 10000000008 !important;
    width: 100%;
    height: min(var(--mobile-sheet-height), calc(100dvh - var(--mobile-bottom-nav-offset, 4.5rem) - 0.5rem));
    max-height: min(var(--mobile-sheet-height), calc(100dvh - var(--mobile-bottom-nav-offset, 4.5rem) - 0.5rem));
    min-height: 0;
    border-radius: 1.5rem 1.5rem 0 0;
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.16);
    overflow: hidden;
  }

  body.mobile-menu-sheet-open
    .mobile_menu--bottom-nav.mobile_menu.section-header__list-box.mobile-menu-sheet--closing,
  body.mobile-menu-sheet-dismissing
    .mobile_menu--bottom-nav.mobile_menu.section-header__list-box.mobile-menu-sheet--closing,
  body.mobile-menu-sheet-open
    .menu_toggle--bottom-nav
    .mobile_menu--bottom-nav.mobile_menu.section-header__list-box.mobile-menu-sheet--closing,
  body.mobile-menu-sheet-dismissing
    .menu_toggle--bottom-nav
    .mobile_menu--bottom-nav.mobile_menu.section-header__list-box.mobile-menu-sheet--closing {
    animation: mobile-menu-sheet-out 0.32s cubic-bezier(0.32, 0.72, 0, 1) forwards;
    pointer-events: none;
    will-change: transform;
  }

  body.mobile-menu-sheet-open .mobile-menu-sheet .section-header__list[data-list='menu'],
  body.mobile-menu-sheet-open .mobile-menu-sheet .section-header__list[data-list='sticky'] {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  body.mobile-menu-sheet-open .mobile-menu-sheet__header {
    display: flex !important;
  }
  body.template-product .mobile-bottom-nav__shell,
  body.template-product .mobile-bottom-nav {
    display: none !important;
  }

  /* PDP: category sheet must stay hidden (bottom nav + menu toggle are not used) */
  body.template-product .menu_toggle--bottom-nav .mobile_menu--bottom-nav.mobile_menu.section-header__list-box {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    position: absolute;
    inset: auto;
    width: 0;
    height: 0;
    min-height: 0;
    overflow: hidden;
    z-index: -1;
  }

  body.template-product.mobile-menu-sheet-open {
    overflow-x: hidden;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  body.template-product.has-mobile-bottom-nav .header ~ .main {
    padding-bottom: 0;
  }

  .section-header__content.menu_toggle.menu_toggle--pdp {
    grid-template-columns: 1fr;
    justify-items: center;
    position: relative;
  }

  .section-header__content.menu_toggle.menu_toggle--pdp > .section-header__content-item:first-child {
    display: block !important;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .section-header__content.menu_toggle.menu_toggle--pdp > .section-header__content-item:nth-child(2) {
    display: block !important;
  }

  /* Force the logo itself visible on PDP (white header -> dark/light-bg logo) */
  .section-header__content.menu_toggle.menu_toggle--pdp .section-header__logo-box,
  .section-header__content.menu_toggle.menu_toggle--pdp .section-header__logo-link {
    display: block !important;
    visibility: visible !important;
  }

  .section-header__content.menu_toggle.menu_toggle--pdp .section-header__logo-image--light {
    display: block !important;
  }

  .section-header__content.menu_toggle.menu_toggle--pdp .section-header__logo-image--dark {
    display: none !important;
  }

  .section-header__content.menu_toggle.menu_toggle--pdp > .menu_header_icon {
    display: none !important;
  }

  .mobile-pdp-back {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.5rem;
    border: none;
    background: transparent;
    cursor: pointer;
  }

  .mobile-pdp-back .section-header__list-item-link-icon {
    display: flex;
    width: 1rem;
    height: 1rem;
  }

  .mobile-pdp-back:focus-visible {
    outline: 2px solid #121212;
    outline-offset: 2px;
  }

  /* Visually hide trigger; opened via bottom nav Category */
  .mobile-nav-toggler-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

@keyframes mobile-menu-sheet-in {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes mobile-menu-sheet-out {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(100%);
  }
}

@media only screen and (min-width: 768px) {
  .mobile-bottom-nav__shell,
  .mobile-bottom-nav,
  .mobile-menu-sheet__header,
  .mobile-menu-sheet__footer {
    display: none !important;
  }
}

.mobile-bottom-nav__shell {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000000010;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  pointer-events: none;
  overflow: hidden;
  border-radius: 1rem 1rem 0 0;
  background: transparent;
}

/* Square white fill behind rounded nav — masks overlay in corner gaps only */
/* .mobile-bottom-nav__shell::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: #fff;
  z-index: 0;
  pointer-events: none;
} */

.mobile-bottom-nav {
  display: block;
  position: relative;
  z-index: 1;
  pointer-events: auto;
  background: #fff;
  border-radius: 1rem 1rem 0 0;
  padding-bottom: 0;
  box-shadow: 2px -6px 34px 0px #00000033;
  /* border: 1px solid #0000001F; */
  border-bottom: 0;
}

.mobile-bottom-nav__list-wrap {
  position: relative;
  isolation: isolate;
}

.mobile-bottom-nav__list {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  gap: 0;
  margin: 0;
  padding: 8px;
  list-style: none;
  /* background: #FFFFFFE5; */
}


.mobile-bottom-nav__indicator {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: var(--indicator-left, 8px);
  width: var(--indicator-width, calc((100% - 16px) / var(--nav-count, 5)));
  border-radius: 10px;
  background: #0000001a;
  pointer-events: none;
  z-index: 0;
  transform: translate3d(var(--indicator-x, calc(var(--active-index, 0) * 100%)), 0, 0);
  transition:
    transform 0.38s cubic-bezier(0.32, 0.72, 0, 1),
    width 0.38s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.mobile-bottom-nav__indicator[hidden] {
  display: none;
}

.mobile-bottom-nav__indicator--instant {
  transition: none !important;
}

.mobile-bottom-nav__item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.mobile-bottom-nav__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  min-height: 54px;
  padding: 0 4px;
  margin: 0 auto;
  border: none; 
  background: transparent;
  color: #000000;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.mobile-bottom-nav__action:focus-visible {
  outline: 2px solid #121212;
  outline-offset: 2px;
}

.mobile-bottom-nav__icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  overflow: visible;
  transform: translateZ(0);
}

.mobile-bottom-nav__icon-wrap--cart {
  width: 1.1875rem;
  height: 1.4375rem;
}

.mobile-bottom-nav__icon-wrap--cart .mobile-bottom-nav__icon svg {
  width: 1.1875rem;
  height: 1.4375rem;
}

.mobile-bottom-nav__icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.mobile-bottom-nav__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}

.mobile-bottom-nav__icon--filled {
  /* display: none; */
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.mobile-bottom-nav__action--active .mobile-bottom-nav__label {
  font-weight: 700;
}

.mobile-bottom-nav__action--active .mobile-bottom-nav__icon--outline {
  /* display: none !important; */
  opacity: 0 !important;
}

.mobile-bottom-nav__action--active .mobile-bottom-nav__icon--filled {
  /* display: flex !important; */
  opacity: 1 !important;
}

body.mobile-account-sheet-open
  .mobile-bottom-nav
  [data-mobile-nav-action='account']
  .mobile-bottom-nav__icon--outline {
  display: none !important;
}

body.mobile-account-sheet-open
  .mobile-bottom-nav
  [data-mobile-nav-action='account']
  .mobile-bottom-nav__icon--filled {
  display: flex !important;
}

.mobile-bottom-nav__label {
  display: block;
  width: 100%;
  font-weight: 600;
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.09em;
  text-align: center;
  text-transform: uppercase;
}

.mobile-bottom-nav__badge {
  position: absolute;
  top: auto;
  bottom: -0.125rem;
  right: -0.4375rem;
  min-width: 0.875rem;
  height: 0.875rem;
  padding: 0 0.1875rem;
  border-radius: 999px;
  background: #fff;
  color: #000;
  border: 0.2px solid #000;
  /* font-size: 0.5rem;
  line-height: 0.75rem;
  font-weight: 600; */
  text-align: center;
  pointer-events: none;
  font-weight: 700;
  font-size: 10px;
  line-height: 12.44px;
  letter-spacing: 0%;
}

.mobile-bottom-nav__action--active .mobile-bottom-nav__badge {
  background: #000;
  color: #fff;
  border-color: #000;
}

.mobile-bottom-nav__badge:empty,
.mobile-bottom-nav__badge[data-cart-count='0'] {
  display: none;
}

.mobile-bottom-nav__search-source {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Shared sheet backdrop — page content visible through dim layer */
.mobile-sheet-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: var(--mobile-bottom-nav-offset, 4.5rem);
  background: rgba(0, 0, 0, 0.45);
  z-index: 10000000007;
  pointer-events: none;
}

.mobile-sheet-backdrop.is-visible {
  display: block;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.28s cubic-bezier(0.32, 0.72, 0, 1);
}

.mobile-sheet-backdrop.mobile-sheet-backdrop--closing {
  opacity: 0;
  transition: opacity 0.28s cubic-bezier(0.32, 0.72, 0, 1);
  pointer-events: none;
}

/* Category sheet chrome (wraps existing megamenu) */
.mobile-menu-sheet {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: #fff;
  overflow: hidden;
}

/* Docked outside .header — inherit live header menu CSS vars locally */
.mobile_menu--bottom-nav,
.mobile-menu-sheet {
  --main-nav-items-gap: 1.15rem;
  --header-bg-color: var(--color-5, #fff);
  --header-top-bottom-padding: calc(var(--distance-base) * 0.4);
}

.mobile-menu-sheet__handle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 100%;
  padding: 0.625rem 0 0;
  border: none;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-sheet__handle-bar {
  display: block;
  width: 2.25rem;
  height: 0.25rem;
  border-radius: 0.125rem;
  background: rgba(17, 17, 17, 0.18);
}

.mobile-menu-sheet__handle:focus-visible {
  outline: 2px solid #121212;
  outline-offset: 2px;
}

.mobile-menu-sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  padding: 0.875rem 1rem 0.875rem;
  border-bottom: 1px solid #e8e8e8;
}

.mobile-menu-sheet__title {
  margin: 0;
  font-family: var(--font-1, sans-serif);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
  color: #121212;
  letter-spacing: 0;
  text-transform: none;
}

.mobile-menu-sheet__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  background: #fff;
  color: #121212;
  cursor: pointer;
}

.mobile-menu-sheet__close:focus-visible {
  outline: 2px solid #121212;
  outline-offset: 2px;
}

.mobile-menu-sheet__scroll {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.mobile-menu-sheet__footer {
  flex-shrink: 0;
  padding: 1rem;
  border-top: 1px solid #e8e8e8;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #767676;
}

.mobile-menu-sheet__footer a {
  color: #121212;
  font-weight: 700;
  text-decoration: none;
}

@media only screen and (max-width: 767px) {
  body.has-mobile-bottom-nav.mobile-nav-search-dismissed .boost-sd__search-bar-wrapper {
    display: none !important;
    pointer-events: none !important;
  }
 
  body.has-mobile-bottom-nav .mobile-bottom-nav__shell,
  body.has-mobile-bottom-nav .mobile-bottom-nav {
    z-index: 10000000010;
  }

  body.has-mobile-bottom-nav.boost-pfs-search-suggestion-mobile-open .mobile-bottom-nav__shell,
  body.has-mobile-bottom-nav.boost-pfs-search-suggestion-mobile-open .mobile-bottom-nav,
  body.has-mobile-bottom-nav.boost-pfs-search-suggestion-open-body .mobile-bottom-nav__shell,
  body.has-mobile-bottom-nav.boost-pfs-search-suggestion-open-body .mobile-bottom-nav {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 10000000010 !important;
  }

  body.has-mobile-bottom-nav.boost-pfs-search-suggestion-mobile-open
    .boost-pfs-search-suggestion-mobile.boost-pfs-search-suggestion-wrapper,
  body.has-mobile-bottom-nav.boost-pfs-search-suggestion-open-body
    .boost-pfs-search-suggestion-mobile.boost-pfs-search-suggestion-wrapper {
    top: var(--instant-search-wrapper-offset-top-mobile, 4rem) !important;
    bottom: var(--mobile-bottom-nav-offset, 0px) !important;
    height: auto !important;
    max-height: none !important;
    padding-bottom: 0 !important;
  }

  body.has-mobile-bottom-nav.boost-pfs-search-suggestion-mobile-open
    .boost-pfs-search-suggestion-mobile
    .boost-pfs-search-suggestion,
  body.has-mobile-bottom-nav.boost-pfs-search-suggestion-open-body
    .boost-pfs-search-suggestion-mobile
    .boost-pfs-search-suggestion {
    height: 100% !important;
    max-height: 100% !important;
    overflow-y: auto !important;
  }

  body.has-mobile-bottom-nav.boost-pfs-search-suggestion-mobile-open
    .boost-pfs-search-suggestion-mobile
    .boost-pfs-search-suggestion-scroll-groups-element-wrapper,
  body.has-mobile-bottom-nav.boost-pfs-search-suggestion-open-body
    .boost-pfs-search-suggestion-mobile
    .boost-pfs-search-suggestion-scroll-groups-element-wrapper {
    max-height: none !important;
    overflow-y: visible !important;
  }

  body.has-mobile-bottom-nav.boost-pfs-search-suggestion-mobile-open
    .boost-pfs-search-suggestion-mobile-overlay,
  body.has-mobile-bottom-nav.boost-pfs-search-suggestion-open-body
    .boost-pfs-search-suggestion-mobile-overlay {
    bottom: var(--mobile-bottom-nav-offset, 0px) !important;
    height: auto !important;
  }

  body.has-mobile-bottom-nav.boost-pfs-search-suggestion-mobile-open
    .boost-pfs-search-suggestion-mobile-top-panel,
  body.has-mobile-bottom-nav.boost-pfs-search-suggestion-open-body
    .boost-pfs-search-suggestion-mobile-top-panel {
    z-index: 10000000000 !important;
  }

  /* Profile / Shopify customer account drawer — match category ~70% height */
  body.has-mobile-bottom-nav [class*='Drawer-drawerParent'] {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: var(--mobile-bottom-nav-offset, 0px) !important;
    height: auto !important;
    max-height: none !important;
    z-index: 10000000009 !important;
    align-items: flex-end !important;
    justify-content: center !important;
  }

  body.has-mobile-bottom-nav [class*='Drawer-fullscreenVertical'] {
    position: fixed !important;
    top: auto !important;
    bottom: var(--mobile-bottom-nav-offset, 0px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: var(--mobile-sheet-height) !important;
    max-height: var(--mobile-sheet-height) !important;
    min-height: 0 !important;
    border-radius: 1.5rem 1.5rem 0 0 !important;
    overflow: hidden !important;
    transform: none !important;
    z-index: 10000000009 !important;
    background-color: #fff !important;
  }

  body.has-mobile-bottom-nav [class*='Drawer-overlay'],
  body.has-mobile-bottom-nav [class*='Drawer-backdrop'] {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.45) !important;
    opacity: 1 !important;
  }

  body.has-mobile-bottom-nav [class*='Modal-opened'],
  body.has-mobile-bottom-nav [class*='Modal-overlay'],
  body.has-mobile-bottom-nav [class*='Modal-backdrop'] {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: var(--mobile-bottom-nav-offset, 0px) !important;
    height: auto !important;
    background-color: rgba(0, 0, 0, 0.45) !important;
    opacity: 1 !important;
  }

  body.has-mobile-bottom-nav shopify-account {
    --shopify-account-dialog-position-top: calc(100dvh - var(--mobile-sheet-height) - var(--mobile-bottom-nav-offset, 0px));
  }

  body.has-mobile-bottom-nav.mobile-account-sheet-open .mobile-bottom-nav__shell,
  body.has-mobile-bottom-nav.mobile-account-sheet-open .mobile-bottom-nav {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 10000000010 !important;
  }

  /* Category menu — dual scroll (outer: main list, inner: submenu panel) — matches live header */
  body.mobile-menu-sheet-open .mobile_menu--bottom-nav.mobile_menu.section-header__list-box {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }

  body.mobile-menu-sheet-open .mobile-menu-sheet {
    display: grid !important;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    flex: 1 1 0%;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
    padding-bottom: 0.5rem;
  }

  body.mobile-menu-sheet-open .mobile-menu-sheet__footer {
    padding-top: 1rem;
    padding-bottom: 1.125rem;
  }

  /* Scroll region: menu list scrolls (outer), sticky pinned below — matches live list-box grid */
  body.mobile-menu-sheet-open .mobile-menu-sheet__scroll {
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 0;
    height: 100%;
    overflow: hidden;
  }

  /* Outer scroll — fixed viewport height (not content height) */
  body.mobile-menu-sheet-open .mobile-menu-sheet__scroll > .section-header__list[data-list='menu'] {
    position: relative;
    min-height: 0;
    height: 100%;
    max-height: 100%;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  /* Submenu open: only inner panel scrolls, not the outer category list */
  body.mobile-menu-sheet-open
    .mobile-menu-sheet
    .section-header__list[data-list='menu'].dropdown--active {
    overflow: hidden !important;
    touch-action: none;
  }

  body.mobile-menu-sheet-open .mobile-menu-sheet__scroll > .section-header__list[data-list='sticky'] {
    overflow: visible !important;
    flex-shrink: 0;
  }

  body.mobile-menu-sheet-open
    .mobile-menu-sheet
    .section-header__list-item[data-name='account'] {
    margin-top: 0 !important;
  }

  /* Submenu panel — anchored to menu list viewport (live header pattern) */
  .mobile-menu-sheet .section-header__list[data-list='menu'] .section-header__dropdown-content {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 5;
    width: 100%;
    height: auto;
    max-height: 100%;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  body.mobile-menu-sheet-open
    .mobile-menu-sheet
    .section-header__dropdown-content
    .section-header__dropdown-list,
  body.mobile-menu-sheet-open
    .mobile-menu-sheet
    .section-header__dropdown-content
    .section-header__dropdown-lists {
    overflow: visible !important;
    max-height: none !important;
  }

  /* Live fullsize submenu horizontal padding (css-header uses var(--main-nav-items-gap)) */
  .mobile-menu-sheet
    :where(.section-header__dropdown-content--fullsize)
    .section-header__dropdown-lists {
    padding: var(--main-nav-items-gap, 1.15rem);
  }

  .mobile-menu-sheet .section-header__dropdown-images {
    padding: var(--main-nav-items-gap, 1.15rem);
  }

  .mobile-menu-sheet .section-header__list-item.dropdown--active > .section-header__dropdown-content {
    transform: translateX(0);
  }

  .mobile-menu-sheet .section-header__list.dropdown--active > .section-header__list-item > .section-header__list-item-link-box {
    transform: translateX(-100%);
  }
}
