body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
}
.product-container {
  background-color: #fffaf4;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 20px 20px 30px 20px;
}
.return-home {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 16px;
  background-color: #ffe7c2;
  color: #333;
  font-weight: 600;
  text-decoration: none;
  border-radius: 20px;
  border: 2px solid #ffc488;
  transition: background-color 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.return-home:hover {
  background-color: #ffd199;
}
.product {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.gallery {
  flex: 1 1 300px;
  max-width: 400px;
}
.gallery-main {
  width: 100%;
  border: 1px solid #ddd;
  margin-bottom: 10px;
  border-radius: 8px;
  height: 500px;
  object-fit: cover;
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
}
.thumb {
  width: 60px;
  cursor: pointer;
  border-radius: 5px;
  border: 2px solid transparent;
  transition: border-color 0.3s;
}
.thumb:hover,
.thumb.active {
  border-color: #007bff;
}
.details {
  flex: 1 1 300px;
  max-width: 800px;
}
.details-title {
  font-size: 1.8rem;
  margin-top: 5px;
}
.details-desc {
  margin-bottom: 20px;
  line-height: 1.4;
}
.details-price {
  font-weight: bold;
  font-size: 1.3rem;
  margin-bottom: 25px;
}
.buy-button {
  display: inline-block;
  padding: 10px 20px;
  background: #0a7bdb;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s;
  cursor: pointer;
}
.buy-button:hover {
  background-color: #0056b3;
}
.payment-info {
  margin-top: 15px;
  font-size: 14px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 8px;
}
.payment-info img {
  width: 24px;
  height: auto;
}
.video-container {
  margin-top: 30px;
  max-width: 350px;
  border-radius: 12px;
}
.video-thumbnail {
  position: relative;
  display: inline-block;
  width: 350px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(240, 110, 170, 0.8); /* rose semi-transparent */
  border-radius: 50%;
  pointer-events: none;
}

.play-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent white;
}
@media (max-width: 400px) {
  .video-thumbnail {
    width: 100%;
  }
}
@media (max-width: 700px) {
  .product {
    flex-direction: column;
  }
  .gallery,
  .details {
    max-width: 100%;
  }
}
