* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Inter", Arial, sans-serif !important;
  background-color: #fff;
  font-weight: 500;
  line-height: 1.6;
}
.product-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
}

.left-section {
  flex: 1 1 50%;
  max-width: 650px;
  position: relative;
  margin: auto;
}

.image-viewer {
  width: 100%;
  height: 350px;
  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: rgb(46 66 119);
  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;
  margin-bottom: 20px;
}

.thumbnail-container img {
  width: 23%;
  height: 80px;
  border-radius: 8px;
  object-fit: contain;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.3s ease;
  border-radius: 6px;
}

.thumbnail-container img.active {
  border-color: #db0e0e;
}

.right-section {
  flex: 1 1 50%;
  max-width: 650px;
}

.right-section {
  padding-top: 50px;
  padding-right: 20px;
}
.right-section h2 {
  margin-bottom: 20px;
  font-family: Arial, sans-serif;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: #db0e0e;
  text-transform: capitalize !important;
}
.right-section h4 {
  color: rgb(46 66 119);
  text-transform: capitalize;
  font-size: 20px;
  margin-bottom: 5px;
  margin-left: 5px;
}
.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;
  }
}
