.product-single,
.product-single_inner,
.product-single_info {
  /* بس عشان نضمن إننا داخل صفحة المنتج */
}

.product-single salla-rating-stars,
.product-single .s-rating-stars-wrapper,
.product-single .s-rating-stars-wrapper *,

.product-single_inner salla-rating-stars,
.product-single_inner .s-rating-stars-wrapper,
.product-single_inner .s-rating-stars-wrapper *,

.product-single_info salla-rating-stars,
.product-single_info .s-rating-stars-wrapper,
.product-single_info .s-rating-stars-wrapper * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* إظهار النجوم فقط داخل مودال تقييم الطلب */
.s-rating-modal-stars-company salla-rating-stars,
.s-rating-modal-stars-company .s-rating-stars-wrapper,
.s-rating-modal-stars-company .s-rating-stars-wrapper * {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* (اختياري) اخفاء ملخص التقييمات */
.s-reviews-summary-wrapper {
  display: none !important;
}

/*------اراء العملاء عند التفيضات ------------*/
.s-block.s-block--testimonials.overflow-hidden.relative {
  display: none;
}
/*-----للفاصل-----*/

.enhanced-title-border {
  display: none;
}

/*---------------------للنجوم--------------*/
/* أنماط النجوم */
.product-rating {
  display: flex;
  align-items: center;
}

.stars {
  display: flex;
}

.star {
  font-size: 2em;
  color: #fbbf24;
  margin-right: 5px;
}

.rating-count {
  font-size: 1.3em;
  color: #000;
  margin-right: 10px;
}

@media (max-width: 460px) {
  .rating-count {
    font-size: 1rem;
  }

  .star {
    font-size: 1.5em;
    color: #fbbf24;
    margin-right: 5px;
  }
}

/*-------------------لعلامة الواتس ------------------*/
.wa-selia {
  width: 50px;
  height: 50px;
  background-color: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: sm-shake 2s infinite, waves-whatsapp 3s linear infinite;
  transition: background-color 0.2s;
}

@keyframes sm-shake {
  0% { transform: rotate(0) scale(1) skew(0.017rad); }
  25% { transform: rotate(0) scale(1) skew(0.017rad); }
  35% { transform: rotate(-0.3rad) scale(1) skew(0.017rad); }
  45% { transform: rotate(0.3rad) scale(1) skew(0.017rad); }
  55% { transform: rotate(-0.3rad) scale(1) skew(0.017rad); }
  65% { transform: rotate(0.3rad) scale(1) skew(0.017rad); }
  75% { transform: rotate(0) scale(1) skew(0.017rad); }
  100% { transform: rotate(0) scale(1) skew(0.017rad); }
}

@keyframes waves-whatsapp {
  0% {
    box-shadow: 0 8px 10px rgba(34, 197, 94, 0.3), 0 0 0 0 rgba(34, 197, 94, 0.2), 0 0 0 0 rgba(34, 197, 94, 0.2);
  }
  40% {
    box-shadow: 0 8px 10px rgba(34, 197, 94, 0.3), 0 0 0 35px rgba(34, 197, 94, 0.2), 0 0 0 0 rgba(34, 197, 94, 0.2);
  }
  80% {
    box-shadow: 0 8px 10px rgba(34, 197, 94, 0.3), 0 0 0 55px rgba(34, 197, 94, 0), 0 0 0 26.7px rgba(34, 197, 94, 0.067);
  }
  100% {
    box-shadow: 0 8px 10px rgba(34, 197, 94, 0.3), 0 0 0 80px rgba(34, 197, 94, 0), 0 0 0 40px rgba(34, 197, 94, 0);
  }
}

/*---------------لبطاقة المنتج------------------*/
.product-card--primary-buttons button {
  background-color: #000;
  color: #fff !important;
  border-color: #000 !important;
  border-radius: 10px;
  border: none;
}

.product-card--primary-buttons button i.sicon-shopping {
  color: #fff !important;
}

.product-card--primary-buttons button:hover {
  background-color: #2f2f2f;
  color: #fff !important;
}

.product-card--primary-buttons button:hover i.sicon-shopping {
  color: #fff !important;
}

.s-button-outline {
  border-radius: 10px;
  border: 2px solid #000;
}

/*------------ اراء العملاء - ثيم أسود ------------*/
:root {
  --black-900: #0b0b0b;
  --black-800: #121212;
  --black-700: #1a1a1a;
  --black-600: #222222;
  --text-main: #ffffff;
  --text-muted: #b3b3b3;
  --gold: #d4af37;
  --gold-soft: #e5c766;
}

/* كرت التقييم */
.shadow-\[rgba\(50\2c _50\2c _105\2c _0\.15\)_0px_2px_5px_0px\2c _rgba\(0\2c _0\2c _0\2c _0\.05\)_0px_1px_1px_0px\] {
  background: linear-gradient(180deg, var(--black-800), var(--black-700));
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
}

/* نصوص داخل الريفيو */
.review .text-store-text-primary,
.review .text-store-text-primary p,
.review .text-store-text-primary * {
  color: var(--text-main) !important;
}

/* اسم العميل */
.review .customer-name {
  color: var(--gold);
  font-weight: 600;
}

/* النجوم */
.review .rating,
.review .star {
  color: var(--gold-soft);
}

/* النص الثانوي */
.review small,
.review .text-muted {
  color: var(--text-muted);
}

/*----------------اشعارات----------------------*/
.notification {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 300px;
  padding: 10px;
  background-color: #dddada;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
}

.notification img {
  width: 60px;
  height: 60px;
  border-radius: 4px;
}

.notification .content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.notification .title {
  font-size: 16px;
  font-weight: bold;
  color: #000;
}

.notification .time,
.notification .footer {
  font-size: 14px;
  color: #666;
}

.notification .close-btn {
  background: none;
  border: none;
  font-size: 30px;
  color: #333;
  cursor: pointer;
  margin-left: auto;
  top: 1px;
  right: 5px;
}

.notification .close-btn:hover {
  color: #dc2626;
}

/* اختصار أسماء خياري الحفر بصريًا */
.product-form
.thrb-engraving-options
.s-product-options-grid-mode-span {
  background-color: #ffffff !important;
  color: #000000 !important;
  border: 2px solid #000000 !important;
  border-radius: 8px !important;
  padding: 12px 18px !important;
  font-weight: 700 !important;
}

.product-form
.thrb-option-yes
.s-product-options-grid-mode-span,
.product-form
.thrb-option-no
.s-product-options-grid-mode-span {
  font-size: 0 !important;
}

.product-form
.thrb-option-yes
.s-product-options-grid-mode-span::after {
  content: "حفر الاسم";
  font-size: 14px;
}

.product-form
.thrb-option-no
.s-product-options-grid-mode-span::after {
  content: "بدون حفر الاسم";
  font-size: 14px;
}

/* الخيار المحدد */
.product-form
.thrb-engraving-options
input[type="radio"]:checked
+ .s-product-options-grid-mode-span {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
}

/* إلغاء الإطار الخارجي بالكامل */
.product-form .thrb-engraving-section {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* إخفاء المنطقة عند اختيار بدون حفر */
.product-form .thrb-engraving-section[hidden] {
  display: none !important;
}

/* إخفاء عنوان المرفقات وزر إضافة ملاحظة */
.product-form .thrb-engraving-section .form-label,
.product-form
.thrb-engraving-section
button[data-show^="note_"] {
  display: none !important;
}

/* إلغاء الفراغ الذي كان مخصصًا لزر الملاحظة */
.product-form
.thrb-engraving-section
.flex.rtl\:space-x-reverse {
  display: none !important;
}

/* إظهار بوكس الاسم مباشرة */
.product-form
.thrb-engraving-section
[id^="note_"] {
  height: auto !important;
  opacity: 1 !important;
  overflow: visible !important;
}

.product-form
.thrb-engraving-section
[id^="note_"]
.pt-4 {
  padding-top: 0 !important;
}

/* تعليمات الاسم والعداد */
.product-form .thrb-engraving-hint {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #000000 !important;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.product-form .thrb-engraving-counter {
  color: #000000 !important;
  white-space: nowrap;
}

/* بوكس الاسم فقط */
.product-form
.thrb-engraving-section
textarea[name="notes"] {
  display: block !important;
  width: 100% !important;
  height: 72px !important;
  min-height: 72px !important;
  background-color: #ffffff !important;
  color: #000000 !important;
  border: 2px solid #000000 !important;
  border-radius: 8px !important;
  padding: 14px !important;
  box-shadow: none !important;
}

.product-form
.thrb-engraving-section
textarea[name="notes"]::placeholder {
  color: #555555 !important;
  opacity: 1 !important;
}

.product-form
.thrb-engraving-section
textarea[name="notes"]:focus {
  border-color: #000000 !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12) !important;
  outline: none !important;
}

/* إخفاء السعر السفلي في منتجات الحفر فقط */
form.product-form[data-thrb-price-fix-v6="true"]
.product-price-bottom {
  display: none !important;
}
/* الفنجان الأخضر */
#product-728747501 .s-rating-stars-btn-star svg,
#product-728747501 .s-rating-stars-btn-star svg path {
  fill: #fbbf24 !important;
  color: #fbbf24 !important;
  opacity: 1 !important;
}

/* شنطة إصدار النمر */
#product-1550389516 .s-rating-stars-btn-star svg,
#product-1550389516 .s-rating-stars-btn-star svg path {
  fill: #fbbf24 !important;
  color: #fbbf24 !important;
  opacity: 1 !important;
}