/* =====================================
   BRAND CARD (AISLADA DEL SISTEMA)
===================================== */

.nx-brand-card {
  position: relative;
  flex: 0 0 290px; /* 👈 mantiene el ancho del slider */
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  display: block;
}

/* Imagen */
.nx-brand-card__media {
  position: absolute;
  inset: 0;
  padding: 8px; /* pequeño padding */
  box-sizing: border-box;
}

.nx-brand-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* Overlay */
.nx-brand-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: background .3s ease;
}

.nx-brand-card:hover .nx-brand-card__overlay {
  background: rgba(0,0,0,.15);
}

/* Badge */
.nx-brand-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--nx-color-accent);
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
}

/* Logo circular */
.nx-brand-card__circle {
  width: 90px;
  height: 90px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nx-brand-card__circle img {
  max-width: 60%;
  max-height: 60%;
}

/* CTA */
.nx-brand-card__cta {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}
.nx-product-slider__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
@media (max-width: 768px) {
  .nx-brand-card {
    flex: 0 0 calc(50% - 8px); /* 2 tarjetas por fila con gap */
    min-width: 0; /* sobreescribe el ancho fijo */
  }

  .nx-product-slider__viewport {
    overflow-x: hidden; /* controlamos el scroll con JS */
  }
}
.nx-slider-arrow{
  color: var(--nx-color-text-darks);
}