/* خلفية الصفحة والفوتر والنوافذ: بيج */
body,
.s-app,
main,
footer,
.store-footer,
.store-footer__inner,
.s-modal,
.s-search-modal,
header,
.s-header,
.store-header {
  background-color: #cbb8a1 !important;
  color: #453131 !important;
}

/* لون النصوص: بني */
p, span, h1, h2, h3, h4, li, label {
  color: #453131 !important;
}

/* البطاقات والتصنيفات والحقول: بيج فاتح بدل الأبيض */
.s-product-card-entry,
.s-product-card,
.s-product-card-content,
.s-product-card-image,
.s-block--main-links a,
.s-block--categories a,
[class*="main-links"] a,
[class*="category-card"],
.bg-white,
input,
textarea,
select,
.s-quantity-input-input {
  background-color: #e6d7c3 !important;
  color: #453131 !important;
  border-color: #453131 !important;
}

/* كل الأزرار: خلفية بنية ونص بيج */
.s-button-element,
.s-add-product-button button,
.s-button-gray-outline,
.s-button-primary,
.s-button-primary-outline,
.s-button-outline,
.s-social-share-btn,
.btn--wishlist {
  background-color: #453131 !important;
  color: #f3eadf !important;
  border: 1px solid #453131 !important;
  border-radius: 12px !important;
}

.s-button-element:hover,
.s-add-product-button button:hover,
.s-button-gray-outline:hover {
  background-color: #85735f !important;
  color: #f3eadf !important;
}

.s-button-element,
.s-button-element span,
.s-button-gray-outline,
.s-button-gray-outline span,
.s-add-product-button button,
.s-add-product-button button span {
  color: #f3eadf !important;
}

/* أزرار القلب والأسهم: دائرة بيج بإطار بني */
.s-product-card-wishlist-btn,
.s-product-card-wishlist-btn button,
.s-slider-prev,
.s-slider-next,
.s-slider-nav-arrow {
  background-color: #e6d7c3 !important;
  color: #453131 !important;
  border: 1px solid #453131 !important;
  border-radius: 50% !important;
}

.sicon-heart,
.s-button-text,
.s-slider-button-icon {
  background: transparent !important;
  border: none !important;
  color: #453131 !important;
}

/* أيقونات الحساب والبحث */
.sicon-user,
.sicon-search,
header svg {
  color: #453131 !important;
  fill: #453131 !important;
  stroke: #453131 !important;
}

.s-cart-summary-count {
  background-color: #453131 !important;
  color: #cbb8a1 !important;
}

/* شعار الهيدر فقط: إخفاء الأبيض على البيج */
header img[alt*="logo"],
header img[alt*="Logo"],
.s-header img[alt*="logo"],
a[aria-label*="logo"] img {
  background: transparent !important;
  mix-blend-mode: multiply !important;
  box-shadow: none !important;
}

/* البنر العريض الأول فقط */
.s-block--fixed-banner:first-of-type img {
  mix-blend-mode: multiply;
  background: transparent !important;
}

/* بطاقات آراء العملاء في الرئيسية */
.s-reviews-testimonial,
.s-reviews-testimonial__inner {
  background-color: #e6d7c3 !important;
  color: #453131 !important;
}

.s-reviews-testimonial h2,
.s-reviews-testimonial h3,
.s-reviews-testimonial span,
.s-reviews-testimonial p {
  font-size: 14px !important;
  font-weight: 500 !important;
  text-align: right !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline !important;
  color: #453131 !important;
  background: none !important;
}

.s-reviews-testimonial h2::after,
.s-reviews-testimonial h3::after,
.s-reviews-testimonial span::after {
  content: none !important;
  display: none !important;
}

/* صور التصنيفات */
.slide--cat-entry img,
[class*="main-links"] img.rounded-full {
  background-color: #e6d7c3 !important;
  border: 1px solid #453131 !important;
  border-radius: 50% !important;
  mix-blend-mode: multiply;
}

.s-block--categories .slide--cat-entry h2 {
  font-size: 18px !important;
  font-weight: 700 !important;
  text-align: center !important;
  padding: 0 !important;
  margin: 8px 0 0 !important;
  background: none !important;
}

.s-block--categories .slide--cat-entry h2::after {
  content: none !important;
  display: none !important;
}

/* خلفية المنتجات المتحركة */
.s-products-slider-wrapper,
.s-block--best-offers {
  background-color: #cbb8a1 !important;
}

/* عناوين الأقسام: تظليل خلف الكلمة */
.s-products-slider-slider .s-slider-block__title,
#main-links-2 .s-slider-block__title,
.s-block--categories .s-slider-block__title,
.s-reviews-header-wrapper {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  padding: 0 !important;
  margin-bottom: 36px !important;
}

.s-products-slider-slider .s-slider-block__title h2,
#main-links-2 .s-slider-block__title h2,
.s-block--categories .s-slider-block__title h2,
.s-reviews-header {
  position: relative !important;
  display: inline-flex !important;
  justify-content: center !important;
  width: auto !important;
  margin: 0 auto 28px !important;
  padding: 4px 16px !important;
  font-size: 30px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-align: center !important;
  color: #453131 !important;
  background: linear-gradient(#e6d7c3, #e6d7c3) center 62% / 100% 42% no-repeat !important;
}

.s-products-slider-slider .s-slider-block__title h2::after,
#main-links-2 .s-slider-block__title h2::after,
.s-block--categories .s-slider-block__title h2::after,
.s-reviews-header::after {
  content: none !important;
  display: none !important;
}

/* أسهم المنتجات المتحركة: يمين ويسار */
.s-products-slider-slider {
  position: relative !important;
}

.s-products-slider-slider .s-slider-prev,
.s-products-slider-slider .s-slider-next {
  position: absolute !important;
  top: 55% !important;
  z-index: 5 !important;
  margin: 0 !important;
}

.s-products-slider-slider .s-slider-prev {
  right: 8px !important;
  left: auto !important;
}

.s-products-slider-slider .s-slider-next {
  left: 8px !important;
  right: auto !important;
}

/* صور المنتجات: مربع موحّد */
.s-product-card-image {
  aspect-ratio: 1 / 1 !important;
  background-color: #e6d7c3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.s-product-card-image img,
.s-product-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  mix-blend-mode: normal !important;
}

/* ظهور البطاقات تدريجيًا */
@keyframes steam-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide--cat-entry,
.s-product-card,
.s-reviews-testimonial {
  animation: steam-rise 0.7s ease both;
}

/* شريط اشتريها معاً تحت المنتج */
salla-bought-together,
.s-bought-together-entry,
.s-bought-together-wrapper {
  background-color: #e6d7c3 !important;
  color: #453131 !important;
  border-radius: 12px !important;
}

/* تقييمات صفحة المنتج */
.s-product-comments,
.s-product-reviews,
salla-comments,
[class*="comments"] {
  background-color: #cbb8a1 !important;
  margin-top: 24px !important;
  padding: 16px !important;
}

.s-product-comments .s-reviews-testimonial,
salla-comments .s-comment,
[class*="comment-item"] {
  background-color: #e6d7c3 !important;
  color: #453131 !important;
  border: 1px solid #453131 !important;
  border-radius: 12px !important;
}

/* أيقونة السلة الظاهرة: حقيبة مصمتة */
salla-cart-summary .sicon-shopping-bag::before,
salla-cart-summary .header-btn__icon::before {
  content: none !important;
  font-size: 0 !important;
}

salla-cart-summary .sicon-shopping-bag {
  width: 60px !important;
  height: 28px !important;
  min-width: 28px !important;
  font-size: 0 !important;
  line-height: 28px !important;
  display: inline-block !important;
  background-color: #453131 !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 8h12l-1 12H7L6 8zm3-3a3 3 0 0 1 6 0v3h-2V5a1 1 0 0 0-2 0v3H9V5z'/%3E%3C/svg%3E") center / 22px 22px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 8h12l-1 12H7L6 8zm3-3a3 3 0 0 1 6 0v3h-2V5a1 1 0 0 0-2 0v3H9V5z'/%3E%3C/svg%3E") center / 22px 22px no-repeat;
}
/* تعليقات الصفحة: إخفاء الصندوق الفاضي */
salla-comments .s-comments-header:empty,
salla-comments .s-comments-page-container > div:empty {
  display: none !important;
}

salla-comments,
.s-comments,
.s-comments-page,
.s-comments-page-container {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  min-height: 0 !important;
}

salla-comment-form,
salla-comment-form form,
.s-comments textarea,
.s-comments input {
  background-color: #e6d7c3 !important;
  color: #453131 !important;
  border: 1px solid #453131 !important;
  border-radius: 12px !important;
}

salla-comment-form button {
  background-color: #453131 !important;
  color: #f3eadf !important;
  border-radius: 12px !important;
}