body {
  padding: 0;
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #1a1a1a, #2b2b2b);
  color: #e0e0e0;
}

.logo {
  max-width: 100%;
  height: 70px;
  margin: 20px auto;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #f5f5f5;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.main {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

.item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #1f1f1f;
  border-radius: 16px;
  padding: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.8);
}

.img {
  display: block;
  margin: auto;
  max-width: 100%;
  height: 220px;
  object-fit: contain;
  border-radius: 10px;
  padding: 10px;
  background: #2a2a2a;
}

.itemInformation {
  padding: 12px 8px;
  text-align: left;
}

.itemInformation h3 {
  font-size: 16px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 6px;
  height: 40px;
  overflow: hidden;
}

.itemInformation p {
  font-size: 13px;
  color: #bbbbbb;
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* يخليها شطرين بالظبط */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.itemInformation h4 {
  font-size: 18px;
  color: #00e676;
  margin: 8px 0;
}

.itemInformation button {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #00b09b, #96c93d);
  color: white;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
}

.itemInformation button:hover {
  background: linear-gradient(135deg, #56ab2f, #a8e063);
  transform: scale(1.05);
}
