/* C06: the catalogue root only; the PHP wrapper is absent on section routes. */
body:has(.gs-native-catalog-hub),
body:has(.gs-native-catalog-hub) .layout-content,
body:has(.gs-native-catalog-hub) .layout-content > .template-container {
  background: #080914;
  color: #f7f7ff;
}
body:has(.gs-native-catalog-hub) .layout-content h1 {
  margin-bottom: 32px;
  color: #f7f7ff;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.gs-native-catalog-hub .bitrix-catalog-section-list.blocks-2 .fragment-sections {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.gs-native-catalog-hub .bitrix-catalog-section-list.blocks-2 .fragment-sections > .fragment-section {
  width: auto !important;
  max-width: none;
  min-width: 0;
  margin: 0 !important;
}
.gs-native-catalog-hub .bitrix-catalog-section-list.blocks-2 .fragment-section-content {
  box-sizing: border-box;
  height: 100%;
  padding: 20px;
  border: 0;
  border-radius: 22px;
  background: #10111f;
  color: #f7f7ff;
  box-shadow: none;
}
.gs-native-catalog-hub .bitrix-catalog-section-list.blocks-2 .fragment-section-content:hover {
  border: 0;
  background: #151626;
  box-shadow: 0 12px 26px -18px #000a;
}
.gs-native-catalog-hub .bitrix-catalog-section-list.blocks-2 .fragment-section-info { min-width: 0; }
.gs-native-catalog-hub .bitrix-catalog-section-list.blocks-2 .fragment-section-name a {
  color: #f7f7ff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}
.gs-native-catalog-hub .bitrix-catalog-section-list.blocks-2 .fragment-section-count { color: #b8bacd; }
.gs-native-catalog-hub .bitrix-catalog-section-list.blocks-2 .fragment-subsection a,
.gs-native-catalog-hub .bitrix-catalog-section-list.blocks-2 .fragment-subsections-more div { color: #c7b6ff; }
.gs-native-catalog-hub .bitrix-catalog-section-list.blocks-2 .fragment-subsections-more svg { stroke: #c7b6ff; }
.gs-native-catalog-hub a:hover { color: #e2d9ff; }
.gs-native-catalog-hub :is(a,button,[data-role]):focus-visible {
  outline: 2px solid #bb99ff;
  outline-offset: 4px;
  border-radius: 4px;
}
.gs-native-catalog-hub .bitrix-catalog-section-list.blocks-2 .fragment-section-picture :is(svg,img) { filter: brightness(1.6); }
body:has(.gs-native-catalog-hub) .widget.c-panel.c-panel-template-1 {
  --color-neutral-dark: #f7f7ff;
  --color-neutral-darkest: #f7f7ff;
  --color-neutral-bright: #10111f;
  --color-neutral-semi-dark: #b8bacd;
  background: #10111f;
  color: #f7f7ff;
}
@media (max-width: 1024px) {
  .gs-native-catalog-hub .bitrix-catalog-section-list.blocks-2 .fragment-sections { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  body:has(.gs-native-catalog-hub) .layout-content h1 { font-size: 32px; margin-bottom: 24px; }
  .gs-native-catalog-hub .bitrix-catalog-section-list.blocks-2 .fragment-sections { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .gs-native-catalog-hub .bitrix-catalog-section-list.blocks-2 .fragment-section-content { padding: 16px; }
}
