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

.cookie-consent {
    position: fixed;
    z-index: 1100;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1100px, calc(100% - 32px));
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 24px 30px;
    border: 1px solid #c43359;
    border-radius: 14px;
    background: #1e202d;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .3);
    color: #fff;
    font-family: Montserrat, sans-serif;
}

.cookie-consent__text {
    flex: 1;
    min-width: 0;
}

.cookie-consent h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.cookie-consent p {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-consent a,
.cookie-consent a:hover {
    color: #ffad45;
    text-decoration: underline;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 350px;
}

.cookie-consent__actions button {
    flex: 1 1 150px;
    min-height: 44px;
    padding: 9px 12px;
    border: 1px solid #ff9b23;
    border-radius: 6px;
    background: transparent;
    color: #ffad45;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.cookie-consent__actions button:hover,
.cookie-consent__actions button:focus-visible {
    background: #343340;
    color: #fff;
}

.cookie-consent__actions .cookie-consent__accept {
    background: #ff9b23;
    color: #1e202d;
}

.cookie-consent__actions .cookie-consent__accept:hover,
.cookie-consent__actions .cookie-consent__accept:focus-visible {
    background: #ffad45;
    color: #1e202d;
}

@media (max-width: 800px) {
    .cookie-consent {
        display: block;
        padding: 18px;
    }

    .cookie-consent__actions {
        max-width: none;
        margin-top: 16px;
    }
}
