.cookie-consent {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 24px;
    background: rgba(20, 28, 43, 0.24);
    color: #212121;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    pointer-events: none;
}

.cookie-consent__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100%, 920px);
    padding: 26px 28px;
    gap: 28px;
    border: 1px solid #c19b65;
    border-top: 5px solid #6d5066;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 18px 55px rgba(20, 28, 43, 0.35);
    animation: cookie-consent-enter 0.35s ease-out;
    pointer-events: auto;
}

.cookie-consent__text {
    max-width: 720px;
}

.cookie-consent__text h2 {
    margin: 0 0 6px;
    color: #293b5b;
    font-family: "Cormorant Infant", Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.15;
}

.cookie-consent__text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}

.cookie-consent__text a {
    color: #563e50;
    text-decoration: underline;
}

.cookie-consent__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.cookie-consent__button {
    min-height: 44px;
    padding: 11px 20px;
    border: 1px solid #6d5066;
    border-radius: 5px;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.cookie-consent__button--primary {
    background: #6d5066;
    color: #ffffff;
}

.cookie-consent__button--secondary {
    background: #ffffff;
    color: #563e50;
}

.cookie-consent__button:hover,
.cookie-consent__button:focus-visible {
    outline: 2px solid #c19b65;
    outline-offset: 2px;
}

@keyframes cookie-consent-enter {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 720px) {
    .cookie-consent {
        padding: 10px;
    }

    .cookie-consent__content,
    .cookie-consent__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent__content {
        max-height: calc(100vh - 20px);
        padding: 22px 18px;
        gap: 18px;
        overflow-y: auto;
    }

    .cookie-consent__actions {
        gap: 8px;
    }

    .cookie-consent__button {
        width: 100%;
    }
}
