
/* Zsuzsanna Handmade – sütikezelő */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;

    width: calc(100% - 32px);
    max-width: 680px;
    padding: 24px;

    background: #faf5ec;
    color: #493d32;
    border: 1px solid #c9b68f;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);

    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

.cookie-banner[hidden] {
    display: none !important;
}

.cookie-banner h2 {
    margin: 0 0 12px;
    font-size: 21px;
    color: #66513b;
}

.cookie-banner p {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.6;
}

.cookie-banner a {
    color: #755b37;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-buttons button {
    flex: 1 1 150px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #aa936d;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

.cookie-accept {
    background: #766044;
    color: white;
}

.cookie-reject,
.cookie-settings {
    background: #fffdf9;
    color: #594731;
}

.cookie-buttons button:hover {
    filter: brightness(0.94);
}

.cookie-buttons button:focus-visible {
    outline: 3px solid #9c7950;
    outline-offset: 2px;
}

.cookie-preferences {
    margin: 14px 0;
    padding: 12px;
    border: 1px solid #d8c8aa;
    border-radius: 8px;
}

.cookie-preferences[hidden] {
    display: none !important;
}

.cookie-preferences label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

@media (max-width: 600px) {
    .cookie-banner {
        bottom: 10px;
        padding: 18px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .cookie-banner h2 {
        font-size: 18px;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-buttons button {
        flex: none;
        width: 100%;
    }
}
