/* ========================== */
/*        MAIN NAVBAR        */
/* ========================== */
#mainnav,
.inner,
.sub-menu {
  background: #e6e6e6 !important;
}

#mainnav,
#mainnav i:before,
#mainnav b {
  color: #000 !important;
}

.inner {
  background-color: #e6e6e6 !important;
}

.main-menu li.root-level > a {
  color: #000;
}

.main-nav .icon {
  color: #000;
}

/* ========================== */
/*           FOOTER          */
/* ========================== */
.store-footer__inner {
  background-color: #e6e6e6 !important;
  color: #000 !important;
  text-align: center !important;
  padding: 30px 15px !important;
}

.store-footer__inner h3,
.store-footer__inner p,
.store-footer__inner a,
.store-footer__inner span {
  color: #000 !important;
}

/* روابط السوشال ميديا */
.store-footer__inner .s-social-list .s-social-link svg {
  fill: #000 !important;
  transition: transform 0.3s ease, fill 0.3s ease;
}

.store-footer__inner .s-social-list .s-social-link:hover svg {
  fill: #8c8c8c !important;   /* توهج أغمق */
  transform: scale(1.1);
}

/* ========================== */
/* BODY BACKGROUND */
/* ========================== */
body {
  background-color: #e6e6e6 !important;
}

/* ========================== */
/* شريط أسفل الفوتر */
/* ========================== */
.md\:flex.items-center.justify-between.py-4.container.text-center {
  background-color: #e6e6e6 !important;
  color: #000 !important;
  padding: 15px 0 !important;
  width: 100% !important;
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

/* ========================== */
/* شاشة ترحيب مموهة */
/* ========================== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(230,230,230,0.4);
  backdrop-filter: blur(10px);
  z-index: 99998;
  animation: hideSplash 3s forwards;
}

body::after {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  width: 240px;
  height: 240px;
  transform: translate(-50%, -50%);
  background: url("https://cdn.salla.sa/YgVGml/qXtTjAr8zyHDI8SlHZDtc13OhpqJG8kVy4l1VLov.jpg") no-repeat center center;
  background-size: contain;
  z-index: 99999;
  animation: pulse 1.5s infinite, hideSplash 3s forwards;
}

/* تأثير النبض */
@keyframes pulse {
  0%   { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50%  { transform: translate(-50%, -50%) scale(1.15); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* إخفاء الشاشة */
@keyframes hideSplash {
  0%   { opacity: 1; visibility: visible; }
  80%  { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

/* ========================== */
/* البلوكات والأقسام */
/* ========================== */
section,
.s-block,
.bg-gray-100,
section[id^="featured-products-style2"],
section#featured-products-style2-6 {
  background-color: #e6e6e6 !important;
}

section::before,
section::after,
.s-block::before,
.s-block::after,
.bg-gray-100::before,
.bg-gray-100::after {
  background: transparent !important;
}

/* ========================== */
/* عناوين الفوتر */
/* ========================== */
footer h3 {
  background-color: #bfbfbf;
  color: #000;
  font-size: 18px;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 15px;
}

/* ========================== */
/* الأيقونات النابضة */
/* ========================== */
.s-block--features__item .feature-icon {
  width: 80px;
  height: 80px;
  background-color: #f0f0f0;
  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(140,140,140,0.6);
  animation: glowPulse 2s ease-in-out infinite;
}

.s-block--features__item .feature-icon i {
  font-size: 36px;
  color: #000;
  position: relative;
  z-index: 2;
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 0 0 rgba(140,140,140,0.6); }
  50% { box-shadow: 0 0 15px 8px rgba(140,140,140,0.6); }
  100% { box-shadow: 0 0 0 0 rgba(140,140,140,0.6); }
}

/* ========================== */
/* البانرات */
/* ========================== */
section.s-block--banners p.banner__description {
  background: rgba(255,255,255,0.7) !important;
  color: #000 !important;
  font-size: 24px !important;
  font-weight: bold !important;
  padding: 5px 10px !important;
  border-radius: 6px !important;
  display: inline-block !important;
}
/* تمديد البانر بالكامل بدون أي فراغ يمين أو يسار */
section.s-block--banners {
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  width: 100vw !important;         /* ياخذ عرض الشاشة بالكامل */
  margin-left: -50vw !important;   /* يزيل قيود الحاوية */
  margin-right: -50vw !important;
  transform: none !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 0 !important;
}

/* يخلي البانر ممدود تماماً بدون أي فراغ يمين ويسار */
.banner.banner--fixed {
  display: block !important;
  width: 100vw !important;          /* يغطي عرض الشاشة بالكامل */
  max-width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;    /* يخرج من حدود الـ container */
  margin-right: -50vw !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* الصورة داخل البانر */
.banner.banner--fixed img {
  width: 100vw !important;
  max-width: 100vw !important;
  height: auto !important;
  display: block !important;
  object-fit: cover !important;
  margin: 0 !important;
}

/* إزالة أي حدود أو حشوات من الحاوية */
.banner.banner--fixed .container,
.banner.banner--fixed .s-block__content,
.banner.banner--fixed .s-block--banners {
  margin: 0 !important;
  padding: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
}
/* إزالة الخلفية البيضاء من العنصر */
.s-block--features__item {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important; /* يشيل أي ظل خفيف ممكن يعطي انطباع بخلفية */
}
/* التوهج الأساسي للمربعات */
.swiper-slide.slide--one-sixth {
  transition: all 0.3s ease-in-out; /* حركة سلسة */
  box-shadow: 0 0 0 rgba(0,0,0,0);
  border-radius: 12px;
  margin: 0 7.5px; /* مسافة أفقية 15px بين المربعات (7.5px على كل جهة) */
}

/* عند المرور بالمؤشر */
.swiper-slide.slide--one-sixth:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 8px 20px rgba(255,255,255,0.25);
  z-index: 2;
}

/* الأيقونة والعنوان داخل المربع */
.swiper-slide.slide--one-sixth a.slide--cat-entry {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: #26252a;
  border-radius: 12px;
  color: #ffffff;
  transition: all 0.3s ease-in-out;
  text-align: center;
}

/* عند المرور على الرابط */
.swiper-slide.slide--one-sixth a.slide--cat-entry:hover {
  background-color: #3a3841;
  color: #ffffff;
}

/* الأيقونة */
.swiper-slide.slide--one-sixth a.slide--cat-entry i {
  color: #ffffff;
  font-size: 28px;
  margin-bottom: 10px;
}

/* العنوان */
.swiper-slide.slide--one-sixth a.slide--cat-entry h2 {
  color: #ffffff;
  font-size: 18px;
  margin: 0;
}