html.ast-header-product-categories-lock,
body.ast-header-product-categories-lock {
  overflow: hidden;
  overscroll-behavior: none;
}

html.ast-header-product-categories-lock #masthead,
body.ast-header-product-categories-lock #masthead {
  top: 0 !important;
}

.ast-header-product-categories-wrap {
  position: relative;
}

.ast-header-product-categories-button {
  cursor: pointer;
}

.ast-header-product-categories-popup {
  position: fixed;
  z-index: 100000;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 750px;
  height: 650px;
  max-width: calc(100vw - 1.5rem);
  overflow: auto;
  background-color: #fff;
  box-sizing: border-box;
  border-radius: 24px;
  border: 2px solid var(--ast-global-color-0);
}

@media screen and (min-width: 922px) {
  .ast-header-product-categories-popup {
    height: calc(100vh - 120px - 2rem);
  }
}

.ast-header-product-categories-popup[hidden] {
  display: none;
}

.ast-header-product-categories-overlay {
  position: fixed;
  inset: 0;
  z-index: 99990;
  background-color: var(--ast-hpc-overlay-color, #000000);
  opacity: var(--ast-hpc-overlay-opacity, 0.5);
  cursor: pointer;
}

.ast-header-product-categories-overlay[hidden] {
  display: none;
}

.ast-header-product-categories-empty {
  margin: 0;
  padding: 1.5rem;
}

.ast-header-product-categories-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 100%;
  margin: 0;
  padding: 5px;
  list-style: none;
  box-sizing: border-box;
}

.ast-header-product-categories-list-item {
  flex: 1 1 0;
  min-height: 120px;
  margin: 0;
  overflow: hidden;
}

.ast-header-product-categories-list-item:first-child,
.ast-header-product-categories-list-item:first-child .ast-header-product-categories-item {
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

.ast-header-product-categories-list-item:last-child,
.ast-header-product-categories-list-item:last-child .ast-header-product-categories-item {
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
}

.ast-header-product-categories-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  min-height: 120px;
  overflow: hidden;
  background-color: var(--ast-global-color-0);
  background-size: cover;
  background-position: center;
  text-decoration: none;
}

.ast-header-product-categories-item:hover {
  background-image: none !important;
  background-color: var(--ast-global-color-0);
}

.ast-header-product-categories-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
}

.ast-header-product-categories-item:hover::before {
  opacity: 0;
}

.ast-header-product-categories-item__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  row-gap: 0.5rem;
  column-gap: 2rem;
  text-align: center;
  padding: 1rem 3rem;
}

.ast-header-product-categories-item__logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: var(--ast-global-color-4);
  border: 1px solid var(--ast-global-color-0);
}

.ast-header-product-categories-item__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ast-header-product-categories-item__name {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
}