.tools-cookie-consent {
    position: fixed;
    padding: 0 30px;
    max-width: 895px;
    transform: translateX(-50%);
    left: 50%;
    z-index: 1000;
    width: 100%;
    bottom: 80px;
    display: none;
}

.tools-cookie-consent.visible {
    display: block;
}

.tools-cookie-consent-inner {
    padding: 30px;
    background-color: #fff;
}

.tools-cookie-consent-heading {
    font-weight: bold;
    font-size: 30px;
    margin-bottom: 30px;
}

.tools-cookie-consent-description {
    max-height: 230px;
    line-height: 1.5em;
    overflow: auto;
}

.tools-cookie-consent-description a {
    color: inherit;
    text-decoration: underline;
}

.tools-cookie-consent-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.tools-cookie-consent-customize {
    display: none;
}

.tools-cookie-consent-checkbox:focus-within {
    outline: 2px dashed currentColor;
    outline-offset: 2px;
}

.tools-cookie-consent-checkbox [type="checkbox"] {
    width: 25px;
    height: 25px;
    opacity: 0;
    margin: 0;
    position: absolute;
    left: 0;
}

.tools-cookie-consent-checkbox label::before,
.tools-cookie-consent-checkbox label::after {
    position: absolute;
    content: '';
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.25s ease all;
    left: -1px;
}

.tools-cookie-consent-checkbox label::after {
    mask-image: url('icon/check.svg');
    mask-size: 16px 16px;
    mask-position: 50% 50%;
    mask-repeat: no-repeat;

    -webkit-mask-image: url('icon/check.svg');
    -webkit-mask-size: 16px 16px;
    -webkit-mask-position: 50% 50%;
    -webkit-mask-repeat: no-repeat;
}

.tools-cookie-consent-checkbox label::before {
    outline: 1px solid currentColor;
}

.tools-cookie-consent-checkbox label {
    display: flex;
    align-items: center;
    font-weight: 500;
    padding-left: 35px;
    position: relative;
}

.tools-cookie-consent-checkbox :checked + label::after {
    background: currentColor;
}

.tools-cookie-consent.customize .tools-cookie-consent-buttons {
    display: none;
}

.tools-cookie-consent.customize .tools-cookie-consent-customize {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.tools-cookie-consent.customize .tools-cookie-consent-checkbox {
    margin-top: 10px;
    margin-right: 30px;
}

.tools-cookie-consent.customize button {
    margin-left: auto;
}

.tools-cookie-consent button {
    border: none;
    background: #ccc;
    color: inherit;

    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    font-size: 0.88em;
    margin-top: 30px;
    padding: 15px 25px;
    font-weight: bold;
    border-radius: 0;
    font-family: inherit;
}

.tools-cookie-consent button.disabled,
.tools-cookie-consent button:disabled {
    opacity: 0.5;
}