/* === EQUIPOS POPULARES — cards horizontales sin bordes === */
.cj-equipos-wrap{
  padding: 0;
  margin: 6px 0 28px 0;
}
@media (min-width: 768px){
  .cj-equipos-wrap{ padding: 0 32px; }
}

.cj-equipos-head{
  max-width: 1200px;
  margin: 0 auto 8px auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
}
.cj-equipos-title{
  margin: 0;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 800;
  color: #111827;
}

/* Flechas cuadradas (desktop) */
.cj-eq-arrows{ display: none; }
@media (min-width: 992px){
  .cj-eq-arrows{ display: flex; gap: 8px; }
  .cj-eq-arrows button{
    width: 40px; height: 40px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    background: #fff; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0;
    transition: background .15s ease, transform .1s ease;
  }
  .cj-eq-arrows button:hover{ background:#f9fafb; transform: translateY(-1px); }
  .cj-eq-arrows img{ width: 18px; height: 18px; display:block; }
}

/* Scroller (sin barra visible) */
.cj-eq-scroller{
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.cj-eq-scroller::-webkit-scrollbar{ display: none; }

/* Lista horizontal pegada (sin gap) */
.cj-eq-list{
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 85%;
  gap: 0; /* pegadas */
}
@media (min-width: 520px){  .cj-eq-list{ grid-auto-columns: 60%; } }
@media (min-width: 768px){  .cj-eq-list{ grid-auto-columns: 45%; } }
@media (min-width: 1024px){ .cj-eq-list{ grid-auto-columns: 33%; } }

.cj-eq-card {
    scroll-snap-align: start;
    margin: 0 10px;
}

/* Card horizontal sin borde, fondo gris, pegadas */
.cj-eq-link{
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 15px;
    background: #f3f4f6;
    border: none;
    border-radius: 10px;
    padding: 10px 12px;
    min-height: 72px;
    flex-direction: row-reverse;
}

/* Columna izquierda: título + "X productos" */
.cj-eq-left{
  display: flex; flex-direction: column; justify-content: center;
  gap: 4px; /* poca separación */
  min-width: 0; /* habilita ellipsis */
}
.cj-eq-name{
  margin: 0;
  font-weight: 800;
  color: #111827;
  font-size: clamp(14px, 2vw, 16px);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cj-eq-count{
  font-size: 12px;
  color: #9ca3af; /* gris clarito */
  white-space: nowrap;
}

/* Columna derecha: escudo pequeño */
.cj-eq-right{
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  margin-left: 12px;
}
.cj-eq-right img{
  display: block;
  width: 36px; height: 36px;  /* pequeño */
  object-fit: contain;
}

.cj-eq-empty{
  padding: 12px; text-align: center; color:#6b7280;
}
