.category-products {
  max-width: 985px;
}
.category-products a {
  color: #343434;
  text-decoration: none;
}
.category-products a:hover {
  color: #1faddf;
  text-decoration: underline;
}
.category-product {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8px;
  margin: 0;
  width: auto;
  height: auto;
  border: 1px solid #b6b6b6;
  border-radius: 6px;
}
.category-product a:link {
  width: 160px;
  overflow: hidden;
  flex-wrap: nowrap;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: center;
}
.category-product-img {
  width: 160px;
  height: 170px;
  padding: 0;
  margin: 0;
}
.product-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  text-overflow: ellipsis;
}
.product-heading h1 {
  margin: 0 10px;
}
.product-heading-name {
  max-width: 150px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.product-heading-right {
  display: flex;
  gap: 10px;
}
.svg-pad {
  margin: 0 4px;
}
.category-products-list {
  margin: 10px;
  gap: 14px;
}
@media (max-width: 550px) {
  .category-products-list,
  .product-heading {
    justify-content: center;
  }
}

.brand-logo-color {
  fill: #1faddf;
}
.brand-logo-color:hover {
  fill: #343434;
}
.svg-txt-h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 20px 0;
}
.product-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}
.product-image-large {
  flex: 0 0 500px;
}
.product-image-large img {
  width: 100%;
}
.product-thumbnails {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.related-products-contiainer {
  margin: 20px 10px;
}
.related-products-contiainer h3 {
  margin: 10px 0;
}
.related-products {
  padding: 0;
  margin: 0;
}
.related-product {
  width: 175px;
  height: 220px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 0;
  margin: 0;
  transition: all 0.3s ease-in-out;
}
.related-product:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.related-product img {
  border-radius: 16px;
}
.related-product-name {
  padding: 0 10px;
}
.product-thumbnail img {
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
  border: 2px solid white;
}
.product-thumbnail img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.product-thumbnail-selected {
  border: 2px solid #1faddf !important;
}
.product-details {
  flex: 1 2 200px;
  width: auto;
}
.product-details h2 {
  font-size: 28px;
}
.product-description {
  margin: 20px 0 0 0;
  padding: 10px;
  text-align: left;
}
@media (max-width: 600px) {
  /* Force each column to take full width when wrapping occurs */
  .product-image-large,
  .product-thumbnails,
  .product-details {
    flex: 0 0 100%;
  }
  /* For the thumbnails column, switch to horizontal layout and center items */
  .product-thumbnails {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
}
/* Further adjust the large image for extremely narrow screens */
@media (max-width: 500px) {
  .product-image-large {
    flex: 0 0 100%;
  }
}

