/* =============================================
   FABRILOGY – Top-Kategorie-Karussell CSS
   KK 23.03.2026 – Fullwidth
   ============================================= */

/* Fullwidth-Wrapper */
.fab-carousel-fullwidth {
  width: 100%;
  background: #fff;
}

.fab-carousel-fullwidth .top-categories {
  width: 100%;
}

/* Outer: position für Buttons */
.fab-carousel-outer {
  position: relative;
  width: 100%;
}

/* Listing: overflow hidden, keine seitlichen Abstände */
.fab-carousel-fullwidth .top-categories .listing {
  overflow: hidden !important;
  position: relative !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Gradient */
.fab-cat-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(20, 28, 12, 0.4) 75%,
    rgba(20, 28, 12, 0.65) 100%
  ) !important;
  pointer-events: none;
  z-index: 1;
}

/* Bild-Höhe anpassen – schmalere Kacheln brauchen weniger Höhe */
.fab-carousel-fullwidth .top-categories [role="listitem"] span.image {
  height: 220px !important;
  aspect-ratio: unset !important;
}

@media (max-width: 767px) {
  .fab-carousel-fullwidth .top-categories [role="listitem"] span.image {
    height: 200px !important;
  }
}

@media (max-width: 479px) {
  .fab-carousel-fullwidth .top-categories [role="listitem"] span.image {
    height: 220px !important;
  }
}

/* Dots */
.top-cat-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
  margin-bottom: 8px;
}

.top-cat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c8c8c0;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s, width 0.3s;
}

.top-cat-dot.active {
  background: #5a6e3a;
  width: 22px;
  border-radius: 4px;
}

.top-cat-nav.hidden {
  opacity: 0 !important;
  pointer-events: none !important;
}
