/* Add custom CSS styles below */ 
.s-user-menu-login-btn, .header-btn__icon {
  border-width: 0px;
  width: 1.2rem;
}
#custom-image-header .s-cart-summary-wrapper {
  gap: 0px !important;
}
#custom-image-header .s-cart-summary-count {
  width: 15px !important;
    height: 15px !important;
      top: 5px !important;
    left: : 2px !important;

}
.cih-left {
  gap: 15px;
}
.s-cart-summary-wrapper {
  justify-content: flex-end;
}
salla-cart-summary {
      min-width: auto;
}

.top-navbar {
  display: none;
}
#mainnav, #mainnav > div, #app > div.app-inner.flex.flex-col.min-h-full > header {
  border-radius: 0rem 0rem 2rem 2rem !important;
}
#custom-image-header {
    border-radius: 0rem 0rem 1.5rem 1.5rem !important;

}
/* استهداف الحاوية لأول بانر فقط وإلغاء أي تقييد للعرض */
.s-block--fixed-banner:first-of-type .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* إزالة أي حواف دائرية أو مسافات من رابط البانر */
.s-block--fixed-banner:first-of-type .banner {
    border-radius: 0 !important;
    display: block !important;
    width: 100% !important;
}

/* إجبار الصورة على أخذ العرض الكامل للشاشة */
.s-block--fixed-banner:first-of-type img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important; /* للحفاظ على جودة الصورة بدون تمطيط */
background: transparent;
}
/* مسح أي حواف دائرية (Radius) من أول بانر وكل العناصر اللي جواه */
.s-block--fixed-banner:first-of-type,
.s-block--fixed-banner:first-of-type .container,
.s-block--fixed-banner:first-of-type .banner,
.s-block--fixed-banner:first-of-type picture,
.s-block--fixed-banner:first-of-type img {
    border-radius: 0 !important;
}
#custom-image-header {
      background: transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.0);
}
#main-content > section.s-block.s-block--fixed-banner.wide-placeholder:first-of-type {
      margin-top: -5.3rem !important;
}
.section-container {
   background: transparent !important;
}
#main-content > section > div > a > picture > img {
  background: transparent !important;
}

#main-content > section:nth-child(5),#main-content > section:nth-child(8),#main-content > section:nth-child(10),#main-content > section:nth-child(13),#main-content > section:nth-child(15) {
  margin-top: 1rem;
}
.s-product-card-entry , div.s-product-card-image > a > img ,div.s-product-card-image > a, div.s-product-card-image{
  border-radius: 1.5rem !important;
}
div.s-product-card-image {
  padding: 5px;
  background: white;
}
div.s-product-card-content > div.s-product-card-content-footer.gap-2 > salla-add-product-button > div > salla-button > button {
  border-radius: 5rem !important;
    background: #c9a869;
    color: white;
}
.s-block__display-all {
  display: block;
  width: fit-content;
  margin: 20px auto 0;

  color: #c9a869;
  background: transparent;
  border: 2px solid #c9a869;
  border-radius: 5rem;

  padding: 10px 24px;
  font-size: 14px;
  text-align: center;

  transition: 0.3s ease;
}

.s-block__display-all:hover {
  background: #c9a869;
  color: #fff;
}

/*.s-block__title,.custom-view-all-btn i {
  display: none;
}
*/
.s-block__display-all {
  padding: 5px 16px !important;
}

.s-reviews-header-wrapper {
  display: none;
}
.s-block--testimonials.container {
  margin-top: 1rem;
}

#main-content > section:nth-child(5) {
      margin-top: -.5rem;
}


/* إجبار الحاوية على أخذ العرض بالكامل والتوسيط */
.s-block__title {
    width: 100% !important;
    display: block !important;
}

.s-block__title .right-side {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
}

/* تنسيق العنوان وتوسيطه بالمنتصف */
.s-block__title h2 {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 15px; /* المسافة بين الكلمة والخطوط */
    color: #c9a869; /* اللون الجديد */
    font-size: 28px;
    font-weight: bold;
    margin: 0 auto;
    padding: 10px 0;
}

/* إعدادات الخطوط الجانبية المشتركة */
.s-block__title h2::before,
.s-block__title h2::after {
    content: "";
    display: block;
    width: 150px; /* طول الخط */
    height: 2px; /* سمك الخط */
}

/* الخط الأيمن */
.s-block__title h2::before {
    /* تدرج لوني يختفي لليمين باللون الجديد */
    background: linear-gradient(to right, #c9a869, transparent);
    clip-path: polygon(0 0, 0 100%, 100% 50%);
}

/* الخط الأيسر */
.s-block__title h2::after {
    /* تدرج لوني يختفي لليسار باللون الجديد */
    background: linear-gradient(to left, #c9a869, transparent);
    clip-path: polygon(100% 0, 100% 100%, 0 50%);
}

/* التجاوب مع شاشات الجوال */
@media (max-width: 768px) {
    .s-block__title h2 {
        font-size: 16px;
        gap: 10px;
    }
    .s-block__title h2::before,
    .s-block__title h2::after {
        width: 80px; /* تصغير الخطوط في الجوال */
    }
}


.s-block__title .right-side:where([dir=rtl],[dir=rtl] *) {
    padding-left: 0rem;
}