/* Wrapper for both columns */
.product-columns-wrapper {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 20px;
}

/* Left column for the product image gallery */
.product-image-gallery {
  width: 50%;
  position: relative;
}

.single-product .product-image-gallery .onsale.smort-out-of-stock-badge {
  position: absolute !important;
  top: 20px !important;
  right: 50px !important;
  left: auto !important;
  margin: 0 !important;
  z-index: 30;
  background-color: #e87841;
  color: #fff;
  border-radius: 20px;
  padding: 8px 12px;
  min-width: auto;
  min-height: auto;
  line-height: 1.2;
  font-size: 15px;
  font-weight: 700;
  display: inline-block !important;
}

/* The main image in the gallery */
.product-image-gallery .slider-for img {
  width: 95%;
  height: 550px;
  object-fit: contain;
  margin-bottom: 10px;
  background: #fff;
  border-radius: 0px;
  border: 1px solid #f2f2f2 !important;
}

/* Center the thumbnails below the main image */
.slider-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  position: relative;
  padding: 10px 0;
}

/* Style the thumbnail images to be 50px by 50px */
.slider-nav img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 5px;
  transition: transform 0.3s ease;
  border: 1px solid #a9a2a2;
}

/* Hover effect for thumbnails */
.slider-nav img:hover {
  transform: scale(0.95); /* Slight zoom effect on hover */
}

/* Hide the navigation arrows for thumbnails (if any) */
.slick-prev,
.slick-next {
  display: none !important;
}

/* Thumbnails container should be centered */
.slider-nav .slick-list {
  display: flex !important;
  justify-content: center !important;
}
.slick-track {
  transform: none !important;
  justify-content: center;
  display: flex !important;
  gap: 10px !important;
}
.slick-slide.slick-current img {
  border: 2px solid var(--accentColor2);
}
/* Right column for the product summary */
.product-summary {
  width: 50%;
  padding-left: 20px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.slick-slide.slick-current.slick-active img {
  max-height: 600px;
  object-fit: contain;
}

/* Adjustments for mobile devices */
@media only screen and (max-width: 768px) {
  .product-columns-wrapper {
    flex-direction: column;
  }

  .product-image-gallery,
  .product-summary {
    width: 95%;
  }
}

.slider-nav .slick-slide {
  width: 50px !important;
}

/* Styling for the Slick slider arrows */
.slick-prev,
.slick-next {
  background-color: var(--textColor); /* Black background for arrows */
  color: #fff; /* White arrow color */
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  z-index: 10;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.slick-prev {
  left: -50px; /* Position the left arrow */
}

.slick-next {
  right: -50px; /* Position the right arrow */
}

.slick-prev:hover,
.slick-next:hover {
  background-color: #333; /* Darker background on hover */
}

/* Make sure arrows are visible on smaller screens as well */
@media (max-width: 768px) {
  .slick-prev,
  .slick-next {
    left: 10px;
    right: 10px;
  }
}

/* Tabs */

.product-description img {
  display: none;
}

.custom-tabs-section {
  text-align: center;
  margin-top: 50px;
  padding-bottom: 80px;
}
div#tab-description a {
  color: var(--accentColor2);
}

.tabs-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.tabs {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.tabs li {
  padding: 10px 20px;
  cursor: pointer;
  background-color: #ffff;
  margin-right: 10px;
  border-radius: 30px;
  font-weight: bold;
}

.tabs li.current {
  background-color: var(--accentColor2);
  color: white;
  transform: scale(1.05);
}

.tab-content {
  display: none;
  max-width: 1400px;
  margin: 0 auto;
  text-align: left;
  padding: 20px;
  background-color: #ffff;
}

.tab-content.current {
  display: block;
}

.average-rating-section {
  text-align: center;
  margin-bottom: 30px;
}

.accordion-title-faq {
  cursor: pointer;
  font-weight: bold;
  padding: 15px;
  background-color: #fff;
  border-bottom: 0px;
  border-radius: 30px;
}

.accordion-content-faq {
  display: none;
  padding: 15px;
  background-color: #fff;
  border: 1px solid #ddd;
}
span.plus-symbol {
  position: absolute;
  right: 20px;
}
.accordion-item {
  position: relative;
}
.average-rating h2 {
  font-size: 2rem;
  margin-bottom: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.average-rating i {
  font-size: 1rem;
}

.tabs-container {
  background-color: var(--accentColor);
  padding-top: 5rem;
  margin-top: 4rem;
}

.woocommerce-variation-description {
  display: none;
}
