/* Add custom CSS styles below */ 
.custom-subcategories {
  display: flex;
  gap: 12px;
  margin: 20px 0;
  flex-wrap: wrap;
  justify-content: center;
}

.custom-subcategories a {
  background: #f7f7f7;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: 0.3s;
  border: 1px solid #ddd;
}

.custom-subcategories a:hover {
  background: #333;
  color: #fff;
}
/* ستايل الكارت */
.custom-card {
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  margin: 15px 0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* تأثير عند المرور بالماوس */
.custom-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* عنوان الكارت */
.custom-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  margin-bottom: 15px;
  position: relative;
}

/* خط ديكوري تحت العنوان */
.custom-card h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(45deg, #ff4b2b, #ff416c);
  border-radius: 2px;
}

/* الروابط */
.custom-card a {
  display: inline-block;
  margin: 10px 8px 0 0;
  padding: 10px 18px;
  border-radius: 30px;
  background: #f7f7f7;
  color: #333;
  font-weight: 500;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.25s ease;
}

/* الروابط عند المرور */
.custom-card a:hover {
  background: linear-gradient(45deg, #ff416c, #ff4b2b);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 65, 108, 0.3);
}

/* انيمشن دخول الكروت */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.custom-card {
  animation: fadeUp 0.6s ease forwards;
}