/* Add custom CSS styles below */ 
/* ===== بطاقات المنتجات ===== */
.s-product-card-price,
.s-product-card-sale-price h4,
.s-product-card-sale-price > span:first-child,
.s-product-card-content-footer .s-product-card-price,
custom-salla-product-card .s-product-card-price {
  color: #F3F0E8 !important;
}
.s-product-card-sale-price > span:not(:first-child),
.s-product-card-sale-price del {
  color: #B8B3A4 !important;
}
.s-product-card-promotion-title {
  background-color: #E8D9B5 !important;
  color: #1A2E22 !important;
}
.s-product-card-promotion-title::before,
.s-product-card-promotion-title::after {
  border-color: #C9B98F transparent transparent transparent !important;
}

/* ===== صفحة المنتج: السعر ===== */
.product-single .total-price,
.product-single .main-content .gap-4.flex > h2,
.product-single .main-content .gap-4.flex > h2 *,
.product-single .custom-product-view__price h2 {
  color: #F3F0E8 !important;
}
.product-single .before-price { color: #B8B3A4 !important; }
.product-single .price_is_on_sale .total-price { color: #E8D9B5 !important; }

/* ===== صفحة المنتج: صندوق الفئة ===== */
.product-single .main-content > .bg-white {
  background-color: #1A2E22 !important;
  border-color: #2E4A3A !important;
}
.product-single .bg-gray-200 { background-color: #223A2C !important; }
.product-single .bg-gray-200,
.product-single .bg-gray-200 * { color: #C9C4B5 !important; }

/* ===== صفحة المنتج: التعليقات ===== */
.product-single .tabs-details-section .tab-item { background-color: #223A2C !important; }
.product-single .tabs-details-section .tab-item,
.product-single .tabs-details-section .tab-item * { color: #F3F0E8 !important; }

/* ===== شريط كوبون الخصم ===== */
.c-coupon-code svg path { fill: #E8D9B5 !important; }
.c-coupon-code .c-coupon-text h4 { color: #1A2E22 !important; }

/* ===== الشريط العائم للمنتج ===== */
.custom-product-view {
  background-color: #223A2C !important;
  border: 1px solid #2E4A3A;
}
.custom-product-view__title { color: #F3F0E8 !important; }
.custom-product-view a:not(.bg-primary) { color: #F3F0E8 !important; }
/* كود الخصم في النافذة المنبثقة */
.custom-pop-up .pop-up-discount-copy,
.custom-pop-up .pop-up-discount-copy * {
  color: #F3F0E8 !important;
}
.custom-pop-up .pop-up-discount-copy {
  border: 1px dashed #E8D9B5 !important;
}
/* ===== القائمة الجانبية في الجوال ===== */
.mm-spn.mm-spn--light {
  background: #1A2E22 !important;
  color: #F3F0E8 !important;
}
.mm-spn.mm-spn--light li,
.mm-spn.mm-spn--light a,
.mm-spn.mm-spn--light span {
  color: #F3F0E8 !important;
}
/* عنوان «القائمة الرئيسية» وسهم الرجوع */
.mm-spn.mm-spn--light.mm-spn--navbar:after { color: #F3F0E8 !important; }
.mm-spn.mm-spn--light.mm-spn--navbar:before,
.mm-spn.mm-spn--light li:before { border-color: #F3F0E8 !important; }
/* الخطوط الفاصلة بين الروابط */
.mm-spn.mm-spn--light li:after,
.mm-spn.mm-spn--light.mm-spn--navbar ul:before { border-color: #2E4A3A !important; }
/* أسفل القائمة الجانبية في الجوال: زر الأمنيات */
.mobile-menu__wishlist {
  background-color: #1A2E22 !important;
  border-top: 1px solid #2E4A3A !important;
}
.mobile-menu__wishlist a {
  background-color: #223A2C !important;
  border: 1px solid #2E4A3A !important;
  color: #F3F0E8 !important;
}
.mobile-menu__wishlist a *,
.mobile-menu__wishlist svg {
  color: #F3F0E8 !important;
  stroke: #F3F0E8 !important;
}
/* زر إغلاق القائمة الجانبية */
.mm-ocd__backdrop + * .close-mobile-menu,
.mobile-menu .close-mobile-menu,
[class*="close"][class*="menu"] {
  background-color: #E8D9B5 !important;
  color: #1A2E22 !important;
}
/* ===== صفحة المنتج: الأزرار والكمية ===== */
.product-single .s-social-share-btn.s-button-element,
.product-single .btn--wishlist.s-button-element {
  background: #223A2C !important;
  border-color: #2E4A3A !important;
  color: #F3F0E8 !important;
}
.product-single .s-quantity-input-container,
.product-single .s-quantity-input-input,
.product-single .s-quantity-input-button {
  background: #223A2C !important;
  color: #F3F0E8 !important;
  border-color: #2E4A3A !important;
}
/* الشريط الثابت أسفل الجوال */
.sticky-product-bar {
  background: #1A2E22 !important;
  border-top: 1px solid #2E4A3A !important;
}
/* الصور المصغّرة */
.product-single .slide--one-fourth { background: #223A2C !important; }
/* أسهم السلايدر، والتعليقات، وزر الصعود */
.s-slider-nav-arrow,
.back-to-top {
  background: #223A2C !important;
  border-color: #2E4A3A !important;
  color: #F3F0E8 !important;
}
.s-comments { background: #1A2E22 !important; }
/* نافذة كوبون الخصم */
.c-coupon-content {
  background: #1A2E22 !important;
  color: #F3F0E8 !important;
}
.c-coupon-content * { color: #F3F0E8 !important; }
/* شارة المنتج في صفحة التفاصيل (مثل 250 جرام) */
.product-single .promotion-title {
  background-color: #E8D9B5 !important;
  color: #1A2E22 !important;
}
.product-single .promotion-title::before,
.product-single .promotion-title::after {
  border-color: #C9B98F transparent transparent transparent !important;
}
/* ===== صفحة السلة ===== */
.cart-item {
  background: #223A2C !important;
  border: 1px solid #2E4A3A !important;
}
.cart-item, .cart-item h1, .cart-item h2, .cart-item h3, .cart-item h4,
.cart-item a, .cart-item span, .cart-item p, .cart-item b {
  color: #F3F0E8 !important;
}
.cart-item img {
  background: #1A2E22 !important;
  border-color: #2E4A3A !important;
}
/* عدّاد الكمية في كل الصفحات */
.s-quantity-input-container,
.s-quantity-input-input,
.s-quantity-input-button {
  background: #1A2E22 !important;
  color: #F3F0E8 !important;
  border-color: #2E4A3A !important;
}
/* ملخص الطلب */
.s-cart-summary-card,
.s-cart-summary-card-bar {
  background: #223A2C !important;
  border: 1px solid #2E4A3A !important;
}
.s-cart-summary-card * {
  color: #F3F0E8 !important;
  border-color: #2E4A3A !important;
}
/* زر إتمام الطلب */
.s-cart-summary-card button,
.s-cart-summary-card .s-button-element {
  background: #F3F0E8 !important;
  color: #1A2E22 !important;
}
.s-cart-summary-card button * { color: #1A2E22 !important; }
/* ===== السلة الجانبية ===== */
.side-panel--cart,
.side-panel--cart .side-panel__top,
.side-panel--cart .side-panel__content,
.side-panel--cart .side-panel__upsell,
.side-panel--cart .side-panel__bottom {
  background: #1A2E22 !important;
  color: #F3F0E8 !important;
}
.side-panel--cart h2,
.side-panel--cart h5,
.side-panel--cart b,
.side-panel--cart strong,
.side-panel--cart .text-gray-500 {
  color: #F3F0E8 !important;
}
.side-panel--cart .border-t { border-color: #2E4A3A !important; }
/* إخفاء النص المعطّل cart.items_count */
.side-panel--cart .cart-products-count { display: none !important; }
/* زر «متابعة التسوق» */
.side-panel--cart .close-side-panel {
  border-color: #E8D9B5 !important;
  color: #F3F0E8 !important;
}
/* زر الإغلاق */
/* زر إغلاق السلة الجانبية: علامة ✕ بيضاء بلا خلفية */
.side-panel--cart .menu-close {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #FFFFFF !important;
  filter: none !important;
}
.side-panel--cart .menu-close::before,
.side-panel--cart .menu-close::after,
.side-panel--cart .menu-close i,
.side-panel--cart .menu-close span {
  color: #FFFFFF !important;
  background-color: #FFFFFF;
}
.side-panel--cart .menu-close svg {
  stroke: #FFFFFF !important;
  fill: #FFFFFF !important;
}
/* زر حذف المنتج من السلة: دائرة بإطار هادئ بلا مستطيل */
.cart-item [class*="remove"],
.cart-item [class*="delete"] {
  background-color: transparent !important;
}
.cart-item button[class*="remove"],
.cart-item button[class*="delete"],
.cart-item [class*="remove"] button,
.cart-item [class*="delete"] button {
  background-color: transparent !important;
  border-color: #E8D9B5 !important;
  color: #F3F0E8 !important;
}
.s-product-options-thumbnails-wrapper{display:flex !important;flex-wrap:wrap;gap:12px !important}
.s-product-options-thumbnails-wrapper>div{width:auto !important;flex:0 0 auto !important;display:flex !important;flex-direction:column;align-items:center;gap:6px}
.s-product-options-thumbnails-wrapper>div>p{font-size:12px;margin:0;color:#C9C4B5}
.s-product-options-thumbnails-wrapper>div>input:checked ~ p{color:#F3F0E8}
.s-product-options-thumbnails-wrapper label.go-to-slide{width:38px !important;height:38px !important;min-width:0 !important;padding:0 !important;border-radius:50% !important;overflow:hidden;position:relative;border:2px solid #2E4A3A !important;box-shadow:0 0 0 2px #1A2E22;cursor:pointer;transition:box-shadow .2s}
.s-product-options-thumbnails-wrapper label.go-to-slide img{opacity:0 !important}
.s-product-options-thumbnails-wrapper input:checked + label.go-to-slide{box-shadow:0 0 0 2px #1A2E22,0 0 0 4px #E8D9B5 !important}
.s-product-options-thumbnails-wrapper .s-product-options-thumbnails-icon{display:none !important}
.s-product-options-thumbnails-wrapper label:has(img[title="أبيض"]){background:#F5F3EE !important}
.s-product-options-thumbnails-wrapper label:has(img[title="أسود"]){background:#111111 !important}
.s-product-options-thumbnails-wrapper label:has(img[title="بيج"]){background:#D9C3A0 !important}
.s-product-options-thumbnails-wrapper label:has(img[title="أصفر"]){background:#F4E08A !important}
.s-product-options-thumbnails-wrapper label:has(img[title="أخضر مريمي"]){background:#B4C6AC !important}
.s-product-options-thumbnails-wrapper label:has(img[title="أخضر نعناعي"]){background:#A9D3AA !important}
.s-product-options-thumbnails-wrapper label:has(img[title="كريمي"]){background:#F3EAC8 !important}
salla-products-slider[source="related"]:not(:has([class*="product-card"])){display:none !important}
salla-product-options select.s-form-control{background-color:#223A2C !important;color:#F3F0E8 !important;border-color:#2E4A3A !important}
.s-breadcrumb-item,.s-breadcrumb-item a{color:#C9C4B5 !important}
.s-breadcrumb-item a:hover{color:#E8D9B5 !important}
.content--single-page{background:#223A2C !important;color:#F3F0E8 !important;border:1px solid #2E4A3A;border-radius:14px !important}
.content--single-page *{color:inherit !important}
.content--single-page h1{color:#E8D9B5 !important}
#product-filter{background-color:#223A2C !important;color:#F3F0E8 !important;border-color:#2E4A3A !important}
label[for="product-filter"]{color:#C9C4B5 !important}
.s-product-options-thumbnails-wrapper label.go-to-slide:has(img[title*="جرام"]){width:84px !important;height:84px !important;border-radius:12px !important;background:#F3F0E8 !important}
.s-product-options-thumbnails-wrapper label.go-to-slide:has(img[title*="جرام"]) img{opacity:1 !important;width:100% !important;height:100% !important;object-fit:cover}
.s-product-options-thumbnails-wrapper label.go-to-slide:has(img[title^="تيشيرت"]){width:76px !important;height:95px !important;border-radius:10px !important;background:#F3F0E8 !important}
.s-product-options-thumbnails-wrapper label.go-to-slide:has(img[title^="تيشيرت"]) img{opacity:1 !important;width:100% !important;height:100% !important;object-fit:cover}