/* Custom text shop */

/* Shop off screen */

    .close-off-filter:hover{
  cursor: pointer;
}

.close-off-filter{
    content: "";
    width: 43px;
    height: 43px;
    padding: 8px 8px 8px 0px;
    z-index: 110;
    position: relative;
}
    
    .close-off-filter::before , .close-off-filter::after {
    content: '';
    display: inline-block;
    width: 28px;
    height: 2px;
    position: absolute;
    top: 50%;
    left: 0;
    margin: auto;
    background-color: #222;
    transition: all 0.3s;
}

.close-off-filter::before {
    transform: rotate(45deg);
}

.close-off-filter::after {
    transform: rotate(-45deg);
}

.close-off-filter:hover::after, .close-off-filter:hover::before{
    transform: rotate(0deg);
}
/* Product Gallery CSS  */

.wrap-woo-gallery {
    display: block;
    position: relative;
}

.single-product .woocommerce-tabs {
	padding-top: 65px;
}

:root{
	--product-slider-height: 800px;
}

@media (max-width: 1000px) {
	:root{
	--product-slider-height: 70vh!important;
}
}
@media (min-width: 1000px) and (max-width: 1300px) {
	:root{
	--product-slider-height: 75vh!important;
}
}

body.single-product {
	overflow-x: hidden;
}

.single-product .swiper-button-prev.swiper-button-disabled,.single-product .swiper-button-next.swiper-button-disabled{
	opacity: 0;
}

.swiper-button-prev, .swiper-container-rtl .swiper-button-next{
	background-image: url('https://pirdys.com/wp-content/themes/hello-elementor-child/assets/arrow-left.svg')!important;
	left: 0!important;
}
.swiper-button-next, .swiper-container-rtl .swiper-button-prev{
	background-image: url('https://pirdys.com/wp-content/themes/hello-elementor-child/assets/arrow-right.svg')!important;
	right: 0!important;
}
.product-gallery {
      display: flex;
    max-width: 49%;
    float: left;
  }
.swiper-button-next, .swiper-button-prev {
	width: 18px!important;
}
  .gallery-thumbs {
    float: left;
	width: 18%;
    height: var(--product-slider-height);
    margin-right: 15px!important;
  }
  
  .gallery-thumbs .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    cursor: pointer;
	 border: 1px solid transparent;
	 transition: border-color 0.3s ease; 
  }
  
  .gallery-thumbs .swiper-slide-thumb-active  {
    border-color: #222;
  }
  .gallery-top {
    float: right;
    width: 85%;
    height: var(--product-slider-height);
  }
  
  .gallery-top .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    /* border: 1px solid grey; */
  }
  .gallery-top .swiper-slide a{
    height: 100%;
	width: 100%;
  }
  .gallery-top .swiper-slide img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
  .gallery-thumbs .swiper-slide img {
      max-width: 100%;
      max-height: 100%;
	  width: 100%;
	  height: 100%;
      object-fit: cover;
      object-position: 50% 50%;
  }
.swiper-button-next, .swiper-button-prev {
	opacity: 0!important;
	transition: 0.3s ease!important;
}
.product-gallery:hover .swiper-button-next{
	opacity: 1!important;
	right: 10px!important;
}
.product-gallery:hover .swiper-button-prev{
	opacity: 1!important;
	left: 10px!important;
}

  @media only screen and (max-width: 1000px){
    .gallery-thumbs {
        display: none;
    }
	  .product-gallery{
		width: 100%;
		  max-width: 100%;
		  float: none;
	  }
    .gallery-top {
        width: 100%;
    }
	  .woocommerce-page div.product div.summary {
		  width: 100% !important;
		  float: none !important;
		  max-width: 100% !important;
		  margin-left: 0 !important;
	  }
  }