.yv-product-catalog {
    display: flex;
    flex-direction: column;
    align-items: center;       /* Keskittää laatikot */
    gap: 30px;                 /* Väli laatikoiden väliin */
    padding: 40px 20px;
    font-family: 'Montserrat', serif;
  }
  
  .yv-product {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 90%;
    max-width: 1000px;
    min-height: 240px;         /* Hiukan lisää korkeutta */
    padding: 20px;
    /* border: 1px solid #ddd; */
    border-radius: 8px;
    /* background-color: #fafafa; */
    /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); */
    gap: 20px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    border: 1px solid var(--color-gold);
    border-bottom: 8px solid var(--color-gold);; 
  }
  
  .yv-product:hover {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #fefefe;
    cursor: pointer;
    transform: translateY(-2px);
  }
  
  .product-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    border-bottom: 20px solid var(--color-gold);
  }
  
  .product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
  }
  
  .product-details h3 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    font-weight: 500;
  }
  
  .product-details p {
    margin: 4px 0;
    font-size: 1rem;
  }
  
  @media (max-width: 768px) {
    .yv-product {
      flex-direction: column;
      align-items: center;
    }
  
    .product-image img {
      width: 100%; /* Skaalautuu näytön mukaan */
      height: auto;
    }
  
    .product-details {
      width: 100%;
      text-align: center;
    }
  }

  .product-details {
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex: 1;
  }
  .detail-small-box {
    /* background-color: #f7f9fc; */
    margin-top: 10px;
    display: block;
    width: fit-content;
    /* border: 1px solid var(--color-gold); */
    border-radius: 4px;
    padding: 10px;
    max-width: 100%; /* estää ylittymisen */
    font-weight: 600;
  }

/* .detail-small-box p, 
.detail-small-box div {
  display: inline;
} */