/* Add custom CSS styles below */ 
/* توحيد أزرار أضف إلى السلة والمفضلة بنمط الهوية الوردية المطفأة في ثيم رائد المطور */
:root {
  --btn-coral-rose: #e5989b;
  --btn-coral-rose-hover: #d88387;
  --btn-coral-rose-active: #c97276;
  --btn-text-white: #ffffff;
  --btn-radius: 10px;
}

/* زر أضف إلى السلة */
.s-product-card-actions .s-button-primary,
.s-product-card .s-button--primary,
.s-add-to-cart-btn,
button[class*="add-to-cart"],
.product-card__action .s-button-primary {
  background-color: var(--btn-coral-rose) !important;
  border-color: var(--btn-coral-rose) !important;
  color: var(--btn-text-white) !important;
  border-radius: var(--btn-radius) !important;
  box-shadow: none !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease !important;
}

.s-product-card-actions .s-button-primary:hover,
.s-product-card .s-button--primary:hover,
.s-add-to-cart-btn:hover,
button[class*="add-to-cart"]:hover,
.product-card__action .s-button-primary:hover {
  background-color: var(--btn-coral-rose-hover) !important;
  border-color: var(--btn-coral-rose-hover) !important;
  color: var(--btn-text-white) !important;
}

.s-product-card-actions .s-button-primary:active,
.s-product-card .s-button--primary:active,
.s-add-to-cart-btn:active,
button[class*="add-to-cart"]:active {
  background-color: var(--btn-coral-rose-active) !important;
  border-color: var(--btn-coral-rose-active) !important;
  transform: scale(0.99);
}

/* أيقونات ونصوص داخل زر أضف إلى السلة */
.s-product-card-actions .s-button-primary i,
.s-product-card-actions .s-button-primary svg,
.s-product-card-actions .s-button-primary span,
.s-add-to-cart-btn i,
.s-add-to-cart-btn svg,
.s-add-to-cart-btn span {
  color: var(--btn-text-white) !important;
  fill: var(--btn-text-white) !important;
}

/* زر المفضلة بجانب زر الإضافة للسلة */
.s-product-card-actions .s-button-favorite,
.s-product-card .s-button-favorite,
button[class*="favorite"],
.s-wishlist-btn {
  background-color: var(--btn-coral-rose) !important;
  border-color: var(--btn-coral-rose) !important;
  color: var(--btn-text-white) !important;
  border-radius: var(--btn-radius) !important;
  box-shadow: none !important;
  transition: background-color 0.2s ease, border-color 0.2s ease !important;
}

.s-product-card-actions .s-button-favorite:hover,
.s-product-card .s-button-favorite:hover,
button[class*="favorite"]:hover,
.s-wishlist-btn:hover {
  background-color: var(--btn-coral-rose-hover) !important;
  border-color: var(--btn-coral-rose-hover) !important;
  color: var(--btn-text-white) !important;
}

.s-product-card-actions .s-button-favorite i,
.s-product-card-actions .s-button-favorite svg,
.s-product-card .s-button-favorite i,
.s-product-card .s-button-favorite svg,
button[class*="favorite"] i,
button[class*="favorite"] svg {
  color: var(--btn-text-white) !important;
  fill: var(--btn-text-white) !important;
}
/* زر أضف إلى السلة بنفس اللون الوردي المرجاني الموحد في رائد المطور */
[class*="add-to-cart"],
[class*="add_to_cart"],
[data-salla-event*="cart.add"],
.s-button-element.s-button-primary,
.s-product-card .s-button-element,
.s-product-card button[type="button"],
.s-product-card button[type="submit"],
.product-card .s-button-element,
.product-card button[type="button"],
.product-card button[type="submit"] {
  background-color: #e5989b !important;
  border-color: #e5989b !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  transition: background-color 0.2s ease, border-color 0.2s ease !important;
}

[class*="add-to-cart"]:hover,
[class*="add_to_cart"]:hover,
[data-salla-event*="cart.add"]:hover,
.s-button-element.s-button-primary:hover,
.s-product-card .s-button-element:hover,
.s-product-card button[type="button"]:hover,
.s-product-card button[type="submit"]:hover,
.product-card .s-button-element:hover,
.product-card button[type="button"]:hover,
.product-card button[type="submit"]:hover {
  background-color: #d88387 !important;
  border-color: #d88387 !important;
  color: #ffffff !important;
}

[class*="add-to-cart"] *,
[class*="add_to_cart"] *,
[data-salla-event*="cart.add"] *,
.s-button-element.s-button-primary *,
.s-product-card .s-button-element *,
.s-product-card button[type="button"] *,
.s-product-card button[type="submit"] *,
.product-card .s-button-element *,
.product-card button[type="button"] *,
.product-card button[type="submit"] * {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
}
/* حواف دائرية ناعمة لبطاقات المنتجات والصور في رائد المطور */
.s-product-card,
[class*="product-card"],
.s-product-card-entry,
.s-product-card-wrapper {
  border-radius: 16px !important;
  overflow: hidden !important;
}

.s-product-card .s-product-card-image,
.s-product-card .s-product-card-img,
.s-product-card img,
[class*="product-card"] img,
.s-product-card figure {
  border-radius: 14px !important;
  overflow: hidden !important;
}
/* استدارة شاملة لحواف بطاقة المنتج وكل طبقاتها في رائد المطور */
.s-product-card,
[class*="product-card"],
.s-product-card-entry,
.s-product-card-wrapper,
.s-product-card > div,
[class*="product-card"] > div {
  border-radius: 16px !important;
  overflow: hidden !important;
}

.s-product-card .s-product-card-image,
.s-product-card .s-product-card-img,
.s-product-card img,
[class*="product-card"] img,
.s-product-card figure,
.s-product-card picture {
  border-radius: 14px !important;
  overflow: hidden !important;
}
/* توحيد حواف بطاقات المنتجات والخدمات وصورها في ثيم رائد المطور */
salla-products-list article,
salla-products-list .product-item,
salla-products-list .s-product,
[class*="products-list"] article,
[class*="products-list"] > div > div,
.s-products-slider-item,
.swiper-slide .s-product-card,
.swiper-slide [class*="product"] {
  border-radius: 16px !important;
  overflow: hidden !important;
}

salla-products-list article img,
salla-products-list .product-item img,
salla-products-list .s-product img,
[class*="products-list"] article img,
[class*="products-list"] > div > div img,
.s-products-slider-item img,
.swiper-slide img {
  border-radius: 14px !important;
  overflow: hidden !important;
} 
/* توحيد حواف بطاقات المنتجات والخدمات وصورها في ثيم رائد المطور */
salla-products-list article,
salla-products-list .product-item,
salla-products-list .s-product,
[class*="products-list"] article,
[class*="products-list"] > div > div,
.s-products-slider-item,
.swiper-slide .s-product-card,
.swiper-slide [class*="product"] {
  border-radius: 16px !important;
  overflow: hidden !important;
}

salla-products-list article img,
salla-products-list .product-item img,
salla-products-list .s-product img,
[class*="products-list"] article img,
[class*="products-list"] > div > div img,
.s-products-slider-item img,
.swiper-slide img {
  border-radius: 14px !important;
  overflow: hidden !important;
}
/* استهداف إضافي لحواف بطاقات المنتجات والصور في رائد المطور */
[class*="product"] .s-product-card,
[class*="product"] [class*="card"],
[class*="products"] article,
[class*="products"] .swiper-slide > div,
[class*="products"] img {
  border-radius: 16px !important;
  overflow: hidden !important;
}
/* لون بني دافئ لعنوان قسم البرامج والخدمات وأسماء المنتجات في رائد المطور */
:root {
  --brown-heading: #5c4033;
  --brown-product-title: #4a3525;
}

/* عنوان القسم (مثل برامجنا وخدماتنا) */
.s-block-title,
.s-block__title,
.s-section-title,
.section-title,
[class*="block-title"],
[class*="section-title"],
[class*="products"] h2,
[class*="products"] h3,
salla-products-list h2,
salla-products-list h3 {
  color: var(--brown-heading) !important;
}

.s-block-title *,
.s-block__title *,
.s-section-title *,
.section-title *,
[class*="block-title"] *,
[class*="section-title"] * {
  color: var(--brown-heading) !important;
}

/* اسم المنتج أو الخدمة داخل البطاقة */
.s-product-card-title,
.s-product-card-name,
.s-product-card__title,
.product-title,
.product-name,
[class*="product-card"] h2,
[class*="product-card"] h3,
[class*="product-card"] h4,
[class*="product-card"] a[href*="/p"],
[class*="product-card"] a[href*="/product"],
salla-products-list article h2,
salla-products-list article h3,
salla-products-list article a[href*="/p"] {
  color: var(--brown-product-title) !important;
}

.s-product-card-title *,
.s-product-card-name *,
.s-product-card__title *,
.product-title *,
.product-name *,
[class*="product-card"] h2 *,
[class*="product-card"] h3 *,
[class*="product-card"] h4 * {
  color: var(--brown-product-title) !important;
}
/* لون بني عنابي داكن (#58171A) لعنوان قسم البرامج والخدمات وأسماء المنتجات */
:root {
  --brand-burgundy-brown: #58171A;
}

/* عنوان القسم (مثل برامجنا وخدماتنا) */
.s-block-title,
.s-block__title,
.s-section-title,
.section-title,
[class*="block-title"],
[class*="section-title"],
[class*="products"] h2,
[class*="products"] h3,
salla-products-list h2,
salla-products-list h3 {
  color: var(--brand-burgundy-brown) !important;
}

.s-block-title *,
.s-block__title *,
.s-section-title *,
.section-title *,
[class*="block-title"] *,
[class*="section-title"] * {
  color: var(--brand-burgundy-brown) !important;
}

/* اسم المنتج أو الخدمة داخل البطاقة */
.s-product-card-title,
.s-product-card-name,
.s-product-card__title,
.product-title,
.product-name,
[class*="product-card"] h2,
[class*="product-card"] h3,
[class*="product-card"] h4,
[class*="product-card"] a[href*="/p"],
[class*="product-card"] a[href*="/product"],
salla-products-list article h2,
salla-products-list article h3,
salla-products-list article a[href*="/p"] {
  color: var(--brand-burgundy-brown) !important;
}

.s-product-card-title *,
.s-product-card-name *,
.s-product-card__title *,
.product-title *,
.product-name *,
[class*="product-card"] h2 *,
[class*="product-card"] h3 *,
[class*="product-card"] h4 * {
  color: var(--brand-burgundy-brown) !important;
}
/* تلوين أيقونات ونصوص شريط التنقل السفلي بدرجة #58171A في رائد المطور */
.s-bottom-bar,
.bottom-nav,
.mobile-bottom-bar,
.s-mobile-menu-bar,
[class*="bottom-nav"],
[class*="bottom-bar"],
[class*="mobile-nav"] {
  --color-primary: #58171A;
}

.s-bottom-bar a,
.s-bottom-bar button,
.bottom-nav a,
.bottom-nav button,
.mobile-bottom-bar a,
.mobile-bottom-bar button,
.s-mobile-menu-bar a,
.s-mobile-menu-bar button,
[class*="bottom-nav"] a,
[class*="bottom-nav"] button,
[class*="bottom-bar"] a,
[class*="bottom-bar"] button {
  color: #58171A !important;
}

.s-bottom-bar i,
.s-bottom-bar svg,
.s-bottom-bar span,
.bottom-nav i,
.bottom-nav svg,
.bottom-nav span,
.mobile-bottom-bar i,
.mobile-bottom-bar svg,
.mobile-bottom-bar span,
.s-mobile-menu-bar i,
.s-mobile-menu-bar svg,
.s-mobile-menu-bar span,
[class*="bottom-nav"] i,
[class*="bottom-nav"] svg,
[class*="bottom-nav"] span,
[class*="bottom-bar"] i,
[class*="bottom-bar"] svg,
[class*="bottom-bar"] span {
  color: #58171A !important;
  fill: #58171A !important;
  stroke: #58171A !important;
}

/* توحيد خلفية العنصر النشط في الشريط السفلي */
.s-bottom-bar .active,
.s-bottom-bar [aria-current="page"],
.bottom-nav .active,
.bottom-nav [aria-current="page"],
.mobile-bottom-bar .active,
.mobile-bottom-bar [aria-current="page"],
[class*="bottom-nav"] .active,
[class*="bottom-nav"] [aria-current="page"],
[class*="bottom-bar"] .active,
[class*="bottom-bar"] [aria-current="page"] {
  background-color: #f6e7e7 !important;
  color: #58171A !important;
}
/* أيقونات شريط التنقل السفلي مفرغة وبلون #58171A في رائد المطور */
.s-bottom-bar a,
.s-bottom-bar button,
.bottom-nav a,
.bottom-nav button,
.mobile-bottom-bar a,
.mobile-bottom-bar button,
.s-mobile-menu-bar a,
.s-mobile-menu-bar button,
[class*="bottom-nav"] a,
[class*="bottom-nav"] button,
[class*="bottom-bar"] a,
[class*="bottom-bar"] button {
  color: #58171A !important;
}

.s-bottom-bar span,
.bottom-nav span,
.mobile-bottom-bar span,
.s-mobile-menu-bar span,
[class*="bottom-nav"] span,
[class*="bottom-bar"] span {
  color: #58171A !important;
}

.s-bottom-bar i,
.bottom-nav i,
.mobile-bottom-bar i,
.s-mobile-menu-bar i,
[class*="bottom-nav"] i,
[class*="bottom-bar"] i {
  color: #58171A !important;
  -webkit-text-fill-color: #58171A !important;
}

.s-bottom-bar svg,
.bottom-nav svg,
.mobile-bottom-bar svg,
.s-mobile-menu-bar svg,
[class*="bottom-nav"] svg,
[class*="bottom-bar"] svg {
  fill: none !important;
  stroke: #58171A !important;
  color: #58171A !important;
}

.s-bottom-bar svg path,
.s-bottom-bar svg circle,
.s-bottom-bar svg rect,
.s-bottom-bar svg line,
.s-bottom-bar svg polygon,
.bottom-nav svg path,
.bottom-nav svg circle,
.bottom-nav svg rect,
.bottom-nav svg line,
.bottom-nav svg polygon,
.mobile-bottom-bar svg path,
.mobile-bottom-bar svg circle,
.mobile-bottom-bar svg rect,
.mobile-bottom-bar svg line,
.mobile-bottom-bar svg polygon,
[class*="bottom-nav"] svg path,
[class*="bottom-nav"] svg circle,
[class*="bottom-nav"] svg rect,
[class*="bottom-nav"] svg line,
[class*="bottom-nav"] svg polygon,
[class*="bottom-bar"] svg path,
[class*="bottom-bar"] svg circle,
[class*="bottom-bar"] svg rect,
[class*="bottom-bar"] svg line,
[class*="bottom-bar"] svg polygon {
  fill: none !important;
  stroke: #58171A !important;
}

/* خلفية العنصر النشط في الشريط السفلي بدون طمس الأيقونة */
.s-bottom-bar .active,
.s-bottom-bar [aria-current="page"],
.bottom-nav .active,
.bottom-nav [aria-current="page"],
.mobile-bottom-bar .active,
.mobile-bottom-bar [aria-current="page"],
[class*="bottom-nav"] .active,
[class*="bottom-nav"] [aria-current="page"],
[class*="bottom-bar"] .active,
[class*="bottom-bar"] [aria-current="page"] {
  background-color: #f6e7e7 !important;
  color: #58171A !important;
}
/* لون العنصر النشط أو المضغوط في شريط التنقل السفلي بالوردي المعتمد (#e5989b) */
.s-bottom-bar .active,
.s-bottom-bar [aria-current="page"],
.s-bottom-bar a:active,
.s-bottom-bar button:active,
.bottom-nav .active,
.bottom-nav [aria-current="page"],
.bottom-nav a:active,
.bottom-nav button:active,
.mobile-bottom-bar .active,
.mobile-bottom-bar [aria-current="page"],
.mobile-bottom-bar a:active,
.mobile-bottom-bar button:active,
[class*="bottom-nav"] .active,
[class*="bottom-nav"] [aria-current="page"],
[class*="bottom-nav"] a:active,
[class*="bottom-nav"] button:active,
[class*="bottom-bar"] .active,
[class*="bottom-bar"] [aria-current="page"],
[class*="bottom-bar"] a:active,
[class*="bottom-bar"] button:active {
  background-color: #e5989b !important;
  border-color: #e5989b !important;
  color: #58171A !important;
}

.s-bottom-bar .active span,
.s-bottom-bar [aria-current="page"] span,
.s-bottom-bar a:active span,
.s-bottom-bar button:active span,
.bottom-nav .active span,
.bottom-nav [aria-current="page"] span,
.bottom-nav a:active span,
.bottom-nav button:active span,
.mobile-bottom-bar .active span,
.mobile-bottom-bar [aria-current="page"] span,
.mobile-bottom-bar a:active span,
.mobile-bottom-bar button:active span,
[class*="bottom-nav"] .active span,
[class*="bottom-nav"] [aria-current="page"] span,
[class*="bottom-nav"] a:active span,
[class*="bottom-nav"] button:active span,
[class*="bottom-bar"] .active span,
[class*="bottom-bar"] [aria-current="page"] span,
[class*="bottom-bar"] a:active span,
[class*="bottom-bar"] button:active span {
  color: #58171A !important;
}

.s-bottom-bar .active svg,
.s-bottom-bar [aria-current="page"] svg,
.s-bottom-bar a:active svg,
.s-bottom-bar button:active svg,
.bottom-nav .active svg,
.bottom-nav [aria-current="page"] svg,
.bottom-nav a:active svg,
.bottom-nav button:active svg,
.mobile-bottom-bar .active svg,
.mobile-bottom-bar [aria-current="page"] svg,
.mobile-bottom-bar a:active svg,
.mobile-bottom-bar button:active svg,
[class*="bottom-nav"] .active svg,
[class*="bottom-nav"] [aria-current="page"] svg,
[class*="bottom-nav"] a:active svg,
[class*="bottom-nav"] button:active svg,
[class*="bottom-bar"] .active svg,
[class*="bottom-bar"] [aria-current="page"] svg,
[class*="bottom-bar"] a:active svg,
[class*="bottom-bar"] button:active svg {
  fill: none !important;
  stroke: #58171A !important;
}
/* توحيد شريط التنقل السفلي: أيقونات مفرغة بلون #58171A وخلفية وردية #e5989b عند الضغط أو التفعيل */
.s-bottom-bar a,
.s-bottom-bar button,
.bottom-nav a,
.bottom-nav button,
.mobile-bottom-bar a,
.mobile-bottom-bar button,
.s-mobile-menu-bar a,
.s-mobile-menu-bar button,
[class*="bottom-nav"] a,
[class*="bottom-nav"] button,
[class*="bottom-bar"] a,
[class*="bottom-bar"] button {
  color: #58171A !important;
}

.s-bottom-bar i,
.bottom-nav i,
.mobile-bottom-bar i,
.s-mobile-menu-bar i,
[class*="bottom-nav"] i,
[class*="bottom-bar"] i {
  color: #58171A !important;
  -webkit-text-fill-color: #58171A !important;
  background: transparent !important;
}

.s-bottom-bar svg,
.s-bottom-bar svg *,
.bottom-nav svg,
.bottom-nav svg *,
.mobile-bottom-bar svg,
.mobile-bottom-bar svg *,
.s-mobile-menu-bar svg,
.s-mobile-menu-bar svg *,
[class*="bottom-nav"] svg,
[class*="bottom-nav"] svg *,
[class*="bottom-bar"] svg,
[class*="bottom-bar"] svg * {
  fill: none !important;
  stroke: #58171A !important;
  color: #58171A !important;
}

/* حالة الضغط أو التفعيل على أي أيقونة في الشريط السفلي */
.s-bottom-bar .active,
.s-bottom-bar [aria-current="page"],
.s-bottom-bar a:active,
.s-bottom-bar button:active,
.s-bottom-bar a:focus,
.s-bottom-bar button:focus,
.bottom-nav .active,
.bottom-nav [aria-current="page"],
.bottom-nav a:active,
.bottom-nav button:active,
.bottom-nav a:focus,
.bottom-nav button:focus,
.mobile-bottom-bar .active,
.mobile-bottom-bar [aria-current="page"],
.mobile-bottom-bar a:active,
.mobile-bottom-bar button:active,
.mobile-bottom-bar a:focus,
.mobile-bottom-bar button:focus,
[class*="bottom-nav"] .active,
[class*="bottom-nav"] [aria-current="page"],
[class*="bottom-nav"] a:active,
[class*="bottom-nav"] button:active,
[class*="bottom-nav"] a:focus,
[class*="bottom-nav"] button:focus,
[class*="bottom-bar"] .active,
[class*="bottom-bar"] [aria-current="page"],
[class*="bottom-bar"] a:active,
[class*="bottom-bar"] button:active,
[class*="bottom-bar"] a:focus,
[class*="bottom-bar"] button:focus {
  background-color: #e5989b !important;
  border-color: #e5989b !important;
  color: #58171A !important;
}

.s-bottom-bar .active svg,
.s-bottom-bar .active svg *,
.s-bottom-bar [aria-current="page"] svg,
.s-bottom-bar [aria-current="page"] svg *,
.s-bottom-bar a:active svg,
.s-bottom-bar a:active svg *,
.s-bottom-bar button:active svg,
.s-bottom-bar button:active svg *,
.bottom-nav .active svg,
.bottom-nav .active svg *,
.bottom-nav [aria-current="page"] svg,
.bottom-nav [aria-current="page"] svg *,
.bottom-nav a:active svg,
.bottom-nav a:active svg *,
.bottom-nav button:active svg,
.bottom-nav button:active svg *,
.mobile-bottom-bar .active svg,
.mobile-bottom-bar .active svg *,
.mobile-bottom-bar [aria-current="page"] svg,
.mobile-bottom-bar [aria-current="page"] svg *,
.mobile-bottom-bar a:active svg,
.mobile-bottom-bar a:active svg *,
.mobile-bottom-bar button:active svg,
.mobile-bottom-bar button:active svg *,
[class*="bottom-nav"] .active svg,
[class*="bottom-nav"] .active svg *,
[class*="bottom-nav"] [aria-current="page"] svg,
[class*="bottom-nav"] [aria-current="page"] svg *,
[class*="bottom-nav"] a:active svg,
[class*="bottom-nav"] a:active svg *,
[class*="bottom-nav"] button:active svg,
[class*="bottom-nav"] button:active svg *,
[class*="bottom-bar"] .active svg,
[class*="bottom-bar"] .active svg *,
[class*="bottom-bar"] [aria-current="page"] svg,
[class*="bottom-bar"] [aria-current="page"] svg *,
[class*="bottom-bar"] a:active svg,
[class*="bottom-bar"] a:active svg *,
[class*="bottom-bar"] button:active svg,
[class*="bottom-bar"] button:active svg * {
  fill: none !important;
  stroke: #58171A !important;
}
/* كود موحد ونظيف لشريط التنقل السفلي في ثيم رائد المطور */
.s-bottom-bar,
.bottom-nav,
.mobile-bottom-bar,
.s-mobile-menu-bar,
[class*="bottom-nav"],
[class*="bottom-bar"],
[class*="mobile-nav"] {
  --color-primary: #e5989b;
}

/* الأيقونات والنصوص في الحالة العادية: مفرغة وبلون #58171A */
.s-bottom-bar a,
.s-bottom-bar button,
.bottom-nav a,
.bottom-nav button,
.mobile-bottom-bar a,
.mobile-bottom-bar button,
.s-mobile-menu-bar a,
.s-mobile-menu-bar button,
[class*="bottom-nav"] a,
[class*="bottom-nav"] button,
[class*="bottom-bar"] a,
[class*="bottom-bar"] button {
  color: #58171A !important;
  background-color: transparent !important;
}

.s-bottom-bar i,
.bottom-nav i,
.mobile-bottom-bar i,
.s-mobile-menu-bar i,
[class*="bottom-nav"] i,
[class*="bottom-bar"] i {
  color: #58171A !important;
  -webkit-text-fill-color: #58171A !important;
  background: transparent !important;
}

.s-bottom-bar svg,
.s-bottom-bar svg *,
.bottom-nav svg,
.bottom-nav svg *,
.mobile-bottom-bar svg,
.mobile-bottom-bar svg *,
.s-mobile-menu-bar svg,
.s-mobile-menu-bar svg *,
[class*="bottom-nav"] svg,
[class*="bottom-nav"] svg *,
[class*="bottom-bar"] svg,
[class*="bottom-bar"] svg * {
  fill: none !important;
  stroke: #58171A !important;
  color: #58171A !important;
}

/* الحالة النشطة أو المضغوطة: خلفية وردية #e5989b مع الحفاظ على الأيقونة مفرغة بلون #58171A */
.s-bottom-bar .active,
.s-bottom-bar [aria-current="page"],
.s-bottom-bar a:active,
.s-bottom-bar button:active,
.bottom-nav .active,
.bottom-nav [aria-current="page"],
.bottom-nav a:active,
.bottom-nav button:active,
.mobile-bottom-bar .active,
.mobile-bottom-bar [aria-current="page"],
.mobile-bottom-bar a:active,
.mobile-bottom-bar button:active,
.s-mobile-menu-bar .active,
.s-mobile-menu-bar [aria-current="page"],
.s-mobile-menu-bar a:active,
.s-mobile-menu-bar button:active,
[class*="bottom-nav"] .active,
[class*="bottom-nav"] [aria-current="page"],
[class*="bottom-nav"] a:active,
[class*="bottom-nav"] button:active,
[class*="bottom-bar"] .active,
[class*="bottom-bar"] [aria-current="page"],
[class*="bottom-bar"] a:active,
[class*="bottom-bar"] button:active {
  background-color: #e5989b !important;
  border-color: #e5989b !important;
  color: #58171A !important;
}

.s-bottom-bar .active svg,
.s-bottom-bar .active svg *,
.s-bottom-bar [aria-current="page"] svg,
.s-bottom-bar [aria-current="page"] svg *,
.s-bottom-bar a:active svg,
.s-bottom-bar a:active svg *,
.s-bottom-bar button:active svg,
.s-bottom-bar button:active svg *,
.bottom-nav .active svg,
.bottom-nav .active svg *,
.bottom-nav [aria-current="page"] svg,
.bottom-nav [aria-current="page"] svg *,
.bottom-nav a:active svg,
.bottom-nav a:active svg *,
.bottom-nav button:active svg,
.bottom-nav button:active svg *,
.mobile-bottom-bar .active svg,
.mobile-bottom-bar .active svg *,
.mobile-bottom-bar [aria-current="page"] svg,
.mobile-bottom-bar [aria-current="page"] svg *,
.mobile-bottom-bar a:active svg,
.mobile-bottom-bar a:active svg *,
.mobile-bottom-bar button:active svg,
.mobile-bottom-bar button:active svg *,
.s-mobile-menu-bar .active svg,
.s-mobile-menu-bar .active svg *,
.s-mobile-menu-bar a:active svg,
.s-mobile-menu-bar a:active svg *,
.s-mobile-menu-bar button:active svg,
.s-mobile-menu-bar button:active svg *,
[class*="bottom-nav"] .active svg,
[class*="bottom-nav"] .active svg *,
[class*="bottom-nav"] [aria-current="page"] svg,
[class*="bottom-nav"] [aria-current="page"] svg *,
[class*="bottom-nav"] a:active svg,
[class*="bottom-nav"] a:active svg *,
[class*="bottom-nav"] button:active svg,
[class*="bottom-nav"] button:active svg *,
[class*="bottom-bar"] .active svg,
[class*="bottom-bar"] .active svg *,
[class*="bottom-bar"] [aria-current="page"] svg,
[class*="bottom-bar"] [aria-current="page"] svg *,
[class*="bottom-bar"] a:active svg,
[class*="bottom-bar"] a:active svg *,
[class*="bottom-bar"] button:active svg,
[class*="bottom-bar"] button:active svg * {
  fill: none !important;
  stroke: #58171A !important;
}
/* عرض عناصر الإحصائيات بالعرض في صف أفقي متناسق في ثيم رائد المطور */
[class*="stats"] .s-stats-list,
[class*="stats"] ul,
[class*="stats"] > div > div,
salla-stats > div,
salla-stats ul {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 8px !important;
  overflow-x: auto !important;
}

[class*="stats"] .s-stats-item,
[class*="stats"] li,
[class*="stats"] > div > div > div,
salla-stats li,
salla-stats > div > div {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  text-align: center !important;
}

[class*="stats"] [class*="number"],
[class*="stats"] strong,
[class*="stats"] h3,
[class*="stats"] h4,
salla-stats [class*="number"],
salla-stats strong {
  color: #58171A !important;
}
/* فرض عرض الإحصائيات أفقياً بجانب بعض في ثيم رائد المطور */
[class*="stats"] [class*="list"],
[class*="stats"] [class*="items"],
[class*="stats"] [class*="container"] > div,
[class*="stats"] > div > div > div,
salla-stats > div > div,
salla-stats ul,
salla-stats .grid,
salla-stats [class*="flex"] {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-around !important;
  grid-template-columns: none !important;
  gap: 10px !important;
}

[class*="stats"] [class*="item"],
[class*="stats"] li,
[class*="stats"] > div > div > div > div,
salla-stats li,
salla-stats > div > div > div {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  text-align: center !important;
}
/* إجبار إحصائيات رائد المطور على الاصطفاف أفقياً في صف واحد */
[style*="fdeded" i],
[style*="FDEDED"],
[class*="stats"],
[class*="stats"] > div,
[class*="stats"] > div > div,
[class*="stats"] > div > div > div,
[class*="stats"] > div > div > div > div {
  flex-direction: row !important;
}

[style*="fdeded" i] > div,
[style*="FDEDED"] > div,
[style*="fdeded" i] > div > div,
[style*="FDEDED"] > div > div,
[class*="stats"] > div > div,
[class*="stats"] > div > div > div {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  grid-template-columns: none !important;
}

[style*="fdeded" i] > div > div > div,
[style*="FDEDED"] > div > div > div,
[class*="stats"] > div > div > div > div {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  text-align: center !important;
}
/* محاولة أخيرة لجعل قسم الإحصائيات شريطاً أفقياً نحيفاً */
[class*="stats"],
[style*="fdeded" i],
[style*="FDEDED"] {
  max-height: 110px !important;
  overflow: hidden !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

[class*="stats"] *,
[style*="fdeded" i] *,
[style*="FDEDED"] * {
  box-sizing: border-box !important;
}
/* خلفية الصفحة الكلية فقط باللون العاجي الدافئ (#FAF7F5) */
:root {
  --warm-ivory-bg: #FAF7F5;
}

html,
body,
#main,
.main-wrapper,
.s-layout,
[class*="page-wrapper"] {
  background-color: #FAF7F5 !important;
}
/* خلفية الصفحة الكلية فقط باللون العاجي الدافئ (#FAF7F5) */
:root {
  --warm-ivory-bg: #FAF7F5;
  --color-bg: #FAF7F5;
  --body-bg: #FAF7F5;
}

html,
body,
#app,
#main,
main,
.main-wrapper,
.page-main,
.s-layout,
[class*="page-wrapper"] {
  background-color: #FAF7F5 !important;
}
/* إطار وردي على الإطار الخارجي فقط لبطاقة المنتج في ثيم رائد */
.s-product-card-vertical,
.s-product-card-horizontal,
.s-block-product-item {
    border: 2px solid #F3C3C7 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background-color: #ffffff !important;
}

/* إلغاء الإطارات تماماً عن أي عنصر داخلي (صورة، سعر، زر، عنوان) */
.s-product-card-vertical *,
.s-product-card-horizontal *,
.s-block-product-item * {
    border: none !important;
}
/* تقليل المسافة بين البنرات العريضة في الصفحة الرئيسية */
section.s-block--fixed-banner,
section.s-block--banners {
  margin-top: 8px !important;
  margin-bottom: 8px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* تقليل المسافة بين أول عنصرين متتاليين من البنرات */
section.s-block--fixed-banner + section.s-block--fixed-banner,
section.s-block--banners + section.s-block--banners {
  margin-top: 6px !important;
}
/* توحيد خلفية الهيدر والشريط العلوي في ثيم رائد */
header,
header > div,
.store-header,
.store-header > div,
#mainnav,
.main-nav-container,
.s-navbar,
.s-navbar-wrapper,
[class*="header"] {
  background-color: #FAF7F5 !important;
}
/* توحيد لون زر الشراء وأزرار زيادة العدد مع زر أضف إلى السلة */
.s-button-buy-now,
[class*="buy-now"],
button[class*="buy"],
a[class*="buy"],
.s-quantity-input button,
.s-quantity button,
[class*="quantity"] button,
[class*="qty"] button,
salla-quantity-input button {
  background-color: #e5989b !important;
  border-color: #e5989b !important;
  color: #ffffff !important;
}

.s-button-buy-now:hover,
[class*="buy-now"]:hover,
button[class*="buy"]:hover,
a[class*="buy"]:hover,
.s-quantity-input button:hover,
.s-quantity button:hover,
[class*="quantity"] button:hover,
[class*="qty"] button:hover,
salla-quantity-input button:hover {
  background-color: #d68588 !important;
  border-color: #d68588 !important;
  color: #ffffff !important;
}
/* توحيد لون وتنسيق زر اشترِ الآن مع زر أضف إلى السلة في كل المنتجات */
.s-button-buy-now,
[class*="buy-now"],
button[class*="buy"],
a[class*="buy"],
salla-buy-now-button,
salla-buy-now-button button,
.s-product-card-actions button[class*="buy"],
.s-product-actions button[class*="buy"],
.sticky-add-to-cart button[class*="buy"],
[class*="sticky"] button[class*="buy"] {
  background-color: #e5989b !important;
  border: 1px solid #e5989b !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}

.s-button-buy-now:hover,
[class*="buy-now"]:hover,
button[class*="buy"]:hover,
a[class*="buy"]:hover,
salla-buy-now-button button:hover,
.s-product-card-actions button[class*="buy"]:hover,
.s-product-actions button[class*="buy"]:hover,
.sticky-add-to-cart button[class*="buy"]:hover,
[class*="sticky"] button[class*="buy"]:hover {
  background-color: #d68588 !important;
  border-color: #d68588 !important;
  color: #ffffff !important;
}
/* استهداف زر اشتر الآن بجميع أسمائه المحتملة في ثيم رائد المطور */
salla-buy-now-button,
salla-buy-now-button > *,
salla-buy-now-button button,
salla-buy-now-button a,
.s-buy-now,
.s-buy-now button,
.s-buy-now a,
.s-button-buy-now,
.s-button-buy-now button,
.s-button-buy-now a,
[data-action*="buy"],
[data-event*="buy"],
[id*="buy"],
button[class*="buy"],
a[class*="buy"] {
  background-color: #e5989b !important;
  background: #e5989b !important;
  border: 1px solid #e5989b !important;
  border-color: #e5989b !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 600 !important;
  opacity: 1 !important;
  box-shadow: none !important;
}
/* تغيير خلفية قسم آراء العملاء في ثيم رائد المطور */
[class*="testimonial"],
[class*="testimonials"],
[class*="reviews"],
section[id*="testimonial"],
section[id*="review"],
.s-testimonials,
.s-reviews-section {
  background-color: #FAF7F5 !important;
  background: #FAF7F5 !important;
}

/* خلفية بطاقة التقييم نفسها لتبقى واضحة ومريحة للعين */
[class*="testimonial"] .s-card,
[class*="testimonial"] [class*="card"],
[class*="testimonials"] [class*="item"],
.s-testimonials [class*="card"],
.s-testimonials [class*="item"] {
  background-color: #ffffff !important;
  border-color: #e5989b !important;
}