.cookie-consent[hidden] {
    display: none;
}

.cookie-consent {
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 24px;
}

.cookie-consent-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 17, 15, 0.48);
    backdrop-filter: blur(3px);
}

.cookie-consent-panel {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    width: min(1080px, 100%);
    padding: 24px;
    border: 1px solid #e5ddd5;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 60px rgba(32, 25, 20, 0.22);
}

.cookie-consent-content {
    max-width: 680px;
}

.cookie-consent-kicker {
    margin: 0 0 6px;
    color: #c76c40;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cookie-consent h2 {
    margin: 0 0 10px;
    color: #292522;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
}

.cookie-consent p {
    margin: 0;
    color: #665e58;
    font-size: 14px;
    line-height: 1.65;
}

.cookie-consent-policy-link {
    display: inline-block;
    margin-top: 11px;
    color: #a9542e;
    font-size: 13px;
    font-weight: 700;
}

.cookie-consent-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.cookie-consent-button {
    min-height: 44px;
    padding: 0 17px;
    border-radius: 9px;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.cookie-consent-button-reject {
    border: 1px solid #d8cec7;
    color: #4c443f;
    background: #ffffff;
}

.cookie-consent-button-accept {
    border: 1px solid #c76c40;
    color: #ffffff;
    background: #c76c40;
}

.cookie-consent-button:hover {
    transform: translateY(-1px);
}

body.cookie-consent-open {
    overflow: hidden;
}

@media (max-width: 760px) {
    .cookie-consent {
        padding: 12px;
    }

    .cookie-consent-panel {
        align-items: stretch;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .cookie-consent-actions {
        flex-direction: column-reverse;
    }

    .cookie-consent-button {
        width: 100%;
    }
}