.woocommerce div.product div.images .flex-control-thumbs li {
    height: auto !important;
}
.elementor-20 .elementor-element.elementor-element-bd91f2a {
    padding-right: 0;
    padding-left: 0;
    padding-top: 20px;
    padding-bottom: 0;
}
.elementor-20 .elementor-element.elementor-element-1c98441 {
    display: none;
}

/* فقط روی quantity هایی که اسکریپت ما فعالش کرده */
.quantity.qty-enhanced{
  display:inline-flex !important;
  align-items:stretch !important;
  border:1px solid #ddd !important;
  border-radius:36px !important;
  overflow:hidden !important;
  background:#F3F4F6 !important;
  padding: 8px 5px;
}

/* input وسط */
.quantity.qty-enhanced .qty{
  width:64px !important;
  text-align:center !important;
  border:0 !important;
  outline:none !important;
  padding:0 6px !important;
  margin:0 !important;
  background:transparent !important;
  box-shadow:none !important;

  -moz-appearance:textfield !important;
  appearance:textfield !important;
}

/* حذف فلش‌های پیشفرض */
.quantity.qty-enhanced .qty::-webkit-outer-spin-button,
.quantity.qty-enhanced .qty::-webkit-inner-spin-button{
  -webkit-appearance:none !important;
  margin:0 !important;
}

/* کنترل‌های +/- (span) */
.quantity.qty-enhanced .qty-ctrl{
  width:40px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

  background:#f3f3f3 !important;
  color:#222 !important;
  font-size:18px !important;
  line-height:1 !important;

  cursor:pointer !important;
  user-select:none !important;

  /* ضد استایل های button المنتور */
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  transition:background .15s ease !important;
}

/* hover/active */
.quantity.qty-enhanced .qty-ctrl:hover{ background:#eaeaea !important; }
.quantity.qty-enhanced .qty-ctrl:active{ background:#e0e0e0 !important; }

/* فوکوس کیبورد */
.quantity.qty-enhanced .qty-ctrl:focus{
  outline:2px solid rgba(2,127,129,.35) !important;
  outline-offset:-2px !important;
}

.woocommerce-variation-price {
    margin-bottom: 1rem;
}
.woocommerce-Price-amount.amount {
    color: #027F81;
}
.elementor-20 .elementor-element.elementor-element-e808099 {
    padding-right: 0 !important;    
}



.elementor-element.elementor-element-ba8bed5 .woocommerce-product-gallery.woocommerce-product-gallery--with-images.woocommerce-product-gallery--columns-4.images {
    flex-wrap: wrap !important;
}

@media (max-width: 767px) {
    .woocommerce-product-gallery.woocommerce-product-gallery--with-images.woocommerce-product-gallery--columns-4.images {
        margin-bottom: 0;
    }
    .flex-thumb-wrapper.hide-arrow {
        padding-bottom: 0;
    }
    .elementor-element.elementor-element-a4b9dd0.elementor-widget.elementor-widget-rating {
        align-content: center;
    }
    .elementor-element.elementor-element-a20c4a4 .elementor-element.elementor-element-bd91f2a.e-con-full.e-grid.e-con.e-child{
        --e-con-grid-template-columns: repeat(2, 1fr);
    }
    .elementor-element.elementor-element-7170010.e-con-full.e-flex.e-con.e-child {
        flex-flow: row;
    }
    .elementor-element-7a2e883 .elementor-background-video-hosted {
        object-fit: none !important;
    }
    .elementor-element-7c63551 .single-product #tab-reviews {
        padding: 40px 0px !important;
    }
    .woocommerce-Reviews #review_form_wrapper {
        padding: 20px 15px !important;
    }
    
}

.single-product #tab-reviews #reply-title {
    font-size: 25px !important;
    margin-bottom: 20px !important;
    text-align: right !important;
}

.woocommerce #review_form #respond .form-submit input {
    border-radius: 30px !important;
    padding: 12px 24px !important;
    background: #fff !important;
    border: 1px solid #000 !important;
}

.woocommerce #review_form #respond .form-submit input:hover {
    background: #000 !important;
    color: #fff !important;
}


.elementor-20 .elementor-element.elementor-element-4df4729 a {
    font-size: 9px !important;
}
.elementor-20 .elementor-element.elementor-element-4df4729 {
    padding: 0px 7px 2px 7px !important;
}
.elementor-20 .elementor-element.elementor-element-7170010 {
    gap: 10px !important;
}
@media (min-width: 767px) {
    .elementor-element-7170010 > .elementor-element { 
        width: 80px; 
    }
    .elementor-element-7170010 .elementor-widget.elementor-widget-image {
        width: auto;
    }
    .woocommerce-Reviews #review_form_wrapper {
        padding: 20px 20px !important;
    }
    .woocommerce #review_form #respond .single-product #tab-reviews form.comment-form {
        max-width: 100% !important;
    }
}

.woocommerce-product-gallery.woocommerce-product-gallery--with-images.woocommerce-product-gallery--columns-4.images {
    max-height: 700px;
    overflow-y: hidden;
}

.flex-thumb-wrapper ol.woocommerce-product-gallery.flex-control-thumbs {
    width: 100% !important;
}

.flex-thumb-wrapper {
  position: relative;
  max-height: 730px; /* ارتفاع محدود */
  overflow: hidden;
  padding-bottom: 34px;
  overflow: visible;
}

.flex-thumb-wrapper .flex-control-thumbs {
  max-height: 700px;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  display: flex !important;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE & Edge */
}

/* Chrome, Safari */
.flex-thumb-wrapper .flex-control-thumbs::-webkit-scrollbar {
  display: none;
}

.flex-thumb-wrapper .flex-control-thumbs li {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  list-style: none;
}

.flex-thumb-wrapper .flex-control-thumbs img {
  width: 80px !important;
  height: 80px !important;
  object-fit: cover;
  cursor: pointer;
}

.flex-thumb-arrow {
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 10;
  pointer-events: none;
  animation: thumbBounce 1.2s infinite;
  
  z-index: 99;
  pointer-events: auto !important;
  cursor: pointer !important;
}

/*.flex-thumb-wrapper.hide-arrow .flex-thumb-arrow {*/
/*  display: none;*/
/*}*/
@media (max-width: 767px) {
    .flex-thumb-arrow {
        display: none;
    }
}
@keyframes thumbBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(5px); }
}


.elementor-element.elementor-element-ba8bed5 .woocommerce-product-gallery.woocommerce-product-gallery--with-images.woocommerce-product-gallery--columns-4.images {
    overflow: hidden !important;
    min-height: 760px;
}
.elementor-element-ba8bed5 {
    height: 760px !important;
}


.np-review-card {
    list-style: none;
    margin: 0 0 18px;
}

.np-review-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,.04);
}

.np-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.np-review-avatar img {
    border-radius: 50%;
    
    display: none;
}

.np-review-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.np-review-author {
    font-size: 15px;
    font-weight: 700;
}

.np-review-date {
    font-size: 12px;
    color: #888;
}

.np-review-stars {
    direction: ltr;
    white-space: nowrap;
}

.np-review-stars span {
    color: #ddd;
    font-size: 18px;
}

.np-review-stars span.is-active {
    color: #f5b301;
}

.np-review-content {
    font-size: 14px;
    line-height: 2;
    color: #333;
}
.woocommerce #review_form p.stars {
    display: none !important;
}

.np-rtl-rating-stars {
    display: flex !important;
    flex-direction: row-reverse !important;
    justify-content: flex-end !important;
    gap: 6px;
    width: 100%;
    margin: 10px 0 14px;
}

.np-rtl-rating-stars button,
.np-rtl-rating-stars button:hover,
.np-rtl-rating-stars button:focus,
.np-rtl-rating-stars button:active {
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer;
    font-size: 26px;
    color: #ddd !important;
    line-height: 1;
}

.np-rtl-rating-stars button.is-active {
    color: #f5b301 !important;
}
.np-rtl-rating-stars button.is-hover,
.np-rtl-rating-stars button.is-active {
    color: #f5b301 !important;
}


.single-product #tab-reviews .comment-form-rating {
    text-align: right !important;
    margin-bottom: 10px !important;
    margin-top: 25px !important;
}
.single-product #tab-reviews p.stars {
    justify-content: right !important;
}

.single-product #tab-reviews form.comment-form label {
    text-align: right !important
}


