/**
 * تنسيقات صفحة المنتج المفرد — تظبيطات خفيفة فوق ماركب الثيم.
 */

/* فورم الإضافة للسلة جوه عمود الاختيارات بنفس مسافات التصميم */
.tf-product-info-choose-option form.cart {
  display: flex;
  flex-direction: column;
  gap: 19px;
}

/* إخفاء أسهم حقل الكمية الرقمي عشان شكل wg-quantity */
.wg-quantity input.quantity-product::-webkit-outer-spin-button,
.wg-quantity input.quantity-product::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.wg-quantity input.quantity-product {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* زرار الإضافة كزر submit بنفس شكل tf-btn */
.tf-product-info-by-btn button.single_add_to_cart_button {
  border: 0;
  cursor: pointer;
}

/* السعر داخل العنوان بدون فواصل سطرية غريبة */
.tf-product-info-price .price-on-sale .woocommerce-Price-amount,
.tf-product-info-price .compare-at-price .woocommerce-Price-amount {
  font: inherit;
  color: inherit;
}

.tf-product-info-price .price-on-sale del {
  margin-inline-start: 8px;
  color: var(--secondary-2, #8a8a8a);
  font-size: 0.75em;
}

.tf-product-info-price .price-on-sale ins {
  text-decoration: none;
}

/* أيقونات الدفع */
.tf-product-info-guranteed .tf-payment span img {
  height: 26px;
  width: auto;
}

/* رسالة المخزون بتاعة ووكومرس */
form.cart ~ .stock,
.tf-product-info-choose-option .stock {
  margin: 0;
  font-size: 14px;
}

/* منطقة التقييمات (ماركب ووكومرس الافتراضي) جوه تاب الثيم */
.widget-content-inner .woocommerce-Reviews {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.widget-content-inner .woocommerce-Reviews .commentlist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget-content-inner .woocommerce-Reviews .commentlist li {
  margin-bottom: 24px;
}

.widget-content-inner .woocommerce-Reviews .commentlist .comment_container {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.widget-content-inner .woocommerce-Reviews .commentlist img.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  position: static;
  padding: 0;
  border: 0;
}

.widget-content-inner .woocommerce-Reviews .commentlist .comment-text {
  flex-grow: 1;
  margin: 0;
  border: 1px solid var(--line, #ebebeb);
  border-radius: 12px;
  padding: 16px 20px;
}

.widget-content-inner .woocommerce-Reviews #review_form_wrapper {
  border-top: 1px solid var(--line, #ebebeb);
  padding-top: 32px;
}

.widget-content-inner .woocommerce-Reviews .comment-form input[type="text"],
.widget-content-inner .woocommerce-Reviews .comment-form input[type="email"],
.widget-content-inner .woocommerce-Reviews .comment-form textarea {
  width: 100%;
  border: 1px solid var(--line, #ebebeb);
  border-radius: 8px;
  padding: 12px 16px;
}

.widget-content-inner .woocommerce-Reviews .comment-form .form-submit input.submit {
  background-color: var(--main, #282b57);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 12px 32px;
  cursor: pointer;
}
