.cookie-consent[hidden] {
    display: none !important;
}

.cookie-consent {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 1100;
}

.cookie-consent__inner {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(15, 103, 180, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 48px rgba(18, 45, 70, 0.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.cookie-consent__content {
    min-width: 0;
}

.cookie-consent__title {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1rem;
    color: var(--color-text);
}

.cookie-consent__text {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.55;
    color: var(--color-text-muted);
}

.cookie-consent__text a {
    white-space: nowrap;
}

.cookie-consent__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 0.65rem;
}

.cookie-consent__button,
.privacy-page__actions button {
    min-height: 42px;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.cookie-consent__button--primary,
.privacy-page__actions button:first-child {
    border: 1px solid var(--color-primary);
    background: var(--color-primary);
    color: #fff;
}

.cookie-consent__button--secondary,
.privacy-page__actions button:last-child {
    border: 1px solid var(--color-primary);
    background: #fff;
    color: var(--color-primary);
}

.privacy-page {
    padding: var(--space-2xl) 0 var(--space-3xl);
}

.privacy-page .site-container {
    max-width: 1100px;
}

.privacy-page h1 {
    margin-bottom: 1.5rem;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.1;
}

.privacy-page h2 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

.privacy-page p {
    max-width: none;
    font-size: 1.06rem;
    line-height: 1.75;
}

.privacy-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.25rem 0;
}

.privacy-page__status {
    font-weight: 700;
}

html.accessibility-mode .cookie-consent__inner {
    border: 2px solid #000;
    background: #fff;
}

html.accessibility-mode .cookie-consent__text,
html.accessibility-mode .cookie-consent__title {
    color: #000;
}

@media (max-width: 760px) {
    .cookie-consent {
        right: 0.65rem;
        bottom: 0.65rem;
        left: 0.65rem;
    }

    .cookie-consent__inner {
        align-items: stretch;
        flex-direction: column;
    }

    .cookie-consent__actions {
        width: 100%;
    }

    .cookie-consent__button {
        flex: 1 1 0;
    }
}

@media (max-width: 480px) {
    .cookie-consent__actions {
        flex-direction: column-reverse;
    }

    .privacy-page__actions {
        flex-direction: column;
    }
}
