.wb-consent[hidden],
.wb-consent-manage[hidden],
.wb-consent__settings[hidden],
.wb-consent__button[hidden] {
    display: none !important;
}

.wb-consent {
    position: fixed;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 2147483000;
    max-width: 760px;
    margin: 0 auto;
    padding: 20px;
    color: #23352c;
    background: #fff;
    border: 1px solid #d9dedb;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(18, 36, 27, .2);
    font-size: 14px;
    line-height: 1.5;
}

.wb-consent__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px 24px;
    align-items: center;
}

.wb-consent h2 {
    margin: 0 0 6px;
    color: #1d3529;
    font-size: 19px;
    line-height: 1.25;
}

.wb-consent p {
    margin: 0 0 5px;
}

.wb-consent a {
    color: #315d47;
    text-decoration: underline;
}

.wb-consent__settings {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    padding: 14px;
    background: #f3f5f3;
    border-radius: 8px;
}

.wb-consent__settings label {
    margin: 0;
    color: #23352c;
    font-weight: 600;
}

.wb-consent__settings span {
    color: #66746d;
    font-size: 12px;
    font-weight: 400;
}

.wb-consent__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    width: 292px;
}

.wb-consent__button {
    min-height: 42px;
    margin: 0;
    padding: 9px 14px;
    color: #23352c;
    background: #fff;
    border: 1px solid #76867e;
    border-radius: 6px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.wb-consent__button--primary {
    color: #fff;
    background: #263b31;
    border-color: #263b31;
}

.wb-consent__button--link {
    border-color: transparent;
    text-decoration: underline;
}

.wb-consent__button:focus-visible,
.wb-consent-manage:focus-visible {
    outline: 3px solid #76a91b;
    outline-offset: 2px;
}

.wb-consent-manage {
    position: fixed;
    right: 18px;
    bottom: 78px;
    z-index: 9999;
    padding: 7px 10px;
    color: #23352c;
    background: rgba(255, 255, 255, .96);
    border: 1px solid #c8cfcb;
    border-radius: 5px;
    box-shadow: 0 3px 12px rgba(18, 36, 27, .12);
    font-size: 12px;
    cursor: pointer;
}

@media (max-width: 720px) {
    .wb-consent {
        right: 10px;
        bottom: 10px;
        left: 10px;
        padding: 16px;
    }

    .wb-consent__content {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .wb-consent__actions {
        justify-content: stretch;
        width: 100%;
    }

    .wb-consent__button {
        flex: 1 1 135px;
    }

    .wb-consent__button--link {
        flex-basis: 100%;
    }
}
