/* ==========================================================================
   NEXTGEN BATTERIES & INVERTERS SECTION STYLES (IMAGE ONLY CARDS)
   ========================================================================== */

.ng-bat-wrapper {
  width: min(100% - 2rem, 1170px);
  margin: 4rem auto;
  position: relative;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

/* Section Header - Side by Side with Arrow Controls on Desktop */
.ng-bat-header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1rem;
}

.ng-bat-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.ng-bat-title {
 font-family: var(--ng-font-heading, 'Montserrat', sans-serif);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    font-weight: 400;
  letter-spacing: -0.03em;
  text-transform: capitalize !important;
  line-height: 1.2;
  color: #000000;
  margin: 0;
}

.ng-bat-subtitle {
  font-family: var(--ng-font-body, 'Inter', sans-serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ng-coral, #f04b22);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  white-space: nowrap;
}

/* Desktop Arrow Navigation Controls */
.ng-bat-nav-arrows {
  display: flex;
  gap: 0.75rem;
}

.ng-bat-arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #000000;
  transition: all 0.3s ease;
}

.ng-bat-arrow-btn:hover {
  background: var(--ng-coral, #FEAC97);
  color: #ffffff;
  border-color: var(--ng-coral, #FEAC97);
  transform: translateY(-2px);
}

.ng-bat-arrow-btn svg {
  width: 18px;
  height: 18px;
}

/* Horizontal Slider Track Container */
.ng-bat-slider-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.ng-bat-grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1.5rem;
  width: 100%;
  padding-bottom: 0.75rem;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.ng-bat-grid::-webkit-scrollbar {
  display: none;
}

/* Product Card - Image Only (No text box, no shadows) */
.ng-bat-card {
  flex: 0 0 280px;
  min-width: 280px;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: none;
  height: 280px; /* Perfect square/proportional image display */
  position: relative;
  scroll-snap-align: start;
  box-shadow: none !important;
  transition: transform 0.3s ease;
}

.ng-bat-card:hover {
  transform: translateY(-4px);
}

/* Product Image Background filling the entire card */
.ng-bat-image-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile & Tablet Adjustments */
@media (max-width: 768px) {
  .ng-bat-wrapper {
    width: min(100% - 1rem, 1170px);
  }

  .ng-bat-nav-arrows {
    display: none;
  }

  .ng-bat-card {
    flex: 0 0 240px;
    min-width: 240px;
    height: 240px;
    box-shadow: none !important;
  }

  .ng-bat-title {
    font-size: 1rem;
  }

  .ng-bat-subtitle {
    font-size: 0.7rem;
    white-space: normal;
  }
}