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

.cookie-consent {
    position: fixed;
    z-index: 1400;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 16px max(20px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    color: #25342d;
    background: #fff;
    border-top: 1px solid #ccd7d1;
    box-shadow: 0 -12px 34px rgba(20, 54, 39, .16);
}

.cookie-consent__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    width: min(100%, 1180px);
    margin: 0 auto;
}

.cookie-consent__copy {
    max-width: 760px;
}

.cookie-consent__copy h2 {
    margin: 0 0 6px;
    color: #173f2d;
    font: 700 20px/1.3 var(--ff, Inter, system-ui, sans-serif);
    letter-spacing: 0;
}

.cookie-consent__copy p {
    margin: 0;
    font: 400 15px/1.55 var(--ff, Inter, system-ui, sans-serif);
}

.cookie-consent__copy a {
    color: #12633a;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-consent__status:empty {
    display: none;
}

.cookie-consent__status {
    margin-top: 6px !important;
    color: #a23c21;
    font-weight: 600 !important;
}

.cookie-consent__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(128px, 1fr));
    gap: 10px;
    flex: 0 0 auto;
}

.cookie-consent__button {
    min-height: 46px;
    padding: 10px 18px;
    border: 1px solid #17643b;
    border-radius: 6px;
    font: 700 15px/1.2 var(--ff, Inter, system-ui, sans-serif);
    letter-spacing: 0;
    cursor: pointer;
}

.cookie-consent__button--reject {
    color: #174c31;
    background: #fff;
}

.cookie-consent__button--accept {
    color: #fff;
    background: #17643b;
}

.cookie-consent__button:hover {
    border-color: #0f492b;
}

.cookie-consent__button--reject:hover {
    background: #f1f6f3;
}

.cookie-consent__button--accept:hover {
    background: #0f492b;
}

.cookie-consent__button:focus-visible,
.footer__cookie-settings:focus-visible {
    outline: 3px solid #f3bd2b;
    outline-offset: 3px;
}

.cookie-consent__button:disabled {
    cursor: wait;
    opacity: .58;
}

.footer__cookie-settings {
    display: inline;
    padding: 0;
    color: inherit;
    font: inherit;
    text-align: left;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    background: none;
    border: 0;
    cursor: pointer;
}

.footer__cookie-settings:hover {
    text-decoration-color: currentColor;
}

@media (max-width: 760px) {
    .cookie-consent {
        padding-top: 14px;
    }

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

    .cookie-consent__copy h2 {
        font-size: 18px;
    }

    .cookie-consent__actions {
        width: 100%;
    }
}

@media (max-width: 360px) {
    .cookie-consent__actions {
        grid-template-columns: 1fr;
    }
}
