.product-view {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
  background-color: #f4f4f4;
  margin-top: 50px;
  margin-bottom: 50px;
}

.product-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  max-width: 1200px;
  width: 100%;
}

.product-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-image img {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 8px;
  object-fit: cover;
}

.product-details {
  flex: 1;
  max-width: 500px;
  padding: 20px;
}

.product-details h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: bold;
}

.product-details .price {
  font-size: 1.8rem;
  color: #ff5722;
  margin-bottom: 20px;
  font-weight: bold;
}

.product-details .description {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 25px;
  line-height: 1.6;
}

.product-details .add-to-cart {
  padding: 12px 25px;
  font-size: 1.2rem;
  background-color: #ff5722;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
  text-align: center;
}

.product-details .add-to-cart:hover {
  background-color: #e64a19;
}

@media (max-width: 768px) {
  .product-container {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .product-details {
    text-align: center;
    max-width: 100%;
  }

  .product-details h1 {
    font-size: 2rem;
  }

  .product-details .price {
    font-size: 1.6rem;
  }

  .product-details .description {
    font-size: 1rem;
  }

  .product-details .add-to-cart {
    width: 100%;
  }

  .product-image img {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .product-details h1 {
    font-size: 1.6rem;
  }

  .product-details .price {
    font-size: 1.4rem;
  }

  .product-details .description {
    font-size: 0.9rem;
  }

  .product-details .add-to-cart {
    padding: 10px 20px;
  }
}
