/* Legacy: category-image-banner-flex. Renderer DOM'u: .cibf-items > sarmalayıcı > çocuk kökü (gerçek kutu). */
.cc_JSJjCS0Xum_vJuMnRDPlL .cibf-track {
  --cibf-gap: 24px;
}

/* Masaüstü ve mobil grid: 3'erli satırlar, satır içinde ortalı, her öğe --cibf-w genişliğinde */
.cc_JSJjCS0Xum_vJuMnRDPlL .cibf-track.is-grouped {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, var(--cibf-w, 33%)));
  column-gap: var(--cibf-gap);
  row-gap: 1.5rem;
  justify-content: center;
  align-items: center;
  padding-bottom: 1.5rem;
}

/* Son satır eksikse (legacy justify-center) ortala */
.cc_JSJjCS0Xum_vJuMnRDPlL .cibf-track.is-grouped[data-rem="1"] .cibf-items > *:last-child > * {
  grid-column: 2;
}

.cc_JSJjCS0Xum_vJuMnRDPlL .cibf-track.is-grouped[data-rem="2"] .cibf-items > *:nth-last-child(-n + 2) > * {
  transform: translateX(calc(50% + var(--cibf-gap) / 2));
}

@media (max-width: 699px) {
  .cc_JSJjCS0Xum_vJuMnRDPlL .cibf-track {
    --cibf-gap: 16px;
  }
}

/* Mobil swiper karşılığı */
.cc_JSJjCS0Xum_vJuMnRDPlL .cibf-track.is-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cc_JSJjCS0Xum_vJuMnRDPlL .cibf-track.is-slider::-webkit-scrollbar {
  display: none;
}

.cc_JSJjCS0Xum_vJuMnRDPlL .cibf-track.is-slider .cibf-items > * > * {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
}

/* Swiper sayfalama (global.css .swiper-pagination-bullet görünümü) */
.cc_JSJjCS0Xum_vJuMnRDPlL .cibf-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  pointer-events: none;
}

.cc_JSJjCS0Xum_vJuMnRDPlL .cibf-dot {
  pointer-events: auto;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  margin: 0 0.5rem;
  background-color: rgb(204, 204, 204);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.cc_JSJjCS0Xum_vJuMnRDPlL .cibf-dot.active {
  background-color: var(--primary-color);
  width: 2rem;
  border-radius: 10rem;
}

/* Legacy: mobil slider dalında düğmede !min-w-[120px] yok (195px kalır); yalnızca ızgara dalında 120px */
.cc_JSJjCS0Xum_vJuMnRDPlL .cibf-track.is-slider .category-image-banner-title .link {
  min-width: 195px !important;
}
