.product-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
}

.left-section {
  flex: 1 1 45%;
  max-width: 700px;
  position: relative;
}

.image-viewer {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.image-viewer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease-in-out;
  padding-top: 20px;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 30px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  cursor: pointer;
  z-index: 10;
}

.arrow.left {
  left: 10px;
}
.arrow.right {
  right: 10px;
}

.thumbnail-container {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  gap: 10px;
}

.thumbnail-container img {
  width: 23%;
  height: 80px;
  border-radius: 8px;
  object-fit: contain;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.3s ease;
}

.thumbnail-container img.active {
  border-color: #007bff;
}

.right-section {
  flex: 1 1 50%;
  max-width: 600px;
}

.right-section {
  padding: 50px 20px;
}
.right-section h2 {
  margin-bottom: 26px;
  font-family: Arial, sans-serif;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: #003b7a;
  text-transform: capitalize !important;
}
.heading-border {
  width: 150px;
  height: 4px;
  background: linear-gradient(to right, #ff6b6b, #4ecdc4);
  margin: 0 auto 40px;
  border-radius: 2px;
}
@media (max-width: 768px) {
  .right-section h2 {
    font-size: 1.5rem;
  }
}

.right-section p {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
}

@media (max-width: 768px) {
  .product-detail {
    flex-direction: column;
    align-items: center;
  }

  .left-section,
  .right-section {
    max-width: 100%;
  }

  .image-viewer {
    height: 300px;
  }

  .thumbnail-container img {
    height: 60px;
  }
}
