#cookie-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 9998;
    transition: opacity 0.3s;
}

#cookie-backdrop.hidden {
    display: none;
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: white;
    border-top: 1px solid #e8d5c8;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

#cookie-banner.hidden {
    display: none;
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    font-family: "Chocolate Classical Sans", sans-serif;
    font-size: 0.9rem;
    color: #5c463e;
    margin: 0 0 4px;
    line-height: 1.6;
}

.cookie-text a {
    color: #8f6a5e;
    text-decoration: underline;
    font-size: 0.85rem;
}

.cookie-text a:hover {
    color: #5c463e;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

#cookie-accept {
    padding: 10px 20px;
    background-color: #8f6a5e;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: "Chocolate Classical Sans", sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

#cookie-accept:hover {
    background-color: #5c463e;
}

#cookie-decline {
    padding: 10px 20px;
    background-color: transparent;
    color: #8f6a5e;
    border: 1px solid #8f6a5e;
    border-radius: 8px;
    font-family: "Chocolate Classical Sans", sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s;
    white-space: nowrap;
}

#cookie-decline:hover {
    background-color: #fcf0e8;
}

@media (max-width: 768px) {
    #cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 16px;
    }

    .cookie-buttons {
        width: 100%;
    }

    #cookie-accept,
    #cookie-decline {
        flex: 1;
        text-align: center;
    }
}