.cookie-consent {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 2000;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    width: min(680px, calc(100% - 2rem));
    padding: 1.25rem;
    background: #ffffff;
    border: 1px solid #d5dfdc;
    border-left: 5px solid #b31a20;
    border-radius: 8px;
    box-shadow: 0 14px 38px rgba(26, 43, 39, 0.24);
}

.cookie-consent h2 {
    margin: 0 0 0.4rem;
    color: #173f3a;
    font-size: 1.1rem;
}

.cookie-consent p {
    margin: 0;
    color: #405550;
    font-size: 0.92rem;
}

.cookie-consent__details {
    margin-top: 0.6rem;
    padding: 0;
    color: #244d46;
    border: 0;
    background: transparent;
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.cookie-consent__more {
    margin-top: 0.6rem !important;
}

.cookie-consent__actions {
    display: flex;
    align-items: end;
    gap: 0.6rem;
}

.cookie-consent__actions button,
.cookie-settings-button {
    padding: 0.65rem 0.8rem;
    border: 1px solid #aabbb6;
    border-radius: 5px;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.cookie-consent__secondary {
    color: #244d46;
    background: #ffffff;
}

.cookie-consent__primary,
.cookie-settings-button {
    color: #ffffff;
    border-color: #b31a20;
    background: #b31a20;
}

.cookie-consent__secondary:hover,
.cookie-consent__details:hover {
    color: #b31a20;
}

.cookie-consent__primary:hover,
.cookie-settings-button:hover {
    background: #8f1217;
}

.cookie-settings-button {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1200;
    box-shadow: 0 4px 14px rgba(26, 43, 39, 0.2);
}

@media (max-width: 620px) {
    .cookie-consent {
        grid-template-columns: 1fr;
    }

    .cookie-consent__actions {
        align-items: stretch;
    }

    .cookie-consent__actions button {
        flex: 1;
    }
}