/*
 * Web 2.10 §5 (Henri, 24.10.2026): the ☰ menu with the categories — white,
 * dark text, from the left over the page; mothers with an arrow, their
 * children with the product counts; the visitor's category red; rows of
 * 44 px and more. The ☰ button sits in the phone header (where the theme's
 * was) and before the logo on a computer.
 */
.bzs-menu-btn {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  color: #fff;
  cursor: pointer;
}

.bzs-menu-btn:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

/* only where a mouse hovers: on a phone a tapped button would keep it */
@media (hover: hover) {
  .bzs-menu-btn:hover {
    background: rgba(255, 255, 255, 0.14);
  }
}

/* a tap or a script moving the focus draws no ring; the keyboard still does */
.bzs-menu-btn:focus:not(:focus-visible),
.bzs-menu .bzs-menu__close:focus:not(:focus-visible),
.bzs-menu .bzs-menu__toggle:focus:not(:focus-visible) {
  outline: none;
}

.bzs-menu-btn__bars {
  display: grid;
  gap: 5px;
  width: 22px;
}

.bzs-menu-btn__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.bzs-menu-btn--desktop {
  margin-right: 14px;
}

.bzs-menu-btn--handheld {
  margin-left: -6px;
}

body.bzs-menu-open {
  overflow: hidden;
}

.bzs-menu {
  position: fixed;
  z-index: 100001;
  inset: 0;
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
}

.bzs-menu[hidden] {
  display: none;
}

.bzs-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.bzs-menu__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: min(86vw, 360px);
  background: #fff;
  box-shadow: 8px 0 40px rgba(0, 0, 0, 0.18);
  color: #18181b;
  transform: translateX(-102%);
  transition: transform 0.25s ease;
}

.bzs-menu.is-open .bzs-menu__overlay {
  opacity: 1;
}

.bzs-menu.is-open .bzs-menu__panel {
  transform: none;
}

.bzs-menu__head {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 12px 0 18px;
  border-bottom: 1px solid #ececec;
}

.bzs-menu__title {
  font-size: 18px;
  font-weight: 700;
}

.bzs-menu .bzs-menu__close {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid #e4e4e4;
  border-radius: 50%;
  background: #fff;
  box-shadow: none;
  color: #18181b;
  cursor: pointer;
}

.bzs-menu__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.bzs-menu__list,
.bzs-menu__kids {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bzs-menu__mother {
  margin: 0;
  border-bottom: 1px solid #f1f1f1;
}

.bzs-menu__row {
  display: flex;
  align-items: center;
}

.bzs-menu .bzs-menu__link {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  box-sizing: border-box;
  min-width: 0;
  min-height: 50px;
  padding: 8px 6px 8px 18px;
  color: #18181b;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}

.bzs-menu .bzs-menu__toggle {
  display: grid;
  flex: 0 0 50px;
  place-items: center;
  box-sizing: border-box;
  width: 50px;
  height: 50px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #71717a;
  cursor: pointer;
}

.bzs-menu .bzs-menu__toggle svg {
  transition: transform 0.2s ease;
}

.bzs-menu .bzs-menu__toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.bzs-menu__kids {
  padding: 0 0 8px;
}

.bzs-menu__kids[hidden] {
  display: none;
}

.bzs-menu .bzs-menu__kid-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
  min-height: 44px;
  padding: 6px 18px 6px 34px;
  color: #52525b;
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
}

.bzs-menu__count {
  flex: 0 0 auto;
  color: #a1a1aa;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.bzs-menu .bzs-menu__link:hover,
.bzs-menu .bzs-menu__kid-link:hover,
.bzs-menu .bzs-menu__link:focus-visible,
.bzs-menu .bzs-menu__kid-link:focus-visible {
  background: #fafafa;
  color: #d23f2d;
}

/* the visitor's category */
.bzs-menu__mother.is-current > .bzs-menu__row .bzs-menu__link,
.bzs-menu__kid.is-current .bzs-menu__kid-link,
.bzs-menu__kid.is-current .bzs-menu__count {
  color: #d23f2d;
  font-weight: 600;
}

.bzs-menu__mother.has-current > .bzs-menu__row .bzs-menu__link {
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .bzs-menu__overlay,
  .bzs-menu__panel,
  .bzs-menu .bzs-menu__toggle svg {
    transition: none;
  }
}
