/* Tablet storefront navigation: keep the compact menu through landscape tablets. */
@media (max-width: 1100px) {
  .store-shell .navbar .nav-primary {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    width: 100% !important;
    padding-inline: clamp(16px, 4vw, 40px) !important;
  }

  .store-shell .navbar .brand-logo {
    flex: 0 1 auto !important;
    margin-right: auto !important;
  }

  .store-shell .navbar .nav-center,
  .store-shell .navbar .nav-tools > .search-box,
  .store-shell .navbar .nav-tools > .account-menu,
  .store-shell .navbar .nav-tools > .cart-button {
    display: none !important;
  }

  .store-shell .navbar .nav-tools {
    display: flex !important;
    flex: 0 0 auto !important;
    justify-content: flex-end !important;
    width: auto !important;
    min-width: 42px !important;
    margin-left: auto !important;
  }

  .store-shell .navbar .mobile-menu-toggle {
    display: flex !important;
    flex: 0 0 42px !important;
    margin: 0 !important;
  }

  .store-shell .navbar .mobile-nav-drawer {
    box-sizing: border-box !important;
    display: flex !important;
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 120 !important;
    max-height: calc(100dvh - 70px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-8px) !important;
    overflow: auto !important;
  }

  .store-shell .navbar .mobile-nav-drawer.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .store-shell .qa-mobile-products-toggle {
    color: inherit;
    background: transparent;
    border: 0;
    border-radius: 7px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 11px;
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    display: flex;
  }

  .store-shell .qa-mobile-products-toggle:hover,
  .store-shell .qa-mobile-products-toggle:focus-visible {
    background: color-mix(in srgb, currentColor 8%, transparent);
  }

  .store-shell .qa-mobile-products-toggle .qa-chevron {
    flex: none;
    transition: transform .2s ease;
  }

  .store-shell .qa-mobile-products-toggle[aria-expanded="true"] .qa-chevron {
    transform: rotate(180deg);
  }

  .store-shell .qa-mobile-products-toggle + .mobile-category-menu {
    display: none !important;
    margin: 0 0 4px;
    padding-left: 10px;
  }

  .store-shell .qa-mobile-products-toggle[aria-expanded="true"] + .mobile-category-menu {
    display: block !important;
  }
}

@media (min-width: 1101px) {
  .store-shell .qa-mobile-products-toggle {
    display: none !important;
  }
}