/* Featured Items grid */
/* Base grid styles */
.imageSliderSwipeScrollpane .productImg,
.imageSliderSwipeScrollpane .productImg:hover,
.imageSliderSwipeScrollpane .productImg img,
.imageSliderSwipeScrollpane .productImg img:hover {
  padding: 0 !important;
  box-sizing: border-box !important;
}

.imageSliderSwipeScrollpane {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  left: 0 !important;
  position: relative !important;
  overflow: hidden !important;
}

.imageSliderSwipeScrollpane > div {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 20px !important;
  width: 100% !important;
  max-width: 100% !important;
  transform: none !important;
  position: relative !important;
  box-sizing: border-box !important;
  margin: 0 auto !important;
}

.imageSliderSwipeScrollpane > div > * {
  position: relative !important;
  transform: none !important;
  left: auto !important;
  top: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  flex: unset !important;
  display: block !important;
  padding: 12px !important;
  box-sizing: border-box !important;
}

/* Reset fixed heights on image wrappers */
.imageSliderSwipeScrollpane > div > * > div {
  height: auto !important;
  min-height: unset !important;
}

.imageSliderSwipeScrollpane img {
  width: 100% !important;
  height: auto !important;
  max-height: 200px !important;
  object-fit: contain !important;
  display: block !important;
}

/* Hide all slider navigation */
.imageSliderSwipePrev,
.imageSliderSwipeNext,
.scrollButton.scrollNext,
.scrollButton.scrollPrev,
.scrollNext,
.scrollPrev {
  display: none !important;
}

/* View More button */
.gridViewMore {
  display: block;
  width: 100%;
  padding: 14px;
  margin-top: 16px;
  background: #000;
  color: #fff;
  text-align: center;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 1px;
  border: none;
}

.gridViewMore:hover {
  background: #333;
}

/* Desktop: 5 columns */
@media (min-width: 1000px) {
  .imageSliderSwipeScrollpane > div {
    grid-template-columns: repeat(5, 1fr) !important;
  }
}

/* Tablet: 3 columns */
@media (min-width: 768px) and (max-width: 999px) {
  .imageSliderSwipeScrollpane > div {
    grid-template-columns: repeat(3, 1fr) !important;
    padding: 0 16px !important;
  }
}

/* Small tablet: 2 columns */
@media (min-width: 600px) and (max-width: 767px) {
  .imageSliderSwipeScrollpane > div {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 0 12px !important;
  }
  .imageSliderSwipeScrollpane > div > * {
    padding: 8px !important;
  }
}

/* Mobile: 2 columns */
@media (max-width: 599px) {
  .imageSliderSwipeScrollpane > div {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 0 12px !important;
  }
  .imageSliderSwipeScrollpane > div > * {
    padding: 8px !important;
  }
  .imageSliderSwipeScrollpane img {
    max-height: 140px !important;
  }
}