/* NexusLabs - Especias Marquee */

.nx-especias-wrap {
  width: 100%;
  padding: 30px 0;
}

.nx-especias-title {
  text-align: center;
  font-size: 44px;
  font-weight: 800;
  margin: 0 0 22px 0;
  color: #111;
  letter-spacing: -0.5px;
}

.nx-especias-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.nx-especias-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: nxScroll 28s linear infinite;
  padding: 10px 0;
}

.nx-especias-marquee:hover .nx-especias-track {
  animation-play-state: paused;
}

/* Cards grandes (como tu captura) */
.nx-especias-card {
  width: 620px;
  height: 360px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background: #ddd;
  box-shadow: 0 8px 25px rgba(0,0,0,.15);
  flex: 0 0 auto;
}

.nx-especias-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

/* Botón */
.nx-especias-btn {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  border-radius: 10px;
  background: #111;
  color: #fff;
  transition: transform .15s ease, opacity .15s ease;
}

.nx-especias-btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.nx-especias-btn.nx-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 1400px) {
  .nx-especias-card { width: 520px; height: 320px; }
  .nx-especias-title { font-size: 38px; }
}

@media (max-width: 900px) {
  .nx-especias-card { width: 78vw; height: 280px; }
  .nx-especias-title { font-size: 30px; }
}

/* Animación marquee */
@keyframes nxScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
