/* Critical rules are also emitted in wp_head, before body rendering. */
body.tc-scn-catalog .tc108-header > .tc108-nav > a[href*="/product-category/"],
body.tc-scn-catalog .tc108-header .tc108-search { display: none !important; }
body.tc-scn-catalog .tc108-header .tc108-head-inner { grid-template-columns: auto 1fr; }
body.tc-scn-catalog .tc108-header .tc108-account { justify-self: end; }

/* Keep the original controls, event listeners, active state and hierarchy.
   Scrolling the row never scrolls the whole document horizontally. */
.tc108-catalog .tc108-catalog-cats {
  min-width: 0;
  max-width: 100%;
}

.tc108-catalog .tc108-catalog-cats [data-tc76-parents],
.tc108-catalog .tc76-toolbar > [data-tc76-children] {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  padding: 5px 4px 10px;
}

.tc108-catalog .tc76-toolbar > [data-tc76-children] {
  flex: 1 1 0%;
}

body.talincu-r108-site .tc108-catalog-cats [data-tc76-parents] > button,
body.talincu-r108-site .tc76-toolbar [data-tc76-children] > button {
  flex: 0 0 auto;
  min-height: 44px;
  max-width: none;
  padding: 10px 15px;
  border-radius: 24px !important;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: normal;
  font-size: 14px;
  line-height: 1.4;
}

