.cc_J2aTpvNHJ1_q3GtcfQXGx .bike-brands {
  --brands-cols: var(--brands-cols-base);
  --brands-gap: 0.625rem;
}

@media (min-width: 768px) {
  .cc_J2aTpvNHJ1_q3GtcfQXGx .bike-brands {
    --brands-cols: var(--brands-cols-md);
    --brands-gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .cc_J2aTpvNHJ1_q3GtcfQXGx .bike-brands {
    --brands-cols: var(--brands-cols-lg);
  }
}

/* Grid: flex-wrap so an incomplete last row is centred. */
.cc_J2aTpvNHJ1_q3GtcfQXGx .bike-brands__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem var(--brands-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.cc_J2aTpvNHJ1_q3GtcfQXGx .bike-brands__cell {
  flex: 0 0 calc((100% - (var(--brands-cols) - 1) * var(--brands-gap)) / var(--brands-cols));
  min-width: 0;
}

.cc_J2aTpvNHJ1_q3GtcfQXGx .bike-brands__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--bike-text);
  text-align: center;
  text-decoration: none;
}

.cc_J2aTpvNHJ1_q3GtcfQXGx .bike-brands__box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--brands-h);
  overflow: hidden;
  padding: 0.625rem;
  border-radius: var(--bike-radius-card);
  background: var(--bike-white);
}

.cc_J2aTpvNHJ1_q3GtcfQXGx .bike-brands--border .bike-brands__box {
  border: 1px solid var(--bike-line);
}

/* Media fills its parent; this wrapper keeps every logo inside the same centred box. */
.cc_J2aTpvNHJ1_q3GtcfQXGx .bike-brands__img {
  width: 100%;
  height: 100%;
  transition: transform 0.25s ease;
}

.cc_J2aTpvNHJ1_q3GtcfQXGx .bike-brands__name {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (hover: hover) {
  .cc_J2aTpvNHJ1_q3GtcfQXGx .bike-brands__item:hover .bike-brands__img {
    transform: scale(1.06);
  }

  .cc_J2aTpvNHJ1_q3GtcfQXGx .bike-brands__item:hover .bike-brands__name {
    color: var(--bike-red-text);
  }
}

.cc_J2aTpvNHJ1_q3GtcfQXGx .bike-brands__item:focus-visible {
  outline: 2px solid var(--bike-navy);
  outline-offset: 2px;
  border-radius: var(--bike-radius-card);
}

@media (prefers-reduced-motion: reduce) {
  .cc_J2aTpvNHJ1_q3GtcfQXGx .bike-brands__img {
    transition: none;
  }
}

/* Markalar page (content layout): equal cards in a grid — columns from the section (desktop / tablet / mobile) */
.cc_J2aTpvNHJ1_q3GtcfQXGx .bike-brands__content {
  --brands-cols: var(--brands-cols-base);
}

@media (min-width: 768px) {
  .cc_J2aTpvNHJ1_q3GtcfQXGx .bike-brands__content {
    --brands-cols: var(--brands-cols-md);
  }
}

@media (min-width: 1024px) {
  .cc_J2aTpvNHJ1_q3GtcfQXGx .bike-brands__content {
    --brands-cols: var(--brands-cols-lg);
  }
}

.cc_J2aTpvNHJ1_q3GtcfQXGx .bike-brands__tiles {
  display: grid;
  grid-template-columns: repeat(var(--brands-cols), minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
