body:has(.lemma-cookie:not([hidden])) {
    padding-bottom: 140px;
}

.lemma-cookie {
    position: fixed;
    z-index: 10000;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    max-width: 980px;
    margin: 0 auto;
    padding: 18px 20px;
    background: #133557;
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(19, 53, 87, 0.28);
    font-family: Inter, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.45;
}

.lemma-cookie[hidden] {
    display: none;
}

.lemma-cookie__text a {
    color: #fff;
    text-decoration: underline;
}

.lemma-cookie__actions {
    display: flex;
    flex-shrink: 0;
    gap: 8px;
}

.lemma-cookie__btn {
    border: 0;
    border-radius: 10px;
    padding: 12px 16px;
    font: inherit;
    cursor: pointer;
}

.lemma-cookie__btn_accept {
    background: #fff;
    color: #133557;
}

.lemma-cookie__btn_quiet {
    background: transparent;
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.lemma-cookie__btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

form:has(input[name="pd_consent"]) button[type="submit"]:disabled,
form:has(input[name="pd_consent"]) input[type="submit"]:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.lemma-pd-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 12px 0;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
}

.lemma-pd-consent .lemma-cta__checkbox {
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    width: 22px;
    height: 22px;
    min-width: 22px;
    margin: 1px 0 0;
    padding: 0;
    border: 1.5px solid #133557;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.lemma-pd-consent .lemma-cta__checkbox:hover {
    border-color: #0d2742;
}

.lemma-pd-consent .lemma-cta__checkbox:focus-visible {
    outline: 2px solid #87a6c4;
    outline-offset: 2px;
}

.lemma-pd-consent .lemma-cta__checkbox:checked {
    background: #133557;
    border-color: #133557;
}

.lemma-pd-consent .lemma-cta__checkbox:checked::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 7px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    border-radius: 0;
    background: none;
    transform: rotate(45deg);
}

.lemma-pd-consent a {
    color: inherit;
    text-decoration: underline;
}

.lemma-legal {
    max-width: 760px;
    padding: 48px 0 80px;
    color: #2e2e2e;
    font-size: 16px;
    line-height: 1.6;
}

.lemma-legal h1 {
    margin: 0 0 8px;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 650;
}

.lemma-legal h2 {
    margin: 28px 0 8px;
    font-size: 20px;
    line-height: 1.3;
}

.lemma-legal p,
.lemma-legal li {
    margin: 0 0 10px;
}

.lemma-legal ul,
.lemma-legal ol {
    margin: 0 0 12px;
    padding-left: 22px;
}

.lemma-legal a {
    color: #133557;
}

@media (max-width: 720px) {
    .lemma-cookie {
        flex-direction: column;
        align-items: stretch;
    }

    .lemma-cookie__actions {
        flex-direction: column;
    }
}
