#golden-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#golden-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

#golden-popup {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
  width: 90%;
  max-width: 420px;
  padding: 30px 20px;
  border-radius: 16px;
  text-align: center;
  position: relative;
  transform: translateY(-50px);
  opacity: 0;
  transition: all 0.5s ease;
  border: 1px solid #c5a02c;
}

#golden-popup-overlay.active #golden-popup {
  transform: translateY(0);
  opacity: 1;
}

#golden-popup h2 {
  color: #c5a02c;
  margin-bottom: 12px;
}

#golden-popup span {
  color: #d4af37;
  font-weight: bold;
}

.popup-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 28px;
  background: #c5a02c;
  color: #0f172a;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.popup-btn:hover {
  transform: scale(1.05);
  background: #d4af37;
}

.close-popup {
  position: absolute;
  top: 10px;
  left: 14px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
}

#golden-promo-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  font-weight: bold;
  font-size: 15px;
  animation: slideDown .6s ease;
  border-bottom: 2px solid #c5a02c;
}

#golden-promo-bar a {
  background: #c5a02c;
  color: #0f172a;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  margin-inline-start: 10px;
}

#golden-promo-bar .close-promo {
  position: absolute;
  left: 15px;
  cursor: pointer;
  font-size: 18px;
}

.live-views {
  display: inline-block;
  background: #0f172a;
  color: #d4af37;
  font-weight: bold;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 12px;
  margin-top: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #c5a02c;
  animation: fadeIn 0.8s ease;
  transition: transform 0.2s ease;
}

.live-views:hover {
  transform: scale(1.05);
}

.live-views::before {
  content: "👀";
  margin-right: 6px;
}

.product-stats,
.product-meta,
*:has(:contains("تم شراء")) {
  display: none !important;
}
/* ==========================
   قسم المتجر موثوق من - أيقونات التوثيق
   ========================== */

/* قاعدة عامة للأيقونات داخل الفوتر */
footer .footer-trust,
footer .salla-certificates,
footer .store-certificates {
  display: flex;
  justify-content: flex-end; /* على سطح المكتب تكون على اليمين */
  align-items: center;
  gap: 20px;
  margin: 16px 24px 16px 0; /* مسافة من اليمين ولأسفل */
}

/* تصغير الأيقونات وتوحيد المظهر */
footer .footer-trust img,
footer .salla-certificates img,
footer .store-certificates img,
footer .trusted-store img,
footer .store-trust img,
footer .salla-trust img {
  max-width: 200px;   /* الحد الأقصى للعرض */
  height: 300;
  opacity: 2.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* تأثير عند المرور بالماوس */
footer .footer-trust img:hover,
footer .salla-certificates img:hover,
footer .store-certificates img:hover,
footer .trusted-store img:hover,
footer .store-trust img:hover,
footer .salla-trust img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* تحسين عرض الصور على الأجهزة المتوسطة */
@media (max-width: 768px) {
  footer .footer-trust img,
  footer .salla-certificates img,
  footer .store-certificates img,
  footer .trusted-store img,
  footer .store-trust img,
  footer .salla-trust img {
    max-width: 70px;
  }
}

/* تحسين عرض الصور على الأجهزة الصغيرة */
@media (max-width: 600px) {
  footer .footer-trust,
  footer .salla-certificates,
  footer .store-certificates {
    justify-content: center; /* توسيط الأيقونات */
    margin-right: 0;         /* إزالة المسافة من اليمين */
  }
  
  footer .footer-trust img,
  footer .salla-certificates img,
  footer .store-certificates img {
    max-width: 70px;
  }
}
/* تغيير خلفية المتجر إلى اللون الأبيض */
/*body,
main,
.wrapper, /* بعض القوالب تستخدم هذا العنصر */
.site-container {
  background-color: #ffffff !important;
}
/* تكبير لوقو الهيدر في سلة */
header img,
.header img,
.navbar img,
.site-header img {
  max-height: 80px !important; /* عدل الرقم حسب الحجم اللي تبغاه */
  width: auto !important;
}

/* محاذاة اللوقو عموديًا */
header .logo,
.header .logo {
  display: flex;
  align-items: center;
}.partners-section {
  width: 100%;
  padding: 50px 0;
  background: #ffffff;
  box-sizing: border-box;
}

.partners-section {
  width: 100%;
  padding: 50px 0;
  background: #ffffff;
  box-sizing: border-box;
}

.partners-title {
  text-align: center;
  font-size: clamp(20px, 4vw, 30px);
  font-weight: 700;
  margin-bottom: 30px;
  color: #222;
}

.partners-slider {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.partners-slider::-webkit-scrollbar {
  display: none;
}

.partners-slider:active {
  cursor: grabbing;
}

.partners-track {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  padding: 10px 0;
}

.partner-item {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 160px;
  height: 100px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.partner-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.72;
  display: block;
  -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.partner-item img:hover {
  opacity: 1;
  -webkit-transform: scale(1.08);
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .partner-item { width: 120px; height: 80px; padding: 0 14px; }
}

@media (max-width: 480px) {
  .partner-item { width: 100px; height: 70px; padding: 0 10px; }
}.partners-track {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  min-width: 100%;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 10px 0;
}