.slider-container {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  display: none;
  object-fit: cover;
  border-radius: 8px;
}

.slide.active {
  display: block;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  direction: rtl;
  background-color: #fff;
}

.navbar {
  background: white;
  display: flex;
  justify-content: space-between;
  padding: 15px 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.logo {
  color: goldenrod;
  font-size: 24px;
  font-weight: bold;
}

.menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.menu a {
  text-decoration: none;
  color: black;
  transition: color 0.3s;
}

.menu a:hover {
  color: goldenrod;
}

.hero {
  background: #fff8dc;
  text-align: center;
  padding: 40px 20px;
}

.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  padding: 20px;
  text-align: center;
}

.card {
  background: #fff;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 10px;
  font-weight: bold;
  color: goldenrod;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 30px;
}

.product-card {
  background: white;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.product-card .info {
  padding: 15px;
}

.product-card button {
  width: 100%;
  background: goldenrod;
  color: white;
  border: none;
  padding: 10px;
  margin-top: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.product-card button:hover {
  background: darkgoldenrod;
}
