.catalog-page .product-explorer {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 32px;
  margin-top: 32px;
  align-items: start;
}

.catalog-page .product-sidebar {
  position: sticky;
  top: 100px;
  border: 1px solid rgba(196, 160, 255, .25);
  background: linear-gradient(150deg, rgba(21, 13, 57, .94), rgba(7, 9, 23, .98));
  box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
}

.catalog-page .sidebar-title {
  padding: 22px 20px 18px;
  border-bottom: 1px solid rgba(196, 160, 255, .2);
}

.catalog-page .sidebar-title span,
.catalog-page .sidebar-group p,
.catalog-page .sidebar-result,
.catalog-page .product-meta {
  margin: 0;
  font-family: var(--mono, "IBM Plex Mono", monospace);
  font-size: .66rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.catalog-page .sidebar-title span,
.catalog-page .sidebar-group p {
  color: #f39a55;
}

.catalog-page .sidebar-title strong {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.15;
}

.catalog-page .sidebar-group {
  padding: 18px 10px 10px;
}

.catalog-page .sidebar-group + .sidebar-group {
  border-top: 1px solid rgba(196, 160, 255, .16);
}

.catalog-page .sidebar-group p {
  padding: 0 10px 8px;
}

.catalog-page .sidebar-group button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border: 0;
  border-left: 2px solid transparent;
  background: transparent;
  color: rgba(232, 237, 255, .72);
  cursor: pointer;
  font: inherit;
  font-size: .82rem;
  line-height: 1.2;
  text-align: left;
  transition: color .2s ease, background .2s ease, border-color .2s ease, padding .2s ease;
}

.catalog-page .sidebar-group button i {
  color: #bd88f1;
  font-style: normal;
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity .2s ease, transform .2s ease;
}

.catalog-page .sidebar-group button:hover,
.catalog-page .sidebar-group button:focus-visible,
.catalog-page .sidebar-group button[aria-pressed="true"] {
  border-left-color: #b66bef;
  background: rgba(178, 99, 238, .12);
  color: #fff;
  outline: none;
  padding-left: 14px;
}

.catalog-page .sidebar-group button:hover i,
.catalog-page .sidebar-group button:focus-visible i,
.catalog-page .sidebar-group button[aria-pressed="true"] i {
  opacity: 1;
  transform: translateX(0);
}

.catalog-page .sidebar-result {
  padding: 18px 20px 20px;
  border-top: 1px solid rgba(196, 160, 255, .2);
  color: #aebde7;
}

.catalog-page .product-explorer .product-grid {
  margin-top: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.catalog-page .product-explorer .product-card {
  min-height: 0;
}

.catalog-page .product-explorer .product-card[hidden] {
  display: none;
}

.catalog-page .product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 15px;
  color: #b98cea;
}

.catalog-page .product-meta i {
  color: #f39a55;
  font-size: 1rem;
  font-style: normal;
}

@media (max-width: 1180px) {
  .catalog-page .product-explorer { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
  .catalog-page .product-explorer .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .catalog-page .product-explorer { display: block; margin-top: 22px; }
  .catalog-page .product-sidebar { position: static; margin-bottom: 22px; }
  .catalog-page .sidebar-group { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px; }
  .catalog-page .sidebar-group p { width: 100%; padding: 0 0 5px; }
  .catalog-page .sidebar-group button { width: auto; flex: 1 1 auto; border: 1px solid rgba(196, 160, 255, .22); padding: 9px 10px; font-size: .75rem; }
  .catalog-page .sidebar-group button:hover,
  .catalog-page .sidebar-group button:focus-visible,
  .catalog-page .sidebar-group button[aria-pressed="true"] { border-color: #b66bef; padding-left: 10px; }
  .catalog-page .product-explorer .product-grid { grid-template-columns: 1fr; }
}
