/* ===============================
   PIX STORE IDENTITY COLORS
   Purple / Lavender / Neon Glow
   =============================== */

:root{
  --pix-bg: #d8d1f0;
  --pix-dark: #20182f;
  --pix-purple: #5b347a;
  --pix-purple-2: #7b4bb3;
  --pix-lavender: #cfc3f3;
  --pix-light: #f3edff;
  --pix-neon: #b86cff;
  --pix-cyan: #19d3d3;
}

/* ===============================
   INSTALLMENT TEXTS
   =============================== */

.rtl .s-installment-mispay-content-text,
.rtl .s-installment-madfu-content-text,
.rtl .s-installment-emkan-content-text,
.rtl .s-installment-rajehi-content-text {
  right: 14px;
  text-align: right;
  margin: 0 0 0 16px;

  background: linear-gradient(
    120deg,
    #f3edff,
    #d8c7ff,
    #b86cff,
    #7b4bb3,
    #19d3d3,
    #d8c7ff,
    #f3edff
  );

  background-size: 320% 320%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: pixTextFlow 3s linear infinite;
  font-weight: 800;

  filter:
    drop-shadow(0 0 5px rgba(184,108,255,.55))
    drop-shadow(0 0 13px rgba(123,75,179,.45))
    drop-shadow(0 0 20px rgba(25,211,211,.18));
}

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

/* ===============================
   MAIN SECTION TITLES
   =============================== */

.dark .s-block__title h2,
.s-block__title h2 {
  color: #5b347a;

  background: linear-gradient(
    120deg,
    #ffffff,
    #eee6ff,
    #cdafff,
    #b86cff,
    #7b4bb3,
    #19d3d3,
    #d8c7ff,
    #ffffff
  );

  background-size: 340% 340%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: pixTitleFlow 2.8s linear infinite;

  font-weight: 900;
  letter-spacing: .3px;

  filter:
    drop-shadow(0 0 6px rgba(184,108,255,.75))
    drop-shadow(0 0 16px rgba(123,75,179,.55))
    drop-shadow(0 0 26px rgba(25,211,211,.20));
}

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

/* ===============================
   BUTTONS – PIX STORE NEON
   =============================== */

.btn-text {
  color: #ffffff !important;
  font-weight: 800;
}

.btn,
.btn-primary,
.s-button-primary {
  align-items: center;
  justify-content: center;
  display: inline-flex;
  flex: 1 1 0%;
  font-family: var(--font-main);
  font-size: .875rem;
  line-height: 1.25rem;
  padding: .5rem 1.5rem .625rem;
  border-radius: .55rem;
  white-space: nowrap;

  color: #ffffff !important;
  border: 1px solid rgba(216,199,255,.45) !important;

  background: linear-gradient(
    120deg,
    #2b1b3d,
    #5b347a,
    #7b4bb3,
    #b86cff,
    #7b4bb3,
    #2b1b3d
  );

  background-size: 320% 320%;
  animation: pixBtnFlow 3s linear infinite;

  box-shadow:
    0 0 8px rgba(184,108,255,.40),
    0 0 18px rgba(123,75,179,.32),
    inset 0 0 10px rgba(255,255,255,.10);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;

  position: relative;
  overflow: hidden;
}

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

/* لمعان خفيف داخل الزر */
.btn::before,
.btn-primary::before,
.s-button-primary::before {
  content: "";
  position: absolute;
  top: 0;
  right: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.35),
    transparent
  );
  transform: skewX(-20deg);
  animation: pixButtonShine 3.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pixButtonShine {
  0% {
    right: -80%;
  }
  45% {
    right: 130%;
  }
  100% {
    right: 130%;
  }
}

/* Hover – توهج أقوى */
.btn:hover,
.btn-primary:hover,
.s-button-primary:hover {
  border-color: rgba(25,211,211,.65) !important;

  box-shadow:
    0 0 10px rgba(184,108,255,.75),
    0 0 24px rgba(123,75,179,.65),
    0 0 42px rgba(25,211,211,.28),
    inset 0 0 12px rgba(255,255,255,.14);

  transform: translateY(-2px) scale(1.03);
}

/* Active – ضغط */
.btn:active,
.btn-primary:active,
.s-button-primary:active {
  transform: scale(.96);
  box-shadow:
    0 0 8px rgba(184,108,255,.55),
    0 0 18px rgba(123,75,179,.45);
}

/* ===============================
   SUB TITLES / H3
   =============================== */

h3 {
  color: #20182f !important;
  font-weight: 800;

  text-shadow:
    0 0 5px rgba(184,108,255,.35),
    0 0 12px rgba(123,75,179,.25);
}

/* لو المتجر دارك مود وخلفيته غامقة */
.dark h3 {
  color: #ffffff !important;

  text-shadow:
    0 0 6px rgba(184,108,255,.55),
    0 0 14px rgba(123,75,179,.42);
}

/* ===============================
   PIX STORE - ADD TO CART CTR
   زر أضف للسلة + بروز البطاقة
   =============================== */

/* إبراز بطاقة المنتج كاملة */
.s-product-card-entry {
  background: linear-gradient(180deg, #241B35 0%, #1C1429 100%) !important;
  border: 1px solid rgba(182, 108, 255, 0.35) !important;
  border-radius: 18px !important;
  overflow: hidden !important;

  box-shadow:
    0 0 0 1px rgba(255,255,255,.04),
    0 8px 22px rgba(0,0,0,.28),
    0 0 18px rgba(182,108,255,.12) !important;

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

/* عند المرور على البطاقة */
.s-product-card-entry:hover {
  transform: translateY(-3px);
  border-color: rgba(182,108,255,.60) !important;

  box-shadow:
    0 0 0 1px rgba(182,108,255,.22),
    0 12px 28px rgba(0,0,0,.36),
    0 0 24px rgba(182,108,255,.24) !important;
}

/* زر أضف للسلة */
.s-product-card-entry .s-button-element,
.s-product-card-entry .s-button-primary,
.s-button-primary,
button[type="submit"].s-button-element {
  position: relative !important;
  overflow: hidden !important;

  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 16px !important;

  border-radius: 14px !important;
  border: 1px solid rgba(214, 205, 234, .35) !important;

  background: linear-gradient(
    135deg,
    #6F35FF 0%,
    #B66CFF 45%,
    #7B4BFF 100%
  ) !important;

  box-shadow:
    0 0 8px rgba(182,108,255,.45),
    0 0 18px rgba(182,108,255,.28),
    0 8px 18px rgba(0,0,0,.25) !important;

  animation: pixAddCartPulse 2.4s ease-in-out infinite;
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
}

/* حركة نيون بسيطة وغير مزعجة */
@keyframes pixAddCartPulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow:
      0 0 8px rgba(182,108,255,.42),
      0 0 18px rgba(182,108,255,.24),
      0 8px 18px rgba(0,0,0,.25);
  }

  50% {
    transform: translateY(-2px);
    box-shadow:
      0 0 11px rgba(182,108,255,.62),
      0 0 24px rgba(182,108,255,.36),
      0 10px 22px rgba(0,0,0,.30);
  }
}

/* لمعة خفيفة تمر على الزر */
.s-product-card-entry .s-button-element::before,
.s-product-card-entry .s-button-primary::before,
.s-button-primary::before {
  content: "";
  position: absolute;
  top: 0;
  right: -90%;
  width: 45%;
  height: 100%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.28),
    transparent
  );

  transform: skewX(-20deg);
  animation: pixBtnShine 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pixBtnShine {
  0% {
    right: -90%;
  }

  45% {
    right: 130%;
  }

  100% {
    right: 130%;
  }
}

/* Hover على الزر */
.s-product-card-entry .s-button-element:hover,
.s-product-card-entry .s-button-primary:hover,
.s-button-primary:hover {
  transform: translateY(-2px) scale(1.02) !important;
  border-color: rgba(255,255,255,.55) !important;

  box-shadow:
    0 0 12px rgba(182,108,255,.78),
    0 0 28px rgba(182,108,255,.45),
    0 10px 24px rgba(0,0,0,.32) !important;
}

/* وقت الضغط */
.s-product-card-entry .s-button-element:active,
.s-product-card-entry .s-button-primary:active,
.s-button-primary:active {
  transform: scale(.97) !important;
}

/* علامة + داخل الزر */
.s-product-card-entry .s-button-element svg,
.s-product-card-entry .s-button-primary svg,
.s-button-primary svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
  filter: drop-shadow(0 0 6px rgba(255,255,255,.35));
}

/* نص الزر */
.s-product-card-entry .s-button-element span,
.s-product-card-entry .s-button-primary span,
.s-button-primary span {
  color: #ffffff !important;
  font-weight: 800 !important;
}
/* ===============================
   PIX STORE - FEATURES ICONS GLOW
   توهج أيقونات مميزات المتجر
   =============================== */

/* الأيقونات داخل قسم المميزات */
.s-block--features svg,
.s-block--features i,
.s-block--features .sicon,
.s-block--features [class*="sicon-"],
.s-block--features .feature-icon,
.s-block--features .s-feature-icon {
  color: #d8cdea !important;
  fill: none !important;
  stroke: url(#pixIconGradient) !important;

  filter:
    drop-shadow(0 0 6px rgba(182,108,255,.55))
    drop-shadow(0 0 14px rgba(112,215,255,.25));

  animation: pixIconGlow 2.8s ease-in-out infinite;
}

/* لو الأيقونات Font Icon وليست SVG */
.s-block--features i,
.s-block--features .sicon,
.s-block--features [class*="sicon-"] {
  background: linear-gradient(
    120deg,
    #ffffff,
    #d8cdea,
    #b66cff,
    #70d7ff,
    #d8cdea
  );

  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: pixIconGradientMove 3s linear infinite, pixIconGlow 2.8s ease-in-out infinite;
}

/* حركة التوهج الناعمة */
@keyframes pixIconGlow {
  0%, 100% {
    filter:
      drop-shadow(0 0 5px rgba(182,108,255,.45))
      drop-shadow(0 0 12px rgba(112,215,255,.18));
    transform: translateY(0);
  }

  50% {
    filter:
      drop-shadow(0 0 8px rgba(182,108,255,.75))
      drop-shadow(0 0 18px rgba(112,215,255,.32));
    transform: translateY(-2px);
  }
}

/* حركة الجريدينت */
@keyframes pixIconGradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* أرقام المميزات مثل 1,090+ و 24/7 */
.s-block--features h3,
.s-block--features .feature-title,
.s-block--features strong {
  color: #ffffff !important;
  font-weight: 900 !important;

  text-shadow:
    0 0 6px rgba(182,108,255,.45),
    0 0 14px rgba(112,215,255,.20);
}

/* النصوص الفرعية تحت الأرقام */
.s-block--features p,
.s-block--features .feature-desc,
.s-block--features span {
  color: #bfb4d8 !important;
  font-weight: 500 !important;
}

/* خلفية القائمة الأساسية فقط */
.s-menu,
.mobile-menu,
.main-menu,
.side-menu {
  background: rgba(18, 12, 30, .72) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

/* يمنع تخرب القائمة الفرعية */
.s-menu ul,
.s-menu li,
.s-menu a,
.mobile-menu ul,
.mobile-menu li,
.mobile-menu a {
  background: transparent !important;
}

/* يخلي الفرعي مرتب */
.s-menu ul ul,
.mobile-menu ul ul {
  background: rgba(20, 13, 35, .92) !important;
  border-radius: 14px !important;
  margin: 6px 12px !important;
  overflow: hidden !important;
}

/* النص */
.s-menu a,
.mobile-menu a,
.main-menu a,
.side-menu a {
  color: #fff !important;
  font-weight: 800 !important;
}

/* الفواصل */
.s-menu li,
.mobile-menu li {
  border-color: rgba(255,255,255,.08) !important;
}
/* PIX - القائمة الجانبية زجاجية */
.mm-menu {
  background: rgba(18, 12, 30, .62) !important;
  backdrop-filter: blur(22px) !important;
  -webkit-backdrop-filter: blur(22px) !important;
}

/* يمنع تخريب القوائم الفرعية */
.mm-panel {
  background: transparent !important;
}

/* عناصر القائمة بدون مربعات */
.mm-listitem,
.mm-listitem > a,
.mm-listitem > span {
  background: transparent !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border-color: rgba(255,255,255,.08) !important;
}

/* العنوان فوق */
.mm-navbar {
  background: rgba(216, 209, 240, .18) !important;
  color: #fff !important;
}

/* الأزرار والأسهم */
.mm-btn,
.mm-btn::before,
.mm-btn::after {
  color: #fff !important;
  border-color: #fff !important;
}