.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, #ab844a);
    border-bottom: 8px solid var(--color-gold, #ab844a);; 
  }
  
  .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, #ab844a);
  }
  
  .product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
  }
  
  .product-details h3,
  .product-details .yv-product-title {
    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, #ab844a); */
    border-radius: 4px;
    padding: 10px;
    max-width: 100%; /* estää ylittymisen */
    font-weight: 600;
  }

/* .detail-small-box p, 
.detail-small-box div {
  display: inline;
} */
/* Lomakkeet: roskapostin piilokenttä ja tilaviestit */
.yv-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.yv-form-message {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--color-gold, #ab844a);
  background: #f7f9fc;
}

.yv-form-message--error {
  border-left-color: #b32d2e;
}

/* Oppaan latauslomake */
.yv-opas-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.yv-opas-form input,
.yv-opas-form button {
  padding: 0.6rem 0.8rem;
  font: inherit;
}

.yv-product-id {
  font-size: 0.85rem;
  color: #666;
}

/* Murupolku */
.yv-breadcrumbs {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  margin: 1rem auto;
  max-width: 1000px;
  padding: 0 20px;
}

.yv-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.yv-breadcrumbs li + li::before {
  content: "›";
  margin-right: 0.4rem;
  color: #888;
}

.yv-breadcrumbs a {
  color: inherit;
}

/* Yhteydenottolomake */
.yv-contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.yv-contact-form input,
.yv-contact-form select,
.yv-contact-form textarea,
.yv-contact-form button {
  padding: 0.6rem 0.8rem;
  font: inherit;
}

.yv-contact-form button {
  margin-top: 0.5rem;
  background: var(--color-blur, #0f1e3e);
  color: #fff;
  border: 0;
  cursor: pointer;
}

.yv-contact-form button:hover {
  background: var(--color-gold, #ab844a);
}

.yv-form-note {
  font-size: 0.85rem;
  color: #666;
}
