/* خلفية الصفحة كاملة */
body {
  background-color: #FFFFFF !important;
}



body {
  margin: 0;
  padding: 0;
}

#mainnav {
  margin-top: 0 !important;
  padding-top: 0 !important;
  background-color: transparent !important;
}

/* الحاوية العامة للترويسة */
#mainnav.main-nav-container {
  background-color: #476043 !important;
  border-radius: 20px;
  margin: 0 auto; /* ← أزل الفراغ من الأعلى والأسفل */
  max-width: 1200px;
  height: 60px;
  padding: 0 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  position: relative;
  z-index: 100;
  color: white;
}


/* الترويسة مع الشفافية */
.inner.bg-inherit {
  background-color: rgba(71, 96, 67, 0.5); /* أخضر غامق شفاف */
  transition: background-color 0.3s ease;
  border-radius: 20px;
}

/* عند تمرير الماوس */
.container .flex:hover {
  background-color: rgba(71, 96, 67, 0.9); /* تقريباً بدون شفافية */
}

/* التأثير عند المرور على سلة التسوق أو الأزرار */
.s-cart-summary-wrapper:hover,
.header-btn:hover {
  background-color: rgba(71, 96, 67, 0.7); /* شفافية متوسطة */
}

/* تكبير اللوقو على الشاشات الكبيرة */
.navbar-brand img {
  height: 100px;
  width: auto;
  transition: all 0.3s ease;
}

/* تصغير اللوقو على الشاشات الصغيرة */
@media (max-width: 768px) {
  .navbar-brand img {
    height: 90px;
  }
}



/* تخصيص البنر في ثيم رائد */
.banner--fixed {
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 25px !important;
  overflow: hidden !important;
  display: block;
  margin: 20px auto !important;
}

.banner--fixed img {
  width: 100% !important;
  height: auto !important;
  border-radius: 25px !important;
  object-fit: cover;
}

/* تضبيط شكل البطاقات داخل السلايدر */
.swiper-slide custom-salla-product-card.s-product-card-entry {
  width: 220px !important;
  background-color: #ffffff !important;
  border: 1.8px solid #476043 !important;
  border-radius: 12px !important;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

.swiper-slide custom-salla-product-card.s-product-card-entry:hover {
  transform: translateY(-5px);
}

/* الصورة */
.s-product-card-image img {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  border-radius: 8px;
}

/* اسم المنتج */
.s-product-card-content-title {
  font-size: 14px;
  text-align: center;
  font-weight: bold;
  color: #222;
  margin: 10px 0 5px;
}

/* السعر */
.s-product-card-price {
  color: #2e7d32 !important;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 10px;
}

/* زر السلة */
.s-product-card-content-footer .s-button-element {
  background-color: #ffffff !important;
  color: #476043 !important;
  border: 1px solid #2e7d32 !important;
  border-radius: 8px !important;
  font-weight: bold;
  width: 100%;
  font-size: 14px;
  transition: 0.2s;
}

.s-product-card-content-footer .s-button-element:hover {
  background-color: #ffffff !important;
  color: #fff !important;
}

/* تقليل المسافة بين البطاقات داخل السلايدر */
.swiper-wrapper {
  gap: 10px !important; /* تأكد من دعم gap إذا كنت تستخدم display: flex */
}

.swiper-slide {
  margin-right: 10px !important; /* المسافة بين البطاقات */
  width: auto !important; /* حتى لا يكون فيه فراغ إضافي */
  max-width: 230px; /* تحكم في عرض البطاقة */
}


.grid.one-row {
  display: flex !important;
  flex-wrap: nowrap; /* نخليها جنب بعض بدون التفاف */
  gap: 12px; /* مسافة بين المربعات */
  background-color: rgba(255, 255, 255, 0.8); /* خلفية بيضا شفافة، تقدر تعدل */
  padding: 10px;
  overflow-x: auto; /* يضيف تمرير أفقي لو ضاق المكان */
}

.banner-entry.square-photos {
  flex: 0 0 auto; /* يمنع المربع من التمدد، يحافظ على الحجم */
  width: 45vw; /* عرض تقريبي لكل مربع، تقدر تعدل */
  max-width: 300px;
  aspect-ratio: 1 / 1; /* يخلي المربعات مربعة */
  background-color: white; /* خلفية المربع */
  border-radius: 8px; /* زوايا مدورة */
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.banner-entry.square-photos:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* داخل كل مربع الصورة خلفية */
.banner-entry.square-photos .lazy__bg {
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 8px;
}

/* تجاوب مع الجوال */
@media (max-width: 600px) {
  .grid.one-row {
    gap: 8px;
  }

  .banner-entry.square-photos {
    width: 80vw; /* يكبر شوي على الجوال عشان يكون واضح */
  }
}


.section-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  margin: 0 auto;
  max-width: 1000px;
}

.slide--cat-entry {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
}

.slide--cat-entry:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.slide--cat-entry img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}

.slide--cat-entry h2 {

  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-top: -35px;
  padding:5px 15px;
  border-radius:8px;
}

@media (max-width: 600px) {
  .slide--cat-entry {
    width: 100px;
    height: 100px;
  }

  .slide--cat-entry img {
    width: 48px;
    height: 48px;
  }

  .slide--cat-entry h2 {
    font-size: 14px;
  }
}


/* == الفوتر يغطي كامل الصفحة بلون أخضر == */
footer.store-footer {
  background-color: #476043 !important; /* أخضر */
  color: #f0f4d7 !important;
  padding: 40px 0;
}

/* الهيكل الداخلي للفوتر */
.store-footer__inner {
  background-color: transparent !important;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #f0f4d7 !important;
}

/* إلغاء أي لون من عناصر سابقة */
#app > div.app-inner.flex.flex-col.min-h-full > footer > div.store-footer__inner {
  background-color: transparent !important;
}

/* تنسيق النصوص والروابط */
.store-footer__inner,
.store-footer__inner a,
.store-footer__inner h3,
.store-footer__inner p,
.store-footer__inner span {
  color: #f0f4d7 !important;
}

.store-footer__inner a:hover {
  color: #d1fae5 !important;
}

/* صورة الشعار */
.store-footer__inner .container > div:first-child::before {
    content: "";
    display: block;
    width: 147px;
    height: 147px;
    background-image: url(https://i.ibb.co/7MfPXtt/logo2.png);
    background-size: cover;
    background-position: center;
    margin-bottom: 15px;

}

/* عنوان المتجر */
.store-footer__inner .container > div:first-child h3 {
  font-size: 26px;
  font-weight: bold;
  color: #e8d6b6;
  margin-bottom: 10px;
  text-align: center;
}

/* قسم التواصل معنا */
.store-footer__inner .s-contacts-list {
  display: flex;
  justify-content: center !important;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* أيقونات السوشيال والدفع */
.store-footer__inner svg path,
footer.store-footer .s-payments-list svg path {
  fill: #e8d6b6 !important;
}

/* الحقوق */
footer.store-footer .copyright-text {
  color: #e8d6b6 !important;
}



/* حاوية المميزات */
.s-block--features__item {
  text-align: center;
  background-color: transparent;
  padding: 20px;
}

/* الأيقونة */
.s-block--features__item .feature-icon {
  font-size: 60px;
  color: #3C573B;
  margin-bottom: 15px;
}

/* العنوان */
.s-block--features__item h2 {
  font-size: 18px;
  color: #3C573B;
  font-weight: bold;
  margin-bottom: 10px;
}

/* النص */
.s-block--features__item p {
  font-size: 14px;
  color: #3C573B;
  font-weight: 500;
}

/* ترتيب العناصر في الشبكة */
.grid.grid-cols-\[repeat\(2,minmax\(0,1fr\)\)\] {
  justify-content: center;
  gap: 40px !important;
}


/* الأيقونة بدون خلفية دائرية */
.s-block--features__item .feature-icon {
  font-size: 60px;
  color: #3C573B;
  margin-bottom: 15px;
  background: none !important;
  border: none !important;
  width: auto !important;
  height: auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.s-block--features__item .feature-icon,
.s-block--features__item .feature-icon i {
  color: #465E42 !important;
  fill: #465E42 !important;
}

/* إخفاء خانة البحث */
.s-search-input-wrapper {
display: none !important;
}

.s-block.s-block--features.container:before {
  content: 'مميزات متجــرنا !';
  display: block;
  width: 100%;
  height: 30px;
  font-size: 1.5rem;
  text-align: center;
  color: #465E42;
  font-weight: 500;
  margin-bottom: 1.2rem;
}

/* حاوية القسم بالكامل - بدون خلفيات ومربعات */
.slide--cat-entry {
  background: none !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* تنسيق الصورة - حجم واضح ومنتصف */
.slide--cat-entry img {
  width: 100% !important;
  max-width: 500px;
  height: auto !important;
  border-radius: 0 !important; /* بدون تدوير */
  object-fit: cover !important;
  display: block;
  margin: 0 auto 10px auto;
}


@media (min-width: 768px) {
    salla-slider .slide--one-sixth {
        width: 25% !important !important;
    }
}

.store-footer__inner .container > div:first-child h3{
  display:none;
}