body {
  font-family: "Cairo", sans-serif;
  background: linear-gradient(135deg, #f9f9f9, #eceff1);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1 {
  text-align: center;
  color: #ff4d4d;
  margin: 70px 0;
}

.grid {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  flex: 1;
  padding: 15px 20px;
}

.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;

  width: 220px;
}
@media (max-width: 768px) {
  .grid {
    justify-content: flex-start;
    gap: 10px;
    padding: 10px;
  }

  .card {
    width: calc(50% - 10px);
  }
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  cursor: pointer;
}

.card-content {
  padding: 12px;
}

.card-content h3 {
  margin: 8px 0;
  font-size: 17px;
  color: #333;
  cursor: pointer;
}

.price {
  color: #e74c3c;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 8px;
}

.remove-btn {
  background: #ff4d4d;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.remove-btn:hover {
  background: #d93636;
  transform: scale(1.05);
}

.empty-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 70vh;
  text-align: center;
  width: 100%;
}

.empty-box h2 {
  font-size: 22px;
  color: #ff4d4d;
  margin-bottom: 10px;
}

.empty-box p {
  font-size: 17px;
  color: #555;
}
/* wrapper خاص بالحالة الفاضية فقط */
.wishlist-empty-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0px 0;
}

/* الصندوق */
.wishlist-empty {
  text-align: center;
  max-width: 420px;
  padding: 40px 20px;
  font-family: "Cairo", sans-serif;
}

/* القلب كبير عرض وطول */
.heart-icon {
  width: clamp(60px, 15vw, 120px);
  height: clamp(60px, 15vw, 120px);
  font-size: clamp(150px, 30vw, 250px);
  margin: 0 auto 50px;


  display: flex;
  align-items: center;
  justify-content: center;

  color: #e6e6e6;
    user-select: none;        /* يمنع التحديد */
  -webkit-user-select: none;
  -ms-user-select: none;

  pointer-events: none;     /* يمنع أي تفاعل */
}
@media (max-width: 768px) {
  .heart-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 35px;
    font-size: 180px;
  }
}
/* موبايل */
@media (max-width: 480px) {
  .heart-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
    font-size: 150px;
  }
}

/* العنوان */
.wishlist-empty h2 {
  font-size: 26px;
  color: #222;
  margin-bottom: 10px;
}

/* النص */
.wishlist-empty p {
  font-size: 15px;
  color: #777;
  line-height: 1.8;
  margin-bottom: 25px;
}

/* الزر */
.return-shop {
  background-color: #8b0000;
  color: #fff;
  padding: 14px 36px;
  border-radius: 30px;
  border: none;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.return-shop:hover {
  background-color: #a50000;
}
/* شريط صفحة المفضلة */
.favorites-bar {
  box-sizing: border-box;
  width: 100%;
  background: linear-gradient(180deg, #5dade2, #2e86c1); /* أزرق فاتح احترافي */
  padding: 80px 16px;
  text-align: center;
  font-family: "Poppins", sans-serif; /* خط عصري وواضح */
  color: #fff;
}

/* العنوان */
.favorites-bar h1 {
  font-size: 24px;       /* أكبر شوي للعناوين */
  font-weight: 700;      /* أكثر قوة ووضوح */
  margin: 0 0 8px;
  letter-spacing: 0.5px;
  color: #ffffff;        /* أبيض ناصع */
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2); /* ظل خفيف لتمييز العنوان */
}

/* الوصف */
.favorites-bar p {
  font-size: 16px;       /* أوضح للعين */
  margin: 0;
  color: #e0f0ff;        /* أزرق فاتح متناغم مع الخلفية */
  line-height: 1.5;
}
