.product-gallery-wrapper{
  width: 100%;
  margin-top:1rem;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.product-gallery-top{
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
  border: 1px solid rgb(180,180,180);
}

.product-gallery-top-image{
  display: inline-block;
  width: 100%;
  height: 30rem;
  overflow: hidden;
  font-size:0;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
   user-select: none;
}

.product-gallery-top-image img{
  object-fit: contain;
  margin:0;
  padding: 0;
  position: relative;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.product-gallery-top-carousel-track{
  transition: transform 0.3s;
  position: relative;
  cursor: pointer;
  width: 100%;
  font-size:0;
  position: relative;
  z-index: 100;
}

.product-gallery-bottom-wrapper{
  margin-top:1rem;
  display: flex;
  align-items: center;
  gap:1rem;
}

.product-gallery-back{
  height: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 6%;
  cursor: pointer;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none;
}

.product-gallery-forward{
  height: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 6%;
  cursor: pointer;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none;
}

.product-gallery-bottom{
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
}


.product-gallery-bottom-carousel-track{
  transition: transform 0.3s;
  position: relative;
  cursor: pointer;
  width: 100%;
  font-size:0;
  box-sizing: border-box;
}

.product-gallery-bottom-image{
  display: inline-flex;
  border: 1px solid rgb(180,180,180);
  width: 14%;
  margin-left:0.142857142%;
  margin-right: 0.142857142%;
  cursor:pointer;
  justify-content: center;
  align-items: center;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none;
  box-sizing: border-box;
}

#product-lightbox-wrapper{
  position: fixed;
  top:0;
  left:0;
  width: 100%;
  height: 100vh;
  padding:1rem;
  background-color:rgba(200,200,200, 0.8);
  backdrop-filter:blur(1rem);
  z-index: 100000;
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size:0;
  box-sizing: border-box;
}

#product-lightbox-buttons{
  position: absolute;
  right:1%;
  top:3%;
  display: flex;
  gap:3rem;
  align-items: center;
  background-color: white;
  padding:0.5rem 1rem;
  border-radius:1rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

#product-lightbox-zoom-wrapper{
  display: flex;
  align-items: center;
  font-size:2rem !important;
  gap:0.2rem;
}

#product-lightbox-zoom{
  accent-color:gray;
  cursor: pointer;
}

#product-lightbox-close{
  cursor:pointer;
  width: 8%;
  height: auto;
}

#product-lightbox-zoom-wrapper label{
  cursor: pointer;
  width: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none;
}

#product-lightbox-zoom-wrapper label:hover{
  background-color:rgba(200,200,200, 0.6);
  border-radius:50%;
}

#product-lightbox-carousel-main-wrapper{
  width: 70%;
  height: 70vh;
  display: flex;
  align-items: center;
}

#product-lightbox-carousel-main-left-button{
  height: 100%;
  width: 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none;
  transition: 0.3s ease-in-out;
  background-color:rgba(100,100,100, 0.0);
}

#product-lightbox-carousel-main-left-button:hover{
  background-color:rgba(100,100,100, 0.5);
}

#product-lightbox-carousel-main-left-button img {
  width: 20%;
}


#product-lightbox-carousel-main-right-button{
  height: 100%;
  width: 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none;
  transition: 0.3s ease-in-out;
  background-color:rgba(100,100,100, 0.0);
}

#product-lightbox-carousel-main-right-button:hover{
  background-color:rgba(100,100,100, 0.5);
}

#product-lightbox-carousel-main-right-button img {
  width: 20%;
}

#product-lightbox-main-carousel{
  width: 90%;
  height: 100%;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}

#product-lightbox-main-track{
  height: 100%;
  width: 100%;
  transition: transform 0.3s;
}

#product-lightbox-main-image{
  display: inline-block;
  width: 100%;
  height: 100%;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
   -khtml-user-select: none; /* Konqueror HTML */
     -moz-user-select: none; /* Old versions of Firefox */
      -ms-user-select: none; /* Internet Explorer/Edge */
          user-select: none;
  cursor: pointer;
}

#product-lightbox-main-image img {
  width:100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: -1;
}

#product-lightbox-vertical-carousel-wrapper{
  width: 20%;
  height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;

}

#product-lightbox-carousel-vertical-left-button{
  width: 100%;
  height: 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none;
  transition: 0.3s ease-in-out;
  background-color:rgba(100,100,100, 0.0);
}

#product-lightbox-carousel-vertical-left-button:hover{
  background-color:rgba(100,100,100, 0.5);
}

#product-lightbox-carousel-vertical-left-button img {
  height: 60%;
  transform: rotate(90deg);
}


#product-lightbox-carousel-vertical-right-button{
  width: 100%;
  height: 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none;
  transition: 0.3s ease-in-out;
  background-color:rgba(100,100,100, 0.0);
}

#product-lightbox-carousel-vertical-right-button:hover{
  background-color:rgba(100,100,100, 0.5);
}

#product-lightbox-carousel-vertical-right-button img {
  height: 60%;
  transform: rotate(90deg);
}

#product-lightbox-vertical-carousel{
  width: 100%;
  height: 90%;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  font-size: 0;
}

#product-lightbox-vertical-track{
  height: 100%;
  width: 100%;
  transition: transform 0.3s;
}

#product-lightbox-vertical-image{
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 200;
  width: 100%;
  height: 20%;
  padding:4% 1%;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none;
  cursor:pointer;
}

#product-lightbox-vertical-image img{
  height: 100%;
  width:auto;
  padding:3%;
  object-fit: contain;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none;
  position: relative;
  z-index: -1;
}

#product-lightbox-image-desc{
  font-size:1rem;
  font-weight: bold;
  text-align: center;
  margin-bottom:10px;
}

@media screen and (max-width:1023px){
  .product-gallery-bottom-image{
    width: 18%;
    margin-left:1%;
    margin-right:1%;
  }

  #product-lightbox-vertical-carousel-wrapper{
    display: none;
  }

  #product-lightbox-carousel-main-wrapper{
    width: 100%;
  }

  #product-lightbox-carousel-main-right-button{
    width:10%;
  }

  #product-lightbox-carousel-main-left-button{
    width:10%;
  }

  #product-lightbox-wrapper{
    background-color:rgba(200,200,200, 1);
  }

}


@media screen and (max-width:767px){
  .product-gallery-bottom-image{
    width: 31.33%;
    margin-left:1%;
    margin-right:1%;
  }
}
