/* Add custom CSS styles below */ 
body,
html,
.app,
.store-layout,
.main-content,
.main-content-wrapper,
.s-block,
.s-section,
.container,
section {
  background-color: #000 !important;
}
body,
body p,
body span,
body a,
body li,
body strong,
body small,
body label,
body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
.s-block,
.s-block p,
.s-block span,
.s-block__title,
.s-block__subtitle,
.section-title,
.section-subtitle,
.product-title,
.product-name,
.price,
.content-entry {
  color: #ffffff !important;
}
.s-product-card-content,
.s-product-card-content-main,
.s-product-card-content-sub,
.s-product-card-content-footer {
  background: #000000 !important;
  border: 1.5px solid #33d1d1 !important;
  border-radius: 18px !important;
}

.s-product-card-content {
  padding: 14px !important;
  box-shadow: 0 0 0 1px rgba(51, 209, 209, 0.15) inset !important;
}

.s-product-card-content *,
.s-product-card-content-main *,
.s-product-card-content-sub *,
.s-product-card-content-footer * {
  color: #ffffff !important;
}
/* الإطار الخارجي الكامل للكارت */
.s-product-card-entry {
  border: 1.5px solid #33d1d1 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: transparent !important;
  box-shadow: 0 0 12px rgba(51, 209, 209, 0.08) !important;
}

/* صورة المنتج بدون أي إطار داخلي */
.s-product-card-image {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

/* الجزء السفلي فقط يكون أسود */
.s-product-card-content {
  background: #000000 !important;
  border: 0 !important;
  border-top: 1.5px solid #33d1d1 !important;
  border-radius: 0 !important;
  padding: 14px !important;
}

/* إزالة أي إطارات داخلية فرعية */
.s-product-card-content-main,
.s-product-card-content-sub,
.s-product-card-content-footer,
.s-product-card-content-footer .w-full,
.s-product-card-content h3,
.s-product-card-content a,
.s-product-card-content div {
  border: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
}

/* لون النصوص داخل الجزء الأسود */
.s-product-card-content *,
.s-product-card-content .s-product-card-content-title a,
.s-product-card-content .price,
.s-product-card-content .s-product-card-price {
  color: #ffffff !important;
}

/* إرجاع الزرار السفلي لشكله الطبيعي */
.s-product-card-content-footer .w-full,
salla-add-product-button,
salla-add-product-button .w-full,
salla-add-product-button button,
.s-product-card-content-footer button {
  background: initial !important;
  border: initial !important;
  border-radius: initial !important;
  box-shadow: none !important;
  color: initial !important;
  padding: initial !important;
}

/* لو الثيم مدي الزرار لون رمادي باهت، خليه أوضح */
.s-product-card-content-footer button,
salla-add-product-button button {
  color: #000 !important;
}
.s-product-card-content-footer * {
  border-radius: 12px !important;
}
/* =========================
   1) زرار أسفل المنتج
========================= */
.s-product-card-content-footer .w-full,
.s-product-card-content-footer button,
.s-product-card-content-footer .s-button-btn,
salla-add-product-button .w-full,
salla-add-product-button button,
salla-button.s-button-wrap,
salla-button.s-button-wrap button,
.s-product-card-entry salla-button[shape="btn"] button {
  background: #111111 !important;
  color: #ffffff !important;
  border: 1.5px solid #33d1d1 !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  padding: 10px 14px !important;
  opacity: 1 !important;
}

/* لو الزر disabled أو نفدت الكمية */
.s-product-card-content-footer .w-full *,
salla-add-product-button *,
.s-product-card-entry salla-button[shape="btn"] * {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* =========================
   2) زرار اللايك / المفضلة
========================= */
.s-product-card-wishlist-btn button,
.s-product-card-wishlist-btn .s-button-icon,
.s-product-card-wishlist-btn salla-button button,
button[name^="product-name-"] {
  background: #111111 !important;
  border: 1.5px solid #33d1d1 !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

.s-product-card-wishlist-btn svg,
.s-product-card-wishlist-btn i,
.s-product-card-wishlist-btn path,
button[name^="product-name-"] svg,
button[name^="product-name-"] path {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
  opacity: 1 !important;
}

/* =========================
   3) فلتر الترتيب
========================= */
#product-filter,
select#product-filter,
.form-input,
select.form-input {
  background: #ffffff !important;
  color: #000000 !important;
  border: 1.5px solid #33d1d1 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

#product-filter option,
select#product-filter option {
  color: #000000 !important;
  background: #ffffff !important;
}

/* لو فيه أيقونة السهم داخل الفلتر */
#product-filter,
select#product-filter {
  -webkit-text-fill-color: #000000 !important;
}
.s-product-card-entry salla-button[disabled] button,
.s-product-card-entry button[disabled] {
  background: #111111 !important;
  color: #ffffff !important;
  border: 1.5px solid #33d1d1 !important;
  opacity: 1 !important;
}
/* =========================
1) إظهار سهم قائمة الترتيب
========================= */
#product-filter,
select#product-filter,
.form-input,
select.form-input {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background: #ffffff !important;
  color: #000000 !important;
  border: 1.5px solid #33d1d1 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  padding-left: 42px !important;
  padding-right: 16px !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: left 14px center !important;
  background-size: 16px !important;
}

#product-filter option,
select#product-filter option {
  background: #ffffff !important;
  color: #000000 !important;
}

/* =========================
2) إخفاء زرار اللايك نهائيًا
========================= */
.s-product-card-wishlist-btn,
.s-product-card-wishlist-btn button,
button[name^="product-name-"],
salla-button.s-product-card-wishlist-btn,
.s-product-card-entry salla-button[shape="icon"] {
  display: none !important;
}

/* =========================
3) إعادة ضبط زرار نفدت الكمية
========================= */
.s-product-card-content-footer,
.s-product-card-content-footer .w-full,
.s-product-card-content-footer salla-add-product-button,
.s-product-card-content-footer salla-button,
.s-product-card-content-footer button {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.s-product-card-content-footer .w-full {
  width: 100% !important;
}

.s-product-card-content-footer salla-button[shape="btn"],
.s-product-card-content-footer salla-button.s-button-wrap,
.s-product-card-content-footer salla-button button,
.s-product-card-content-footer button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 46px !important;
  background: #111111 !important;
  color: #ffffff !important;
  border: 1.5px solid #33d1d1 !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  padding: 12px 16px !important;
  margin: 0 !important;
  opacity: 1 !important;
  outline: none !important;
}

.s-product-card-content-footer salla-button *,
.s-product-card-content-footer button *,
.s-product-card-content-footer .w-full * {
  color: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* لو الزر disabled */
.s-product-card-entry salla-button[disabled] button,
.s-product-card-entry button[disabled] {
  background: #111111 !important;
  color: #ffffff !important;
  border: 1.5px solid #33d1d1 !important;
  border-radius: 14px !important;
  opacity: 1 !important;
}
/* خلفية شريط أدوات التعديل داخل المحرر */
.section-is-hovered .s-design-after ul,
.section-is-editing .s-design-after ul,
.s-design-after ul {
  background: #000000 !important;
  border: 1px solid #33d1d1 !important;
  border-radius: 12px !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.35) !important;
}
/* لون الأيقونات داخل الشريط */
.section-is-hovered .s-design-after ul *,
.section-is-editing .s-design-after ul *,
.s-design-after ul * {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
}