/* ============================================
   PixPlay Store — Custom CSS (نسخة منظمة نهائية)
   آخر تحديث: الشعار المتحرك + تحسين التصنيفات
   ============================================ */

/* --------------------------------------------
   1) الشعار المتحرك (GIF شفاف وخفيف - 165 كيلوبايت)
   يشمل الهيدر والذيل وأي مكان ثاني يظهر فيه نفس الشعار
   -------------------------------------------- */
img[src*="b4ffb39540da"],
.header .logo img,
.store-logo img,
.site-logo img,
footer img[alt*="بيكس"],
header img[alt*="بيكس"],
a.brand img {
  content: url('https://i.ibb.co/4Z0zBzw3/pixplay-logo-transparent-1.gif') !important;
}


/* --------------------------------------------
   2) تحسين شكل بطاقات التصنيفات
   حواف مضيئة بنفسجية + رفعة خفيفة عند hover
   -------------------------------------------- */
[class*="categor"] {
  border-radius: 14px !important;
  overflow: hidden !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  border: 1px solid rgba(127, 119, 221, 0.25) !important;
}

[class*="categor"]:hover {
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 0 18px rgba(127, 119, 221, 0.55) !important;
  border-color: rgba(127, 119, 221, 0.9) !important;
}

[class*="categor"] img {
  transition: transform 0.3s ease !important;
}
[class*="categor"]:hover img {
  transform: scale(1.06) !important;
}


/* --------------------------------------------
   3) لمسات جمالية عامة على الموقع كامل
   أزرار، عناوين، سكرول بار، حركة انتقال ناعمة
   -------------------------------------------- */

/* تمرير ناعم بين الأقسام */
html {
  scroll-behavior: smooth !important;
}

/* أزرار بتدرج بنفسجي وبريق خفيف عند hover */
button:not([class*="categor"] button),
[class*="btn"] {
  border-radius: 10px !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
button:hover,
[class*="btn"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 14px rgba(127, 119, 221, 0.45) !important;
}

/* عناوين الأقسام: خط أبرز + خط سفلي قصير كلمسة تصميم */
[class*="section"] > h2,
[class*="section-title"],
h2 {
  position: relative !important;
  font-weight: 700 !important;
}

/* شريط تمرير أنيق يناسب الهوية الداكنة */
::-webkit-scrollbar {
  height: 8px !important;
  width: 8px !important;
}
::-webkit-scrollbar-track {
  background: #14161f !important;
}
::-webkit-scrollbar-thumb {
  background: rgba(127, 119, 221, 0.6) !important;
  border-radius: 8px !important;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(127, 119, 221, 0.9) !important;
}

/* صور المنتجات: زووم خفيف عند hover لإحساس حيوي بدون تحميل زيادة */
[class*="product"] img {
  transition: transform 0.3s ease !important;
}
[class*="product"]:hover img {
  transform: scale(1.04) !important;
}

/* --------------------------------------------
   4) توهج خفيف جدًا فوق الشعار بلون المتجر الأساسي (#3726c1)
   -------------------------------------------- */
img[src*="b4ffb39540da"] {
  filter: drop-shadow(0 0 4px rgba(55, 38, 193, 0.35)) !important;
  animation: pixplayLogoGlow 3.5s ease-in-out infinite !important;
}
@keyframes pixplayLogoGlow {
  0%, 100% { filter: drop-shadow(0 0 3px rgba(55, 38, 193, 0.25)); }
  50%      { filter: drop-shadow(0 0 8px rgba(55, 38, 193, 0.5)); }
}

/* خط خفيف جدًا أسفل الهيدر بنفس اللون */
header, .header, [class*="site-header"] {
  position: relative !important;
}
header::after, .header::after, [class*="site-header"]::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important; right: 0 !important; bottom: 0 !important;
  height: 1px !important;
  background: rgba(55, 38, 193, 0.35) !important;
  pointer-events: none !important;
}


/* --------------------------------------------
   5) تفاعل خفيف لأيقونة السلة عند الإضافة
   -------------------------------------------- */
@keyframes pixplayCartBounce {
  0%, 100% { transform: scale(1); }
  40%      { transform: scale(1.15); }
}
.pixplay-cart-bounce {
  animation: pixplayCartBounce 0.4s ease !important;
}