/* Single Post Product Slider Styles */
.single-post-product-slider-wrapper .product-carousel {
  padding: 0px;
  overflow: visible;
}
.single-post-product-slider-wrapper  {
  overflow:clip;
  max-width:1200px;
  margin:0 auto;
}
@media (max-width: 1200px) {
  .single-post-product-slider-wrapper  {
    overflow: visible;
  }
}
.single-post-product-slider-wrapper div:has(>.product-slider-outer) {
  overflow: hidden;
}

.single-post-product-slider-wrapper .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.single-post-product-slider-wrapper .product-slide {
  border-radius: 0px;
  height: auto;
  display: flex;
  flex-direction: column;
  overflow: visible;
  transition: transform 0.2s ease-in-out;
}

@media (min-width: 960px) {
  .single-post-product-slider-wrapper .product-slide:hover {
    transform: translateY(-3px);
  }
}

.single-post-product-slider-wrapper .product-category {
  margin-top: 5px;
  font-size: 0.9em;
  color: #555;
}

.single-post-product-slider-wrapper .price {
  margin-top: 0px;
  font-weight: bold;
  color: #333;
  display: flex;
  align-items: center;
  gap: 5px;
}

.single-post-product-slider-wrapper .cta-div {
  padding-bottom: 20px;
  margin-top: auto;
}

/* Navigation buttons */
.single-post-product-slider-wrapper .swiper-button-next,
.single-post-product-slider-wrapper .swiper-button-prev {
  position: relative;
  color: var(--accentColor);
  border: 1px solid var(--accentColor);
  border-radius: 0px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin: 0 10px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.single-post-product-slider-wrapper .swiper-button-next:hover,
.single-post-product-slider-wrapper .swiper-button-prev:hover {
  background: var(--accentColor);
  color: #fff !important;
  border-color: var(--accentColor);
}

.single-post-product-slider-wrapper .pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
}

.single-post-product-slider-wrapper .swiper-button-next:after,
.single-post-product-slider-wrapper .swiper-button-prev:after {
  font-size: 15px;
}

/* Product titles */
.single-post-product-slider-wrapper h2.woocommerce-loop-product__title {
  font-size: 1.7rem;
  color: #000;
  line-height: 1.5;
  margin-top: 0px;
  max-width: 100%;
  display: block;
  margin-bottom: 10px;
  padding-top: 20px;
  font-family: var(--fontFamily);
}

@media (max-width: 960px) {
  .single-post-product-slider-wrapper h2.woocommerce-loop-product__title {
    height: 100px;
    font-size: 1.4rem;
  }
}

.single-post-product-slider-wrapper .product-category a {
  color: var(--accentColor3);
  margin-bottom: 0px;
  display: block;
}

.single-post-product-slider-wrapper .product-slide .amount {
  font-size: 20px;
  margin-top: 15px !important;
  display: block;
  margin-top: 0px !important;
}

.single-post-product-slider-wrapper .swiper-slide span.price bdi {
  font-size: 19px;
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--fontFamily);
}

.single-post-product-slider-wrapper span.product-parent-category {
  font-size: 12px;
  color: #000;
}

/* Sale badge */
.single-post-product-slider-wrapper span.onsale {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #ffffff;
  background-color: var(--accentColor);
  border-radius: 30px;
  padding: 10px 10px;
  font-size: 15px;
}

.single-post-product-slider-wrapper .price del bdi {
  color: #8e8e8e;
  font-size: 19px;
}

/* Star ratings */
.single-post-product-slider-wrapper .woocommerce .star-rating {
  display: inline-block;
  position: relative;
  font-size: 1.2em;
  color: #ffcc00;
  line-height: 1;
  z-index: 10;
}

.single-post-product-slider-wrapper .woocommerce .star-rating::before {
  content: "★★★★★";
  color: #ccc;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}

.single-post-product-slider-wrapper .woocommerce .star-rating span {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  overflow: hidden;
  color: #ffcc00;
  z-index: 2;
}

.single-post-product-slider-wrapper .woocommerce .star-rating span::before {
  content: "★★★★★";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3;
}

.single-post-product-slider-wrapper .woocommerce-loop-rating {
  position: relative;
  z-index: 9999;
}

/* Swiper slide */
.single-post-product-slider-wrapper .swiper-slide {
  height: auto;
  display: flex;
  flex-direction: column;
}

.single-post-product-slider-wrapper a.buy-product-button {
  text-align: center !important;
  background-color: var(--accentColor);
  display: block;
  color: #fff;
  font-family: var(--fontFamily);
  font-size: 20px;
  padding: 10px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.single-post-product-slider-wrapper a.buy-product-button:hover {
  background-color: var(--accentColor2);
}

.single-post-product-slider-wrapper .swiper-slide span.price ins {
  text-decoration: none;
}

.single-post-product-slider-wrapper .product-slide img {
  width: calc(100% - 20px);
  height: 100%;
  object-fit: contain;
  margin: 10px;
  border-radius: 0px !important;
  background-color: #fff;
  border: 1px solid #e0e0e0;
}

.single-post-product-slider-wrapper .product-slide img.placeholder {
  object-position: bottom !important;
}

/* Product image container */
.single-post-product-slider-wrapper .product-image-container {
  position: relative;
  width: 100%;
  height: 320px;
  z-index: 1;
}

.single-post-product-slider-wrapper .product-image-container .first-image,
.single-post-product-slider-wrapper .product-image-container .hover-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s ease-in-out;
  z-index: 1;
}

.single-post-product-slider-wrapper .product-image-container .hover-image {
  opacity: 0;
}

.single-post-product-slider-wrapper .product-image-container:hover .hover-image {
  opacity: 1;
}

.single-post-product-slider-wrapper .product-image-container:hover .first-image {
  opacity: 0;
}

.single-post-product-slider-wrapper .product-slide h2.woocommerce-loop-product__title,
.single-post-product-slider-wrapper .product-slide .cta-div {
  position: relative;
  z-index: 2;
}

.single-post-product-slider-wrapper .title-stock-div {
  align-items: center;
  padding-top: 20px;
}

.single-post-product-slider-wrapper .product-info-slider {
  padding: 0px 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.single-post-product-slider-wrapper .smort-heart-wrapper {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 999;
}

/* Product slider title */
.product-slider-title {
  font-family: var(--fontFamily);
  font-size: 2.5rem;
  color: var(--accentColor2);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .product-slider-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
}
