.product-detail-page{
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 50px auto;
  gap: 50px;
  padding: 0 20px;
}

.product-detail-page .product-images {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.product-detail-page .main-image {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.product-detail-page .main-image img {
  width: 100%;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.product-detail-page .main-image:hover img {
  transform: scale(1.1);
}

.product-detail-page .image-icons {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
h3 {
        font-size: 1.1rem;
    }
.product-detail-page .image-icons i {
  background: #fff;
  padding: 10px;
  border-radius: 50%;
  font-size: 18px;
  color: #1f2d2b;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}

.product-detail-page .image-icons i:hover {
  transform: scale(1.2);
}

.product-detail-page .thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.product-detail-page .thumbnails img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.product-detail-page .thumbnails img.active,
.thumbnails img:hover {
  border-color: #1f2d2b;
}

.product-detail-page .product-info {
  flex: 1;
  min-width: 300px;
}

.product-detail-page .product-info h2 {
  font-size: 30px;
  margin-bottom: 10px;
}

.product-detail-page .rating i {
  color: #f5b50a;
}

.product-detail-page .rating span {
  font-size: 14px;
  margin-left: 10px;
}

.product-detail-page .price {
  font-size: 18px;
  font-weight: bold;
  margin: 1px 0;
}
.product-detail-page .cost-price {
  text-decoration: line-through;
  color: #888;
  margin-right: 10px;
}

.product-detail-page .sale-price {
  font-weight: 600;
  color: #1f2d2b;
}
.product-detail-page .description {
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
}

.product-detail-page .actions button {
  padding: 12px 20px;
  margin-right: 10px;
  border-radius: 8px;
  /* border: none; */
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}
a{
    text-decoration:none;
}
.actions {
  display: flex;
  gap: 16px;
  margin-top: 25px;
}
.product-detail-page .buy-now {
  background: linear-gradient(135deg, #555, #2f2f2f);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s ease;
  box-shadow: 0 8px 24px rgba(85, 85, 85, 0.35);
}
.product-detail-page .buy-now:hover {
  background: linear-gradient(135deg, #2f2f2f, #111);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}



.product-detail-page .add-cart {
  background: transparent;
  color: #555;
  border: 2px solid #555;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.product-detail-page .add-cart:hover {
  background: #555;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(85, 85, 85, 0.35);
}


.related-products {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

.related-products h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
}

 .product-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.product-card {
  background: #fff;
  width: 220px;
  border-radius: 15px;
  text-align: center;
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

 .product-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
}
.product-card button {
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  background: #1f2d2b;
  color: #fff;
  cursor: pointer;
  margin-top: 10px;
}

.product-card button:hover {
  background: #000;
}

/* Responsive */
@media(max-width: 900px){
  .product-detail-page .product-detail { flex-direction: column; }
  .product-detail-page .product-row { justify-content: space-around; }
}