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

.cookie-consent {
    position: fixed;
    right: 20px;
    bottom: 20px;
    left: 20px;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px 24px;
    color: #333;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.cookie-consent__content {
    flex: 1;
}

.cookie-consent__content p {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.6;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    gap: 12px;
}

.cookie-consent__accept,
.cookie-consent__reject {
    flex-shrink: 0;
    padding: 10px 24px;
    border: 0;
    border-radius: 4px;
    color: #fff;
    background: #008435;
    font: inherit;
    cursor: pointer;
}

.cookie-consent__accept:hover {
    background: #004b1e;
}

.cookie-consent__reject {
    color: #333;
    background: #eee;
}

.cookie-consent__reject:hover {
    background: #ddd;
}

.cookie-consent__accept:focus-visible,
.cookie-consent__reject:focus-visible {
    outline: 3px solid #008435;
    outline-offset: 3px;
}

@media (max-width: 575px) {
    .cookie-consent__actions > button {
        flex: 1;
    }

    .cookie-consent {
        right: 12px;
        bottom: 12px;
        left: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px;
    }
}
