
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo img {
    height: 40px;
}

.my-account {
    font-size: 14px;
}

.my-account a {
    text-decoration: none;
    color: #000;
    margin: 0 5px;
}

.my-account span {
    margin-right: 5px;
}

.menu-bar {
    display: flex;
    align-items: center;
    background-color: #333;
    padding: 10px 20px;
}

.menu-bar a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    margin-right: 10px;
    background-color: #444;
    border-radius: 4px;
}

.menu-bar a:hover {
    background-color: #666;
}

.menu-bar a.home-link {
    background-color: green;
}

.search-bar {
    margin-left: auto;
}

.search-bar form {
    display: flex;
    align-items: center;
}

.search-bar input[type="text"] {
    padding: 5px;
    width: 200px;
}

.search-bar button {
    padding: 5px 10px;
    border: none;
    cursor: pointer;
}
.menu-bar {
    display: flex;
    align-items: center;
    background-color: #2e2e2e;
    padding: 10px;
}

.menu-bar a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    margin-right: 5px;
    background-color: #444;
    border-radius: 3px;
}

.menu-bar a.home-link {
    background-color: green;
    font-weight: bold;
}

.search-bar {
    margin-left: auto;
}

.search-bar input {
    padding: 5px;
    border-radius: 3px;
    border: 1px solid #ccc;
}

.search-bar button {
    padding: 5px 10px;
    border: none;
    background-color: #aaa;
    border-radius: 3px;
    cursor: pointer;
}
.deals-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.deal-card {
  width: 240px;
  border: 1px solid #ccc;
  background-color: white;
  font-family: Arial, sans-serif;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.deal-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.deal-info {
  padding: 10px;
  text-align: center;
}

.deal-info h3 {
  font-size: 16px;
  font-weight: bold;
  margin: 5px 0;
}

.deal-info p {
  font-size: 13px;
  color: #333;
  margin: 0;
}

/* شريط الخصم والمتجر */
.deal-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
  font-size: 13px;
  background-color: white;
}

.discount-badge {
  background-color: #e74c3c;
  color: white;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 3px;
}

.store-name {
  color: #e67e22;
  font-size: 12px;
}

/* السعر في الأسفل */
.deal-price {
  background-color: #3498db;
  color: white;
  text-align: center;
  padding: 8px 0;
  font-size: 18px;
  font-weight: bold;
}

.price-old {
  text-decoration: line-through;
  margin-right: 5px;
  font-size: 16px;
}
