/* الألوان الأساسية */
:root {
    --main-black: #000000;
    --main-gold: #FFD700;
    --main-white: #FFFFFF;
}

body {
  font-family: 'Cairo', sans-serif;
  background: #fff;
  margin: 0;
  padding: 0;
  direction: rtl;
}

.top-bar {
  background: #333;
  color: #fff;
  text-align: center;
  font-size: 14px;
  padding: 5px;
}

.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 30px;
  border-bottom: 1px solid #eee;
  background-color: white;
}

.logo img {
  height: 100px;
}

.nav-menu a {
  margin: 0 10px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.header-icons a {
  margin: 0 8px;
  color: #000;
  font-size: 18px;
}

/* السلايدر */
.slider {
  position: relative;
  overflow: hidden;
  height: 600px;
}

.slide {
  display: none;
  width: 100%;
  height: 600px; /* ارتفاع ثابت للسلايدر */
  overflow: hidden; /* قص الزائد */
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;  /* الصورة كاملة */
background: linear-gradient(to top, #fcfcfa, #f8f8f5);
}

.slide.active {
  display: block;
}

.slider-controls span {
  position: absolute;
  top: 50%;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
  padding: 10px;
  transform: translateY(-50%);
}

.prev { left: 20px; }
.next { right: 20px; }

/* الأقسام */
.section-title {
  margin: 30px 0 15px;
  text-align: center;
  color: gold;
}

.categories-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.category-card {
  text-align: center;
  width: 120px;
}

.category-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.category-card p {
  margin-top: 8px;
  font-weight: bold;
}

/* المنتجات */
.products-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.product-card {
  border: 1px solid #eee;
  padding: 15px;
  width: 200px;
  text-align: center;
  transition: 0.3s;
}

.product-card:hover {
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.price {
  color: green;
  font-weight: bold;
}


