#kosarTartalom {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.kosar-termek {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
}

.kereso-termek-kep {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

button#kosarFizetes {
    background-color: #276567;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2em;
    margin: 20px;
}

button#kosarFizetes:hover {
    background-color: #1b4e5a;
}

.gomb {
    display: flex;
    justify-content: center;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

#kereso-ikon {
    display: none;
}

#telefon>a {
    color: white;
}

@media (max-width: 820px) {
    #kereso-form {
        display: none;
    }

    .kereso-container.active #kereso-form {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    #kereso-ikon {
        display: inline-block;
        cursor: pointer;
        font-size: 28px;
        margin-left: 8px;
    }

    .kereso-container.active #kereso-form {
        position: absolute;
        right: 50%;
        transform: translate(50%, 50%);
        background: #fff;
        padding: 6px 10px;
        border-radius: 25px;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        align-items: center;
        z-index: 1350;
    }

    #kereso-input {
        min-width: 0;
        width: 160px;
        padding: 8px 12px;
        border-radius: 20px;
        border: 1px solid #ddd;
        font-size: 14px;
    }

    #kereso-javaslatok {
        right: 0;
        left: auto;
        width: 220px;
        z-index: 1400;
    }

    .ikonok {
        display: flex;
        gap: 15px;
        align-items: flex-start;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 10px 20px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        align-items: center;
        gap: 0.8rem;
        margin-top: 10px;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #1f3b4d;
        position: absolute;
        top: 35px;
        left: 0;
        padding: 15px 0;
        text-align: center;
        z-index: 999;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        padding: 10px 0;
        font-size: 1.2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a:first-child {
        border-top: none;
    }

}

#valasz {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(39, 101, 103, 0.95);
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.2rem;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#valasz.mutat {
    opacity: 1;
    transform: translateX(-50%) translateY(30px);
}

@media screen and (max-width: 480px) {
    .nav {
        flex-wrap: nowrap;
    }
}