 .rs-breadcrumb-bg {
  position: relative;
  background-size: cover;
  background-position: center;
}

.rs-breadcrumb-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* adjust darkness */
  z-index: 1;
}

/* Ensure content is above overlay */
.rs-breadcrumb-content {
  position: relative;
  z-index: 2;
  color: #fff;
}



    .product-about .rs-header-btn {
    z-index: 1;
    position: relative;
}


        .rs-faq-two .rs-faq-thumb {
    width: 100%;
    overflow: hidden;
    visibility: hidden;
}

        .offcanvas-gallery-thumb-wrapper .offcanvas-popup-thumb img{
            width: 100%;
            height: 100%;
        }

        .mainImage {
  transition: opacity 0.4s ease;
}

.fade-out {
  opacity: 0;
}

.fade-in {
  opacity: 1;
}


.rs-faq-two .rs-faq-thumb img{

border: 3px solid #124e8a;
width: 100%;
height: 240px;
object-fit: cover;
border-radius: 20px;

}


.product-gallery {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  font-family: 'Segoe UI', sans-serif;
}

/* Thumbnails */
.thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.thumbs img {
  width: 85px;
  height: 85px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid #eee;
  transition: all 0.3s ease;
  background: #fff;
}

.thumbs img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  border: 3px solid #537ea9;
}

.thumbs img.active {
  border: 3px solid #537ea9;
 box-shadow: 0 4px 10px rgb(83 126 169 / 48%);
}

/* Main Image Box */
.main-image {
  position: relative;
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  border: 1px solid #eee;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.main-image img {
  width: 500px;
  height: 500px;
  object-fit: contain;
  border-radius: 8px;
}

/* Zoom Lens */
#lens {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: 1px solid rgba(0,0,0,0.2);
  backdrop-filter: blur(2px);
  display: none;
  cursor: crosshair;
}

/* Zoom Result */
#zoomResult {
  width: 500px;
  height: 500px;
  border-radius: 12px;
  border: 1px solid #eee;
  background-repeat: no-repeat;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  display: none;
  position: absolute;
  right:350px;
  z-index:3;
}

/* Base (already given remains same) */

/* Tablet */
@media (max-width: 992px) {
  .product-gallery {
    gap: 15px;
  }

  .main-image img,
  #zoomResult {
    width: 320px;
    height: 320px;
  }
}

/* Mobile Layout */
@media (max-width: 768px) {
  .product-gallery {
    flex-direction: column;
    align-items: center;
  }

  /* Thumbnails horizontal */
  .thumbs {
    flex-direction: row;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 10px;
  }

  .thumbs img {
    width: 65px;
    height: 65px;
    flex: 0 0 auto;
  }

  /* Main image full width */
  .main-image {
    width: 100%;
    text-align: center;
  }

  .main-image img {
    width: 100%;
    height: auto;
    max-height: 350px;
  }

  /* Hide zoom result on mobile */
  #zoomResult {
    display: none !important;
  }

  /* Disable lens on mobile */
  #lens {
    display: none !important;
  }
}

/* Small devices */
@media (max-width: 480px) {
  .thumbs img {
    width: 55px;
    height: 55px;
  }

  .main-image img {
    max-height: 280px;
  }
}

/*end*/

