/* ===== إخفاء SKU ===== */
.product-sku,
.sku-code,
[class*="sku"] {
  display: none !important;
}

/* ===== رقم التليفون: اتجاه صحيح (+ في الأول) ===== */
a[href^="tel:"],
.contact-info a[href^="tel:"] {
  direction: ltr;
  unicode-bidi: plaintext;
  display: inline-block;
}
span.flex.flex-col > span.text-base.leading-6 {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  display: inline-block !important;
  text-align: right;
}

/* ===== أيقونة X ===== */
a[href*="twitter.com"] i,
a[href*="x.com"] i,
a[href*="twitter.com"] svg,
a[href*="x.com"] svg {
  display: none !important;
}
a[href*="twitter.com"],
a[href*="x.com"] {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 50% 50% !important;
}

/* ===== النقط والترقيم في وصف المنتج ===== */
div.p-3 > ul {
  list-style-type: disc !important;
  padding-inline-start: 1.5rem !important;
}
div.p-3 > ol {
  list-style-type: decimal !important;
  padding-inline-start: 1.5rem !important;
}

/* ===== لون عناوين الوصف ===== */
div.p-3 h1,
div.p-3 h2,
div.p-3 h3,
div.p-3 h4 {
  color: #1a667a !important;
}

/* ===== مسافات الوصف (فقرات فاضية وهوامش) ===== */
div.p-3 p:empty,
div.p-3 p:has(> br:only-child),
div.p-3 br + br {
  display: none !important;
}
div.p-3 h1,
div.p-3 h2,
div.p-3 h3,
div.p-3 h4 {
  margin-top: 1rem !important;
  margin-bottom: 0.5rem !important;
}
div.p-3 p {
  margin-top: 0.4rem !important;
  margin-bottom: 0.4rem !important;
}

/* ===== زرار السهم وزرار المكافآت ===== */
.scroll-to-top {
  bottom: 90px !important;
  right: 20px !important;
}
.loyalty_button_footer {
  bottom: 20px !important;
}

/* ===== صفوف التواصل في الفوتر (تليفون / واتس / إيميل) ===== */
footer ul li.flex.items-center.gap-x-3 {
  justify-content: flex-start !important;
}
footer ul:has(li[data-wa-contact]) {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}
footer ul:has(li[data-wa-contact]) > li {
  width: 260px !important;
  max-width: 90% !important;
  justify-content: flex-start !important;
}
/* ===== صور معرض المنتج: الصورة تدخل جوه الإطار كلها ===== */
.slick-slide img {
  object-fit: contain !important;
  object-position: center !important;
  background: #fff !important;
}
/* إجبار رقم الهاتف والبريد الإلكتروني على العرض من اليسار لليمين */
.footer a[href^="tel"], 
.footer a[href^="mailto"],
[class*="phone"], 
[class*="contact"] {
  direction: ltr !important;
  unicode-bidi: embed !important;
  display: inline-block !important;
}
/* إخفاء قيم الوزن المكررة في صفحة المنتج على زد */
.product-weight > *:nth-child(n+2), 
[class*="weight"] > *:nth-child(n+2), 
.product-details-weight > span:nth-child(2) { 
  display: none !important; 
}
div[data-wa-contact] {
  display: none !important;
}
/* رقم التليفون في قايمة الموبايل: الأيقونة على اليمين زي باقي الصفوف */
a[href^="tel:"].flex.items-center {
  direction: rtl !important;
  display: flex !important;
}
a[href^="tel:"].flex.items-center > :last-child {
  direction: ltr !important;
  unicode-bidi: isolate !important;
}
/* ===== إخفاء أزرار مشاركة المنتج (كلها) ===== */
div:has(> a[href*="share"]),
div:has(> a[href*="sharer"]),
div:has(> a[href*="pinterest.com/pin"]),
div:has(> a[href*="/intent/"]) {
  display: none !important;
}
a[href*="facebook.com/sharer"],
a[href*="twitter.com/share"],
a[href*="x.com/share"],
a[href*="twitter.com/intent"],
a[href*="x.com/intent"],
a[href*="pinterest.com/pin"],
a[href*="api.whatsapp.com/send"],
a[href*="web.whatsapp.com/send"],
a[href*="linkedin.com/share"],
a[href*="t.me/share"] {
  display: none !important;
}
.badge-name-product-card {
  z-index: 1 !important;
}