.menu-toggle {
  display: none;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* Navbar container */
.navbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  direction: rtl;   /* 🔥 عربي */
  padding: 15px 30px;
  background: #3e2357;
background: #3e2357;
background: linear-gradient(90deg,rgba(62, 35, 87, 1) 0%, rgba(178, 125, 199, 1) 41%, rgba(222, 213, 224, 1) 100%);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Logo */
.navbar img {
  height: 50px;
  transform: scale(1.6);
  margin-left: 40px;   /* مسافة بينه وبين اللينكات */
  transition: transform 0.3s;
}

.navbar img:hover {
  transform: scale(1.1);
}

/* Nav links */
.navbar ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

/* Links */
.navbar ul li a {
  text-decoration: none;
  color: rgb(104, 59, 178);
  font-weight: bold;
  padding: 10px 14px;
  border-radius: 6px;
  transition: 0.3s;
}

/* Hover */
.navbar ul li a:hover {
  background-color: rgba(199, 163, 231, 0.765);
  color: rgb(104, 59, 178);
}

/* Active page */
.navbar ul li a.active {
  background-color: rgba(199, 163, 231, 0.765);
  color: rgb(104, 59, 178);
}

@media (max-width: 768px) {

  /* الناف بار */
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    padding: 8px 15px;      /* قللنا السمك */
    min-height: 60px;       /* ارتفاع شيك */
    box-sizing: border-box;

    background: linear-gradient(
      90deg,
      rgba(62, 35, 87, 1) 0%,
      rgba(178, 125, 199, 1) 41%,
      rgba(222, 213, 224, 1) 100%
    );
  }

  /* زرار المنيو */
  .menu-toggle {
    display: block;
    font-size: 26px;     /* متوازن */
    line-height: 1;
    color: white;
    cursor: pointer;
  }

  /* اللوجو */
  .navbar img {
    width: 140px;        /* لسه كبير */
    max-height: 60px;    /* يقلل ارتفاع الناف */
    height: auto;
    margin: 0;
    transform: translateX(-10px);

  }

  /* المنيو */
  .navbar ul {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;

    flex-direction: column;
    text-align: center;
    padding: 10px 0;

    background: linear-gradient(
      90deg,
      rgba(62, 35, 87, 1) 0%,
      rgba(178, 125, 199, 1) 41%,
      rgba(222, 213, 224, 1) 100%
    );
  }

  .navbar ul.show {
    display: flex;
  }

  .navbar ul li a {
    padding: 12px;
    font-size: 18px;
    color: rgb(104, 59, 178);
  }

  .navbar ul li a:hover,
  .navbar ul li a.active {
    background-color: rgba(199, 163, 231, 0.765);
    color: rgb(104, 59, 178);
  }
}






/* عنوان الأقسام */
.section-title {
    font-size: 2rem;
    color: #552f79;
    text-align: center;
    margin: 40px 0 20px;
    position: relative;
    font-weight: bold;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #8073d4; /* لون ذهبي خافت */
    margin: 10px auto;
}

/* حاوية الجاليري */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* تصميم الكارد الفخم */
.product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border: 1px solid #f0e6dd;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(212, 163, 115, 0.2);
}

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card h3 {
    padding: 15px 15px 5px;
    font-size: 1.2rem;
    color: #552f79;
}

.product-card p {
    padding: 0 15px;
    color: #8073d4;
    font-weight: bold;
    font-size: 1.1rem;
}

/* زر اشترى الآن */
.buy-btn {
    width: calc(100% - 30px);
    margin: 15px;
    padding: 12px;
  background: linear-gradient(90deg, rgba(62, 35, 87, 0.84) 0%, rgba(178, 125, 199, 0.95) 41%, rgba(222, 213, 224, 0.82) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s;
}

.buy-btn:hover {
  background: linear-gradient(90deg, rgba(222, 213, 224, 0.82) 0%, rgba(178, 125, 199, 0.95) 41%, rgba(62, 35, 87, 0.84) 100%);
}

/* أيقونة السلة العائمة */
.cart-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(62, 35, 87, 0.84);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(212, 163, 115, 0.4);
    cursor: pointer;
    z-index: 1000;
    transition: 0.3s;
}

.cart-container:hover {
    transform: scale(1.1);
}

.cart-container i {
    color: white;
    font-size: 1.8rem;
}

#cart-count {
    position: absolute;
    top: 0;
    left: 0;
    background: #4a3f35;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    border: 2px solid white;
}