/* Backend Sidebar - Carrusel de categorías (v1.7.1)
   - Área clic solo en círculo + texto
   - Hover grow SOLO en la imagen
   - Texto 14px y semibold (600)
*/

.bsb-cc {
  --bsb-per: 5;
  position: relative;
  width: 100%;
  margin: 12px 0 18px;
}

.bsb-cc-viewport {
  overflow: hidden;
}

.bsb-cc-track {
  display: flex;
  width: 100%;
  transition: transform .35s ease;
  will-change: transform;
}

.bsb-cc-item {
  flex: 0 0 calc(100% / var(--bsb-per));
  padding: 12px 8px;
  text-align: center;
  /* el contenedor NO es clickeable, solo el link interno */
}

.bsb-cc-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  user-select: none;
  -webkit-user-drag: none;
  cursor: pointer;
}

.bsb-cc-img {
  display: inline-block;
  width: 120px;
  height: 120px;
  border-radius: 9999px;
  overflow: hidden;
  background: #e5e7eb;
  transition: transform .18s ease;
  will-change: transform;
}

.bsb-cc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.bsb-cc-name {
  display: block;
  margin-top: 8px;
  font-size: 14px;        /* +1 */
  text-transform: uppercase;
  font-weight: 600;       /* un punto menos grueso */
  /* color se controla por opciones (inline CSS) */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .18s ease; /* suaviza el cambio de color */
}

/* Hover grow SOLO en la imagen (no afecta al texto) */
.bsb-cc-link:hover .bsb-cc-img,
.bsb-cc-link:focus .bsb-cc-img {
  transform: scale(1.06);
}

/* Dots */
.bsb-cc-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 8px;
}
.bsb-cc-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: #d1d5db;
  border: 0;
  cursor: pointer;
}
.bsb-cc-dot.is-active { background: #111827; }

/* Responsive */
@media (max-width: 768px) {
  .bsb-cc-img { width: 88px; height: 88px; }
}
