/* === تحسين تنسيق الفوتر بالكامل === */

/* العناوين داخل الفوتر */
footer h3, .store-footer h3 {
  color: #FFD700 !important;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
}

/* الفقرات والوصف */
footer p, .store-footer p {
  color: #eee !important;
  font-size: 15px;
  line-height: 1.6;
}

/* معلومات التواصل */
footer .s-contacts-item span,
footer .s-contacts-item {
  color: #FFD700 !important;
  font-size: 14px;
}

/* الروابط داخل الفوتر */
footer .s-menu-footer-item {
  color: #FFD700 !important;
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}
footer .s-menu-footer-item:hover {
  color: #fff !important;
  text-decoration: underline;
}

/* الأيقونات الاجتماعية */
footer .s-social-link a svg,
.store-footer .s-social-link a svg {
  width: 24px !important;
  height: 24px !important;
  fill: #FFD700 !important;
  transition: transform 0.3s ease;
}
footer .s-social-link a:hover svg {
  transform: scale(1.1);
  fill: #fff !important;
}

/* نص الحقوق أسفل الفوتر */
footer .footer-bottom, .store-footer .footer-bottom {
  color: #aaa !important;
  font-size: 13px;
  margin-top: 20px;
}
/* === تحسين استقرار التصميم لتقليل CLS === */

/* تحديد ارتفاع ثابت للسلايدر الرئيسي */
.slider, .main-slider {
  min-height: 300px;
  overflow: hidden;
}

/* تثبيت أبعاد صور المنتجات */
.product-card img,
.product-box img,
.products-list img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

/* تأكيد المساحة المحجوزة للبنرات أو الصور الترويجية */
.banner img,
.main-banner img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  display: block;
}

/* منع تحرك الأزرار أثناء التحميل */
button, .btn {
  min-height: 44px;
}

/* تحسين عرض النص عند تحميل الخط */
html {
  font-display: swap;
}
/* === تحسين CLS للصفحة الرئيسية === */

/* السلايدر الرئيسي */
.slider, .main-slider {
  min-height: 300px;
  overflow: hidden;
}

/* صور المنتجات في الصفحة الرئيسية */
.product-card img,
.product-box img,
.products-list img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

/* البنرات */
.banner img,
.main-banner img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  display: block;
}

/* تثبيت حجم الأزرار */
button, .btn {
  min-height: 44px;
}

/* تحسين عرض الخط */
html {
  font-display: swap;
}


/* === تحسين CLS في صفحة المنتج === */

/* صور المنتج */
.product-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

/* وصف المنتج */
.product-description {
  min-height: 200px;
}

/* تثبيت مساحة التقييمات */
.product-reviews {
  min-height: 100px;
}


/* === تحسين CLS في صفحة السلة === */

/* صور المنتجات في السلة */
.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  display: block;
}

/* ملخص الطلب */
.cart-summary {
  min-height: 100px;
}