/* ✅ Scope all product details page styles under .product-page */
.product-page {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f8f9fa;
  color: #333;
  padding: 20px 0;
}

.product-page .container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

/* Left side - product images */
.product-page .product-images {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.product-page .main-image {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  background-image: url("/img/pro_background.jpg");
  transition: 0.3s;
}

.product-page .main-image img {
  width: 100%;
  border-radius: 8px;
}

/* Circle scroller */
.product-page .circle-page {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.product-page .circle {
  width: 20px;
  height: 20px;
  border: 2px solid #747474;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}
.product-page .circle.active {
  background: #228b22;
  border-color: #228b22;
}

/* Right side - product info */
.product-page .product-info {
  flex: 1;
  min-width: 320px;
}

.product-page .category {
  color: #228b22;
  font-size: 18px;
  margin-bottom: 8px;
}

.product-page .title {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 8px;
}

.product-page .subtitle {
  font-size: 24px;
  color: #666;
  margin-bottom: 20px;
}

.product-page .buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  justify-content: center;
}

.product-page .btn {
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  border-radius: 5px;
  transition: 0.3s;
}

.product-page .btn-enquiry {
  background: #228b22;
  color: #fff;
  text-decoration: none;
  display: inline-block;
}
.product-page .btn-enquiry:hover {
  background: #1d751d;
}

.product-page .btn-brochure {
  background: #fff;
  border: 1px solid #ccc;
  color: #333;
}
.product-page .btn-brochure:hover {
  background: #f2f2f2;
}

.product-page .guarantee {
  display: flex;
  align-items: center;
  margin-top: 15px;
  padding: 15px;
  border-top: 1px solid #ddd;
  font-size: 15px;
  line-height: 1.6;
}

.product-page .guarantee img {
  width: 22px;
  margin-right: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .product-page .container {
    flex-direction: column;
    align-items: center;
  }
}

.product-page .product-detail {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.product-page .thumbnails {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-page .thumbnails img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.product-page .thumbnails img:hover,
.product-page .thumbnails img.active {
  border-color: #007bff;
  transform: scale(1.05);
}

.product-page .main-image img {
  width: 400px;
  height: auto;
  border-radius: 8px;
}

/* Product Parameters */
.product-page .product-parameters {
  padding: 2rem;
  background: #fff;
  margin-top: 30px;
  border-radius: 8px;
}

.product-page .product-parameters h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.product-page .table-wrapper {
  overflow-x: auto;
}

.product-page .param-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.product-page .param-table td {
  border: 1px solid #e0e0e0;
  padding: 12px 16px;
  vertical-align: middle;
  font-size: 1.95rem;
  color: #333;
}

.product-page .param-table tr:nth-child(even) {
  background: #fafafa;
}

.product-page .param-table td:first-child,
.product-page .param-table td:nth-child(3) {
  font-weight: 600;
  width: 20%;
  background: #f9f9f9;
}
