.product-section {
      display: flex;

      padding: 50px;
      gap: 40px;
      padding-bottom: 105px;
      flex-wrap: wrap;
    }


    .product-list {
      flex: 1 1 200px;
    }

    .product-list h2 {
      font-size: 32px;
      margin-bottom: 40px;
      color: #3c4b5d;
    }

    .product-item {
      display: flex;
      align-items: center;
      margin-bottom: 30px;
      cursor: pointer;
      transition: all 0.3s ease;
      color: #3c4b5d;
    }

    .product-item.active {
      font-weight: bold;
    }

    .product-number {
      width: 40px;
      font-size: 20px;
      font-weight: 500;
    }

    .product-line {
      width: 40px;
      height: 1px;
      background-color: #a8e6cf;
      margin: 0 10px;
    }

    .product-name {
      font-size: 18px;
    }

    .product-image {
      flex: 3 1 600px;
      position: relative;
      min-height: 400px;
    }

    .product-image img {
      position: absolute;
      width: 300px;
      height: auto;
      border-radius: 10px;
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
      opacity: 0;
      transform: scale(0.9) translateY(30px);
      transition: all 0.6s ease;
      pointer-events: none;
    }

    .product-image img.active {
      opacity: 1;
      transform: scale(1) translateY(0);
      pointer-events: auto;
      z-index: 2;
    }

    .pos1 { top: 0; left: -7%; }
    .pos2 { top: 100px; left: 59%; }
    .pos3 { top: 272px; left: 92%; }
    .pos4 { top: 50px; left: 26%; }

    @media (max-width: 768px) {
      .product-section {
        flex-direction: column;
        padding: 30px;
      }

      .product-image {
        min-height: 600px;
      }

      .product-image img {
        width: 90% !important;
        left: 5% !important;
      }
    }

.image-credit {
  margin-left: auto;
  margin-top: 0;
  font-size: 12px;
  color: #888;
  background: rgba(255, 255, 255, 0.6);
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 2;
 
}

/* --- Desktop: Show 4 images --- */
.pos1, .pos2, .pos3, .pos4 {
  display: block;
}

/* --- Mobile: show only first 2 images --- */
@media (max-width: 768px) {
  .product-section {
    flex-direction: column;
    padding: 30px;
  }

  .product-image {
    min-height: 400px; /* smaller height for mobile */
    position: relative;
  }

  .product-image img {
    width: 90% !important;
    left: 5% !important;
    top: auto !important;
    position: relative;   /* stack naturally */
    margin-bottom: 15px;
  }

  /* hide extra images (only show 2) */
  .product-image img:nth-child(n+3) {
    display: none;
  }
}