.pl-cookie-banner {
    position: fixed;
    z-index: 2147483000;
    right: 20px;
    bottom: 20px;
    left: 20px;
    display: none;
    max-height: calc(100vh - 40px);
    overflow: auto;
    color: #262626;
    font-family: Arial, sans-serif;
}

.pl-cookie-consent-pending .pl-cookie-banner,
.pl-cookie-banner.is-open {
    display: flex;
    justify-content: center;
}

.pl-cookie-banner__inner {
    width: min(100%, 1200px);
    padding: 22px 24px;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
}

.pl-cookie-banner__title {
    margin: 0 0 8px;
    color: #262626;
    font-size: 22px;
    line-height: 1.25;
}

.pl-cookie-banner__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

.pl-cookie-banner__text a {
    color: #d9363e;
    text-decoration: underline;
}

.pl-cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.pl-cookie-banner__button {
    min-width: 150px;
    min-height: 44px;
    padding: 10px 22px;
    border: 2px solid #d9363e;
    border-radius: 22px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.pl-cookie-banner__button:focus-visible {
    outline: 3px solid #1a73e8;
    outline-offset: 2px;
}

.pl-cookie-banner__button--accept {
    color: #fff;
    background: #d9363e;
}

.pl-cookie-banner__button--reject {
    color: #d9363e;
    background: #fff;
}

.pl-cookie-settings {
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.pl-privacy-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    padding: 16px 20px;
    color: #fff;
    background: #292929;
    font-size: 14px;
}

.pl-privacy-footer-links a,
.pl-privacy-footer-links .pl-cookie-settings {
    color: #fff;
}

.pl-personal-data-consent {
    margin: 18px 0;
    padding: 14px 16px;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 14px;
    line-height: 1.45;
}

.pl-personal-data-consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    cursor: pointer;
    color: #333 !important;
}

.pl-personal-data-consent label span {
    color: #333 !important;
}

.pl-personal-data-consent input[type="checkbox"] {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin: 1px 0 0;
}

.pl-personal-data-consent a,
.pl-legal-document a {
    color: #d9363e !important;
    text-decoration: underline;
}

.pl-personal-data-consent__error {
    display: block;
    margin: 6px 0 0 30px;
    color: #b00020;
    font-weight: 700;
}

#pl-estimate-submit:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.pl-legal-document {
    box-sizing: border-box;
    width: calc(100% - 32px);
    max-width: 1080px;
    margin: 28px auto 56px;
    padding: 40px 48px 46px;
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(43, 31, 31, .08);
    color: #303030;
    font-size: 16px;
    line-height: 1.72;
}

.pl-legal-document h1 {
    margin: 0 0 30px;
    color: #252525;
    font-size: 30px;
    line-height: 1.25;
}

.pl-legal-document h2 {
    position: relative;
    margin: 42px 0 20px;
    padding: 0 0 12px 18px;
    border-bottom: 1px solid #ececec;
    color: #292929;
    font-size: 22px;
    line-height: 1.35;
    letter-spacing: .01em;
}

.pl-legal-document h2:first-child {
    margin-top: 0;
}

.pl-legal-document h2::before {
    position: absolute;
    top: 2px;
    bottom: 13px;
    left: 0;
    width: 5px;
    border-radius: 3px;
    background: #d9363e;
    content: "";
}

.pl-legal-document p {
    margin: 0 0 17px;
}

.pl-legal-document > p:first-child {
    margin-top: 0;
}

.pl-legal-document ul {
    margin: 4px 0 22px;
    padding: 17px 22px 12px 42px;
    border-left: 3px solid #e8a5a8;
    border-radius: 0 6px 6px 0;
    background: #fafafa;
}

.pl-legal-document li {
    margin: 0 0 8px;
}

.pl-legal-document li::marker {
    color: #d9363e;
}

.pl-legal-document a {
    text-underline-offset: 2px;
    overflow-wrap: anywhere;
}

@media (max-width: 600px) {
    .pl-cookie-banner {
        right: 10px;
        bottom: 10px;
        left: 10px;
        max-height: calc(100vh - 20px);
    }

    .pl-cookie-banner__inner {
        padding: 18px;
    }

    .pl-cookie-banner__title {
        font-size: 20px;
    }

    .pl-cookie-banner__text {
        font-size: 14px;
    }

    .pl-cookie-banner__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .pl-cookie-banner__button {
        width: 100%;
    }

    .pl-legal-document {
        width: calc(100% - 20px);
        margin: 16px auto 36px;
        padding: 24px 20px 30px;
        border-radius: 7px;
        font-size: 15px;
        line-height: 1.65;
    }

    .pl-legal-document h2 {
        margin: 32px 0 16px;
        padding: 0 0 10px 15px;
        font-size: 19px;
    }

    .pl-legal-document h2::before {
        bottom: 11px;
        width: 4px;
    }

    .pl-legal-document ul {
        padding: 14px 14px 8px 32px;
    }
}
