/* ===============================
   صور المنتجات
================================ */
.products-list img,
.product-card img,
.product-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  transition: none;
}

/* ===============================
   البانر
================================ */
.hero-banner,
.slider,
.main-banner {
  min-height: 285px;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

/* ===============================
   lazy loading (آمن)
================================ */
img[loading="lazy"] {
  contain-intrinsic-size: 1260px 285px;
}

/* ===============================
   الحاويات
================================ */
.container,
.content,
.main-container,
.wrapper {
  padding-left: 10px !important;
  padding-right: 10px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box;
}

/* ===============================
   شبكة المنتجات
================================ */
@media (max-width: 767px) {
  .products-list,
  .product-list,
  .products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  .products-list img,
  .product-card img,
  .product-box img {
    max-height: 160px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .products-list,
  .product-list,
  .products-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px;
  }
}

@media (min-width: 1025px) {
  .products-list,
  .product-list,
  .products-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 20px;
  }
}

/* ===============================
   الخطوط
================================ */
@font-face {
  font-family: 'SallaIcons';
  font-style: normal;
  font-weight: 400;
  src: local('SallaIcons');
  font-display: swap;
}

@font-face {
  font-family: 'SallaDefault';
  font-style: normal;
  font-weight: 400;
  src: local('SallaDefault');
  font-display: swap;
}

/* ===============================
   Footer (سلة)
================================ */
.store-footer {
  position: relative;
  background-color: #111;
  color: #fff;
  margin-top: 32px;
}

.store-footer a {
  transition: opacity 0.3s;
}
.store-footer a:hover {
  opacity: 0.75;
}

.store-footer__inner {
  background-color: #1a1a1a;
  padding: 40px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.1);
}

.store-footer h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
}

/* صندوق الفوتر */
.footer-box {
  width: 93%;
  margin: auto;
  padding: 24px;
  border-radius: 16px;
  border: 4px solid #d4af37;
  box-sizing: border-box;
}

/* توسيط أعمدة الفوتر */
.store-footer__inner .container {
  width: 100%;
  max-width: none;
  margin: auto;
  padding: 0;
  text-align: center;
}
/* ===============================
   وسائل التواصل: كل سطر عنصرين
================================ */

/* استهداف قائمة أيقونات سلة مباشرة */
.store-footer salla-social .s-social-list {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
  justify-items: center !important;
  align-items: center !important;
  width: fit-content !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* توحيد حجم الأيقونات */
.store-footer salla-social .s-social-list a {
  width: 36px;
  height: 36px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
}

/* منع RTL من كسر الشبكة */
.store-footer salla-social {
  direction: ltr !important;
}

/* إخفاء أي خلفية إضافية */
.footer-background {
  display: none;
}