/* SpawnZone product page enhancements – intentionally scoped to the single product. */

body.single-product.spz-product-compact #main > ul.breadcumb-menu {
  display: none !important; /* the banner already shows breadcrumbs */
}

/* Shorter product title banner means the actual item is visible earlier. */
body.single-product.spz-product-compact .breadcumb-wrapper {
  padding-top: 46px !important;
  padding-bottom: 46px !important;
  min-height: 0 !important;
}
body.single-product.spz-product-compact .breadcumb-wrapper .breadcumb-title {
  font-size: clamp(25px, 3vw, 40px) !important;
  line-height: 1.2 !important;
  margin-bottom: 8px !important;
}

/* Product image / purchase area */
@media (min-width: 992px) {
  body.single-product.spz-product-compact #main div.product > .row > .col-lg-12 > .row {
    display: grid !important;
    grid-template-columns: minmax(0, 45%) minmax(0, 1fr) !important;
    gap: clamp(24px, 4vw, 68px) !important;
    align-items: center !important;
    margin: 0 !important;
  }
  body.single-product.spz-product-compact #main div.product > .row > .col-lg-12 > .row > .col-lg-6 {
    flex: none !important;
    width: auto !important;
    max-width: 100% !important;
    padding: 0 !important;
    min-width: 0 !important;
  }
}
body.single-product.spz-product-compact #main div.product .woocommerce-product-gallery {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: clamp(20px, 3vw, 40px) !important;
  margin: 0 !important;
  background: radial-gradient(ellipse at 50% 42%, #202f2b 0%, #131c1d 60%, #11181a 100%);
  border: 1px solid #293a34;
  border-radius: 16px;
  box-sizing: border-box;
}
body.single-product.spz-product-compact #main div.product .woocommerce-product-gallery__image:first-child > a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 310px;
}
body.single-product.spz-product-compact #main div.product .woocommerce-product-gallery img.wp-post-image {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 355px !important;
  object-fit: contain !important;
  margin-inline: auto !important;
}
body.single-product.spz-product-compact #main div.product .product-about {
  padding: 12px 0 !important;
  margin: 0 !important;
  max-width: 720px;
}
body.single-product.spz-product-compact #main div.product .product-about h1.product_title {
  color: #f8fafa !important;
  font-size: clamp(26px, 3vw, 44px) !important;
  line-height: 1.17 !important;
  overflow-wrap: anywhere;
  margin: 0 0 18px !important;
}
body.single-product.spz-product-compact #main div.product .product-about p.price {
  position: static !important;
  color: #d8f45c !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  margin: 0 0 22px !important;
  display: block !important;
}
body.single-product.spz-product-compact #main div.product .product-about form.cart {
  margin: 0 0 18px !important;
  padding: 0 !important;
}
body.single-product.spz-product-compact #main div.product .product-about form.cart .actions {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}
body.single-product.spz-product-compact #main div.product .product-about form.cart .quantity {
  display: inline-flex !important;
  align-items: stretch !important;
  margin: 0 !important;
}
body.single-product.spz-product-compact #main div.product .product-about form.cart .quantity button,
body.single-product.spz-product-compact #main div.product .product-about form.cart .quantity input.qty-input {
  min-height: 44px;
}
body.single-product.spz-product-compact #main div.product .product-about form.cart .th-btn {
  position: relative;
  min-height: 44px;
  padding: 0 28px !important;
  background: #35f586 !important;
  color: #06140e !important;
  border: 1px solid #35f586 !important;
  border-radius: 7px;
  clip-path: none !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-transform: none;
  letter-spacing: .1px;
}
body.single-product.spz-product-compact #main div.product .product-about form.cart .th-btn:hover {
  background: #a3ffc2 !important;
  border-color: #a3ffc2 !important;
}
body.single-product.spz-product-compact #main div.product .product_meta {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.8 !important;
  color: #aebec2 !important;
}
body.single-product.spz-product-compact #main div.product .product_meta > span {
  display: block !important;
  overflow-wrap: anywhere;
}

/* A real heading and readable text, not a button-shaped fake tab. */
body.single-product.spz-single-description #productTab {
  display: none !important;
}
body.single-product.spz-product-description #productTabContent {
  clear: both !important;
  margin: 24px 0 0 !important;
  padding: 24px clamp(18px, 3vw, 32px) !important;
  border: 1px solid #273833 !important;
  border-radius: 14px !important;
  background: #10191b !important;
  color: #b8c5ca;
}
body.single-product.spz-single-description #productTabContent > .tab-pane#description {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: static !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.single-product.spz-product-description #productTabContent h2 {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  color: #f7fbf9 !important;
  font-size: 23px !important;
  line-height: 1.35;
  margin: 0 0 16px !important;
}
body.single-product.spz-product-description #productTabContent p {
  display: block;
  margin: 0 0 12px !important;
  color: #c0ccd1 !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
}
body.single-product.spz-product-description #productTabContent p:last-child {
  margin-bottom: 0 !important;
}

/* Related products: normalize WooCommerce content inside the theme's Swiper. */
body.single-product.spz-product-related .product-details {
  clear: both !important;
  padding-top: 28px !important;
  margin-top: 24px !important;
  margin-bottom: 38px !important;
}
body.single-product.spz-product-related .product-details .sec-title {
  color: #f4faf6 !important;
  font-size: clamp(24px, 2.5vw, 30px) !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}
body.single-product.spz-product-related .product-details .swiper {
  margin: 22px 0 0 !important;
  padding: 4px 2px 12px !important;
  max-width: 100%;
}
body.single-product.spz-product-related .product-details .swiper-wrapper {
  align-items: stretch !important;
}
body.single-product.spz-product-related .product-details .swiper-slide {
  height: auto !important;
  box-sizing: border-box !important;
}
body.single-product.spz-product-related .product-details .swiper-slide > .product-wrapper {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 346px;
  padding: 18px !important;
  margin: 0 !important;
  background: #141d1f !important;
  border: 1px solid #283a35 !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  text-align: left !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
body.single-product.spz-product-related .product-details .swiper-slide > .product-wrapper:hover {
  border-color: #39ef88 !important;
  background: #192522 !important;
}
body.single-product.spz-product-related .product-details .product-wrapper > a.woocommerce-LoopProduct-link {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  color: inherit !important;
  text-decoration: none !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.single-product.spz-product-related .product-details .product-wrapper > a.woocommerce-LoopProduct-link > img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 166px !important;
  min-height: 166px !important;
  padding: 8px !important;
  margin: 0 0 14px !important;
  object-fit: contain !important;
  box-sizing: border-box !important;
  background: radial-gradient(ellipse, #20302b 0%, #10191b 72%) !important;
  border-radius: 9px;
  opacity: 1 !important;
  transform: none !important;
}
body.single-product.spz-product-related .product-details .product-wrapper .woocommerce-loop-product__title {
  display: -webkit-box !important;
  position: static !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden !important;
  color: #f3f7f5 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  min-height: 2.9em !important;
  max-height: 2.9em !important;
  padding: 0 !important;
  margin: 0 0 12px !important;
  background: none !important;
  text-align: left !important;
  opacity: 1 !important;
  visibility: visible !important;
}
body.single-product.spz-product-related .product-details .product-wrapper .product-price,
body.single-product.spz-product-related .product-details .product-wrapper .price {
  display: block !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: auto 0 0 !important;
  padding: 0 !important;
  color: #d8f45c !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  text-align: left !important;
  opacity: 1 !important;
  visibility: visible !important;
}
body.single-product.spz-product-related .product-details .product-wrapper > a.button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: static !important;
  width: 100% !important;
  min-height: 41px !important;
  padding: 10px 14px !important;
  margin: 16px 0 0 !important;
  background: #36ee87 !important;
  color: #06150d !important;
  border: 1px solid #36ee87 !important;
  border-radius: 8px !important;
  clip-path: none !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}
body.single-product.spz-product-related .product-details .product-wrapper > a.button:hover {
  background: #a6ffca !important;
  border-color: #a6ffca !important;
  color: #06150d !important;
}
body.single-product.spz-product-related .product-details .slider-arrow.default,
body.single-product.spz-product-related .product-details .slider-arrow {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  border: 1px solid #2d4a3c !important;
  border-radius: 50% !important;
  background: #182720 !important;
  color: #41f48e !important;
  font-size: 14px !important;
  padding: 0 !important;
  box-shadow: none !important;
}
body.single-product.spz-product-related .product-details .slider-arrow:hover {
  background: #34f486 !important;
  color: #071910 !important;
}
body.single-product.spz-product-related .product-details .slider-arrow::before,
body.single-product.spz-product-related .product-details .slider-arrow::after {
  display: none !important;
  box-shadow: none !important;
}

@media (max-width: 991px) {
  body.single-product.spz-product-compact #main div.product > .row > .col-lg-12 > .row {
    display: block !important;
    margin: 0 !important;
  }
  body.single-product.spz-product-compact #main div.product > .row > .col-lg-12 > .row > .col-lg-6 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin-bottom: 22px;
  }
  body.single-product.spz-product-compact #main div.product .woocommerce-product-gallery__image:first-child > a {
    min-height: 240px;
  }
  body.single-product.spz-product-compact #main div.product .woocommerce-product-gallery img.wp-post-image {
    max-height: 280px !important;
  }
}
@media (max-width: 575px) {
  body.single-product.spz-product-compact #main div.product .woocommerce-product-gallery {
    padding: 12px !important;
  }
  body.single-product.spz-product-description #productTabContent {
    padding: 18px 16px !important;
  }
  body.single-product.spz-product-related .product-details .swiper-slide > .product-wrapper {
    min-height: 305px;
    padding: 12px !important;
  }
  body.single-product.spz-product-related .product-details .product-wrapper > a.woocommerce-LoopProduct-link > img {
    height: 142px !important;
    min-height: 142px !important;
  }
}
