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

/* فورم الإضافة للسلة جوه عمود الاختيارات بنفس مسافات التصميم */
.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;
}

/* ---------- فيديو المنتج في الجاليري ---------- */
.nestly-video-frame {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: inherit;
  overflow: hidden;
}

.nestly-video-frame video,
.nestly-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
}

/* زرار الزوم للصور بس — مش على شريحة الفيديو */
#gallery-swiper-started.is-video-active .nestly-zoom-btn {
  display: none;
}

.nestly-thumb-video {
  position: relative;
}

.nestly-play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.nestly-play-badge i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 24, 24, 0.65);
  color: #fff;
  font-size: 13px;
  padding-inline-start: 2px;
}
