.personal-data-consent {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 14px 0;
    color: #5f5f5f;
    font-size: 13px;
    line-height: 1.35;
    text-align: left;
}

.personal-data-consent > input[type="checkbox"] {
    flex: 0 0 18px !important;
    width: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    margin: 1px 0 0 !important;
    padding: 0 !important;
    border-radius: 2px;
    text-align: initial !important;
    accent-color: #7d0808;
}

.personal-data-consent > span {
    min-width: 0;
    color: #5f5f5f;
}

.personal-data-consent a,
.personal-data-consent__link {
    display: inline !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #7d0808 !important;
    text-decoration: underline !important;
}

.footer__form form {
    flex-wrap: wrap;
    align-items: flex-start;
}

.footer__form form > .personal-data-consent {
    flex: 0 0 100%;
    margin: 6px 0 12px;
}

.personal-data-note {
    margin: 10px 0 14px;
    color: #777;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
}

.af-cookie-consent {
    position: fixed;
    left: 24px;
    right: auto;
    bottom: 24px;
    z-index: 10050;
    width: min(360px, calc(100vw - 32px));
    padding: 18px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
    color: #333;
    font-size: 14px;
    line-height: 1.45;
}

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

.af-cookie-consent__close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(125, 8, 8, .08);
    color: #7d0808;
    cursor: pointer;
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.af-cookie-consent__close:hover {
    background: #7d0808;
    color: #fff;
    transform: rotate(90deg);
}

.af-cookie-consent__title {
    margin: 0 0 8px;
    padding-right: 34px;
    font-size: 18px;
    font-weight: 700;
}

.af-cookie-consent__text {
    margin: 0;
    font-size: 13px;
}

.af-cookie-consent__actions {
    margin-top: 16px;
}

.af-cookie-consent__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 0;
    border-radius: 14px;
    padding: 13px 18px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.1;
    transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.af-cookie-consent__button:hover {
    box-shadow: 0 10px 22px rgba(125, 8, 8, .22);
    transform: translateY(-1px);
}

.af-cookie-consent__button--accept {
    background: #7d0808;
    color: #fff;
}

.af-cookie-settings-link {
    position: fixed;
    left: 24px;
    right: auto;
    bottom: 24px;
    z-index: 10040;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: calc(100vw - 32px);
    margin: 0;
    padding: 10px 14px;
    border: 1px solid rgba(125, 8, 8, .16);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .14);
    color: #7d0808;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: underline;
    cursor: pointer;
}

.af-cookie-settings-link[hidden] {
    display: none;
}

.af-cookie-settings-link:hover {
    color: #7d0808;
    text-decoration: none;
}

@media (max-width: 575px) {
    .af-cookie-consent {
        left: 16px;
        right: auto;
        bottom: 16px;
        padding: 18px;
    }

    .af-cookie-settings-link {
        left: 16px;
        bottom: 16px;
    }

    .af-cookie-consent__actions {
        flex-direction: column;
    }

    .af-cookie-consent__button {
        width: 100%;
    }
}
