/* ==========================================================================
   thirtybees Swiper Shim Stylesheet (tb-swiper.css)
   ========================================================================== */

/* 1. Outer Swiper Container */
.swiper {
  position: relative !important;
  width: 100% !important;
  overflow: hidden !important;
  margin: 0 auto !important;
  padding: 0 !important;
  /* Fix touch-action handling across mobile browsers */
  touch-action: pan-y;
}

/* 2. Flexbox Wrapper Overrides (Defeats Bootstrap .row & Grid Floats) */
.swiper-wrapper,
ul.swiper-wrapper,
ol.swiper-wrapper {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  box-sizing: content-box !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  transform: translate3d(0px, 0px, 0px);
}

/* Reset Bootstrap margin offset on rows */
.swiper-wrapper.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* 3. Individual Slide Overrides */
.swiper-slide,
li.swiper-slide {
  flex-shrink: 0 !important;
  float: none !important;
  list-style: none !important;
  box-sizing: border-box !important;
  position: relative !important;
  height: 100% !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  transition-property: transform;
}

/* Ensure inner product containers fill the slide properly */
.swiper-slide article,
.swiper-slide .product-container {
  height: 100%;
}

/* 4. Navigation Arrows */
.swiper-button-next,
.swiper-button-prev {
  color: #333;
  z-index: 10;
  width: 27px;
  height: 44px;
  margin-top: -22px;
  transition: opacity 0.2s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  opacity: 0.7;
}

.swiper-button-disabled {
  opacity: 0.35 !important;
  cursor: auto !important;
  pointer-events: none !important;
}

/* Custom position adjustments when placed inside custom containers */
.swiper-button-next svg,
.swiper-button-prev svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 5. Pagination Bullets */
.swiper-pagination {
  position: relative !important;
  bottom: 0 !important;
  text-align: center !important;
  margin-top: 15px !important;
  z-index: 10;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 50%;
  background: #999;
  opacity: 0.5;
  margin: 0 4px !important;
  cursor: pointer;
  transition: all 0.2s ease;
}

.swiper-pagination-bullet-active {
  background: #333;
  opacity: 1;
  transform: scale(1.2);
}