
.custom-product-list {
  text-align: center;
  margin: 40px 0;
  padding: 20px;
}

.custom-product-list h2 {
  font-size: 1.8em;
  color: #2b2d42;
  margin-bottom: 20px;
}

.custom-product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.custom-product-card {
  background-color: #ffffff;
  /*border: 1px solid #8d99ae;*/
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  width: 350px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.custom-product-image {
  width: 100%;
  aspect-ratio: 1/1;
  /*height: 300px;*/
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.custom-product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.custom-product-description {
  font-size: 0.9em;
  color: #3d3d3d;
  margin: 10px 0;
}

.custom-product-producer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.custom-product-producer img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.custom-product-price {
  font-size: 2em;
  font-weight: bold;
  color: #2b2d42;
}

.custom-product-btn {
  display: inline-block;
  background-color: #edf2f4;
  color: #2b2d42;
  border: 1px solid #edf2f4;
  padding: 8px 12px;
  font-size: 1.2em;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 10px;
  text-decoration: none;
}

.custom-product-btn:hover {
  background-color: #8d99ae;
  color: #edf2f4;
  text-decoration: none;
}

@media (max-width: 768px) {
  .custom-product-grid {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .custom-product-card {
    width: 90%;
    max-width: 300px;
  }
}

.category-card:hover {
  box-shadow: 0px 0px 60px rgba(0, 0, 0, 0.1);
}

.custom-product-card:hover {
  box-shadow: 0 0 70px rgba(0,0,0,0.1);
}

.producer-name {
  font-weight: 600;
}

.product-page {
  background-color: #edf2f4;
  padding: 20px 0;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.product-container {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
}

.product-images {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-gallery {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.main-product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 15px;
  aspect-ratio: 1/1;
}

.thumbnail-gallery {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.thumbnail {
  width: 50px;
  height: 50px;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid #8d99ae;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.thumbnail:hover {
  transform: scale(1.1);
}

.product-info {
  flex: 1 1 50%;
  max-width: 600px;
}

.product-title {
  font-size: 2em;
  color: #2b2d42;
  margin-bottom: 10px;
}

.product-category {
  font-size: 1.2em;
  color: #edf2f4;
  background-color: #8d99ae;
  padding: 3px 10px;
  width: auto;
  /*text-align: center;*/
}

.product-price-wrap {
  display: flex;
  justify-content: space-between;
  align-content: center;
  align-items: center;
}

.product-stock-status {
  font-size: 1.2em;
  color: #2b2d42;
  margin-top: 10px;
}

.product-description {
  font-size: 1.2em;
  color: #8d99ae;
  margin-bottom: 20px;
}

.product-price {
  font-size: 2em;
  font-weight: bold;
  color: #2b2d42;
  margin-bottom: 20px;
}

.quantity-selector {
  margin-bottom: 20px;
}

.quantity-selector label {
  font-size: 1em;
  margin-right: 10px;
}

.quantity-selector input {
  padding: 10px;
  font-size: 1em;
  width: 60px;
}

.add-to-cart {
  width: 100%;
  background-color: #2b2d42;
  color: #edf2f4;
  padding: 10px 20px;
  font-size: 1.2em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 20px;
}

.add-to-cart:hover {
  background-color: #8d99ae;
}

.product-specifications {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.product-specifications td {
  padding: 10px;
  border: 1px solid #8d99ae;
  text-align: left;
}

.product-specifications tr:nth-child(even) {
  background-color: #f0f0f0;
}

.product-reviews {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 5px;
  /*border: 1px solid #8d99ae;*/
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.product-reviews h2 {
  font-size: 1.5em;
  color: #2b2d42;
}

.review {
  margin-bottom: 20px;
  padding: 5px;
  /*border: 1px solid #8d99ae;*/
  background-color: #edf2f4;
  border-radius: 10px;
}

.leave-review h3 {
  font-size: 1.2em;
  color: #2b2d42;
  margin-bottom: 10px;
}

.leave-review textarea {
  width: 100%;
  padding: 10px;
  font-size: 1em;
  border-radius: 5px;
  border: 1px solid #8d99ae;
  margin-bottom: 10px;
}

.submit-review {
  background-color: #2b2d42;
  color: #edf2f4;
  padding: 10px 20px;
  font-size: 1.2em;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  width: 100%;
}

.submit-review:hover {
  background-color: #8d99ae;
}

.in-stock {
  font-weight: bold;
  color: green;
}

.out-of-stock {
  font-weight: bold;
  color: red;
}

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

@media (max-width: 768px) {
  .product-images {
    flex: 1 1 100%;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .product-info {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.product-variations {
  margin: 20px 0;
}

.product-variations h2 {
  font-size: 1.3em;
  color: #2b2d42;
  margin-bottom: 10px;
}

.variation-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.variation-btn {
  background-color: #ffffff;
  color: #2b2d42;
  border: 1px solid #8d99ae;
  padding: 10px 15px;
  font-size: 1em;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.variation-btn:hover {
  background-color: #2b2d42;
  color: #edf2f4;
}

@media (max-width: 768px) {
  .variation-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .variation-btn {
    width: 100%;
    text-align: center;
  }
}

.link-download {
  color: #008ac4;
  margin-right: 10px;
}

.manufacturer-info {
  margin: 20px 0;
  text-align: center;
}

.manufacturer-info h2 {
  font-size: 0.8em;
  color: #2b2d42;
  margin-bottom: 10px;
  text-align: left;
}

.manufacturer-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.manufacturer-logo {
  max-width: 100px;
  height: auto;
  border-radius: 5px;
}

.manufacturer-name {
  font-size: 1.2em;
  font-weight: bold;
  color: #2b2d42;
}

@media (max-width: 768px) {
  .manufacturer-details {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .manufacturer-logo {
    max-width: 80px;
  }
}

.review-rating {
  margin: 20px 0;
  text-align: center;
}

.review-rating h2 {
  font-size: 1.5em;
  color: #2b2d42;
  margin-bottom: 10px;
}

.stars {
  display: flex;
  justify-content: flex-end;
  flex-direction: row-reverse;
  gap: 5px;
}

.stars input {
  display: none;
}

.stars label {
  font-size: 2em;
  color: #8d99ae;
  cursor: pointer;
  transition: color 0.3s ease;
}

.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label {
  color: #fec909;
}

@media (max-width: 768px) {
  .stars label {
    font-size: 1.8em;
  }
}

