/* =========================
   SERVICES SECTION
========================= */

.services-section {
  background: #111;
  padding: 50px 0;
}

/* الخدمات فوق */
.services-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 10px;
}

.service-box {
  background: #333;
  text-align: center;
  padding: 15px;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 8px;
}

.service-box img {
  width: 40px;
  margin-bottom: 10px;
}

.service-box span {
  color: #fff;
  font-size: 14px;
}

.service-box.active {
  background: red;
}

/* =========================
   CARDS
========================= */

.cards-wrapper {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  overflow: hidden;
}

/* الكارت */
.card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  width: 300px;
  flex-shrink: 0;
}

/* صورة */
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* اختيار */
.card .select {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-radius: 50%;
}

/* العنوان */
.card-title {
  text-align: center;
  font-weight: bold;
  padding: 10px;
}

/* السعر */
.price-box {
  background: #000;
  color: #fff;
  padding: 15px;
  text-align: center;
}

.old-price {
  text-decoration: line-through;
  color: #aaa;
  font-size: 14px;
}

.new-price {
  font-size: 20px;
  font-weight: bold;
}

/* التقسيط */
.installment {
  text-align: center;
  padding: 10px;
  font-size: 14px;
}

/* زر */
.more-btn {
  background: red;
  color: #fff;
  text-align: center;
  padding: 10px;
  cursor: pointer;
}

/* =========================
   RESPONSIVE
========================= */

/* موبايل */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .cards-wrapper {
    overflow-x: scroll;
  }
}

/* تابلت */
@media (max-width: 1024px) {
  .cards-wrapper {
    overflow-x: scroll;
  }
}