.product-carousel {
  padding: 0px;
  overflow: hidden;
}

.swiper-wrapper {
  display: flex;
}

.product-slide {
  background: #fff;
  border-radius: 0px;
  border: 1px solid #eaeaea;
}

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

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

.cta-div {
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
  margin-top: 15px;
}

/* Swiper navigation buttons */
.swiper-button-next,
.swiper-button-prev {
  background: #000 !important;
  color: #fff !important;
  border-radius: 50% !important;
  padding: 5px;
  border: 1px solid #000;
}

/* Hide scrollbar */
.swiper-container {
  overflow: hidden;
}

.swiper-button-next,
.swiper-button-prev {
    background: #333;
    color: #fff;
    border-radius: 50%;
    width: 30px; /* Smaller size */
    height: 30px; /* Smaller size */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px; /* Adjust font size */
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 12px; /* Adjust arrow icon size */
}

/* titles */ 
h2.woocommerce-loop-product__title {
  font-size: 15px;
  color: #000;
  line-height: 1.5;
  margin-top: 0px;
  max-width: 80%;
  display: block;
  margin-bottom: 0px;
  font-family: 'sunblock_probold';
}
.product-category a {
  color: var(--accentColor3);
  margin-bottom: 0px;
  display: block;
}
.product-slide .amount {
  font-size: 20px;
  margin-top: 15px !important;
  display: block;
  margin-top: 0px !important;
}
.swiper-slide span.price bdi {
  padding-left: 15px;
  font-size: 18px;
  text-decoration: none;
  font-family: 'CustomHeadingFont';
  color: #000;
}

span.product-parent-category {
  padding-left: 15px;
  font-size: 12px;
  color:var(--accentColor);
}

/* Dots */ 

/* Swiper pagination dots */
.swiper-pagination-bullet {
  background: #333;
  opacity: 0.7;
}

.swiper-pagination-bullet-active {
  background: #4c8077; /* Active dot color */
  opacity: 1;
}

/* Adjust the position and appearance of the dots if needed */
.swiper-pagination {
  margin-top: 15px;
  text-align: center;
  bottom: -30px !important;
}
.swiper-pagination-clickable .swiper-pagination-bullet {
  cursor: pointer;
  width: 20px;
  border-radius: 5px;
}
.product-varumarke {
  color: #000;
  margin-top: 10px;
}
span.onsale {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #ffffff;
  background-color: var(--accentColor);
  /* width: 50px; */
  /* height: 50px; */
  border-radius: 30px;
  padding: 10px 10px;
  font-size: 15px;
}
.price del bdi {
  color: #8e8e8e;
  font-size: 19px;
}

/* Ensure the star rating container has the correct display and positioning */
.woocommerce .star-rating {
  display: inline-block;
  position: relative;
  font-size: 1.2em; /* Adjust as necessary */
  color: #ffcc00; /* Color for the filled stars */
  line-height: 1; /* Make sure the stars are aligned */
  z-index: 10; /* Ensure the stars are above other elements */
}

/* Unfilled star background */
.woocommerce .star-rating::before {
  content: '★★★★★'; /* Five unfilled stars */
  color: #ccc; /* Color for unfilled stars */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1; /* Ensure unfilled stars are below the filled stars */
}

/* Filled stars */
.woocommerce .star-rating span {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  overflow: hidden;
  color: #ffcc00; /* Color for filled stars */
  z-index: 2; /* Ensure filled stars are above the unfilled stars */
}

/* Ensure the filled stars' width reflects the rating */
.woocommerce .star-rating span::before {
  content: '★★★★★'; /* Five filled stars */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3; /* Ensure filled stars are above the unfilled stars */
}

/* Ensure the star rating div has the proper z-index */
.woocommerce-loop-rating {
  position: relative;
  z-index: 9999; /* High z-index to ensure it's above other elements */
}

/* Ensure parent containers don't hide overflow */
.swiper-slide, .product-slide {
  overflow: visible; /* Ensure that overflow isn't cutting off content */
}


/* Swiper slide */ 

.swiper-slide{
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.swiper-wrapper{
  display: flex; 
  align-items: stretch;
}
a.product-slider-cta {
  text-align: center;
  color: #000000;
  padding: 5px 10px;
  margin-right: 15px;
}
.swiper-slide h2.woocommerce-loop-product__title {
  max-width: 100%;
  font-size: 1.2rem;
  padding-left: 15px;
  padding-top: 10px;
  font-family: 'sunblock_probold';
	text-transform: uppercase;
}
.swiper-slide span.price ins {
  text-decoration: none;
}

.product-slider-cta img{
  width: 50px; 
  height: 50px;
  object-fit: contain;
  margin:0px;
  border:0px !important;
}

.product-slide img {
  height: 450px;
  object-fit: cover;
  margin: 0px;
  border-radius: 0px !important;
}
.product-slide img.placeholder {
  object-position: bottom !important;
}

/* Arrow */

img.cta-arrow {
  width: 20px;
  height: 20px;
  margin: 0px;
  margin-top: 5px;
  filter: invert(1)
}

.product-image-slider img {
  background-color: #fff;
}

.product-image-slider {
  height: 450px;
  background-color: #fff;
  display: flex
;
  align-items: center;
}

.onsale.out-of-stock {
    background-color: #781818 !important;
    font-size: 7px !important;
    line-height: 3.5 !important;
}