/* Banner: most már rács + gombok külön */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #6D475B;
    color: #fff;
    z-index: 9999;
    padding: 16px;
    display: none;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cookie-banner a {
    color: #8ecdf7;
    text-decoration: underline;
}

.cookie-banner__buttons {
    display: flex;
    gap: 8px;
}

/* Modal */
.cookie-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 10000;
    display: none;
}

.cookie-modal__box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    color: #111;
    max-width: 560px;
    margin: auto;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
    font-family: system-ui, Segoe UI, Roboto, Arial, sans-serif;

}

.cookie-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
}

.cookie-modal__actions {
    margin-top: 30px;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.cookie-modal__actions button {
    font-size: 16px;
}

/* Sarok gomb */
.cookie-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #6D475B;
    color: white;
    border: none;
    border-radius: 15px;
    padding: 10px 16px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    font-family: "Exo 2", sans-serif;
    z-index: 9999;
    display: none;
    /* alapból rejtve */
}

.cookie-fab.show {
    display: block;
    /* 👈 ha engedélyezve van, ez teszi láthatóvá */
}

/* opcionális: a Te gombstílusaidhoz igazíthatod a .button-primary / .button-secondary osztályokkal */

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .cookie-banner__buttons {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px;
    }

    .cookie-banner button {
        flex: 1 1 auto;
        min-width: 120px;
    }

    .cookie-modal__box {
        width: 90%;
        max-width: 400px;
        padding: 15px;
    }

    .cookie-modal__actions {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cookie-modal__actions button {
        flex: 1 1 100px;
    }
}

/* ======== HERO szöveg igazítás (ha túl nagy) ======== */
@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content h2 {
        font-size: 22px;
    }

    .hero-content button {
        width: 80%;
    }
}

/* ======== FOOTER mobilbarát ======== */
@media (max-width: 576px) {
    .footer-flex {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-map iframe {
        width: 100%;
        margin: 0 auto;
    }
}