


.product-detail-page {
  margin: 100px auto 60px auto; 
  max-width: 1000px;
  padding: 0;
  background: transparent;
  position: relative;
}


.product-detail-page .content-panel {
  background: #fff;
  border-radius: 16px;
  padding: 36px;              
  box-shadow: 0 10px 28px rgba(0,0,0,0.08); 
  display: flex;
  flex-direction: column;
  gap: 40px;                   
}


.product-detail-page .back-btn {
  display: inline-flex;        
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #0b274f;
  color: #fff;
  padding: 8px 16px;           
  border-radius: 14px;
  margin-bottom: 40px;         
  transition: background 0.3s, transform 0.2s;
  width: auto;                 
}

.product-detail-page .back-btn:hover {
  background: #0056b3;
  transform: translateY(-2px);
}



.product-detail-page .product-title {
  margin-top: 0;
  margin-bottom: 36px;
  color: #0b274f;
  font-size: 2rem;
  text-align: center;
}


.product-detail-page .detail-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 36px;
  margin-bottom: 50px;
}


.product-detail-page .image-panel,
.product-detail-page .info-panel {
  background: #fff;
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-detail-page .image-panel:hover,
.product-detail-page .info-panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}


.product-detail-page .prod-main-img {
  max-width: 100%;
  max-height: 360px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  display:block;
}



.product-detail-page .info-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.product-detail-page .info-panel .doc-links a {
  margin-right: 10px;
  margin-top: 6px;
  display: inline-block;
  background: #0b274f;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.product-detail-page .info-panel .doc-links a:hover {
  background: #0056b3;
}


.product-detail-page .prod-desc {
  font-size: 14px;
  color: #555;
  margin: 8px 0 16px 0;
  line-height: 1.5;
  min-height: 40px;
  overflow: hidden;
}


.product-detail-page .similar-products {
  margin-top: 50px;
}


.product-detail-page .products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  justify-items: center; 
  margin-top: 20px;
}


.product-detail-page .product-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-detail-page .product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}


.product-detail-page .product-card img {
  width: 100%;
  object-fit: cover;
  height: 180px;
}


.product-detail-page .product-card .body {
  padding: 12px 16px;
}

.product-detail-page .product-card .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}


@media (max-width: 768px) {
  .product-detail-page .detail-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .product-detail-page .image-panel,
  .product-detail-page .info-panel {
    padding: 24px;
  }
  .product-detail-page .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .product-detail-page .products-grid {
    grid-template-columns: 1fr;
  }
}


.product-detail-page .image-panel {
  display:flex;
  align-items:center;
  justify-content:center;
}
