.my-home-selected {
  margin: 10px 0 20px;
  font-weight: bold;
  color: #333;
  font-size: 15px;
}

.my-home-row::-webkit-scrollbar {
  display: none; /* كروم + سفاري */
}
.my-home-row.active {
  cursor: grabbing;
  cursor: -webkit-grabbing;
}

.my-home-products {
  display: grid;
  gap: 20px;
}

/* 📱 شاشات الموبايل */
@media (max-width: 600px) {
  .my-home-products {
    grid-template-columns: 40% 40%;
  }
}


/* 💻 التابلت */
@media (min-width: 601px) and (max-width: 1024px) {
  .my-home-products {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 🖥️ الكمبيوتر */
@media (min-width: 1025px) {
  .my-home-products {
    grid-template-columns: repeat(5, 1fr);
  }
}

.product-item {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  background: #fff;
  transition: transform 0.3s;
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
   border-radius: 50%;
}

.product-item h3 {
  font-size: 15px;
  margin: 10px 0 5px;
  color: #333;
}

.product-item .price {
  color: #c00;
  font-weight: bold;
  display: block;
  margin-top: 5px;
}
.my-home-pagination {
  text-align: center;
  margin: 30px 0;
}

.my-home-pagination .page-numbers {
  display: inline-block;
  margin: 0 5px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  color: #333;
  text-decoration: none;
}

.my-home-pagination .page-numbers:hover {
  background: #f5f5f5;
}

.my-home-pagination .current {
  background: #333;
  color: #fff;
  border-color: #333;
}
/* 🔹 فاصل العنوان */
.my-home-divider {
  text-align: center;
  margin: 60px 0 30px;
  position: relative;
  overflow: hidden;
}

/* 🔹 العنوان */
.my-home-divider h2 {
  display: inline-block;
  font-size: 28px;
  font-weight: 700;
  color: #0077ff;
  text-transform: uppercase;
  position: relative;
  animation: pulseText 2.5s ease-in-out infinite;
}

/* 🔹 الخط السفلي */
.my-home-divider .underline {
  display: block;
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, #777, #aaa, #777); /* رمادي متدرج */
  margin: 10px auto 0;
  border-radius: 3px;
  animation: waveLine 3s ease-in-out infinite;
}


/* ✨ حركة العنوان */
@keyframes pulseText {
  0%, 100% {
    transform: scale(1);
    color: #444; /* رمادي غامق */
    text-shadow: 0 0 10px rgba(100, 100, 100, 0.4);
  }
  50% {
    transform: scale(1.08);
    color: #aaa; /* رمادي فاتح */
    text-shadow: 0 0 20px rgba(160, 160, 160, 0.6);
  }
}


/* ✨ حركة الخط */
@keyframes waveLine {
  0% {
    background-position: 0% 50%;
    box-shadow: 0 0 8px rgba(0, 119, 255, 0.4);
  }
  50% {
    background-position: 100% 50%;
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.7);
  }
  100% {
    background-position: 0% 50%;
    box-shadow: 0 0 8px rgba(0, 119, 255, 0.4);
  }
}

.product-item.highlight {
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.5);
  border-color: #0099ff;
  transform: scale(1.03);
  transition: all 0.5s ease;
}

.loading-msg {
  text-align: center;
  background: #f0f8ff;
  border: 1px solid #cce;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 15px;
  font-size: 14px;
  color: #0077ff;
}

.product-item.highlight {
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.4);
  border-color: #0099ff;
  transform: scale(1.02);
  transition: all 0.5s ease;
}
.my-home-cats-wrapper {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 15px;
  padding: 10px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.my-home-cats-wrapper::-webkit-scrollbar {
  display: none;
}

.filter-reset-wrap {
  text-align: center;
  margin-bottom: 20px;
}

.filter-reset-btn {
  background: linear-gradient(180deg, #f6f6f6 0%, #d9d9d9 100%);
  color: #222;
  border: 1px solid #ccc;
  border-radius: 25px;
  padding: 10px 25px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-reset-btn:hover {

  background: linear-gradient(180deg, #4a4a4a 0%, #353535 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.4);
}
/* ✅ شكل التصنيف الدائري + الاسم خارجه */
.cat-item {
  flex: 0 0 auto;
  width: 100px;
  text-align: center;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cat-item:hover {
  transform: scale(1.07);
}

.cat-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #eee;
  transition: box-shadow 0.3s;
}
.cat-item:hover img {
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  border-color: #666; /* رمادي غامق */
}


.cat-item h4 {
  margin-top: 8px;
  font-size: 13px;
  color: #333;
  font-weight: 500;
  white-space: normal;
  line-height: 1.2;
}
.my-home-row {
  display: flex;
  gap: -10px;                /* ⬅️ كانت 15px */
  margin-bottom: -10px;      /* ⬅️ كانت 20px */
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
}


.my-home-products .product-item img {
  width: 300px;
  height: 240px;
  object-fit: cover;
  display: block;
}



