.product-gallery {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.main-image {
  object-fit: cover;
  cursor: pointer;
  border-radius: 10px;
}

  

.thumb-img {
  width: 75px;
  height: 75px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease;
  opacity: 0.8;
  border: 2px solid transparent;
}

.thumb-img:hover {
  transform: scale(1.1);
  opacity: 1;
}

.thumb-img.selected {
  border-color: #2196f3;
  opacity: 1;
}

@media (max-width: 1068px) {
  .product-gallery {
    flex-direction: column;
  }

  .main-image {
    order: 1;
  }

  .thumb-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    margin-left: 0;
    margin-top: 10px;
    max-width: 100%;
   /* overflow-x: auto;*/
    order: 2;
  }

  .thumb-img {
    width: 70px;
    height: 70px;
  }
}

@media (min-width: 1068px) {


  :lang(ae) .thumb-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    margin-left: 30px;
    position: relative;
    max-width: 120px;
    align-items: center;
  }
  
  :lang(en) .thumb-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    margin-right: 30px;
    position: relative;
    max-width: 120px;
    align-items: center;
  }

}
.show-more {
  font-size: 24px;
  cursor: pointer;
  transition: color 0.3s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 5px 10px;
  border-radius: 10px;
}
.show-more .count {
  color: white;
  font-size: 12px;
  font-weight: bold;
  border-radius: 50%;
  padding: 3px 7px;
  margin-left: 5px;
}
p a {
  color: #007bff; /* لون الرابط */
  text-decoration: none; /* إزالة الخط السفلي */
  font-weight: bold; /* جعله أكثر وضوحًا */
  transition: color 0.3s ease; /* تأثير تغيير اللون */
}

p a:hover {
  color: #0056b3; /* لون عند التمرير */
  text-decoration: underline; /* إضافة خط تحت الرابط عند التمرير */
}