.summary.entry-summary
{
    display: flex;
    flex-direction: column;
}

.product_meta{
    margin-top: auto;
    border-top: 1px solid #ccc;
    padding-top: 10px;
    height: 84px;
    padding-right: 15px;

}

.product-main-swiper {

  height: 450px;
  margin-bottom: 20px;
  margin-right: unset;
  margin-left: unset;
  margin-left: 15px;
}


@media only screen and (max-width: 991px) {

  .product-main-swiper {

    height: 300px;
    margin-left: 0px;
  }

}




.product-thumb-swiper-container{
  flex: 0 0 50%;
}
.product-main-swiper img {
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    object-fit: cover;
    height: 414px;
    object-fit: contain;
}

.product-thumb-swiper {
    width: 100%;
}
.product-thumb-swiper .swiper-slide {

    height: 150px;
    opacity:1;
    cursor: pointer;
}
.product-thumb-swiper .swiper-slide-thumb-active {
    opacity: 1;
}
.thumb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}




  .custom-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }
  .lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
  }
  .lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  .lightbox-close,
  .lightbox-prev,
  .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: red;
    cursor: pointer;
    padding: 10px;
    user-select: none;
  }
  .lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 30px;
    transform: none;
  }
  .lightbox-prev {
    left: -60px;
  }
  .lightbox-next {
    right: -60px;
  }
  .product-thumb-swiper-container{
    position: relative;
  }
  .swiper-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
   
  }
  
  .thumb-prev, .thumb-next {
    cursor: pointer;
    font-size: 24px;
    padding: 6px 12px;
    background-color: #bbbbbb;
    border-radius: 4px;
    user-select: none;
    position: absolute;
  }


  .thumb-next {
  
  
    left: -10px;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
  }

  .thumb-prev{
   
    right: -10px;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
  }


.swiper{
    position: relative;
}  

.related-header {
    width: 100%;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.8;
        color: #312783;
    margin-bottom: 16px;
    display: block;
}



.summary.entry-summary .single_add_to_cart_button
{
  padding: .618em 1em;
    font-weight: 700;
    border-radius: 3px;
    right: auto;
    color: #515151!important;
    background-color: #e9e6ed!important;
    border: 0;
    margin-right: 15px;
}


.quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 999px;
  overflow: hidden;
}

.quantity .qty {
  width: 40px;
  text-align: center;
  border: none;
  font-size: 16px;
  outline: none;
}

.quantity button.plus,
.quantity button.minus {
  background: none;
  border: none;
  padding: 0 10px;
  font-size: 20px;
  cursor: pointer;
  user-select: none;
  color: #333;
}

.quantity button:hover {
  color: #000;
}


/* Chrome, Safari, Edge, Opera */
.quantity input.qty::-webkit-outer-spin-button,
.quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.quantity input.qty[type="number"] {
  -moz-appearance: textfield;
}

/* Optional: Reset appearance for a cleaner look */
.quantity input.qty {
  appearance: none;
}


.woocommerce .quantity .qty {
  width: 30px!important;
}
.woocommerce-tabs.wc-tabs-wrapper
{
  margin: 30px 0 0 0;
}
.woocommerce-tabs ul.tabs {

  margin-bottom: 1em;
 
  padding: 0;
}

.woocommerce-tabs ul.tabs li {
  list-style: none;
  margin-left: 5px;
  padding: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.woocommerce-tabs ul.tabs li a{
color: #000;
}


.woocommerce-tabs .woocommerce-Tabs-panel {

 
  background: white;
     margin: 50px 0;
}



.variations_form.cart tr{
  line-height: 0;
}
.variations_form.cart th
{
  padding-left: 15px;
}

.variations_form.cart .variations{
  margin-bottom: 50px;
}
.woocommerce-variation-add-to-cart
{
  margin-top: 20px;
}

.product_title{

background-color: #312783;
    color: #fff;
    padding: 15px 40px !important;
    font-size: 1rem;
    /* margin-bottom: 18px; */
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 0px));
    position: relative;
    display: inline-block;
    position: absolute;
    bottom: -155px;
    width: 100%;
}


.product_title::before{
  position: absolute;
  content: "";
  background: url(../image/arrow.svg);
  width: 20px;
  height: 13px;
  top: 1px;
  bottom: 0;
  margin: auto;
  right: 15px;
  background-size: contain;
  background-repeat: no-repeat;
}
@media only screen and (max-width: 991px) {
 
  .product_title.entry-title{
      font-size: 1rem;
      line-height: 2;
      padding: 15px 40px 15px 15px !important;
      text-wrap: pretty;
	  bottom: 0;
	          position: relative;
  }
  .woocommerce-tabs ul.tabs li {
   
    padding: 8px;

  }

  .related-header {
    font-size: 1rem;
  }
 
.product_meta {
 
  margin-top: 15px;
}
  }

  .color-swatches {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
  }
  
  .color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #ddd;
    transition: all 0.3s ease;
    position: relative;
  }
  
  .color-swatch:hover {
    transform: scale(1.1);
  }
  
  .color-swatch.active {
    border-color: #333;
    transform: scale(1.1);
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
  }



/*------table------*/


.table-wrapper {
  overflow-x: auto;
  max-width: 100%;
  margin-bottom: 1em;
}

.table-wrapper table {
  width: max-content;
  min-width: 600px;
  table-layout: fixed;
}
.woocommerce-Tabs-panel--description td{
  border: 1px solid #ccc!important;
  padding: 8px;
  font-size: .8rem;
  width: 150px !important;
}

.woocommerce-Tabs-panel--description table tr:nth-child(even) {
  background-color: #e8e8e8;
}

.reset_variations{
  float: left
  ;

}

/*------share icon--------------*/

.share {
  position: absolute;
  right: 30px;
  top: 50px;
}

.copy-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  position: relative;
}

.copy-popup {
  position: absolute;
  top: -40px;
  right: 0;
  background: #222;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  display: none;
  white-space: nowrap;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

/*----------------*/

.wishlist-btn
{
  position: absolute;
  right: 30px;
  top: 93px;
  border: 0;
  background: transparent;
  outline: 0;
}


.loader-img
{
  bottom: 0;
    margin: auto;
    width: 50px!important;
    height: 50px!important;
    left: 0;
    right: 0;
    position: absolute;
    top: 0;
    display: none;
}



/*--------*/


.product_background
{
  width: 100%;
  height: 50vh!important;
  object-fit: cover;
}







#carouselExample{
  position: relative;
  height: 50vh;
 
	transition: height 0.5s ease-in-out;

}


#carouselExample2 {
  position: relative;
  height: auto;
  overflow: hidden;
	transition: height 0.5s ease-in-out;
}

.slider-collapse {
  height: 20vh!important;
  transition: height 0.5s ease-in-out;
  overflow: hidden;
}


.header-product{
  font-size: 1.3rem;
  font-weight: bold;
  display: block;
  color: #312783;
}
.content-product
{
  color: #79797A;
  text-align: justify;
}



.section-video-product{
  background-color: #F1F1F1;
  padding: 50px 0;
}

.video-embed
{
  width: 600px;
    height: 351px;
    margin: auto;
}


.section_total_view{
  position: relative;
  padding: 270px 0 50px 0;
}
@media only screen and (max-width: 991px) {
  .section_total_view{
    padding: 0 15px 30px 15px;
  }
  .video-embed {
    width: auto;
    height: auto;
    margin: auto;
    margin-top: 15px;
}
}


.woocommerce-tabs ul.tabs {
  display: none; /* حذف تب‌ها */
}

.woocommerce-Tabs-panel {
  display: block !important;
  margin-bottom: 0px;
 
 
}

.woocommerce-Tabs-panel .tab-title {
        font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
    color: #312783;
}
.woocommerce-Tabs-panel.woocommerce-Tabs-panel--description p
{
  color: #79797A;
  text-align: justify;
}

.woocommerce-product-attributes th{
  color: #312783;
}
.woocommerce-product-attributes p{
  color: #79797A; 
}

.show_product_images_container{
  position: relative;
}
.show_product_images{
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  bottom: -323px;

}

@media only screen and (max-width: 991px) {

  .show_product_images{
    position:relative;
    bottom: 0;
  
  }



}
.video_title

{
  color: #312783;
  width: 200px;
}

.video-container{
  align-items: center;
  font-weight: 600;
}

.woocommerce table.shop_attributes th {
    width: 192px;
    font-size: .9rem;
}

.news-header a ,.news-header{

    font-size: 1.3rem;
    font-weight: 600;
}

.related.products
{
	background: #E8FCFF;
    padding: 50px 0;
}

.woocommerce-product-attributes-item__value a{
    pointer-events: none;	
	   
}

.fade_img{

    height: 830px;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
	position:relative
}

.fade_img:before{
	position:absolute;
	content:"";
	bottom:0;
	right:0;
	width:100%;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
	height: 277px;
	}

.gallery-section{
	
	margin:30px 0 50px 0;
	
}

.swiper-container{
	
	position:relative
	
}
.glightbox{

    transition: all .3s ease-in-out;	
	
}



.glightbox:before{
content:'مشاهده';
position:absolute;
width:100%;
height:100%;
background:#3127839e;
	opacity:0;
	color:#fff;
	 display: flex;
    align-items: center;
    justify-content: center;
}


.glightbox:after
 {
     content: '';
    position: absolute;
    background: url(https://m25.demo24.ir/wp-content/uploads/2025/06/Group-1671.svg);
    background-position: center;
    background-repeat: no-repeat;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2222222;
    right: -102px;
    bottom: 0;
    top: 0;
    margin: auto;
    left: 0;
	 opacity:0;
}



.glightbox:hover:before,.glightbox:hover:after{
	opacity:1	
	
	
}
.glightbox figure{
	
 margin:0	
	
}