@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-categories-9ff2665c4075.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

.p2-catalog .p2-part-categories {
  color: #24354b;
  font: 500 14px/1.45 "Inter", system-ui, sans-serif;
}

.p2-catalog .p2-part-categories :where(h2, summary, .p2-category-link) {
  color: inherit;
  font: inherit;
}

.p2-catalog .p2-part-categories h2 {
  font-size: 15px;
  font-weight: 600;
}

.p2-catalog .p2-part-categories > .p2-category-group {
  margin-block-start: 6px;
}

.p2-catalog .p2-part-categories > .p2-category-group > summary {
  padding: 10px 12px;
  border-radius: 6px;
  background: #edf3fc;
  color: #173a68;
  font-weight: 600;
}

.p2-catalog .p2-part-categories > .p2-category-group > summary::after {
  border-color: #1769d2;
}

.p2-catalog .p2-part-categories li + li {
  margin-block-start: 6px;
}

@media (hover: hover) {
  .p2-catalog .p2-part-categories :is(summary, .p2-category-link):hover {
    background: #f4f6f8;
  }

  .p2-catalog .p2-part-categories > .p2-category-group > summary:hover {
    background: #e2ecfa;
  }
}

.p2-catalog .p2-part-categories .p2-category-link[aria-current="page"] {
  border-radius: 6px;
  background: #e8f1ff;
  color: #0043a4;
  font-weight: 600;
}

.p2-catalog .p2-quick-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  position: relative;
  z-index: 4;
  margin-top: 10px;
  color: #173a68;
  font: 600 14px/1.35 Inter, system-ui, sans-serif;
}
.p2-catalog .p2-quick-nav summary { list-style: none; cursor: pointer; }
.p2-catalog .p2-quick-nav summary::marker { content: ""; }
.p2-catalog .p2-quick-nav summary::-webkit-details-marker { display: none; }
.p2-catalog .p2-quick-nav summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border: solid #1769d2;
  border-width: 1px 1px 0 0;
  transform: rotate(45deg);
}
.p2-catalog .p2-quick-group > summary {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 10px;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #c8d9f3;
  border-radius: 8px;
  background: #edf3fc;
}
.p2-catalog .p2-quick-group > summary .material-icons { color: #1769d2; font-size: 19px; }
.p2-catalog .p2-quick-group > summary::after { transform: rotate(135deg); }
.p2-catalog .p2-quick-group[open] > summary { background: #e1ecff; border-color: #5c94e4; }
.p2-catalog .p2-quick-group[open] > summary::after { transform: rotate(-45deg); }
.p2-catalog .p2-quick-group:has([aria-current="page"]) > summary { border-color: #5c94e4; }
.p2-catalog .p2-quick-panel {
  position: absolute;
  inset: calc(100% + 6px) 0 auto;
  max-height: min(65dvh, 530px, var(--p2-quick-panel-height, 530px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px;
  border: 1px solid #c8d9f3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px #18365220;
}
.p2-catalog .p2-quick-nav[data-p2-quick-above] .p2-quick-panel { inset: auto 0 calc(100% + 6px); }
.p2-catalog .p2-quick-tree { list-style: none; margin: 0; padding: 0; }
.p2-catalog .p2-quick-panel > .p2-quick-tree {
  columns: 245px 4;
  column-gap: 10px;
}
.p2-catalog .p2-quick-panel > .p2-quick-tree > li {
  break-inside: avoid;
  margin-bottom: 5px;
}
.p2-catalog .p2-quick-tree li { position: relative; min-width: 0; }
.p2-catalog .p2-quick-nav .p2-category-link {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 7px 10px;
  border-radius: 6px;
  color: #24354b;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.p2-catalog .p2-quick-nav .p2-quick-all { color: #0043a4; font-weight: 600; }
.p2-catalog .p2-quick-node--branch > a { margin-inline-end: 40px; }
.p2-catalog .p2-quick-branch > summary {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 0 0 auto auto;
  width: 40px;
  height: 40px;
  border-radius: 6px;
}
.p2-catalog .p2-quick-branch[open] > summary::after { transform: rotate(135deg); }
.p2-catalog .p2-quick-branch > .p2-quick-tree { margin-inline-start: 10px; padding-inline-start: 5px; border-inline-start: 1px solid #e1eaf6; }
.p2-catalog .p2-quick-nav [aria-current="page"] { color: #0043a4; background: #e8f1ff; font-weight: 600; }
@media (hover: hover) {
  .p2-catalog .p2-quick-group > summary:hover { background: #e1ecff; }
  .p2-catalog .p2-quick-nav :is(a, .p2-quick-branch > summary):hover { background: #f0f5fc; }
}
@media (max-width: 767px) {
  .p2-catalog .p2-quick-nav { grid-template-columns: minmax(0, 1fr); }
  .p2-catalog .p2-quick-panel { position: static; max-height: min(65dvh, 530px); margin-top: 4px; box-shadow: none; }
  .p2-catalog .p2-quick-panel > .p2-quick-tree { columns: 1; }
  .p2-catalog .p2-quick-nav .p2-category-link { min-height: 44px; }
  .p2-catalog .p2-quick-node--branch > a { margin-inline-end: 44px; }
  .p2-catalog .p2-quick-branch > summary { width: 44px; height: 44px; }
}

.p2-catalog .p2-category-path ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  color: #405b7b;
  font-size: .84rem;
  overflow-wrap: anywhere;
}
.p2-catalog .p2-category-path li + li::before { content: "›"; margin-inline-end: 8px; }
.p2-catalog .p2-category-path a { color: #0049c6; }
.p2-catalog .p2-category-path [aria-current="page"] { color: #102741; font-weight: 600; }
