/* ============================================
   PRODUCT SLIDER COMPONENT
   Unified Swiper carousel styling for product sliders
   Used on: homepage, brand pages, industry pages
   ============================================ */

/* Swiper Container */
.product-slider {
  width: 100%;
  padding-bottom: 56px; /* Space for pagination */
  overflow: hidden;
  position: relative;
}

/* Subtle fade on right edge to indicate more content */
.product-slider::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: calc(100% - 56px);
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.85));
  z-index: 2;
  pointer-events: none;
}

/* Pagination */
.product-slider .swiper-pagination {
  bottom: 8px !important;
  position: absolute;
}

.product-slider .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  opacity: 0.3;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.product-slider .swiper-pagination-bullet-active {
  background-color: #236773 !important;
  opacity: 1;
}

/* Slides */
.product-slider .swiper-slide {
  height: auto;
  display: flex;
  flex-direction: column;
}

/* Card image inside slider - fixed height for consistency */
.product-slider .product-card-image {
  height: 180px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
  border-radius: 0;
}

.product-slider .product-card-image img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(3px 6px 8px rgba(0, 0, 0, 0.2));
}

.product-slider .product-card-image:hover img {
  transform: scale(1.05);
  filter: drop-shadow(4px 8px 12px rgba(0, 0, 0, 0.3));
}
