/* ========== إجبار الوضع الداكن ========== */
html,
body,
body.index,
#app,
.app-inner,
.main-content,
.store-wrapper,
.s-block,
.s-block--fixed-products-slider,
.s-block--products-slider,
section,
main,
.container {
  background-color: #101018 !important;
  color: #F5F5F7 !important;
}

/* الخطوط العامة */
p, span, label, small, li, div {
  color: inherit;
}
.s-block__title h2,
.s-block__title .title,
.s-block__title a,
.s-block__display-all {
  color: #F5F5F7 !important;
}
.s-block__display-all i,
.s-block__display-all svg {
  color: #C4B5FD !important;
}

/* ========== كروت المنتجات ========== */
.s-product-card-entry,
.s-product-card-vertical,
.s-product-card-content,
.s-product-card-content-main,
.s-product-card-content-sub,
.s-product-card-content-footer {
  background-color: #1c1c2a !important;
  color: #F5F5F7 !important;
}
.s-product-card-entry {
  border: 1px solid rgba(196, 181, 253, 0.18) !important;
}
.s-product-card-content-title a {
  color: #F5F5F7 !important;
}
.s-product-card-price,
.s-product-card-price i {
  color: #C4B5FD !important;
}

/* زر "نفدت الكمية" وأزرار الكرت */
.s-product-card-content-footer .s-button-element,
.s-product-card-content-footer button {
  background: transparent !important;
  color: #C4B5FD !important;
  border: 1.5px solid rgba(139, 92, 246, 0.6) !important;
}
.s-product-card-content-footer .s-button-element:disabled,
.s-product-card-content-footer button[disabled] {
  color: rgba(245, 245, 247, 0.4) !important;
  border-color: rgba(196, 181, 253, 0.2) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  opacity: 1 !important;
}

/* ========== الهيدر وشريط البحث ========== */
.top-navbar,
.main-nav-container,
.store-header,
header,
.navbar,
.mobile-header,
.header-bar {
  background-color: #0a0a10 !important;
  color: #F5F5F7 !important;
}
.store-header i,
.main-nav-container i,
header i,
.sicon-menu,
.sicon-shopping-bag,
.sicon-user-circle {
  color: #F5F5F7 !important;
}

/* حقل البحث */
.s-search-input,
salla-search input,
input[type="search"],
input[type="text"] {
  background-color: #1c1c2a !important;
  color: #F5F5F7 !important;
  border: 1px solid rgba(196, 181, 253, 0.2) !important;
}
::placeholder {
  color: rgba(245, 245, 247, 0.5) !important;
}

/* ========== الفوتر ========== */
footer,
.store-footer,
.store-footer__inner,
.footer-bottom {
  background-color: #0a0a10 !important;
  color: rgba(245, 245, 247, 0.7) !important;
}/* ========== مسافة بين الكروت ========== */
.s-products-list-vertical-cards,
.s-products-slider-card,
.s-block--fixed-products-slider .swiper-slide,
.s-block--products-slider .swiper-slide {
  padding: 6px !important;
}

.s-product-card-entry {
  margin: 0 !important;
  height: 100%;
}

/* ========== تحسين الصورة داخل الكرت ========== */
.s-product-card-image {
  margin: 8px 8px 0 8px !important;
  border-radius: 12px !important;
  overflow: hidden;
  background: #181822 !important;
  aspect-ratio: 1 / 1 !important;
}
.s-product-card-image a {
  display: block;
  height: 100%;
}
.s-product-card-image img,
.s-product-card-image-contain {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  padding: 0 !important;
  border-radius: 12px;
}

/* ========== زر المفضلة أوضح وأصغر ========== */
.s-product-card-wishlist-btn {
  top: 8px !important;
  inset-inline-start: 8px !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  padding: 0 !important;
  background: rgba(16, 16, 24, 0.85) !important;
  border: 1px solid rgba(196, 181, 253, 0.35) !important;
  color: #F5F5F7 !important;
  z-index: 5;
}
.s-product-card-wishlist-btn i {
  font-size: 0.8rem !important;
}

/* ========== النص تحت الصورة ========== */
.s-product-card-content {
  padding: 10px 12px 12px !important;
}
.s-product-card-content-title {
  min-height: 2.6em;
  margin-bottom: 6px;
}
.s-product-card-content-title a {
  font-size: 0.82rem !important;
  line-height: 1.4;
}

/* ========== زر نفدت الكمية أوضح ========== */
.s-product-card-content-footer .s-button-element:disabled,
.s-product-card-content-footer button[disabled] {
  color: rgba(245, 245, 247, 0.55) !important;
  border: 1px dashed rgba(196,