/* =========================================
   YOUR STORE — RAEED 1
   CLEAN CSS — PURPLE GAMING THEME
   ========================================= */
/* 1. الألوان الأساسية */
:root {
  --ys-bg: #1A1030;
  --ys-bg-dark: #160D26;
  --ys-bg-card: #2A1945;
  --ys-purple: #9B5CFF;
  --ys-purple-light: #D8C5FF;
  --ys-purple-soft: #BFA0FF;
  --ys-text: #D8C5FF;
  --ys-heading: #C49AFF;
  --ys-border: rgba(178, 130, 255, 0.25);
  --ys-glow: 0 0 18px rgba(155, 92, 255, 0.25);
  --ys-radius: 14px;
}
/* 2. خلفية المتجر والنصوص */
html,
body {
  background: linear-gradient(
    135deg,
    #1A1030 0%,
    #2A1945 45%,
    #1C1032 100%
  ) !important;
  color: var(--ys-text) !important;
  min-height: 100%;
  overflow-x: hidden !important;
}
main,
section,
.s-block,
.store-section {
  background-color: transparent !important;
}
body,
p,
label,
li,
small {
  color: var(--ys-text);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ys-heading) !important;
}
a {
  color: var(--ys-purple-light);
  transition: color 0.25s ease;
}
a:hover {
  color: #E7D9FF;
}
.container {
  width: 100% !important;
  max-width: 1440px !important;
  box-sizing: border-box !important;
}
img {
  max-width: 100%;
}
/* 3. العناوين والأسعار */
.s-block h1,
.s-block h2,
.s-block h3,
.s-block h4,
.s-block h5,
.s-block h6,
.s-section-title,
.s-section-title *,
.s-product-card-content-title,
.s-product-card-content-subtitle {
  background: linear-gradient(
    90deg,
    #FFFFFF 0%,
    #FFFFFF 35%,
    #93C5FD 65%,
    #2563EB 100%
  );
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
.price,
.product-price,
.s-product-card-price,
.s-product-card-content-price,
.s-product-card__price {
  color: var(--ys-heading) !important;
  font-weight: 800 !important;
}
/* 4. لون الهيدر فقط — دون التأثير على الحساب */
header,
.store-header,
.s-header {
  background: linear-gradient(
    135deg,
    #321653,
    #24103D
  ) !important;
  border-bottom: 1px solid rgba(155, 92, 255, 0.35) !important;
}
/* الحفاظ على خلفيات محتويات الهيدر الأصلية */
header > div,
.store-header > div,
.s-header > div {
  background-color: transparent !important;
  background-image: none !important;
}
/* 5. الأزرار */
button,
.button,
.btn,
.s-button-element {
  transition: all 0.3s ease !important;
}
.s-button-primary,
.btn-primary {
  background: linear-gradient(
    135deg,
    #A66AFF,
    #7C3AED
  ) !important;
  border: 1px solid rgba(216, 197, 255, 0.3) !important;
  color: #F1E8FF !important;
  border-radius: 10px !important;
}
.s-button-primary:hover,
.btn-primary:hover {
  box-shadow: var(--ys-glow);
  transform: translateY(-2px);
}
/* 6. بطاقات المنتجات */
.s-product-card-entry,
.s-product-card,
salla-product-card,
.product-card,
.product-entry {
  background: rgba(42, 25, 69, 0.94) !important;
  border: 1px solid var(--ys-border) !important;
  border-radius: var(--ys-radius) !important;
  overflow: hidden !important;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease !important;
}
.s-product-card-content,
.s-product-card-footer {
  background-color: transparent !important;
}
.s-product-card h3,
.s-product-card-content *,
.s-product-card-title,
.product-title,
.product-card__title {
  color: var(--ys-purple-light) !important;
}
.s-product-card img,
.product-card img {
  transition: transform 0.4s ease;
}
@media (hover: hover) {
  .s-product-card:hover,
  .s-product-card-entry:hover,
  .product-card:hover,
  .product-entry:hover {
    transform: translateY(-4px);
    border-color: var(--ys-purple) !important;
    box-shadow: 0 8px 25px rgba(155, 92, 255, 0.18);
  }
  .s-product-card:hover img,
  .product-card:hover img {
    transform: scale(1.035);
  }
}
/* 7. نفدت الكمية */
.s-product-card-out-of-stock,
.s-product-card-fit-button .out-of-stock,
.s-product-card-fit-button button[disabled],
.s-product-card-footer button[disabled],
.s-product-card-footer salla-button,
.s-product-card-footer .s-button-btn,
salla-button[disabled],
.out-of-stock {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 10px !important;
  color: #FFFFFF !important;
  opacity: 1 !important;
}
.s-product-card-out-of-stock *,
.s-product-card-footer button *,
.s-product-card-footer salla-button *,
.s-product-card-footer .s-button-btn *,
salla-button[disabled] * {
  color: #FFFFFF !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.s-product-card-footer {
  background-color: transparent !important;
  padding-top: 8px !important;
}
/* 8. التصنيفات — مربعان في الجوال */
.s-block--categories {
  width: 100% !important;
  max-width: 100% !important;
  padding: 12px !important;
  box-sizing: border-box !important;
}
@media (max-width: 767px) {
  .s-block--categories {
    padding: 10px !important;
  }
  .s-block--categories .swiper-wrapper,
  .s-block--categories .s-slider-swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    transform: none !important;
  }
  .s-block--categories .swiper-slide,
  .s-block--categories .s-category-card,
  .s-block--categories .category-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background: #2A1945 !important;
    border: 1px solid rgba(155, 92, 255, 0.35) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }
  .s-block--categories .swiper,
  .s-block--categories .s-slider-container {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }
  .s-block--categories img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }
}
/* 9. شاشة الترحيب — مع زر التخطي */
#ys-welcome {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  background: rgba(26, 16, 48, 0.72) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9999999 !important;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease, visibility 0.45s ease !important;
}
#ys-welcome.ys-hide,
#ys-welcome.ys-welcome-hide {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
/* زر التخطي */
#ys-welcome .ys-skip-button {
  position: absolute !important;
  top: max(20px, env(safe-area-inset-top)) !important;
  right: 18px !important;
  z-index: 10 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 76px !important;
  min-height: 38px !important;
  padding: 8px 16px !important;
  background: rgba(59, 45, 84, 0.95) !important;
  color: #FFFFFF !important;
  border: 1px solid #9B5CFF !important;
  border-radius: 22px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 0 14px rgba(155, 92, 255, 0.2);
  -webkit-appearance: none;
  appearance: none;
}
#ys-welcome .ys-skip-button:active {
  transform: scale(0.96);
}
.ys-welcome-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  background: var(--ys-purple, #9B5CFF);
  opacity: 0.15;
  filter: blur(100px);
  border-radius: 50%;
  animation: ysGlowPulse 2.5s ease-in-out infinite alternate;
  pointer-events: none;
}
.ys-welcome-content {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  z-index: 2;
  width: 100% !important;
  margin: 0 !important;
  padding: 20px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: translate(-50%, -50%) !important;
  animation: ysWelcomeEnter 1s ease both;
  box-sizing: border-box !important;
}
#ys-welcome .ys-welcome-title,
#ys-welcome .ys-welcome-subtitle {
  display: none !important;
}
.ys-welcome-logo {
  width: 130px !important;
  height: 130px !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ys-welcome-logo img {
  display: block !important;
  width: 130px !important;
  height: 130px !important;
  max-width: 130px !important;
  max-height: 130px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  filter: drop-shadow(0 0 22px rgba(155, 92, 255, 0.65));
  animation: ysLogoPulse 1.4s ease-in-out infinite !important;
}
.ys-welcome-line {
  width: 100px;
  height: 2px;
  margin-bottom: 22px;
  background: linear-gradient(
    90deg,
    transparent,
    #9B5CFF,
    #D8C5FF,
    #9B5CFF,
    transparent
  );
  animation: ysLineExpand 1s ease both;
}
.ys-welcome-content h2 {
  color: #FFFFFF !important;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 4px;
  margin: 0;
  text-shadow: 0 0 25px #9b5cff66;
}
.ys-welcome-content p {
  color: #C8A7FF !important;
  font-size: 10px;
  letter-spacing: 3px;
  margin-top: 12px;
}
.ys-welcome-loader {
  width: 115px;
  height: 3px;
  margin-top: 28px;
  background: #FFFFFF12;
  border-radius: 10px;
  overflow: hidden;
}
.ys-welcome-loader span {
  display: block;
  width: 0;
  height: 100%;
  background: #B58AFF;
  box-shadow: 0 0 12px #9B5CFF;
  animation: ysLoading 2.7s linear forwards;
}
@keyframes ysWelcomeEnter {
  from {
    opacity: 0;
    transform: translate(-50%, -45%) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
@keyframes ysLogoPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.94);
  }
}
@keyframes ysGlowPulse {
  from {
    transform: scale(0.8);
    opacity: 0.10;
  }
  to {
    transform: scale(1.2);
    opacity: 0.22;
  }
}
@keyframes ysLineExpand {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 100px;
    opacity: 1;
  }
}
@keyframes ysLoading {
  from { width: 0; }
  to { width: 100%; }
}
@media (max-width: 480px) {
  .ys-welcome-logo,
  .ys-welcome-logo img {
    width: 115px !important;
    height: 115px !important;
  }
  .ys-welcome-content h2 {
    font-size: 23px;
    letter-spacing: 3px;
  }
}
/* 10. الشريط المتحرك */
.ys-marquee {
  width: 100% !important;
  overflow: hidden !important;
  background: linear-gradient(
    90deg,
    #24103D,
    #512780,
    #321653,
    #24103D
  ) !important;
  border-top: 1px solid var(--ys-purple) !important;
  border-bottom: 1px solid var(--ys-purple) !important;
  padding: 13px 0 !important;
  margin: 0 !important;
}
.ys-marquee-track {
  display: flex !important;
  width: max-content !important;
  animation: ysMarquee 25s linear infinite;
}
.ys-marquee-item {
  color: #E3D2FF !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: 1.5px;
  padding: 0 25px;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(155, 92, 255, 0.5);
}
.ys-marquee-item::after {
  content: "✦";
  color: #C49AFF;
  margin-left: 30px;
}
@keyframes ysMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* 11. ظهور المنتجات */
.ys-reveal,
.ys-product-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.ys-reveal.ys-visible,
.ys-product-reveal.ys-product-visible {
  opacity: 1;
  transform: translateY(0);
}
/* 12. إحصائيات المتجر */
#ys-stats,
.ys-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 25px 12px;
  padding: 24px 12px;
  background: linear-gradient(135deg, #08060D, #1A1030);
  border: 1px solid rgba(155, 92, 255, 0.25);
  border-radius: 14px;
  text-align: center;
  direction: rtl;
}
.ys-stat {
  padding: 12px 5px;
}
.ys-stat b,
.ys-stat-number {
  display: block;
  color: var(--ys-purple-light);
  font-size: clamp(20px, 4vw, 30px);
  font-weight: 900;
}
.ys-stat span,
.ys-stat-label {
  display: block;
  color: #D0C6DF;
  font-size: 12px;
  margin-top: 8px;
}
@media (max-width: 480px) {
  #ys-stats,
  .ys-stats {
    gap: 4px;
    padding: 16px 5px;
  }
  .ys-stat span,
  .ys-stat-label {
    font-size: 10px;
  }
}
/* 13. حقوق التصميم */
#ys-brandlab,
#ys-brandlab-signature {
  width: 100%;
  padding: 18px 10px;
  margin-top: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  background: #08060D;
  border-top: 1px solid rgba(155, 92, 255, 0.3);
  direction: rtl;
  text-align: center;
  font-family: inherit;
  font-size: 12px;
}
#ys-brandlab span,
#ys-brandlab-signature .ys-brandlab-text {
  color: #C5BDD2;
}
#ys-brandlab strong,
#ys-brandlab-signature .ys-brandlab-name {
  color: #B58AFF;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-shadow: 0 0 10px rgba(155, 92, 255, 0.35);
}
#ys-brandlab-signature .ys-brandlab-name:hover {
  color: #D8C5FF;
  text-shadow: 0 0 14px rgba(155, 92, 255, 0.7);
}
footer::after,
.site-footer::after,
.store-footer::after {
  content: "صُنِع بواسطة BRAND LAB";
  display: block;
  text-align: center;
  padding: 12px 0;
  font-size: 13px;
  font-weight: bold;
  color: #A0A0A0;
  direction: rtl;
}
/* 14. رقم الطلب وصفحة نجاح الطلب */
.order-number,
.order-number *,
[class="order-number"],
[class="order-number"] * {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  background: none !important;
}
.s-order-summary,
.s-order-summary *,
.s-order-card,
.s-order-card *,
.s-order-success,
.s-order-success *,
.order-success,
.order-success *,
.s-order-confirmation,
.s-order-confirmation * {
  color: #FFFFFF !important;
  opacity: 1 !important;
}
.s-order-success [class*="text-"],
.order-success [class*="text-"] {
  color: #FFFFFF !important;
  opacity: 1 !important;
}
/* 15. السلة والدفع */
.s-cart-summary,
.s-cart-summary-total,
.cart-summary,
.cart-summary-total,
.cart-total,
.sticky-cart-summary,
.s-cart,
.s-cart-content,
.cart-page,
.cart-content,
.cart-details,
.checkout,
.checkout-page,
.s-checkout,
.s-checkout-page,
.checkout-summary,
.order-summary,
.checkout-section,
.checkout-step,
.payment-method,
.payment-method-item,
.payment-option,
.payment-methods {
  background-color: var(--ys-bg) !important;
  color: var(--ys-text) !important;
}
/* 16. تابي وتمارا */
salla-tamara-promo,
salla-tabby-promo,
tamara-widget,
tabby-widget,
.tamara-promo,
.tabby-promo,
.tamara-promo-wrapper,
.tabby-promo-wrapper,
.tamara-product-widget,
.tabby-promo-snippet,
.tamara-widget-amount,
.s-product-options-tamara,
.s-product-options-tabby,
div[data-tamara-widget],
div[data-tabby-widget],
div[class="tamara"],
div[class*="tabby"],
iframe[src*="tamara"],
iframe[src*="tabby"],
[class*="tabby-banner"],
[class*="tamara-banner"] {
  background-color: #3B2D54 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 10px !important;
  color: #FFFFFF !important;
}
salla-tamara-promo *,
salla-tabby-promo *,
.tamara-promo-wrapper *,
.tabby-promo-wrapper * {
  color: #FFFFFF !important;
}
/* 17. العروض المجمعة */
salla-offer-bundles,
.s-offer-bundle,
.s-offer-bundle-card,
.s-product-bundle,
.s-bundle-offer,
.s-product-offer-bundle,
.bundle-wrapper,
.bought-together-wrapper,
div[class="bought-together"] {
  background-color: #3B2D54 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 12px !important;
  color: #FFFFFF !important;
}
salla-offer-bundles *,
.s-offer-bundle *,
.s-product-bundle *,
.s-bundle-offer *,
.bundle-wrapper * {
  color: #FFFFFF !important;
}
/* 18. شارة المبيعات */
salla-product-availability,
.s-product-availability,
.s-product-card-sold,
.s-product-promotion,
.product-sells-count,
.s-product-sales-count,
div[class="sold"],
[class*="sold"] {
  background-color: #3B2D54 !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 8px !important;
}
salla-product-availability *,
.s-product-availability *,
.s-product-card-sold *,
.product-sells-count * {
  color: #FFFFFF !important;
}
/* 19. التقييمات والتعليقات */
.s-comments,
.s-comments-item,
.s-rating-item,
.s-product-reviews,
.s-product-reviews-item,
.s-reviews-list-item,
.comment-card,
.comment-body {
  background-color: #3B2D54 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
}
.s-comments-item *,
.s-product-reviews *,
.s-rating-item *,
.s-comments-item-author,
.s-comments-item-date,
.s-comments-item-text {
  color: #FFFFFF !important;
}
.s-comments-load-more,
.s-product-reviews-more button {
  background-color: #523F73 !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}
salla-comment-form,
.s-comments-form,
.s-comments-form textarea,
.s-comment-input,
.s-product-reviews-form,
.s-product-reviews-form textarea,
textarea#comment,
#comment_body,
textarea.form-control {
  background-color: #3B2D54 !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 8px !important;
}
textarea::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}
/* 20. الأسئلة الشائعة */
.s-block--faqs,
.s-block--faqs .s-block__title,
.s-block--faqs .faq-item,
.s-block--faqs .accordion-item,
.s-accordion-item,
.s-accordion-item-header,
.s-accordion-item-body,
salla-accordion,
salla-accordion-item,
.faq-item,
.faq-box,
[class="accordion"],
[class*="faq"] {
  background-color: #1B112C !important;
  border-color: #2D1D49 !important;
  color: #FFFFFF !important;
}
.s-block--faqs .accordion,
.s-block--faqs .accordion-button,
.s-block--faqs .accordion-content {
  background-color: #110C1A !important;
  color: #FFFFFF !important;
  border-color: rgba(155, 92, 255, 0.2) !important;
}
.s-block--faqs *,
salla-accordion *,
salla-accordion-item *,
.s-accordion-item *,
.faq-item,
[class="accordion"],
[class="faq"] * {
  color: #FFFFFF !important;
  fill: #FFFFFF !important;
}
/* 21. جداول المقارنة */
.s-table,
table,
.table,
.comparison-table,
[class="comparison"],
[class*="table"] {
  background-color: #1B112C !important;
  border-color: #2D1D49 !important;
}
.s-table th,
.s-table td,
table th,
table td,
.table th,
.table td,
[class*="table"] th,
[class*="table"] td {
  background-color: #1B112C !important;
  border-color: #2D1D49 !important;
  color: #FFFFFF !important;
}
.s-table *,
table *,
.table,
[class="comparison"],
[class="table"] * {
  color: #FFFFFF !important;
}






/* 23. القوائم المنسدلة وحقول الخيارات */
.s-product-options-wrapper,
.s-product-option-single,
.s-product-option-select,
.s-product-option-select select,
.s-form-control,
.s-select-control,
select {
  background-color: #3B2D54 !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}
select option {
  background-color: #3B2D54 !important;
  color: #FFFFFF !important;
}
input,
textarea,
select,
option {
  -webkit-text-fill-color: #FFFFFF !important;
}
/* 24. زر العودة للأعلى */
#ys-back-top {
  position: fixed;
  right: 18px;
  bottom: 90px;
  z-index: 9999;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(196, 154, 255, 0.5);
  border-radius: 50%;
  background: #4C267A !important;
  color: #E3D2FF !important;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--ys-glow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
}
#ys-back-top.ys-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* 25. زر واتساب */
#ys-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 9998;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #9B5CFF !important;
  color: #FFFFFF !important;
  font-size: 24px;
  text-decoration: none;
  box-shadow: var(--ys-glow);
  transition: transform 0.3s ease;
}
#ys-whatsapp:hover {
  transform: scale(1.08);
}
/* 26. فيديو FC27 */
.ys-fc27-video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden !important;
  background: #000;
  user-select: none !important;
  -webkit-user-select: none !important;
}
.ys-fc27-video,
.ys-fc27-video iframe,
#ys-fc27-player {
  width: 100% !important;
  height: 100% !important;
}
.ys-fc27-video iframe {
  pointer-events: none !important;
}
/* 27. شريط التمرير وتحديد النص */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: #1A1030;
}
::-webkit-scrollbar-thumb {
  background: #7C3AED;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #B78AFF;
}
::selection {
  background: #9B5CFF;
  color: #FFFFFF;
}
/* 28. تحسينات الجوال */
@media (max-width: 767px) {
  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .ys-marquee-item {
    font-size: 13px !important;
    padding: 0 18px;
  }
  #ys-back-top,
  #ys-whatsapp {
    right: 14px;
  }
  .s-product-card:hover,
  .product-card:hover,
  .product-entry:hover {
    transform: none !important;
  }
}
/* 29. احترام إعداد تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  .ys-marquee-track {
    animation: none !important;
  }
  .ys-reveal,
  .ys-product-reveal,
  .ys-reveal.ys-visible,
  .ys-product-reveal.ys-product-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  #ys-welcome .ys-welcome-logo img {
    animation: none !important;
  }
  .s-product-card,
  .product-card,
  .product-entry {
    transition: none !important;
  }
}

/* تغيير لون نص (نفذت الكمية) للمنتجات المنتهية فقط */
.s-product-card-entry[data-out-of-stock] button *,
.s-product-card-entry[data-sold-out] button *,
.s-product-card.is-sold-out button *,
.s-product-card-out-of-stock button * {
    color: #ff3333 !important; /* تغير اللون إلى اللون المطلوب للنص فقط */
}

/* في حال كانت خلفية زر المنتجات المنتهية بيضاء وتبي تخليها غامقة لها لحالها */
.s-product-card-entry[data-out-of-stock] button,
.s-product-card-entry[data-sold-out] button,
.s-product-card.is-sold-out button {
    background-color: #222222 !important; /* خلفية الزر للمنتج المنتهي فقط */
    border: 1px solid #ff3333 !important;
}


/* 1. تغيير خلفية القائمة الجانبية (الدرج الجانبي) لتناسب خلفية المتجر */
.s-drawer-body,
.s-drawer-content,
.s-menu-drawer,
.mobile-menu,
.s-mobile-menu-content {
    background-color: #160a29 !important; /* لون بنفسجي داكن مثل خلفية المتجر */
    color: #ffffff !important;
}

/* 2. تغيير لون عنوان القائمة (القائمة الرئيسية) ولون زر الإغلاق X */
.s-drawer-header,
.s-drawer-header *,
.s-menu-drawer-title {
    background-color: #21103a !important; /* خلفية الهيدر العلوي للقائمة */
    color: #ffffff !important;
}

/* 3. تغيير لون روابط وعناصر القائمة إلى أزرق فاتح مع أبيض */
.s-drawer-body a,
.s-drawer-body li,
.s-menu-drawer a,
.mobile-menu a {
    color: #8be0ff !important; /* لون أزرق فاتح ناعم وواضح */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important; /* خط فاصل بسيط بين العناصر */
}

/* 4. تغيير لون العنصر عند التمرير أو الضغط عليه */
.s-drawer-body a:hover,
.s-menu-drawer a:hover {
    color: #ffffff !important; /* يصبح أبيض ناصع عند الضغط */
}


/* شريط الإحصائيات الفخم والـرسمي */
.gaming-stats-banner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: linear-gradient(135deg, #1b0733 0%, #2e0f52 100%) !important;
    border: 2px solid rgba(168, 85, 247, 0.5);
    border-radius: 18px;
    padding: 22px 15px;
    margin: 25px auto !important;
    width: 95% !important;
    max-width: 1200px;
    box-shadow: 0 12px 35px rgba(88, 28, 135, 0.5), inset 0 0 20px rgba(236, 72, 153, 0.1);
    backdrop-filter: blur(12px);
    direction: rtl;
    box-sizing: border-box;
}

.gaming-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    flex: 1;
}

.gaming-stat-num {
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    font-family: system-ui, -apple-system, sans-serif;
    letter-spacing: 0.8px;
}

.gaming-stat-desc {
    font-size: 15px;
    font-weight: 700;
    color: #e9d5ff;
}

.gaming-stat-divider {
    width: 2px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

/* تنسيق متجاوب للجوال */
@media (max-width: 480px) {
    .gaming-stats-banner {
        padding: 18px 10px;
        margin: 15px auto !important;
    }
    .gaming-stat-num {
        font-size: 20px;
    }
    .gaming-stat-desc {
        font-size: 13px;
    }
}