.wc-categories-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.wc-categories-container .wc-category-title {
    font-size: 1.063rem;
    font-weight: 500;
    line-height: 1.25rem;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background-color: #f2f2f2;
    color: #1c1c1c;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}
.wc-category-item .wc-category-title:hover {
    font-size: 1.063rem;
    font-weight: 500;
    line-height: 1.25rem;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background-color: #f7f7f7;
    color: #616161;
    text-decoration: none;
}



#sticky-categories .wc-categories-shell {
  position: fixed;
  top: -110px;
  left: 0;
  padding: 16px;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
}
.wc-categories-shell {
  position: relative;
  display: grid;
  grid-template-columns: auto;
  align-items: center;
  transition: all 0.2s ease-in-out;
  border-radius: 8px;
  overflow: hidden;

}
#sticky-categories .wc-categories-shell.show {
  top: 0;
}

.wc-categories-container {
  overflow: auto hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding: 4px; /* невидимая зона для drag */
  outline: none;
}

/* динамические значения будут выставлены через CSS-переменные из JS */
.wc-categories-container {
  --wc-gap: 16px;
}
.wc-categories-container .wc-categories-track {
  display: flex;
  gap: var(--wc-gap);
}
.wc-category-item {
  min-width: fit-content;
  background: #fff;
  border-radius: 12px;
  text-align: center;
}

/* Scroll snap */
.wc-categories-container[data-snap="true"] {
  scroll-snap-type: x mandatory;
}
.wc-categories-container[data-snap="true"] .wc-category-item {
  scroll-snap-align: start;
}


/* Скрываем стандартную полосу прокрутки */
.wc-categories-container::-webkit-scrollbar { height: 0; }
.wc-categories-container { scrollbar-width: none; }
