/* SpawnZone layout fixes 1.1 – loaded AFTER product.css, scoped to this plugin. */

/* Bame/Swiper sometimes assigns a whole-row width to each slide. We render an
   explicit responsive grid, overriding Swiper's inline widths and transforms. */
body.single-product.spz-product-related #main .product-details #productSlider1 {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}
body.single-product.spz-product-related #main .product-details #productSlider1 > .swiper-wrapper {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  width: 100% !important;
  height: auto !important;
  align-items: stretch !important;
  transform: none !important;
  transition: none !important;
  box-sizing: border-box !important;
}
body.single-product.spz-product-related #main .product-details #productSlider1 > .swiper-wrapper > .swiper-slide {
  float: none !important;
  display: block !important;
  flex: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  transform: none !important;
}
body.single-product.spz-product-related #main .product-details #productSlider1 .swiper-slide > .product-wrapper {
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 100% !important;
  box-sizing: border-box !important;
}
body.single-product.spz-product-related #main .product-details #productSlider1 .swiper-slide > .product-wrapper > a.woocommerce-LoopProduct-link {
  min-width: 0 !important;
}
body.single-product.spz-product-related #main .product-details #productSlider1 .swiper-slide-duplicate {
  display: none !important;
}

/* Guarantee visible arrows without Font Awesome / theme icon fonts. */
body.single-product.spz-product-related #main .product-details .icon-box {
  display: inline-flex !important;
  flex-direction: row !important;
  gap: 9px !important;
  align-items: center !important;
  justify-content: center !important;
}
body.single-product.spz-product-related #main .product-details button.slider-arrow[data-slider-prev="#productSlider1"],
body.single-product.spz-product-related #main .product-details button.slider-arrow[data-slider-next="#productSlider1"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  visibility: visible !important;
  opacity: 1 !important;
  isolation: isolate !important;
  flex: 0 0 42px !important;
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #14231d !important;
  background-image: none !important;
  border: 1px solid #39ef88 !important;
  border-radius: 50% !important;
  color: #39ef88 !important;
  box-shadow: none !important;
  clip-path: none !important;
  cursor: pointer !important;
}
body.single-product.spz-product-related #main .product-details button.slider-arrow > i {
  display: none !important;
}
body.single-product.spz-product-related #main .product-details button.slider-arrow[data-slider-prev="#productSlider1"]::before,
body.single-product.spz-product-related #main .product-details button.slider-arrow[data-slider-next="#productSlider1"]::before {
  display: block !important;
  position: static !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: auto !important;
  height: auto !important;
  transform: none !important;
  font-family: Arial, sans-serif !important;
  font-size: 24px !important;
  line-height: 1 !important;
  font-weight: 500 !important;
  color: currentColor !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}
body.single-product.spz-product-related #main .product-details button.slider-arrow[data-slider-prev="#productSlider1"]::before { content: "\2190" !important; }
body.single-product.spz-product-related #main .product-details button.slider-arrow[data-slider-next="#productSlider1"]::before { content: "\2192" !important; }
body.single-product.spz-product-related #main .product-details button.slider-arrow[data-slider-prev="#productSlider1"]::after,
body.single-product.spz-product-related #main .product-details button.slider-arrow[data-slider-next="#productSlider1"]::after { display: none !important; }
body.single-product.spz-product-related #main .product-details button.slider-arrow:hover,
body.single-product.spz-product-related #main .product-details button.slider-arrow:focus-visible {
  background: #39ef88 !important;
  color: #07160e !important;
  outline: 2px solid #60ff9d !important;
  outline-offset: 2px !important;
}

/* Quantity: +/- need explicit characters, symmetric control size and contrast. */
body.single-product.spz-product-compact #main div.product .product-about form.cart .quantity {
  display: inline-flex !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  width: auto !important;
  height: 46px !important;
  min-height: 46px !important;
  border: 1px solid #40544b !important;
  border-radius: 7px !important;
  overflow: hidden !important;
  background: #101a1c !important;
}
body.single-product.spz-product-compact #main div.product .product-about form.cart .quantity > .qty-btn,
body.single-product.spz-product-compact #main div.product .product-about form.cart .quantity > button.quantity-minus,
body.single-product.spz-product-compact #main div.product .product-about form.cart .quantity > button.quantity-plus {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: static !important;
  flex: 0 0 43px !important;
  width: 43px !important;
  min-width: 43px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #1b2929 !important;
  border: none !important;
  border-radius: 0 !important;
  clip-path: none !important;
  box-shadow: none !important;
  color: #f4faf7 !important;
  cursor: pointer !important;
  font-size: 19px !important;
  line-height: 1 !important;
}
body.single-product.spz-product-compact #main div.product .product-about form.cart .quantity > .qty-btn > i { display: none !important; }
body.single-product.spz-product-compact #main div.product .product-about form.cart .quantity > .quantity-minus::before,
body.single-product.spz-product-compact #main div.product .product-about form.cart .quantity > .quantity-plus::before {
  display: block !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  color: inherit !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  font-family: Arial, sans-serif !important;
  font-size: 20px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
}
body.single-product.spz-product-compact #main div.product .product-about form.cart .quantity > .quantity-minus::before { content: "\2212" !important; }
body.single-product.spz-product-compact #main div.product .product-about form.cart .quantity > .quantity-plus::before { content: "+" !important; }
body.single-product.spz-product-compact #main div.product .product-about form.cart .quantity > .qty-btn::after { display: none !important; }
body.single-product.spz-product-compact #main div.product .product-about form.cart .quantity > input.qty-input,
body.single-product.spz-product-compact #main div.product .product-about form.cart .quantity > input.qty {
  display: block !important;
  position: static !important;
  flex: 0 0 60px !important;
  width: 60px !important;
  min-width: 60px !important;
  max-width: 60px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 5px !important;
  margin: 0 !important;
  background: #101a1c !important;
  color: #ffffff !important;
  border: none !important;
  border-left: 1px solid #40544b !important;
  border-right: 1px solid #40544b !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: center !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 44px !important;
  appearance: textfield !important;
  -moz-appearance: textfield !important;
}
body.single-product.spz-product-compact #main div.product .product-about form.cart .quantity input::-webkit-outer-spin-button,
body.single-product.spz-product-compact #main div.product .product-about form.cart .quantity input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
body.single-product.spz-product-compact #main div.product .product-about form.cart .quantity > .qty-btn:hover,
body.single-product.spz-product-compact #main div.product .product-about form.cart .quantity > .qty-btn:focus-visible {
  color: #081a11 !important;
  background: #39ef88 !important;
}
body.single-product.spz-product-compact #main div.product .product-about form.cart .quantity > .qty-btn:disabled {
  opacity: .45 !important;
  cursor: not-allowed !important;
}

@media (max-width: 1199px) {
  body.single-product.spz-product-related #main .product-details #productSlider1 > .swiper-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 991px) {
  body.single-product.spz-product-related #main .product-details #productSlider1 > .swiper-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 575px) {
  body.single-product.spz-product-related #main .product-details #productSlider1 > .swiper-wrapper {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
  }
  body.single-product.spz-product-related #main .product-details .swiper-slide > .product-wrapper {
    min-height: 285px !important;
  }
}

/* Keep Swiper's live announcement accessible but off-screen, not under cards. */
body.single-product.spz-product-related #main .product-details #productSlider1 .swiper-notification {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
/* Bootstrap/theme box-model quirks were pushing card buttons past the edge. */
body.single-product.spz-product-related #main .product-details #productSlider1 .product-wrapper > a.button {
  box-sizing: border-box !important;
  max-width: 100% !important;
}
body.single-product.spz-product-compact #main div.product .product-about form.cart .quantity > .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
