/* -- إعدادات عامة -- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  
}

/* -- Body Background -- */
body {
    /* مسار الصورة */
    background-size: cover; /* تغطية الخلفية بالكامل */
    background-position: center; /* توسيط الصورة */
    background-repeat: no-repeat; /* عدم تكرار الصورة */
    min-height: 100vh; /* التأكد من أن الخلفية تغطي كل ارتفاع الصفحة */
    margin: 0; /* إزالة الهوامش الافتراضية */
    font-family: Arial, sans-serif; /* يمكنك تغيير خط النص حسب الرغبة */
}






/* تنسيق الشبكة لعرض الشعارات */
.logos-slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* في الجوال */
    gap: 16px;
}

@media(min-width: 640px) {
    .logos-slider {
        grid-template-columns: repeat(3, 1fr); /* في الشاشات الصغيرة */
    }
}

@media(min-width: 768px) {
    .logos-slider {
        grid-template-columns: repeat(4, 1fr); /* في الشاشات المتوسطة */
    }
}

@media(min-width: 1024px) {
    .logos-slider {
        grid-template-columns: repeat(5, 1fr); /* في الشاشات الكبيرة */
    }
}

/* تنسيق الصور داخل الشعار */
.logo-entry img {
    width: 100%;
    height: auto;
    object-fit: contain; /* للتأكد من أن الصورة تحفظ نسبتها */
}

.min-h-full {
    background: url(https://d.top4top.io/p_32316aj9p1.png);
    min-height: 100%;
}
/* -- Top Navbar -- */
.top-navbar {
    background-color: rgba(248, 248, 120, 0.8); /* خلفية خفيفة لتسهيل القراءة */
    padding: 10px 20px; /* مسافات داخلية */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* ظل خفيف */
}

/* باقي الأكواد كما هي ... */


.top-navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand img {
  max-width: 150px;
  background:url('https://d.top4top.io/p_32316aj9p1.png'); 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* -- Menu -- */
.s-menu-topnav-list {
  list-style: none;
  display: flex;
  gap: 20px;
}

.s-menu-topnav-list a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: color 0.3s ease;
}

.s-menu-topnav-list a:hover {
  color: #007bff;
}

/* -- Mobile Menu Icon -- */
.mburger {
  display: none;
}

@media (max-width: 768px) {
  .mburger {
    display: block;
  }
}

.mburger i {
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.mburger:hover i {
  transform: rotate(90deg);
}

/* -- User Icon -- */
.header-btn {
  background-color: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.3s ease;
}

.header-btn i {
  font-size: 24px;
  color: #333;
}

.header-btn:hover i {
  color: #007bff;
}

/* -- Cart Icon -- */
.s-cart-summary-wrapper {
  position: relative;
  transition: transform 0.3s ease;
}

.s-cart-summary-wrapper:hover {
  transform: scale(1.05);
}

.s-cart-summary-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #dc3545;
  color: #fff;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
}

.s-cart-summary-icon {
  font-size: 24px;
  color: #333;
  transition: color 0.3s ease;
}

.s-cart-summary-wrapper:hover .s-cart-summary-icon {
  color: #007bff;
}

/* -- Banner -- */
.banner {
  overflow: hidden;
  position: relative;
}

.banner img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.banner:hover img {
  transform: scale(1.05);
}

/* -- Products -- */
.s-product-card-entry {
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.s-product-card-entry:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.s-product-card-image img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.s-product-card-image:hover img {
  transform: scale(1.1);
}

.s-product-card-content-title a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.s-product-card-content-title a:hover {
  color: #007bff;
}

.s-product-card-price {
  font-weight: bold;
  color: #dc3545;
}

.s-button-element {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.s-button-element:hover {
  background-color: #0056b3;
}

/* -- Features -- */
.s-block--features__item {
  text-align: center;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.s-block--features__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background-color: #003479;
  color: #fff;
  font-size: 24px;
  transition: transform 0.3s ease;
}

.s-block--features__item:hover .feature-icon {
  transform: scale(1.1);
}

.s-block--features__item h2 {
  color: #333;
  margin-bottom: 10px;
}

.s-block--features__item p {
  color: #666;
  line-height: 1.5;
}