

.container {
  max-width: 1200px;
  width: 100%;
}

#prodImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
#prodImg:hover {
  opacity: 0.5;
  cursor: zoom-in;
}
/* The Modal (background) */
.prodModal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
  cursor: zoom-out;
}
/* Modal Content (image) */
.prod-modal-content {
  margin: auto;
  display: block;
  width: 60%;
}
@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(1);
  }
  to {
    -webkit-transform: scale(2);
  }
}

@keyframes zoom {
  from {
    transform: scale(0.4);
  }
  to {
    transform: scale(1);
  }
}
@-webkit-keyframes zoom-out {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(0);
  }
}
@keyframes zoom-out {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(0);
  }
}
/* Add Animation */
.prod-modal-content,
#caption {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}
.out {
  animation-name: zoom-out;
  animation-duration: 0.6s;
}

/* Breadcrumbs */
.breadcrumbs {
  color: var(--primary-color);
  font-family: var(--font-family-primary);
  font-size: 20px;
  font-weight: 200;
  line-height: 1.7em;
  margin-bottom: 20px;
  text-align: left;
}

.breadcrumbs a {
  color: var(--primary-color);
  font-family: var(--font-family-primary);
  font-size: 20px;
  font-weight: 200;
  line-height: 1.7em;
  margin-bottom: 20px;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span {
  margin: 0 5px;
}

/* Main product section */
.product-page {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

/* Product image section */
.product-image-container {
  flex: 1;
  position: relative;
}

.product-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  cursor: zoom-in;
  transition: transform 0.2s ease;
}

.product-image.zoomed {
  transform: scale(2);
  cursor: zoom-out;
}

/* Product details section */
.product-details {
  flex: 1;
  padding-top: 10px;
}

.product-title {
  font-size: 45px;
  margin-bottom: 10px;
  color: var(--secondary-color);
  font-family: var(--font-family-primary);
  text-align: left;
}

.product-description {
  text-align: left;
  margin-bottom: 20px;
  color: #7a7a7a;
  font-family: var(--font-family-primary);
  font-size: 18px;
  line-height: 22px;
}

.product-price {
  text-align: left;
  margin-bottom: 20px;
  color: #7a7a7a;
  font-family: var(--font-family-primary);
  font-size: 25px;
  line-height: 22px;
  font-weight: bold;
}

/* WhatsApp button */
.whatsapp-button {
  display: inline-block;
  padding: 12px 20px;
  font-size: 16px;
  color: var(--background-color);
  background-color: var(--secondary-color);
  border: none;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s;
}

.whatsapp-button:hover {
  background-color: var(--background-color);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

/* Similar products section */
.similar-products {
  margin-top: 20px;
  margin-bottom: 40px;
}

.similar-products h2 {
  font-size: 30px;
  margin-bottom: 10px;
  color: var(--primary-color);
  font-family: var(--font-family-primary);
  text-align: center;
}

.similar-products-list {
  display: flex;
  gap: 20px;
}

.similar-product-item {
  flex: 1;
  background-color: var(--background-color);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.similar-product-item img {
  width: 210px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.similar-product-item a {
  text-decoration: none;
}

.similar-product-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--primary-color);
  font-family: var(--font-family-primary);
  text-align: center;
}

.similar-product-item p {
  font-size: 20px;
  color: var(--secondary-color);
  font-family: var(--font-family-primary);
  font-weight: bold;
}
/* No Product Found Section */
.no-product {
  text-align: center;
  padding: 40px;
}

.no-product h1 {
  font-size: 36px;
  color: var(--primary-color);
  font-family: var(--font-family-primary);
}

.no-product p {
  color: #7a7a7a;
  font-family: var(--font-family-primary);
  font-size: 18px;
  margin-bottom: 20px;
}
.no-product img {
  width: 100%;
  max-width: 500px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 60px;
  box-shadow: rgba(136, 165, 191, 0.48) 6px 2px 16px 0px,
    rgba(255, 255, 255, 0.8) -6px -2px 16px 0px;
}

.back-button {
  display: inline-block;
  padding: 12px 20px;
  font-size: 16px;
  color: var(--background-color);
  background-color: var(--primary-color);
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
}

.back-button:hover {
  background-color: var(--background-color);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

/* Mobile Styles */
@media (max-width: 768px) {
  .product-page {
    flex-direction: column;
    text-align: center;
  }

  .breadcrumbs {
    order: -2;
    text-align: center;
  }

  .product-image {
    max-width: 300px;
    margin: 0 auto;
  }

  .product-description {
    display: block;
    width: 90%;
    padding-left: 5%;
  }
  .product-price {
    text-align: center;
  }
  .product-title {
    text-align: center;
  }
  /* Similar products section */
  .similar-products {
    width: 90%;
  }

  .similar-products-list {
    display: flex;
    gap: 20px;
  }

  .similar-product-item {
    width: 205px;
  }

  .similar-product-item img {
    width: 150px;
  }
  .similar-product-item h3 {
    font-size: 16px;
  }
  .prod-modal-content {
    width: 100%;
  }
}
