/* Reusable navigation between real catalog categories; no URL query filters. */
body.market--category-selector { overflow-x: clip; overflow-y: visible; }
.container--category-selector { --sg-catalog-section-gap: 48px; --sg-catalog-block-gap: 32px; --sg-catalog-text-gap: 16px; }
.container--category-selector > .container__wrapper { padding: 0; }
.container--category-selector > .container__wrapper > .flex-container { padding-block: var(--sg-space-md) var(--sg-catalog-section-gap); }
.container--category-selector .flex-container__h1 { order: 0; }
.container--category-selector .flex-container__h1 h1 { margin-bottom: 0; }
.container--category-selector .flex-container__h1 .text-wrapper { max-width: none; }
.container--category-selector .flex-container__top-text { order: 4; margin-top: var(--sg-catalog-section-gap); }
.container--category-selector .flex-container__subcategories--selector { order: 2; position: sticky; top: var(--sg-site-nav-height, 0px); z-index: 40; align-self: flex-start; width: 100%; min-width: 0; margin: var(--sg-space-sm) 0 var(--sg-space-md); border-top: 1px solid var(--sg-line); border-bottom: 1px solid var(--sg-line); background: var(--sg-surface); }
.container--category-selector .flex-container__main { order: 3; min-width: 0; }
.container--category-selector .flex-container__main > .products-list { margin-top: 0; }
.container--category-selector .flex-container__bottom-text { order: 5; }
.container--category-selector .category-description { margin-top: var(--sg-space-lg); }
.container--category-selector .category-description > :is(p, ul, ol) { margin-block: 0 var(--sg-catalog-text-gap); }
.container--category-selector .category-description > :first-child { margin-top: 0; }
.container--category-selector .category-description > :last-child { margin-bottom: 0; }
.container--category-selector .flex-container__bottom-text .category-description > .promo-block4 { margin-top: var(--sg-catalog-block-gap); }
.sg-category-selector { display: flex; align-items: center; gap: var(--sg-space-xs); padding-block: 6px; }
.sg-category-selector .sg-category-selector__controls { display: flex; flex: none; gap: 4px; }
.sg-category-selector .sg-category-selector__controls button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--sg-line); border-radius: 50%; color: var(--sg-text); background: var(--sg-surface); font: inherit; font-size: 18px; cursor: pointer; }
.sg-category-selector .sg-category-selector__controls button:disabled { opacity: .35; cursor: default; }
.sg-category-selector .sg-category-selector__rail { position: relative; display: flex; gap: var(--sg-space-xs); flex: 1; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; padding: 3px 3px 5px; }
.sg-category-selector .sg-category-selector__item { position: relative; display: flex; flex: 0 0 min-content; min-inline-size: 80px; flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px; min-height: 80px; padding: 6px 5px; border: 1px solid var(--sg-line); border-radius: var(--sg-radius-sm); color: var(--sg-text); background: var(--sg-surface); text-align: center; text-decoration: none; scroll-snap-align: center; }
.sg-category-selector .sg-category-selector__item:hover { border-color: var(--sg-line-strong); background: var(--sg-surface-soft); }
.sg-category-selector .sg-category-selector__item[aria-current="page"] { border-color: var(--sg-line-strong); background: var(--sg-surface-soft); }
.sg-category-selector .sg-category-selector__icon { display: flex; flex: 0 0 34px; align-items: center; justify-content: center; width: 38.4px; height: 34px; color: var(--sg-text-soft); }
.sg-category-selector .sg-category-selector__icon svg { display: block; width: 38.4px; height: 32px; }
.sg-category-selector .sg-category-selector__icon-fill { fill: currentColor; fill-opacity: .07; }
.sg-category-selector .sg-category-selector__item[aria-current="page"] .sg-category-selector__icon { color: var(--sg-brand); }
.sg-category-selector .sg-category-selector__label { font-size: var(--sg-font-caption); line-height: 1.25; font-weight: 500; overflow-wrap: normal; word-break: normal; hyphens: none; }
.sg-category-selector .sg-category-selector__item[aria-current="page"] .sg-category-selector__label { font-weight: 700; }
.sg-category-selector .sg-category-selector__count { position: absolute; top: 4px; right: 4px; min-width: 16px; padding: 0 3px; border-radius: 8px; color: var(--sg-text-soft); background: var(--sg-surface-soft); font-size: 10px; line-height: 1.5; }
.sg-category-selector .sg-category-selector__item[aria-current="page"] .sg-category-selector__count { color: #fff; background: var(--sg-brand); }
.sg-category-selector .sg-category-selector__sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.container--category-selector .category-selector-pagination { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.container--category-selector .category-selector-pagination > * { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 8px; border: 1px solid var(--sg-line); border-radius: 10px; }
.container--category-selector .category-selector-pagination [aria-current] { color: #fff; background: var(--sg-brand); }
.category-selector-empty { padding: 24px 0; }
@media (max-width: 760px) {
  .container--category-selector { --sg-catalog-section-gap: 32px; --sg-catalog-block-gap: 24px; }
  .container--category-selector .flex-container__subcategories--selector { margin-block: var(--sg-space-xs) var(--sg-space-sm); }
  .sg-category-selector .sg-category-selector__item { min-inline-size: 74px; min-height: 74px; }
  .sg-category-selector .sg-category-selector__icon { flex-basis: 29px; height: 29px; }
  .sg-category-selector .sg-category-selector__icon svg { width: 34.8px; height: 29px; }
  .sg-category-selector .sg-category-selector__controls { flex-direction: column; }
}
