
.product_title.entry-title{
	font-size: 1.5rem;
	
}

.summary.entry-summary
{
    display: flex;
    flex-direction: column;
	    justify-content: space-between;
}

.product_meta{
    margin-top: auto;
    border-top: 1px solid #ccc;
    padding-top: 10px;
    height: 84px;
    padding-right: 15px;

}

.product-main-swiper {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}
.product-main-swiper img {
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    object-fit: contain;
    height: 500px;
}

@media only screen and (max-width: 991px) {
.product-main-swiper img {

    height:auto
}

}

.product-thumb-swiper {
    width: 100%;
}
.product-thumb-swiper .swiper-slide {

  height: 100px;
    opacity: 0.6;
    cursor: pointer;
    flex-shrink: 0;
    width: 100px !important;
}

.product-thumb-swiper .swiper-slide-thumb-active {
    opacity: 1;
}
.thumb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}


.product-thumb-swiper-container{
	
	    flex: 0 0 10%;
	
	
}
.product-thumb-swiper-container .swiper-wrapper
{
	display: flex;
    flex-direction: column;
    align-items: center;
}

.product-main-swiper-container
{
	    display: flex;
    justify-content: center;
    align-items: center;
}
.lightbox-img {
  opacity: 1;
  transition: opacity 0.4s ease;
}

.lightbox-img.fade-out {
  opacity: 0;
}



  .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: #F83600;	
    cursor: pointer;
    padding: 10px;
    user-select: none;
  }
  .lightbox-close {
    top: 0px;
    right: 0px;
    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: 5px;
   
  }
  
  .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: var(--primary);
    margin-bottom: 16px;
    display: block;
}



.summary.entry-summary .single_add_to_cart_button
{
  padding: .618em 1em;
    font-weight: 700;
    border-radius: 10px;
    right: auto;
    background-color: #F83600!important;
    border: 0;
    margin-right: 15px;
	    padding-right: 43px !important;
		position:relative
}


.summary.entry-summary .single_add_to_cart_button:before{
	content:"";
	position:absolute;
	background:url("https://m32.demo24.ir/wp-content/uploads/2025/06/Group-4.svg");
	    width: 24px;
    height: 23px;
    right: 15px;
    top: 0;
    bottom: 0;
    margin: auto;
	
	
}


.quantity {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius:10px;
  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;
  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 50px 0;
}
.woocommerce-tabs ul.tabs {
  display: flex;
  margin-bottom: 1em;
  border-bottom: 2px solid #eee;
  padding: 0;
	    overflow: auto;

}

.woocommerce-tabs ul.tabs li {
  list-style: none;
  text-align: center;
  margin-left: 5px;
  padding: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.woocommerce-tabs ul.tabs li a{
color: #000;
	white-space: nowrap;
}

.woocommerce-tabs ul.tabs li.active {
  border-bottom: 2px solid #f83600;
}
.woocommerce-tabs ul.tabs li.active a {
     color: #f83600;
}
.woocommerce-tabs .woocommerce-Tabs-panel {

  padding: 15px;
  background: white;
	    border: 1px solid #EEEEEE;
}
 




.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;
}


@media only screen and (max-width: 767px) {
 
  .product_title.entry-title{
      font-size: 1rem;
      padding-top: 8px;
  }
  .woocommerce-tabs ul.tabs li {
   
    padding: 8px;

  }

  .related-header {
    font-size: 1rem;
  }
  .woocommerce-tabs.wc-tabs-wrapper {
    margin: 30px 0;
}
.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);
  }

.entry-summary .price
{
	 display: flex !important;
    flex-direction: column !important;
    border-top: 1px solid #ccc;
    padding: 30px 0 0 0;
	    font-weight: 600;
	    font-size: 1.2rem;
	
}

.entry-summary del {
    margin-right: 45px;
	opacity: .5;
}

.entry-summary  .product-english-name {
    padding-right: 0px;
}
.woocommerce span.onsale {
	
display:none	
	
}


.entry-summary-row{
	
    background: #eee;
    padding: 30px;
	
}

.rating-container
{
	display: flex;
    align-items: center;
    justify-content: space-between;
	    padding-bottom: 8px;
}




/*------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--------------*/


.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
{
 
  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;
}

/*-----------------*/
.stock.in-stock,.stock.out-of-stock
{
	    font-size: 14px;
	    margin-bottom:0
}


.extra-info-container{
	
    border-top: 1px solid #ccc;
    padding-top: 30px;	
	    margin-top: 30px;
}

.extra-info{
	display: flex;
    align-items: center;
    margin-top: 30px;
flex-wrap: wrap;	
	
	
}

.extra-info .share{
	
	position:relative
	
}


.woocommerce #review_form #respond .form-submit input {
    right: auto;
    color: #fff;
}


.related.products .add_to_cart_button {
	
	display:none!important
	
}

.woocommerce-product-attributes-item__value a{
	    pointer-events: none;
}



.product-thumb-swiper
 {
  height: 500px; /* ارتفاع مناسب بده */
}




.woocommerce #reviews #comments h2 {
  
    font-size: 14px;
}
.whats_up_holder
{
	border: 1px solid #4CAF50;
    background: #fff;
    padding: 5px 10px;
    border-radius: 12px;
}
.whats_up_holder a{
	
color:#155D18	
	
}

.variations .value{
	
display:flex	
}
.ghest
{
	    font-weight: 600;
}
@media only screen and (max-width: 991px) {
.summary.entry-summary .single_add_to_cart_button {
 
    border-radius: 5px;
    font-size: 13px;
	        line-height: 1.2;
}
.entry-summary-row {
 
    padding: 15px;
}
	
.quantity .qty {
    
    font-size: 13px;
	}
	.quantity {
    border-radius: 5px;
	}

	
.product-main-swiper-container {
    display: block;	
	
	}
	.product-thumb-swiper-container .swiper-wrapper {

    flex-direction: row;
	}
	
	
	.product-thumb-swiper {
    height: auto;
}
.product-main-swiper {
    margin-bottom: 0;
}	

	
.lightbox-next {
    right: -9px;
}	
	
.lightbox-prev {
    left: -9px;
}	
.variations .value {
    display: block;
}
}
.related.products{
	
position:relative	
	
}

.related.products .price del {
    padding-left: 45px;

}

@media only screen and (max-width: 991px) {
	
	.entry-summary-row .product {
		order:-1
		
	}
	
	
}

.reset_variations{
	    display: none !important;
	
}
