.product-page-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
  align-items: start;
}

body {
  overflow-x: hidden;
}


.product-gallery {
  text-align: center;
}

.product-gallery .main-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
  cursor: zoom-in;
  border: 1px solid #ccc;
}

.thumbnails {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
}


.thumbnails img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid #ccc;
  transition: transform 0.2s ease;
}
.thumbnails img:hover {
  transform: scale(1.08);
}

.product-info {
  padding-right: 20px;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.product-info:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.product-info h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

.product-info .price {
  font-size: 22px;
  color: green;
  font-weight: bold;
  margin-bottom: 15px;
}

.color-options {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.color-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none; 
  cursor: pointer;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.color-dot:hover {
  transform: scale(1.1);
}

.color-dot.selected {
  outline: 2px solid #444;
}



.product-description p {
  white-space: pre-line;
}


.quantity-control input {
  width: 55px;
  text-align: center;
  font-size: 18px;
  padding: 6px;
  border: 2px solid #ccc;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s ease;
}

.quantity-control input:focus {
  border-color: #00a82d;
}


.quantity-control input {
  width: 50px;
  text-align: center;
  font-size: 16px;
  padding: 6px;
}

.quantity-control button {
  padding: 6px 12px;
  background: limegreen;
  color: white;
  border: none;
 
  font-size: 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.quantity-control button:hover {
  background: #1e8f00;
}

.product-description {
  grid-column: span 2;
  margin-top: 40px;
}

.product-description h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #333;
}

.product-description p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
}

.related-products {
  grid-column: span 2;
  margin-top: 50px;
}

.related-products h3 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #333;
}

.related-products .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px;
}

.related-products .product-card {
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 12px;
  background: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  text-align: center;
}

.related-products .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.related-products .product-card img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  margin-bottom: 10px;
}

.related-products .product-card h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

.related-products .product-card .price {
  font-size: 15px;
  font-weight: bold;
  color: green;
  margin-bottom: 10px;
}

.related-products .product-card .btn {
  padding: 8px 16px;
  font-size: 14px;
  background: green;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  display: inline-block;
  transition: background 0.3s ease;
}

.related-products .product-card .btn:hover {
  background: #006400;
}



.product-info .stock {
  font-size: 14px;
  margin-bottom: 12px;
  color: #777;
}



.new-footer {
  background: #f9f9f9;
  border-top: 1px solid #ddd;
  font-size: 14px;
  color: #333;
  margin-top: 50px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

.footer-column {
  flex: 1;
  min-width: 200px;
  margin-bottom: 30px;
}

.footer-column h4 {
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: bold;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #444;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: green;
}

.footer-column i {
  margin-right: 8px;
  color: limegreen;
}

.footer-bottom {
  border-top: 1px solid #ccc;
  padding: 20px;
  text-align: center;
  background: #fff;
}

.footer-bottom p {
  margin: 0;
  color: #666;
}

.footer-socials {
  margin-top: 10px;
}

.footer-socials a {
  margin: 0 10px;
  display: inline-block;
}

.footer-socials i {
  font-size: 20px;
  color: #444;
  transition: color 0.3s ease;
}

.footer-socials i:hover {
  color: green;
}




.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}




.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  gap: 6px;
  z-index: 1000;
}
.burger span {
  height: 3px;
  background: #000;
  border-radius: 2px;
  transition: all 0.3s;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    right: 20px;
    top: 60px;
    background: white;
    padding: 10px 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 100;
  }

  .nav-links.show {
    display: flex;
  }
}




.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  background-color: #25D366;
  padding: 12px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.whatsapp-float img {
  width: 40px;
  height: 40px;
  display: block;
  filter: invert(1); 
}

.whatsapp-float:hover {
  transform: scale(1.1);
}



@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }

  .product-page-container {
    display: block;
    padding: 0 12px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .product-gallery {
    margin-bottom: 20px;
    width: 100%;
  }

  .main-img {
    max-width: 100% !important;
  }

  .product-info {
    width: 100%;
    padding: 16px;
    font-size: 14px;
    background: #fff;
    box-sizing: border-box;
    border-radius: 10px;
  }

  .product-info h2 {
    font-size: 18px;
  }

  .product-info .price {
    font-size: 16px;
  }

  .product-info .stock {
    font-size: 13px;
  }

  .color-dot {
    width: 22px;
    height: 22px;
  }

  .quantity-control {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    align-items: center;
  }

  .quantity-control input {
    width: 45px;
    font-size: 14px;
  }

  .quantity-control button {
    font-size: 16px;
    padding: 6px 12px;
  }

  .btn {
    font-size: 15px;
    padding: 12px;
    width: 100%;
    margin-top: 15px;
    text-align: center;
    display: block;
    box-sizing: border-box;
  }

  .product-description,
  .related-products {
    padding: 0 12px;
    box-sizing: border-box;
  }

  .thumbnails img {
    width: 50px;
    height: 50px;
  }
}

