:root {
  --main-color: #E8F5E9;   /* أخضر فاتح للهيدر والفوتر والخلفية */
  --second-color: #1B5E20; /* نصوص بالأخضر الغامق */
  --header-height: 80px;
}

/* BODY */
body {
  background-color: var(--main-color) !important;
}

/* HEADER & NAVBAR */
#mainnav,
.inner,
.sub-menu {
  background: var(--main-color) !important;
}

#mainnav,
#mainnav i:before,
#mainnav b {
  color: var(--second-color) !important;
}

.main-menu li.root-level > a,
.main-nav .icon {
  color: var(--second-color) !important;
}

/* FOOTER */
.store-footer__inner {
  background-color: var(--main-color) !important;
  color: var(--second-color) !important;
}

footer h3 {
  background-color: #388E3C; /* تمييز العناوين بخلفية أغمق */
  color: #fff;
}

/* الأيقونة */
.s-block--features__item .feature-icon {
  background-color: #388E3C; /* أخضر أغمق */
  box-shadow: 0 0 0 0 rgba(27, 94, 32, 0.6);
}

/* الروابط hover */
.store-footer__inner .s-social-list .s-social-link:hover svg {
  fill: #388E3C !important;   /* أخضر أوضح */
}

/* مربعات الشعارات */
.grid .brand-item {
  background: #A5D6A7;   /* أخضر فاتح متوسط */
}

.grid .brand-item img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}
footer h3 {
  background-color: #a5efa9; /* لون الخلفية */
  color: #fff; /* لون الخط */
  font-size: 18px;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 6px; /* يخلي الحواف ناعمة */
  display: inline-block; /* يخلي الصندوق على قد النص */
  margin-bottom: 15px; /* مسافة تحت العنوان */
}

/* ========================== */
/* BODY */
/* ========================== */
body {
  background-color: var(--main-color) !important;
}

/* ========================== */
/* REMOVE GRAY BACKGROUNDS */
/* ========================== */
section,
.s-block,
.bg-gray-100,
section[id^="featured-products-style2"],
section#featured-products-style2-6,
section::before,
section::after,
.s-block::before,
.s-block::after,
.bg-gray-100::before,
.bg-gray-100::after,
.s-banner,
.s-banner * ,
.s-banner img,
.s-banner div,
.s-banner::before,
.s-banner::after,
img[src*="form-builder"] {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

body::after {
  content: "";
/* شريط أسفل الفوتر (حقوق + وسائل الدفع) */
.md\:flex.items-center.justify-between.py-4.container.text-center {
  background-color: var(--main-color) !important;
  color: var(--second-color) !important;
  padding: 15px 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
  
/* الأيقونة */
.s-block--features__item .feature-icon {
  width: 80px;
  height: 80px;
  background-color: #7570b2; /* خلفية المربع */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  border-radius: 12px;
  position: relative;
  z-index: 1;

  /* التوهج النابض */
  box-shadow: 0 0 0 0 rgba(86, 80, 137, 0.7);
  animation: glowPulse 2s ease-in-out infinite;
}

/* الرمز الداخلي */
.s-block--features__item .feature-icon i {
  font-size: 36px;
  color: #ffffff; /* أبيض */
  position: relative;
  z-index: 2;
}

/* حركة النبض */
@keyframes glowPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(86, 80, 137, 0.7);
  }
  50% {
    box-shadow: 0 0 15px 8px rgba(86, 80, 137, 0.7);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(
    .flex {
  animation: scroll 40s linear infinite;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.grid > div img {
  width: 80%;
  height: 80%;
  object-fit: contain;      /* يخلي الصور بنفس التناسب داخل المربعات */
}
.grid > div {
  aspect-ratio: 1 / 1;       /* يخلي كل الأعمدة مربعات */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d1d5db;       /* رمادي فاتح (تقدر تشيله) */
  border-radius: 8px;        /* زوايا ناعمة (اختياري) */
  overflow: hidden;
}

.grid > div img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;       /* يخلي الشعار يناسب المربع */
}
/* نخلي كل المربعات بنفس الطول والعرض */
.grid .brand-item {
  aspect-ratio: 1 / 1;        /* مربع */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f1f1;        /* لون خلفية خفيف (اختياري) */
  border-radius: 8px;         /* زوايا ناعمة */
  overflow: hidden;
}

/* ننسق الصور داخل المربعات */
.grid .brand-item img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}
/* المربعات */
.grid .brand-item {
  aspect-ratio: 1 / 1 !important;   /* نخليها مربعة بالقوة */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: auto !important;
  background: #f1f1f1;
  border-radius: 8px;
  overflow: hidden;
}

/* الصور داخل المربعات */
.grid .brand-item img {
  max-width: 70% !important;
  max-height: 70% !important;
  object-fit: contain !important;
  margin: auto !important;
}
/* المربعات داخل grid */
div.grid.grid-cols-2.md\:grid-cols-4.grid-flow-row.gap-4.lg\:gap-8 > a.brand-item {
  aspect-ratio: 1 / 1 !important;   /* يخليها مربعة بالقوة */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: auto !important;
  background: #f1f1f1;
  border-radius: 8px;
  overflow: hidden;
}

/* الصور */
div.grid.grid-cols-2.md\:grid-cols-4.grid-flow-row.gap-4.lg\:gap-8 > a.brand-item img {
  max-width: 70% !important;
  max-height: 70% !important;
  object-fit: contain !important;
  margin: auto !important;
}
/* المربع */
.s-block--features__item .feature-icon {
  width: 100px;
  height: 100px;
  background-color: #4caf50;   /* أخضر أساسي */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  border-radius: 12px;        /* مربعات بزوايا ناعمة */
  position: relative;
  z-index: 1;

  /* التوهج + نبض */
  box-shadow: 0 0 20px 5px #2e7d32;
  animation: pulseGlow 2s infinite ease-in-out;
}

/* الرمز الداخلي */
.s-block--features__item .feature-icon i {
  font-size: 42px;
  color: #fff; /* أبيض */
  position: relative;
  z-index: 2;
}

/* تأثير عند المرور */
.s-block--features__item .feature-icon:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px 8px #1b5e20;
}

/* حركة النبض */
@keyframes pulseGlow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 15px 5px #2e7d32;
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 25px 10px #1b5e20;
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 15px 5px #2e7d32;
  }
}
/* نخفي أزرار التنقل حق السلايدر */
#brands-slider .s-slider-nav-arrow {
  display: none !important;
}

/* نخفي الباجينيشن (النقاط) */
#brands-slider .swiper-pagination {
  display: none !important;
}
.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 200px;     /* العرض ثابت */
  height: 200px;    /* الارتفاع ثابت */
  background: #fff; /* خلفية (اختياري) */
  border: 1px solid #eee; /* إطار بسيط (اختياري) */
  overflow: hidden;
}

.brand-item img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* يخلي الصورة تتوسط المربع بدون قص */
}
.brand-item {
  width: 100%;              /* ياخذ عرض العمود كامل */
  aspect-ratio: 1 / 1;      /* يخلي المربع دائماً 1:1 */
  background: #fff;         /* لون خلفية (اختياري) */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #eee;   /* إطار خفيف (اختياري) */
}

.brand-item img {
  width: 80%;              /* تصغير الصورة شوي داخل المربع */
  height: 80%;
  object-fit: contain;      /* يخلي الصورة كاملة بدون قص */
}
.brand-item {
  width: 200px;
  height: 200px;
}
.grid > div {
  aspect-ratio: 1 / 1;      /* يخلي كل الأعمدة مربعات */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.grid > div img {
  width: 80%;
  height: 80%;
  object-fit: contain;      /* يخلي الصور بنفس التناسب داخل المربعات */
}
.grid > div {
  aspect-ratio: 1 / 1;       /* يخلي كل الأعمدة مربعات */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d1d5db;       /* رمادي فاتح (تقدر تشيله) */
  border-radius: 8px;        /* زوايا ناعمة (اختياري) */
  overflow: hidden;
}

.grid > div img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;       /* يخلي الشعار يناسب المربع */
}
/* نخلي كل المربعات بنفس الطول والعرض */
.grid .brand-item {
  aspect-ratio: 1 / 1;        /* مربع */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f1f1;        /* لون خلفية خفيف (اختياري) */
  border-radius: 8px;         /* زوايا ناعمة */
  overflow: hidden;
}

/* ننسق الصور داخل المربعات */
.grid .brand-item img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}
/* المربعات */
.grid .brand-item {
  aspect-ratio: 1 / 1 !important;   /* نخليها مربعة بالقوة */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: auto !important;
  background: #f1f1f1;
  border-radius: 8px;
  overflow: hidden;
}

/* الصور داخل المربعات */
.grid .brand-item img {
  max-width: 70% !important;
  max-height: 70% !important;
  object-fit: contain !important;
  margin: auto !important;
}
/* المربعات داخل grid */
div.grid.grid-cols-2.md\:grid-cols-4.grid-flow-row.gap-4.lg\:gap-8 > a.brand-item {
  aspect-ratio: 1 / 1 !important;   /* يخليها مربعة بالقوة */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: auto !important;
  background: #f1f1f1;
  border-radius: 8px;
  overflow: hidden;
}

/* الصور */
div.grid.grid-cols-2.md\:grid-cols-4.grid-flow-row.gap-4.lg\:gap-8 > a.brand-item img {
  max-width: 70% !important;
  max-height: 70% !important;
  object-fit: contain !important;
  margin: auto !important;
}
/* المربع */
.s-block--features__item .feature-icon {
  width: 100px !important;
  height: 100px !important;
  background-color: #4caf50 !important;   /* أخضر أساسي */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 15px !important;
  border-radius: 12px !important;        /* مربعات بزوايا ناعمة */
  position: relative !important;
  z-index: 1 !important;

  /* التوهج + نبض */
  box-shadow: 0 0 20px 5px #2e7d32 !important;
  animation: pulseGlow 2s infinite ease-in-out !important;
}

/* الرمز الداخلي */
.s-block--features__item .feature-icon i {
  font-size: 42px !important;
  color: #fff !important; /* أبيض */
  position: relative !important;
  z-index: 2 !important;
}

/* تأثير عند المرور */
.s-block--features__item .feature-icon:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 0 25px 8px #1b5e20 !important;
}

/* حركة النبض */
@keyframes pulseGlow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 15px 5px #2e7d32;
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 25px 10px #1b5e20;
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 15px 5px #2e7d32;
  }
}