/* === الأساسيات === */
body, html {
  background: #fff !important;
  font-family: 'Tajawal', sans-serif;
  color: #000;
  margin: 0;
  padding: 0;
}

/* === الخلفية العامة والنافبار === */
body {
  background-color: #e9e9e9;
}
#mainnav {
  background-color: #e9e9e9;
  color: #4a0762;
}

/* === سلايدر الصور === */
salla-slider.photos-slider .swiper-slide {
  padding: 0;
  margin: 0;
  width: 100%;
}
.s-slider-block__title-nav {
  visibility: hidden;
}
salla-slider.photos-slider .swiper:where([dir=rtl],[dir=rtl] *) {
  padding: 0;
}
section:first-of-type {
  margin-top: 0;
}

/* === البانر === */
.banner--fixed img {
  background-color: transparent;
  padding: 0;
}
.md\:grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* كانت 6 غير مناسبة */
}
a.banner-entry {
  height: 405px;
  background-color: unset;
}
.two-row .banner-entry:first-child {
  grid-column: 1 / 1;
  grid-row: 1 / 1;
}
section.s-block.s-block--banners.container .lazy__bg.lazy.entered.loaded {
  background-size: contain;
  background-repeat: no-repeat;
}

/* ✅ تحسين الجوال والمتوسط */
@media(min-width:768px) and (max-width:1200px){
  a.banner-entry {
    height: 225px;
  }
}
@media(max-width:767px){
  a.banner-entry {
    height: 160px;
    padding: 0;
  }
}

/* === كروت المنتجات === */
.s-product-card-vertical {
  box-shadow: 0 4px 12px rgba(74, 7, 98, 0.4);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s;
}
.s-product-card-vertical:hover {
  transform: scale(1.03);
}
.s-products-slider-card.swiper-slide {
  width: 85%; /* كانت 55% ضيقة جدًا */
}
.s-button-element:not(:disabled):not([loading]) {
  pointer-events: auto;
  background-color: #4a0762;
}
.s-button-btn,
.s-price-range-number-input {
  color: #fff;
  border-color: #4a0762;
}

/* === تأثير الصور === */
.lazy__bg.lazy.entered.loaded {
  transition: transform .5s;
}
.lazy__bg.lazy.entered.loaded:hover {
  transform: scale(.95);
}
/* === الفوتر المحسن المتوافق مع سلة === */
.store-footer {
  position: relative;
  overflow: hidden;
  background: none;
  min-height: 400px;
}

.store-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('https://i.ibb.co/RGTcMzgr/Mask-group-1.png') no-repeat center bottom / cover;
  opacity: 1;
}

/* ✅ محتوى الفوتر */
.store-footer__inner {
  position: relative;
  z-index: 1;
  padding: 100px 20px 8px !important;
  background: transparent !important;
  color: #fff !important;
  text-align: center;
}

.store-footer__inner * {
  color: #fff !important;
  font-weight: bold;
  line-height: 2;
  font-size: 15px;
}

/* ✅ وسائل الدفع */
.footer-payment-methods,
.payment-icons,
.payment-methods {
  display: flex !important;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative;
  z-index: 1;
}

.footer-payment-methods img,
.payment-icons img,
.payment-methods img {
  height: 40px;
  object-fit: contain;
}

/* ✅ استجابة الجوال */
@media (max-width: 767px) {
  .store-footer {
    min-height: 360px;
  }

  .store-footer__inner {
    padding: 60px 15px 40px !important;
    font-size: 14px;
  }

  .footer-payment-methods img {
    height: 30px;
  }
}