.elementor-widget-jw-iconsax {
  margin-top: 11px;
}
.woocommerce div.product form.cart {
  margin-bottom: 0;
}
.jw-price-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.jw-widget-wrapper {
  display: block;
  width: 100%;
}
.jw-product-price-wrapper.jw-price-stacked {
  display: flex;
  flex-direction: column-reverse;
}
.jw-final-price {
  position: relative;
  top: 0px;
}
/* تراز محتوا */
.jw-widget-wrapper[style*="text-align: left"] {
  text-align: left !important;
}

.jw-widget-wrapper[style*="text-align: center"] {
  text-align: center !important;
}

.jw-widget-wrapper[style*="text-align: right"] {
  text-align: right !important;
}

.jw-widget-wrapper[style*="text-align: justify"] {
  text-align: justify !important;
}

/* استایل‌های ویجت افزودن به سبد خرید */
.jw-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.3s ease;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  padding: 12px 24px;
  border-radius: 6px;
  background: #007cba;
  color: #fff;
  min-width: 120px;
  position: relative;
  overflow: hidden;
}

.jw-button:hover {
  background: #005a87;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.jw-button:active {
  transform: translateY(0);
}

.jw-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.jw-button-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.jw-button-text {
  display: inline-block;
}

/* طرح‌های مختلف */
.jw-add-to-cart--layout- {
  display: inline-block;
}

.jw-add-to-cart--layout-stacked {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.jw-add-to-cart--layout-stacked .jw-button {
  width: 100%;
  justify-content: center;
}

.jw-add-to-cart--layout-auto {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* ترازهای مختلف */
.jw-add-to-cart--align-left {
  text-align: left;
}

.jw-add-to-cart--align-center {
  text-align: center;
}

.jw-add-to-cart--align-right {
  text-align: right;
}

.jw-add-to-cart--align-justify .jw-button {
  width: 100%;
}

/* تراز برای حالت نمایش تعداد */
.jw-add-to-cart--align-left form.cart,
.jw-add-to-cart--align-left .jw-form-wrapper {
  text-align: left;
}

.jw-add-to-cart--align-center form.cart,
.jw-add-to-cart--align-center .jw-form-wrapper {
  text-align: center;
}

.jw-add-to-cart--align-right form.cart,
.jw-add-to-cart--align-right .jw-form-wrapper {
  text-align: right;
}

.jw-add-to-cart--align-justify form.cart,
.jw-add-to-cart--align-justify .jw-form-wrapper {
  width: 100%;
}

.jw-add-to-cart--align-justify form.cart .single_add_to_cart_button,
.jw-add-to-cart--align-justify .jw-form-wrapper .single_add_to_cart_button {
  width: 100%;
}

/* تراز برای حالت نمایش تعداد در طرح انباشته */
.jw-add-to-cart--layout-stacked.jw-add-to-cart--align-left .jw-form-wrapper {
  align-self: flex-start;
}

.jw-add-to-cart--layout-stacked.jw-add-to-cart--align-center .jw-form-wrapper {
  align-self: center;
}

.jw-add-to-cart--layout-stacked.jw-add-to-cart--align-right .jw-form-wrapper {
  align-self: flex-end;
}

.jw-add-to-cart--layout-stacked.jw-add-to-cart--align-justify .jw-form-wrapper {
  align-self: stretch;
  width: 100%;
}

/* بهبود تراز برای فرم‌های ووکامرس */
.jw-form-wrapper {
  display: block;
  width: 100%;
}
.jw-add-to-cart--layout-stacked form.cart {
  display: inline-block !important;
  width: auto;
}
.jw-form-wrapper form.cart {
  display: inline-flex;
  width: auto;
  vertical-align: middle;
}
.jw-add-to-cart--align-justify .jw-form-wrapper form.cart {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
}

/* ترازبندی برای جلوگیری از خرید مجدد */

.jw-add-to-cart--layout-stacked.jw-add-to-cart--align-left {
  text-align: left;
  margin-left: auto;
}
.jw-add-to-cart--layout-stacked.jw-add-to-cart--align-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.jw-add-to-cart--layout-stacked.jw-add-to-cart--align-right {
  text-align: right;
  margin-right: auto;
}
.jw-add-to-cart--align-left .jw-purchased-text {
  text-align: left;
}
.jw-add-to-cart--align-center .jw-purchased-text {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.jw-add-to-cart--align-right .jw-purchased-text {
  text-align: right;
  margin-left: auto;
}

.jw-add-to-cart--align-justify .jw-purchased-text {
  width: 100%;
  text-align: center;
}

/* سایزهای مختلف دکمه */
.jw-size-xs .jw-button {
  padding: 6px 12px;
  font-size: 12px;
  min-width: 80px;
}

.jw-size-sm .jw-button {
  padding: 8px 16px;
  font-size: 13px;
  min-width: 100px;
}

.jw-size-md .jw-button {
  padding: 12px 24px;
  font-size: 14px;
  min-width: 120px;
}

.jw-size-lg .jw-button {
  padding: 16px 32px;
  font-size: 16px;
  min-width: 140px;
}

.jw-size-xl .jw-button {
  padding: 20px 40px;
  font-size: 18px;
  min-width: 160px;
}

/* انیمیشن‌های هاور */
.elementor-animation-grow .jw-button:hover {
  transform: scale(1.05);
}

.elementor-animation-shrink .jw-button:hover {
  transform: scale(0.95);
}

.elementor-animation-pulse .jw-button:hover {
  animation: pulse 1s infinite;
}

.elementor-animation-pulse-grow .jw-button:hover {
  animation: pulse-grow 1s infinite;
}

.elementor-animation-pulse-shrink .jw-button:hover {
  animation: pulse-shrink 1s infinite;
}

.elementor-animation-push .jw-button:hover {
  transform: translateY(-3px);
}

.elementor-animation-pop .jw-button:hover {
  transform: translateY(-3px) scale(1.05);
}

.elementor-animation-bounce-in .jw-button:hover {
  animation: bounce-in 0.6s;
}

.elementor-animation-bounce-out .jw-button:hover {
  animation: bounce-out 0.6s;
}

.elementor-animation-rotate .jw-button:hover {
  transform: rotate(5deg);
}

.elementor-animation-grow-rotate .jw-button:hover {
  transform: rotate(5deg) scale(1.05);
}

.elementor-animation-float .jw-button:hover {
  transform: translateY(-3px);
}

.elementor-animation-sink .jw-button:hover {
  transform: translateY(3px);
}

.elementor-animation-bob .jw-button:hover {
  animation: bob 1s infinite;
}

.elementor-animation-hang .jw-button:hover {
  animation: hang 1s infinite;
}

.elementor-animation-skew .jw-button:hover {
  transform: skew(-5deg);
}

.elementor-animation-skew-forward .jw-button:hover {
  transform: skew(-5deg) scale(1.05);
}

.elementor-animation-skew-backward .jw-button:hover {
  transform: skew(5deg) scale(0.95);
}

.elementor-animation-wobble-vertical .jw-button:hover {
  animation: wobble-vertical 1s infinite;
}

.elementor-animation-wobble-horizontal .jw-button:hover {
  animation: wobble-horizontal 1s infinite;
}

.elementor-animation-wobble-to-bottom-right .jw-button:hover {
  animation: wobble-to-bottom-right 1s infinite;
}

.elementor-animation-wobble-to-top-right .jw-button:hover {
  animation: wobble-to-top-right 1s infinite;
}

.elementor-animation-wobble-top .jw-button:hover {
  animation: wobble-top 1s infinite;
}

.elementor-animation-wobble-bottom .jw-button:hover {
  animation: wobble-bottom 1s infinite;
}

.elementor-animation-wobble-skew .jw-button:hover {
  animation: wobble-skew 1s infinite;
}

.elementor-animation-buzz .jw-button:hover {
  animation: buzz 0.3s infinite;
}

.elementor-animation-buzz-out .jw-button:hover {
  animation: buzz-out 0.3s infinite;
}

/* انیمیشن‌های کلیدی */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes pulse-grow {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes pulse-shrink {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes bounce-in {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes bounce-out {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(0.95);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(0.3);
    opacity: 0;
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes hang {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

@keyframes wobble-vertical {
  0%,
  100% {
    transform: translateY(0);
  }
  15% {
    transform: translateY(-10px) rotate(5deg);
  }
  30% {
    transform: translateY(5px) rotate(-3deg);
  }
  45% {
    transform: translateY(-5px) rotate(3deg);
  }
  60% {
    transform: translateY(3px) rotate(-1deg);
  }
  75% {
    transform: translateY(-2px) rotate(1deg);
  }
}

@keyframes wobble-horizontal {
  0%,
  100% {
    transform: translateX(0);
  }
  15% {
    transform: translateX(-10px) rotate(5deg);
  }
  30% {
    transform: translateX(5px) rotate(-3deg);
  }
  45% {
    transform: translateX(-5px) rotate(3deg);
  }
  60% {
    transform: translateX(3px) rotate(-1deg);
  }
  75% {
    transform: translateX(-2px) rotate(1deg);
  }
}

@keyframes wobble-to-bottom-right {
  0%,
  100% {
    transform: translate(0, 0);
  }
  15% {
    transform: translate(10px, 10px) rotate(5deg);
  }
  30% {
    transform: translate(-5px, 5px) rotate(-3deg);
  }
  45% {
    transform: translate(5px, -5px) rotate(3deg);
  }
  60% {
    transform: translate(-3px, 3px) rotate(-1deg);
  }
  75% {
    transform: translate(2px, -2px) rotate(1deg);
  }
}

@keyframes wobble-to-top-right {
  0%,
  100% {
    transform: translate(0, 0);
  }
  15% {
    transform: translate(10px, -10px) rotate(5deg);
  }
  30% {
    transform: translate(-5px, -5px) rotate(-3deg);
  }
  45% {
    transform: translate(5px, 5px) rotate(3deg);
  }
  60% {
    transform: translate(-3px, -3px) rotate(-1deg);
  }
  75% {
    transform: translate(2px, 2px) rotate(1deg);
  }
}

@keyframes wobble-top {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  15% {
    transform: translateY(-10px) rotate(5deg);
  }
  30% {
    transform: translateY(-5px) rotate(-3deg);
  }
  45% {
    transform: translateY(-5px) rotate(3deg);
  }
  60% {
    transform: translateY(-3px) rotate(-1deg);
  }
  75% {
    transform: translateY(-2px) rotate(1deg);
  }
}

@keyframes wobble-bottom {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  15% {
    transform: translateY(10px) rotate(5deg);
  }
  30% {
    transform: translateY(5px) rotate(-3deg);
  }
  45% {
    transform: translateY(5px) rotate(3deg);
  }
  60% {
    transform: translateY(3px) rotate(-1deg);
  }
  75% {
    transform: translateY(2px) rotate(1deg);
  }
}

@keyframes wobble-skew {
  0%,
  100% {
    transform: skew(0deg, 0deg);
  }
  15% {
    transform: skew(5deg, 5deg);
  }
  30% {
    transform: skew(-3deg, -3deg);
  }
  45% {
    transform: skew(3deg, 3deg);
  }
  60% {
    transform: skew(-1deg, -1deg);
  }
  75% {
    transform: skew(1deg, 1deg);
  }
}

@keyframes buzz {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-2px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(2px);
  }
}

@keyframes buzz-out {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(2px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(-2px);
  }
}

/* استایل متن خریده شده */
.jw-purchased-text {
  display: inline-block;
  padding: 12px 24px;
  background: #f8f9fa;
  color: #6c757d;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
}

.jw-purchased-text:hover {
  background: #e9ecef;
  border-color: #adb5bd;
}

/* استایل خطا */
.jw-error {
  color: #721c24;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  padding: 10px;
  border-radius: 4px;
  margin: 10px 0;
}

/* رفع مشکل ووکامرس */
.woocommerce div.product form.cart::after,
.woocommerce div.product form.cart::before {
  content: " ";
  display: table;
}

.woocommerce div.product form.cart::after {
  clear: both;
}

/* استایل‌های responsive */
@media (max-width: 768px) {
  .jw-add-to-cart--layout-auto {
    flex-direction: column;
    align-items: stretch;
  }

  .jw-button {
    width: 100%;
    justify-content: center;
  }

  .jw-size-xs .jw-button,
  .jw-size-sm .jw-button,
  .jw-size-md .jw-button,
  .jw-size-lg .jw-button,
  .jw-size-xl .jw-button {
    width: 100%;
  }

  .jw-add-to-cart--layout-stacked {
    align-items: stretch;
  }

  .jw-purchased-text {
    width: 100%;
    text-align: center;
  }
}

/* استایل زیباسازی کنترل تعداد */
.quantity {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border-radius: 50px;
  padding: 0;
  margin: 0 4px;
}
.quantity .plus:hover,
.quantity .minus:hover {
  filter: brightness(1.1);
}

.single-product .woocommerce-variation-price {
  display: none !important;
}

.jw-product-price-wrapper .jw-sale-price.price,
.jw-product-price-wrapper .jw-sale-price.woocommerce-Price-amount {
  font-size: 1.3em;
  font-weight: bold;
  color: #222;
  display: inline-block;
  /* margin-left: 0.5em; */
}
.jw-product-price-wrapper .jw-regular-price.price,
.jw-product-price-wrapper .jw-regular-price.woocommerce-Price-amount {
  color: #888;
  text-decoration: line-through;
  font-size: 1em;
  display: inline-block;
  margin-left: 0.5em;
}

/* Enhanced Add to Cart Widget Styles */

.jw-widget-wrapper {
  font-family: "IRANSans", sans-serif;
  direction: rtl;
}

/* Price Styles */
.jw-price {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  text-align: right;
  margin-bottom: 15px;
}

/* Size Selector Styles */
.jw-size-selector {
  margin-bottom: 20px;
}

.jw-size-label {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
  text-align: right;
}

.jw-size-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.jw-size-button {
  padding: 8px 16px;
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  min-width: 60px;
  text-align: center;
  position: relative;
}

.jw-size-button:hover {
  border-color: #007cba;
}

.jw-size-button.jw-selected {
  border-color: #000;
  background: #fff;
  color: #000;
  font-weight: bold;
}

.jw-size-button.jw-unavailable {
  background: #f5f5f5;
  color: #999;
  cursor: not-allowed;
  position: relative;
}

.jw-size-button.jw-unavailable .jw-strikethrough {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: #ff0000;
  transform: translateY(-50%);
}

/* Color Selector Styles */
.jw-color-selector {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.jw-color-label {
  font-size: 14px;
  color: #666;
}

.jw-color-text {
  font-size: 12px;
  color: #999;
}

.jw-color-swatches {
  display: flex;
  gap: 8px;
}

.jw-color-swatch {
  width: 30px;
  height: 30px;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.jw-color-swatch:hover {
  border-color: #007cba;
}

.jw-color-swatch.jw-selected {
  border-color: #000;
  border-width: 2px;
}

.jw-color-swatch.jw-unavailable {
  opacity: 0.5;
  cursor: not-allowed;
}

.jw-checkmark {
  color: #000;
  font-weight: bold;
  font-size: 16px;
}

.jw-cross {
  color: #ff0000;
  font-weight: bold;
  font-size: 16px;
}
.jw-enhanced-cart-section {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: flex-end;
}

.jw-main-button-wrapper {
  flex: 1;
}
.jw-enhanced-button {
  display: inline-block;
  background: #ff0000;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(255, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  width: 100%;
}
.jw-enhanced-button:hover {
  background: #e60000;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
}
.jw-cart-widget {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8f9fa;
  padding: 8px 12px;
  border-radius: 8px;
  min-width: 120px;
}
.jw-cart-icon {
  font-size: 16px;
  cursor: pointer;
  transition: color 0.3s ease;
}
.jw-cart-icon:hover {
  color: #ff0000;
}
.jw-cart-quantity-wrapper {
  text-align: center;
  flex: 1;
}
.jw-cart-quantity {
  font-size: 18px;
  font-weight: bold;
  color: #ff0000;
  line-height: 1;
}
.jw-cart-text {
  font-size: 10px;
  color: #666;
  margin-top: 2px;
}
@media (max-width: 768px) {
  .jw-enhanced-cart-section {
    flex-direction: column;
    gap: 10px;
  }

  .jw-cart-widget {
    width: 100%;
    justify-content: center;
  }

  .jw-size-buttons {
    flex-wrap: wrap;
  }

  .jw-color-selector {
    flex-wrap: wrap;
  }
}
.jw-enhanced-button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.jw-enhanced-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(255, 0, 0, 0.3);
}
.jw-size-button:focus,
.jw-color-swatch:focus,
.jw-enhanced-button:focus {
  outline: 2px solid #007cba;
  outline-offset: 2px;
}
.woocommerce div.product form.cart div.quantity {
  margin: 0 0 0 10px !important;
  display: flex;
  flex-direction: row-reverse;
}
.quantity button svg {
  fill: #000000 !important;
  width: 18px;
  height: 18px;
}
button.plus,
button.minus {
  display: flex;
}
span.jw-iconsax-icon.iconsax {
  display: flex;
  justify-content: center;
  align-items: center;
}
.elementor-widget-jw-iconsax {
  margin-top: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
  overflow: visible !important;
}
.woocommerce div.product.elementor ul.tabs {
  margin: 0 0 1.618em !important;
}
ul.tabs.wc-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before {
  border-bottom: 0 !important;
}
ul.tabs.wc-tabs li {
  border: 0 !important;
  border-radius: 25px !important;
  margin-right: 20px !important;
  line-height: 16px;
  transition: all 0.3s ease-out;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}
.woocommerce div.product.elementor .woocommerce-tabs .panel {
  border-top: 0;
}
.elementor-widget-JW_product_tabs .woocommerce-Tabs-panel h2:first-child {
  display: none;
}
.woocommerce-product-attributes {
  margin: 0;
  padding: 0;
}
/* استایل‌های جدید برای نمایش افقی */
.woocommerce-product-attributes__item-horizontal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  margin-bottom: 8px;
  transition: background-color 0.3s ease;
}
.woocommerce-product-attributes__label-horizontal {
  font-weight: 600;
  color: #333;
  margin-left: 8px;
  background-color: #f8f9fa;
  padding: 8px 12px;
  border-radius: 6px;
  display: inline-block;
}
.woocommerce-product-attributes__value-horizontal {
  color: #666;
  text-align: right;
  flex: 1;
  background-color: #ffffff;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #e9ecef;
  margin-right: 8px;
}
.woocommerce-product-attributes__table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.woocommerce-product-attributes__item {
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.3s ease;
}
.woocommerce-product-attributes__item:last-child {
  border-bottom: none;
}
.woocommerce-product-attributes__item:hover {
  background-color: #f8f9fa;
}
.woocommerce-product-attributes__label {
  font-weight: 600;
  color: #333;
  background-color: #f8f9fa;
  padding: 12px 16px;
  text-align: right;
  width: 30%;
  vertical-align: top;
  border-right: 1px solid #e9ecef;
}
.woocommerce-product-attributes__value {
  padding: 12px 16px;
  color: #666;
  text-align: right;
  width: 70%;
  vertical-align: top;
}
.rtl .woocommerce-product-attributes__label {
  text-align: right;
}
.rtl .woocommerce-product-attributes__value {
  text-align: right;
}
.ltr .woocommerce-product-attributes__label {
  text-align: left;
}
.ltr .woocommerce-product-attributes__value {
  text-align: left;
}
span.woocommerce-product-attributes__label-horizontal {
  width: 15%;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  padding: 0 !important;
}
/* استایل برای موبایل */
@media (max-width: 768px) {
  .woocommerce-product-attributes__table {
    font-size: 14px;
  }
  span.woocommerce-product-attributes__label-horizontal {
    width: 30%;
  }
  .woocommerce-product-attributes__label,
  .woocommerce-product-attributes__value {
    padding: 8px 12px;
  }

  .woocommerce-product-attributes__item-horizontal {
    padding: 8px 12px;
    font-size: 14px;
  }
  .woocommerce-tabs ul.wc-tabs li a {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: visible !important;
  }
  ul.tabs.wc-tabs li {
    border: 0 !important;
    border-radius: 25px !important;
    margin-right: 10px !important;
    line-height: 16px;
    transition: all 0.3s ease-out;
  }
}

/* Slick Slider Styles */
.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.slick-list {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.slick-list:focus {
  outline: none;
}

.slick-list.dragging {
  cursor: pointer;
  cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.slick-track {
  position: relative;
  top: 0;
  left: 0;
  display: flex;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.3s ease;
}

.slick-track:before,
.slick-track:after {
  display: table;
  content: "";
}

.slick-track:after {
  clear: both;
}

.slick-loading .slick-track {
  visibility: hidden;
}

.slick-slide {
  display: none;
  flex: 0 0 auto;
  height: 100%;
  min-height: 1px;
}

[dir="rtl"] .slick-slide {
  float: right;
}

.slick-slide img {
  display: block;
}

.slick-slide.slick-loading img {
  display: none;
}

.slick-slide.dragging img {
  pointer-events: none;
}

.slick-initialized .slick-slide {
  display: flex;
  flex-direction: column;
}

.slick-loading .slick-slide {
  visibility: hidden;
}

.slick-vertical .slick-slide {
  display: block;
  height: auto;
  border: 1px solid transparent;
}

.slick-arrow.slick-hidden {
  display: none;
}

/* Custom Slick Dots */
.slick-dots {
  display: flex !important;
  justify-content: center;
  list-style: none;
  margin: 20px 0 0 0;
  padding: 0;
  gap: 8px;
}

.slick-dots li {
  margin: 0;
}

.slick-dots li button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #e0e0e0;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 0;
  padding: 0;
}

.slick-dots li.slick-active button {
  background: #ff4444;
}

/* Custom Slick Arrows */
.slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  font-size: 18px;
  color: #333;
}

.slick-arrow:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

.slick-prev {
  left: -20px;
}

.slick-next {
  right: -20px;
}
span.swiper-pagination-bullet {
  width: 15px !important;
  border-radius: 5px !important;
  transition: 0.3s ease;
}
span.swiper-pagination-bullet-active {
  width: 24px !important;
}
.jw-button.add_to_cart_button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  vertical-align: middle;
  transition: none !important;
}
.jw-button,.jw-button:hover,.jw-button:focus,.jw-button:active {
  transform: none !important;
  top: 0 !important;
  box-shadow: none;
  transition: none !important;
  outline: none !important;
  border: none !important;
}
/* Responsive */
@media (max-width: 768px) {
  .slick-arrow {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .slick-prev {
    left: -15px;
  }

  .slick-next {
    right: -15px;
  }
}
i.woosw-btn-icon.woosw-icon-5 {
  margin-bottom: -2px !important;
}
button.woosw-btn.woosw-btn-67.woosw-btn-has-icon.woosw-btn-icon-only {
  display: inline-flex;
  align-items: flex-end !important;
}
.jamilweb-wishlist-btn svg {
  position: relative !important;
  top: 1px !important;
}
li.button-variable-item.selected {
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  color: #00000000;
}
li.variable-item.button-variable-item {
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}
