/* الخطوط الأساسية */
body {
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
  direction: rtl;
  font-family: 'Tajawal', sans-serif;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* الرأس */
.site-header {
  background-color: #fff;
  padding: 15px 0;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

.site-logo {
  max-height: 60px;
}

/* الشبكة */
.coupon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

/* بطاقة الكوبون */
.coupon-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.coupon-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.store-logo {
  max-width: 100px;
  margin-bottom: 10px;
}

.copy-btn {
  background-color: #ff5722;
  color: #fff;
  padding: 10px 20px;
  margin-top: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease;
}

.copy-btn:hover {
  background-color: #e64a19;
}

/* التذييل */
.site-footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 50px;
}



.related-coupons {
  margin-top: 40px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
}

.related-coupons h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #444;
}

.coupon-suggestions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
}

.coupon-suggest-card {
  background-color: #fafafa;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.coupon-suggest-card button {
  background-color: #1976d2;
  color: #fff;
  border: none;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.coupon-suggest-card button:hover {
  background-color: #1565c0;
}


.store-logo {
  width: 60px;
  height: 40px;
  object-fit: contain; /* لتجنب تمدد الصورة */
}


