@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&display=swap');

.tooted-galerii {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.toode-item {
    width: 200px;
    text-align: center;
}
.hupik-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.hupik-sisu {
    background: #fff;
    padding: 20px;
    text-align: center;
    width: 400px; /* Increased width for more content space */
    max-height: 80%; /* Limiting height to viewport for scroll if needed */
    overflow-y: auto; /* Adding scroll if content exceeds max-height */
    position: relative;
}
.hupik-sisu h2 {
    margin-bottom: 15px; /* Adding space below the title */
    font-family: 'Oswald', sans-serif; /* Applying Oswald font to the title */
    font-weight: 400; /* Reduced font weight for the title */
}
.hupik-sisu div {
    line-height: 1.6; /* Increasing line spacing for readability */
}
.sulge-btn {
    position: absolute;
    top: 11%; /* 39% higher adjustment */
    right: 20px;
    font-size: 18px;
    cursor: pointer;
}
.lisainfo-btn {
    display: inline-block;
    background-color: #F1BB7B; /* Matching color from the provided example */
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    text-decoration: none;
    font-family: 'Oswald', sans-serif; /* Applying Oswald font to the "Lisainfo" button */
    letter-spacing: 0.05em; /* Adjusted letter spacing to match provided screenshot */
}
.lisainfo-btn:hover {
    background-color: #e1a865; /* Slightly darker shade on hover */
}
