/* ==========================================================================
   VANILLA BANNER SLIDER (Sin Plugins) - NETWOR STORE
   High-performance, touch-swipe ready slider designed by Promedia Digital
   ========================================================================== */

.ns-slider-container {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-top: 1rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-lg);
  background: #FFFFFF;
}

.ns-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
}

.ns-slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.ns-slide {
  min-width: 100%;
  flex: 0 0 100%;
  padding: 3.5rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  position: relative;
  box-sizing: border-box;
  background: linear-gradient(135deg, #1A2D2C 0%, #0E4A4B 50%, #132B2A 100%);
  color: var(--pure-white);
}

/* Full-bleed Graphic Banner Slide (Engloba todo el contenedor sin espacios ni fondo oscuro) */
.ns-slide-full-banner {
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
  width: 100%;
  line-height: 0;
  background: transparent !important;
}

.ns-slide-full-banner a {
  display: block;
  width: 100%;
  line-height: 0;
  margin: 0;
  padding: 0;
}

.ns-slide-full-banner img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
  margin: 0;
  padding: 0;
}

/* Slide Content for split slides */
.ns-slide-content {
  flex: 1;
  max-width: 600px;
  z-index: 2;
}

.ns-slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: var(--primary-green);
  color: var(--pure-white);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}

.ns-slide-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--pure-white);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.ns-slide-title span {
  color: #5CE1E2;
}

.ns-slide-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.ns-slide-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.ns-slide-btn-primary {
  background-color: var(--accent-orange);
  color: var(--pure-white) !important;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 18px rgba(238, 143, 0, 0.4);
  text-decoration: none;
}

.ns-slide-btn-primary:hover {
  background-color: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(238, 143, 0, 0.6);
}

.ns-slide-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: var(--pure-white) !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.ns-slide-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Slide Visual / Image Card */
.ns-slide-visual {
  flex: 0 0 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.ns-slide-img-wrapper {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ns-slide-img-wrapper img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.35));
  transition: none !important;
  transform: none !important;
}

.ns-slide:hover .ns-slide-img-wrapper img,
.ns-slide-img-wrapper:hover img,
.ns-slide-img-wrapper img:hover {
  transform: none !important;
}

/* Slider Controls */
.ns-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--text-dark);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.ns-slider-arrow:hover {
  background: var(--primary-teal);
  color: var(--pure-white);
  border-color: var(--primary-teal);
  box-shadow: 0 4px 15px rgba(31, 163, 164, 0.4);
}

.ns-slider-prev {
  left: 16px;
}

.ns-slider-next {
  right: 16px;
}

/* Dots Pagination */
.ns-slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.ns-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.ns-dot.active {
  width: 32px;
  background: var(--primary-teal);
  box-shadow: 0 0 10px rgba(31, 163, 164, 0.6);
}

/* Responsive Slider */
@media (max-width: 992px) {
  .ns-slide {
    padding: 3rem 2rem;
    flex-direction: column;
    text-align: center;
  }
  .ns-slide-content {
    max-width: 100%;
  }
  .ns-slide-actions {
    justify-content: center;
  }
  .ns-slide-title {
    font-size: 2rem;
  }
  .ns-slide-visual {
    flex: 0 0 auto;
  }
  .ns-slide-img-wrapper {
    width: 220px;
    height: 220px;
  }
  .ns-slide-full-banner img {
    max-height: 340px;
  }
}

/* Slide Link Wrapper */
.ns-slide-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  cursor: pointer;
  text-decoration: none;
}

@media (max-width: 640px) {
  .ns-slide {
    padding: 2.5rem 1.25rem 3.5rem;
  }
  .ns-slide-title {
    font-size: 1.6rem;
  }
  .ns-slide-desc {
    font-size: 0.9rem;
  }
  .ns-slider-arrow {
    display: flex !important;
    width: 36px;
    height: 36px;
    font-size: 1.05rem;
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    color: var(--text-dark, #0F172A) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  .ns-slider-prev {
    left: 8px !important;
  }
  .ns-slider-next {
    right: 8px !important;
  }
  .ns-slide-full-banner img {
    max-height: 220px;
  }
}
