/* Add custom CSS styles below */ 
/* ===========================
   إعدادات عامة للألوان والخط
   =========================== */

/* استيراد خط عربي/لاتيني (تقدر تغيّره لو حاب) */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap');

:root {
  --color-bg: #000000;
  --color-accent-blue: #16a3ff;
  --color-accent-pink: #ff4fa3;
  --color-card-bg: #050509;
  --color-card-border: rgba(255,255,255,0.06);
  --color-text: #ffffff;
  --radius-pill: 999px;
  --radius-card: 30px;
  --transition-fast: 0.2s;
  --shadow-card: 0 10px 24px rgba(0, 0, 0, 0.55);
}

/* جسم الموقع الأساسي */
html, body {
  background-color: var(--color-bg) !important;
  color: var(--color-text) !important;
  font-family: "Tajawal", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* خلفية متحركة بألوان مخفية (نيون خفيف) */
body::before {
  content: "";
  position: fixed;
  inset: -30%;
  background: radial-gradient(circle at 10% 20%, rgba(22,163,255,0.22), transparent 55%),
              radial-gradient(circle at 80% 10%, rgba(255,79,163,0.22), transparent 55%),
              radial-gradient(circle at 50% 90%, rgba(157,78,221,0.25), transparent 55%);
  background-size: 200% 200%;
  animation: neonFlow 18s ease-in-out infinite;
  opacity: 0.45;
  z-index: -1;
  pointer-events: none;
}

@keyframes neonFlow {
  0%   { background-position: 0% 0%;   }
  50%  { background-position: 100% 100%; }
  100% { background-position: 0% 0%;   }
}

/* تحسين النصوص الافتراضية */
a,
a span {
  color: var(--color-accent-blue);
}
a:hover {
  color: var(--color-accent-pink);
}

/* ===========================
   الهيدر والفوتر
   =========================== */

header,
.site-header,
.main-header {
  background: linear-gradient(120deg, #000000 0%, #050712 40%, #050509 100%) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

footer,
.site-footer,
.main-footer {
  background: radial-gradient(circle at top, #050509, #000000) !important;
  color: var(--color-text);
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* اللوجو */
.header-logo img {
  max-height: 60px;
}

/* شريط العروض (بيتم إضافته من JS لكن نجهز تصميمه) */
.top-bar-offer {
  background: linear-gradient(90deg, var(--color-accent-blue), var(--color-accent-pink));
  color: #ffffff;
  text-align: center;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ===========================
   بطاقات المنتجات (متجر ألعاب)
   =========================== */

/* محاولة شاملة لالتقاط أغلب الكلاسات في قوالب سلة */
.product-card,
.product-item,
.product,
.products-list .item,
.products-grid .product {
  background: radial-gradient(circle at 10% 0%, #111320, #050509 55%);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-card);
  padding: 12px 12px 16px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

/* حجم البطاقة صغير ليظهر أكبر عدد ممكن في الشاشة */
.products-grid,
.products-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

/* تحسين صورة المنتج داخل البطاقة */
.product-card img,
.product-item img,
.product .product-img img {
  border-radius: 20px;
  width: 100%;
  height: 130px;
  object-fit: cover;
}

/* عنوان المنتج */
.product-card .product-title,
.product-item .product-title,
.product .title,
.product h3,
.product-name {
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
  color: #ffffff;
}

/* السعر */
.product-card .price,
.product-item .price,
.price-box,
.product-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent-blue);
}

/* تأثير نيون حول البطاقة عند الهوفر */
.product-card::before,
.product-item::before,
.product::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--color-accent-blue), var(--color-accent-pink));
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: -1;
}

.product-card:hover,
.product-item:hover,
.product:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 40px rgba(0,0,0,0.75);
  border-color: transparent;
}

.product-card:hover::before,
.product-item:hover::before,
.product:hover::before {
  opacity: 0.7;
}

/* شارة صغيرة للمنتجات (اختياري لو فيه كلاس جاهز) */
.badge,
.product-badge,
.product-label {
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-size: 11px;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.15);
}

/* ===========================
   الأزرار (إضافة للسلة / شراء)
   =========================== */

.btn,
.btn-primary,
button,
.add-to-cart,
.add-cart-btn {
  border-radius: var(--radius-pill) !important;
  background: linear-gradient(90deg, var(--color-accent-blue), var(--color-accent-pink)) !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 13px;
  padding: 7px 16px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.btn:hover,
.btn-primary:hover,
.add-to-cart:hover,
.add-cart-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(255,79,163,0.4);
  filter: brightness(1.1);
}

/* زر صغير في بطاقات المنتجات */
.product-card .btn,
.product-item .btn,
.product .btn {
  width: 100%;
  margin-top: 8px;
}

/* ===========================
   نسخة الجوال
   =========================== */

@media (max-width: 768px) {
  .products-grid,
  .products-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-card,
  .product-item,
  .product {
    padding: 10px;
  }

  .product-card img,
  .product-item img {
    height: 120px;
  }

  .header-logo img {
    max-height: 45px;
  }
}

/* ===========================
   أنيميشن دخول البطاقات عند السكرول
   (JS يضيف كلاس is-visible)
   =========================== */

.product-card,
.product-item,
.product {
  opacity: 0;
  transform: translateY(12px);
}

.product-card.is-visible,
.product-item.is-visible,
.product.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
<div class="products-wrapper">
<div class="grid">
<div class="product">
.card {
  width: 200px;
  height: 120px;
  background: #eee;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: .3s;
}

.card:hover {
  transform: scale(1.1) rotate(3deg);
  background: #d4ffd4;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
/* إخفاء قسم التخفيضات */
a[href*="offers"],
a[href*="تخفيضات"],
.navbar a[href*="offers"] {
    display: none !important;
}

/* إخفاء قسم المتجر */
a[href*="store"],
a[href*="المتجر"],
.navbar a[href*="store"] {
    display: none !important;
}

/* إخفاء الأقسام الجانبية أو الأزرار المكتوبة تخفيضات */
button:contains("تخفيضات"),
a:contains("تخفيضات") {
    display: none !important;
}
/* تغيير لون رابط "المزيد" إلى تدرج نيون */
.product-card a.more-link,
a.more-link {
    background: linear-gradient(45deg, #00eaff, #ff00f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}
/* تدرج نيون لكلمة المزيد */
a:contains("المزيد"),
button:contains("المزيد") {
    background: linear-gradient(45deg, #00eaff, #ff00f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}
/* تدرج نيون لكلمة المزيد */
a.link-primary {
    background: linear-gradient(45deg, #00eaff, #ff00f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}
/* تدرج نيون لكلمة المزيد (إجباري) */
a.link-primary {
    background: linear-gradient(45deg, #00eaff, #ff00f6) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-weight: 600 !important;
}
.section-title:contains("أحدث المنتجات")::after {
    content: "ألعاب ستيم الأوفلاين";
    font-weight: bold;
    font-size: 22px;
    color: #fff;
}

.section-title:contains("أحدث المنتجات") {
    color: transparent !important;
}
h2:contains("أحدث المنتجات") {
    color: transparent !important; /* إخفاء النص الأصلي */
    position: relative;
}

h2:contains("أحدث المنتجات")::after {
    content: "ألعاب ستيم الأوفلاين" !important;
    color: #ffffff; /* اللون الأبيض – غيّره إذا تبغى */
    font-size: 18px; /* نفس حجم النص الأصلي */
    font-weight: bold;
    position: absolute;
    top: 0;
    right: 0; /* لأن العربية RTL */
}
.product-slider img {
    border: 6px solid; /* سماكة الحافة */
    border-image: linear-gradient(45deg, #ff4fa3, #16a3ff) 1;
    border-radius: 10px; /* اختياري لتنعيم الزوايا */
}
.custom-salla-product-card {
    border: 4px solid transparent; /* سماكة الحواف */
    border-radius: 12px; /* اختياري لتنعيم الأطراف */
    background: 
        linear-gradient(#1d1f1f, #1d1f1f) padding-box, /* خلفية الكارد الأصلية */
        linear-gradient(45deg, #ff4fa3, #16a3ff) border-box; /* التدرّج */
}
.footer .contact-info i.fa-whatsapp {
    float: right;
    margin-right: 10px;
}
.footer .contact-info i.fa-whatsapp {
    position: relative;
    animation: whats-move 1.5s infinite ease-in-out;
}

@keyframes whats-move {
    0% { right: 0px; }
    50% { right: 5px; }
    100% { right: 0px; }
}
.footer .contact-info i.fa-whatsapp {
    position: fixed !important;
    right: 20px;
    bottom: 80px;
    font-size: 28px;
    z-index: 9999;
    animation: whats-move 1.5s infinite ease-in-out;
}

@keyframes whats-move {
    0% { transform: translateX(0); }
    50% { transform: translateX(5px); }
    100% { transform: translateX(0); }
}
.a-s-contacts-item i.fa-whatsapp {
    position: relative;
    right: -10px; /* نقل الأيقونة لليمين */
    animation: whats-move 1.5s infinite ease-in-out; /* حركة بسيطة */
}

@keyframes whats-move {
    0% { transform: translateX(0); }
    50% { transform: translateX(5px); }
    100% { transform: translateX(0); }
}
.custom-salla-product-card {
    border: 4px solid transparent; /* سماكة الإطار */
    border-radius: 12px; /* نعومة الزوايا */
    background:
        linear-gradient(#1d1f1f, #1d1f1f) padding-box, /* خلفية الكارد الأصلية */
        linear-gradient(45deg, #ff4fa3, #16a3ff) border-box; /* التدرج اللوني */
}
border: 6px solid transparent;
.custom-salla-product-card {
    border: 12px solid transparent; /* سماكة الإطار الواضحة */
    border-radius: 12px;
    background:
        linear-gradient(#1d1f1f, #1d1f1f) padding-box,
        linear-gradient(45deg, #ff4fa3, #16a3ff) border-box;
}
border: 20px solid transparent;
.custom-salla-product-card {
    position: relative;
    z-index: 5;
}

.custom-salla-product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 18px; /* ← سماكة الإطار (غيرها للتكبير) */
    border-radius: 12px;
    background: linear-gradient(45deg, #ff4fa3, #16a3ff);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
.icon.icon-shopping-bag.leading-none:active::before {
    animation: combo 0.6s ease-out;
}

@keyframes combo {
    0%   { transform: scale(1) translateX(0); filter: drop-shadow(0 0 0px #ff4fa3); }
    25%  { transform: scale(1.2) translateX(-3px); filter: drop-shadow(0 0 5px #ff4fa3); }
    50%  { transform: scale(1.3) translateX(3px); filter: drop-shadow(0 0 10px #16a3ff); }
    75%  { transform: scale(1.2) translateX(-3px); filter: drop-shadow(0 0 5px #ff4fa3); }
    100% { transform: scale(1) translateX(0); filter: drop-shadow(0 0 0px #16a3ff); }
}
.product-entry__title.mt-0.product-popup-trigger {
    background: linear-gradient(45deg, #ff4fa3, #16a3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700; /* (اختياري) يجعل النص أوضح */
}
button.s-fast-checkout-button-outline.rtl {
    color: #ffffff !important;
}
button.s-fast-checkout-button-outline.rtl {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    background: #ffffff !important;
    font-weight: 600;
    background-clip: border-box;
    -webkit-background-clip: border-box;
}

button.s-fast-checkout-button-outline.rtl span {
    background: linear-gradient(45deg, #ff4fa3, #16a3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
button.s-fast-checkout-button-outline {
    border-color: transparent !important;
    box-shadow: none !important;
}
/* إزالة اللون الأزرق من زر "اشتري الآن" في صفحة الشراء السريع */
button.s-fast-checkout-button-outline.rtl,
button.s-fast-checkout-button-outline,
button.s-fast-checkout-button-outline.rtl::before,
button.s-fast-checkout-button-outline::before {
    background: transparent !important;
    background-color: transparent !important;
    border-color: #ffffff !important;   /* لو تبغى بدون إطار غيّرها لـ transparent */
    color: #ffffff !important;          /* لون النص */
    box-shadow: none !important;
}
span.unicode {
    background: linear-gradient(45deg, #ff4fa3 0%, #8d7dcd 50%, #16a3ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600; /* اختياري */
}
ul.main-menu.custome-scroll.cats-list {
    background: linear-gradient(90deg, #ff4fa3, #8d7dcd, #16a3ff, #ff4fa3);
    background-size: 300% 300%;
    animation: moveGradient 6s ease infinite;
}

@keyframes moveGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
div.s-block__title {
    display: none !important;
}
header a.inline-block.flex-shrink-0 {
    width: 100% !important;     /* ياخذ عرض الصفحة */
    display: block !important;  /* يجعل العنصر يمتد كامل السطر */
    max-width: 100% !important; /* يمنع التقييد */
    text-align: center !important; /* يوسّطه */
}

header a.inline-block.flex-shrink-0 img {
    width: 100% !important;     /* اللوجو ياخذ عرض كامل */
    height: auto !important;    /* يحافظ على الجودة */
}
header a.inline-block.flex-shrink-0.rtl\:ml-5.ltr\:mr-5 {
    display: none !important;
}
header a[href="/store"] {
    display: none !important;
}
.s-products-list-wrapper.s-products-list-vertical-cards {
    display: grid !important;
    grid-gap: 20px !important; /* الفراغ بين الكروت */
}
.s-product-card {
    border: 10px solid transparent !important;   /* سماكة الحافة */
    border-radius: 20px !important;              /* تعديل حسب رغبتك */
    background: 
        linear-gradient(#0d0d0d, #0d0d0d) padding-box,
        linear-gradient(45deg, #ff4fa3 0%, #8d7dcd 50%, #16a3ff 100%) border-box !important;
}
/* إطار متدرّج للكروت */
.custom-salla-product-card {
    position: relative;
    border-radius: 20px;          /* زوايا الكرت - عدّلها إذا حاب */
    background-color: #1d1f1f;    /* خلفية الكرت (مثل اللي عندك) */
    overflow: hidden;
}

.custom-salla-product-card::before {
    content: "";
    position: absolute;
    inset: 0;                     /* يمسك الكرت كامل */
    padding: 10px;                /* 🔥 سماكة الإطار (كبّرها أو صغّرها) */
    border-radius: 20px;
    background: linear-gradient(
        45deg,
        #ff4fa3 0%,
        #8d7dcd 50%,
        #16a3ff 100%
    );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}