/* الهيدر يركب فوق البانر (في الصفحة الرئيسية بس) */
body.index .store-header {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

/* الخلفية شفافة */
body.index .store-header .header-inner {
  background-color: transparent !important;
}
body.index #mainnav {
  box-shadow: none !important;
}

/* لما يعمل سكرول والهيدر يثبت فوق، يرجع أبيض عشان يتقري */
body.index #mainnav.fixed-pinned .header-inner {
  background-color: #000 !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.08) !important;
}


/* لو الثيم اتحوّل للوضع الداكن، يفضل أبيض برضه */
html.theme-dark body,
html.theme-dark .da-bgm {
  background-color: #ffffff !important;
}

/* رفع كلام البانر الرئيسي 150px على الموبايل */
@media (max-width: 767px) {
  .s-block--hero-slider .swiper-slide .flex-center.md\:items-start.flex-col.gap-4 {
    transform: translateY(-175px) !important;
  }
}


/* صور الأقسام على خط واحد من فوق مهما كان طول الاسم */
.square-grid {
  align-items: start !important;
}


/* ألوان الزرار - غيّرهم من هنا */
:root {
  --btn-main: #F5EC00;
  --btn-dark: #000000;
  --btn-hover-text: #ffffff;
}

/* عادي: أصفر والكلام أسود */
.s-product-card-content-footer salla-add-product-button button.s-button-element.s-button-primary-outline {
  background-color: var(--btn-main) !important;
  border: 1px solid var(--btn-main) !important;
  opacity: 1 !important;
  transition: all .3s ease !important;
}
.s-product-card-content-footer salla-add-product-button button.s-button-element.s-button-primary-outline,
.s-product-card-content-footer salla-add-product-button button.s-button-element.s-button-primary-outline * {
  color: var(--btn-dark) !important;
}

/* هوفر: أسود، بوردر أصفر، والكلام أبيض */
.s-product-card-content-footer salla-add-product-button button.s-button-element.s-button-primary-outline:hover {
  background-color: var(--btn-dark) !important;
  border-color: var(--btn-main) !important;
}
.s-product-card-content-footer salla-add-product-button button.s-button-element.s-button-primary-outline:hover,
.s-product-card-content-footer salla-add-product-button button.s-button-element.s-button-primary-outline:hover * {
  color: var(--btn-hover-text) !important;
}

/* خلفية سكاشن المنتجات شفافة */
html body .s-block--tabs-produtcs .tabs-wrapper {
  background-color: transparent !important;
}

#featured-products-style2-3 .tabs-wrapper {
  background-color: transparent !important;
}

#featured-products-style2-8 .tabs-wrapper {
  background-color: transparent !important;
}

#featured-products-style2-7 .tabs-wrapper {
  background-color: transparent !important;
}

/* أيقونة + في الأسئلة الشائعة */
html body .s-block--faqs .faq-item.open-badge {
  background-color: #F5EC00 !important;
  color: #000 !important;
}
html body .s-block--faqs .faq-item.open-badge::before {
  color: #000 !important;
}




/* =========================================
   الفوتر - خلفية #1E1E1E
   ========================================= */
html body .store-footer,
html body .store-footer .store-footer__inner,
html body .store-footer .store-footer__inner.da-bgm {
  background-color: #1E1E1E !important;
}

/* كل الكلام أبيض */
.store-footer,
.store-footer p,
.store-footer span,
.store-footer strong,
.store-footer b,
.store-footer a,
.store-footer i,
.store-footer .da-tm,
.store-footer .s-contacts-title,
.store-footer .s-contacts-item {
  color: #ffffff !important;
}
.store-footer svg {
  fill: #ffffff !important;
}

/* العناوين أصفر */
.store-footer .footer-title {
  color: #F5EC00 !important;
}

/* الروابط في الهوفر صفرا */
.store-footer a:hover,
.store-footer a:hover * {
  color: #F5EC00 !important;
  fill: #F5EC00 !important;
}

/* الخطوط الفاصلة خفيفة */
.store-footer .da-brdr,
.store-footer .footer-container {
  border-color: rgba(255,255,255,.15) !important;
}

/* سطر الحقوق رمادي */
.store-footer .copyrights p {
  color: #9ca3af !important;
}

/* خانة الإيميل */
.store-footer .mail-input {
  background-color: #2a2a2a !important;
  color: #ffffff !important;
  border-color: #444 !important;
}
.store-footer .mail-input::placeholder {
  color: #aaa !important;
}

/* دواير السوشيال والتواصل */
.store-footer .s-social-link a,
.store-footer .s-contacts-item {
  background-color: #2a2a2a !important;
  border-color: #3a3a3a !important;
}
.store-footer .s-social-link a:hover,
.store-footer .s-contacts-item:hover {
  background-color: #F5EC00 !important;
}
.store-footer .s-social-link a:hover svg,
.store-footer .s-contacts-item:hover svg {
  fill: #1E1E1E !important;
}
/* الخطوط الفاصلة تبقى خفيفة */
.store-footer .da-brdr,
.store-footer .footer-container {
  border-color: rgba(255,255,255,.15) !important;
}

/* سطر الحقوق رمادي */
.store-footer .copyrights p {
  color: #9ca3af !important;
}

/* خانة الإيميل */
.store-footer .mail-input {
  background-color: #2a2a2a !important;
  color: #ffffff !important;
  border-color: #444 !important;
}
.store-footer .mail-input::placeholder {
  color: #aaa !important;
}

/* دواير السوشيال والتواصل غامقة (عشان الأيقونة البيضا تبان) */
.store-footer .s-social-link a,
.store-footer .s-contacts-item {
  background-color: #2a2a2a !important;
  border-color: #3a3a3a !important;
}
.store-footer .s-social-link a:hover,
.store-footer .s-contacts-item:hover {
  background-color: #F5EC00 !important;
}
.store-footer .s-social-link a:hover svg,
.store-footer .s-contacts-item:hover svg {
  fill: #1E1E1E !important;
}