.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: var(--color-gray-900);
    color: var(--color-white);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.2);
}

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

.cookie-consent__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-sm) var(--space-md);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
}

.cookie-consent__text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1 1 320px;
}

.cookie-consent__text a {
    color: var(--color-white);
    text-decoration: underline;
}

.cookie-consent__actions {
    display: flex;
    gap: var(--space-xs);
    flex-shrink: 0;
}

.cookie-consent__btn {
    font-family: var(--font);
    font-size: 0.9rem;
    padding: 0.6rem 1.25rem;
    border-radius: 4px;
    border: 1px solid var(--color-white);
    cursor: pointer;
    background: transparent;
    color: var(--color-white);
}

.cookie-consent__btn--accept {
    background: var(--color-white);
    color: var(--color-gray-900);
}

@media (max-width: 600px) {
    .cookie-consent__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent__text {
        flex-basis: auto;
    }

    .cookie-consent__actions {
        justify-content: stretch;
    }

    .cookie-consent__btn {
        flex: 1;
    }
}
