.jg-product-page-title-sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.product-head[hidden] {
  display: none !important;
}

.jg-product-catalog-nav {
  position: relative;
  z-index: 2090;
  border-top: 1px solid #e8edf3;
  border-bottom: 1px solid #dfe6ee;
  background: #fff;
}

.jg-product-catalog-nav__inner {
  display: flex;
  align-items: center;
  width: min(100%, 1440px);
  min-height: 42px;
  margin: 0 auto;
  padding: 0 18px;
}

.jg-product-catalog-nav__all {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 13px;
  border: 0;
  border-right: 1px solid #dfe6ee;
  background: transparent;
  color: #0f172a;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.jg-product-catalog-nav__all .fa-chevron-down {
  font-size: 9px;
  transition: transform .16s ease;
}

.jg-product-catalog-nav.is-open .jg-product-catalog-nav__all .fa-chevron-down {
  transform: rotate(180deg);
}

.jg-product-catalog-nav__quick {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  overflow-x: auto;
  padding-left: 8px;
  scrollbar-width: none;
}

.jg-product-catalog-nav__scroll {
  display: inline-flex;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid #d8e0e9;
  border-radius: 50%;
  background: #fff;
  color: #334155;
  font-size: 10px;
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(15, 23, 42, .08);
}

.jg-product-catalog-nav__scroll:hover:not(:disabled) {
  border-color: #94a3b8;
  color: #b91c1c;
}

.jg-product-catalog-nav__scroll:disabled {
  opacity: .35;
  cursor: default;
}

.jg-product-catalog-nav__scroll[hidden] {
  display: none !important;
}

.jg-product-catalog-nav__quick::-webkit-scrollbar {
  display: none;
}

.jg-product-catalog-nav__category-label {
  flex: 0 0 auto;
  padding: 0 9px 0 4px;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.jg-product-catalog-nav__quick-link {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 7px;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.jg-product-catalog-nav__quick-link:hover {
  background: #f1f5f9;
  color: #b91c1c;
}

.jg-product-catalog-nav__quick-link.is-current {
  background: #fef2f2;
  color: #b91c1c;
  font-weight: 900;
}

.jg-product-catalog-panel {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #d8e0e9;
  background: #fff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, .15);
  max-height: calc(100vh - 180px);
  overflow-y: auto;
}

.jg-product-catalog-panel[hidden] {
  display: none !important;
}

.jg-product-catalog-panel__inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr .8fr .9fr;
  align-items: stretch;
  gap: 18px;
  width: min(100%, 1380px);
  margin: 0 auto;
  padding: 20px 24px 24px;
}

.jg-product-catalog-panel__category {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e6ebf1;
  border-radius: 10px;
  background: #fff;
}

.jg-product-catalog-panel__category h3 {
  margin: 0;
  padding: 9px 10px;
  border-bottom: 1px solid #e6ebf1;
  background: #f8fafc;
  color: #0f172a;
  font-size: 12px;
  font-weight: 900;
}

.jg-product-catalog-panel__links {
  display: grid;
  align-content: start;
  flex: 1 1 auto;
  grid-template-columns: 1fr;
  gap: 2px 10px;
  padding: 7px 10px 9px;
}

.jg-product-catalog-panel__category.has-many-products .jg-product-catalog-panel__links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jg-product-catalog-panel__link {
  padding: 4px 0;
  color: #475569;
  font-size: 12px;
  line-height: 1.35;
  text-decoration: none;
}

.jg-product-catalog-panel__link:hover {
  color: #b91c1c;
  text-decoration: underline;
}

.jg-product-drawer-catalog {
  display: none;
}

@media (max-width: 768px) {
  .jg-product-catalog-nav {
    display: block;
    z-index: 4100;
  }

  .jg-product-catalog-nav__inner {
    gap: 5px;
    min-height: 40px;
    padding: 4px 8px;
  }

  .jg-product-catalog-nav__all {
    justify-content: space-between;
    flex: 0 0 112px;
    width: 112px;
    min-height: 34px;
    padding: 0 8px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    font-size: 12px;
  }

  .jg-product-catalog-nav__scroll {
    display: none !important;
  }

  .jg-product-catalog-nav__quick {
    display: flex !important;
    flex: 1 1 auto;
    gap: 2px;
    padding: 0;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .jg-product-catalog-nav__category-label {
    display: none;
  }

  .jg-product-catalog-nav__quick-link {
    min-height: 32px;
    padding: 8px 10px;
    border: 1px solid transparent;
    font-size: 10.5px;
    scroll-snap-align: start;
  }

  .jg-product-catalog-nav__quick-link.is-current {
    border-color: #fecaca;
  }

  .jg-product-catalog-panel {
    position: absolute;
    max-height: calc(100vh - 150px);
    border-top: 0;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .18);
  }

  .jg-product-catalog-panel__inner {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 10px 12px 18px;
  }

  .jg-product-catalog-panel__category {
    height: auto;
  }

  .jg-product-catalog-panel__category h3 {
    padding: 10px 11px;
    font-size: 13px;
  }

  .jg-product-catalog-panel__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 7px 11px 10px;
  }

  .jg-product-catalog-panel__category.has-many-products .jg-product-catalog-panel__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jg-product-catalog-panel__link {
    padding: 5px 0;
    font-size: 11px;
  }

  .header-nav-drawer header nav li.jg-product-drawer-catalog {
    display: block;
    width: 100%;
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(15, 23, 42, .1);
  }

  .jg-product-drawer-catalog__all,
  .jg-product-drawer-category__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: 0;
    background: transparent;
    color: #0f172a;
    font: inherit;
    text-align: left;
    cursor: pointer;
  }

  .jg-product-drawer-catalog__all {
    min-height: 46px;
    padding: 0 2px;
    color: #b91c1c;
    font-size: 16px;
    font-weight: 900;
  }

  .jg-product-drawer-catalog__all span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
  }

  .jg-product-drawer-catalog__all[aria-expanded="true"] > .fa-chevron-down {
    transform: rotate(180deg);
  }

  .jg-product-drawer-catalog__categories {
    display: grid;
    gap: 3px;
    padding: 5px 0 0 8px;
  }

  .jg-product-drawer-catalog__categories[hidden],
  .jg-product-drawer-category__links[hidden] {
    display: none !important;
  }

  .jg-product-drawer-category {
    border-top: 1px solid rgba(15, 23, 42, .07);
  }

  .jg-product-drawer-category__button {
    min-height: 42px;
    padding: 0 4px;
    font-size: 13px;
    font-weight: 800;
  }

  .jg-product-drawer-category__button[aria-expanded="true"] .fa-chevron-right {
    transform: rotate(90deg);
  }

  .jg-product-drawer-category__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px 8px;
    padding: 2px 0 10px 10px;
  }

  .header-nav-drawer header nav a.jg-product-drawer-category__link {
    padding: 6px 0;
    color: #475569;
    font-size: 12px;
    line-height: 1.3;
    text-transform: none;
  }
}

body.dark-mode .jg-product-catalog-nav,
body.dark-mode .jg-product-catalog-panel {
  border-color: rgba(255,255,255,.12);
  background: #0b0b0b;
}

body.dark-mode .jg-product-catalog-panel__category,
body.dark-mode .jg-product-catalog-panel__category h3,
body.dark-mode .jg-product-catalog-nav__scroll {
  border-color: rgba(255,255,255,.12);
  background: #111;
}

body.dark-mode .jg-product-catalog-nav__all,
body.dark-mode .jg-product-catalog-nav__quick-link,
body.dark-mode .jg-product-catalog-panel__category h3,
body.dark-mode .jg-product-drawer-catalog__all,
body.dark-mode .jg-product-drawer-category__button {
  color: #f8fafc;
}

body.dark-mode .jg-product-catalog-panel__link,
body.dark-mode .jg-product-drawer-category__link {
  color: #cbd5e1;
}

body.dark-mode .jg-product-catalog-nav__category-label {
  color: #94a3b8;
}
