/* OtoLider - cookie banner v1 */
.ol-cookie[hidden],
.ol-cookie__modal[hidden] {
    display: none !important;
}

.ol-cookie {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 100000;
    font-family: Arial, Helvetica, sans-serif;
    color: #1f354b;
    pointer-events: none;
}

.ol-cookie__bar {
    width: min(1180px, calc(100% - 24px));
    margin: 0 auto 14px;
    padding: 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    background: rgba(255,255,255,.98);
    border: 1px solid #d8dde5;
    border-radius: 14px;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .22);
    pointer-events: auto;
}

.ol-cookie__content strong {
    display: block;
    margin: 0 0 5px;
    font-size: 15px;
    font-weight: 900;
    color: #1f354b;
}

.ol-cookie__content p {
    margin: 0;
    max-width: 780px;
    color: #526274;
    font-size: 13px;
    line-height: 1.45;
}

.ol-cookie__policy {
    display: inline-flex;
    margin-top: 7px;
    color: #2f63e6;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.ol-cookie__policy:hover {
    text-decoration: underline;
}

.ol-cookie__actions,
.ol-cookie__modal-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.ol-cookie__btn {
    min-height: 36px;
    padding: 0 13px;
    border: 1px solid #cfd7e2;
    border-radius: 999px;
    background: #fff;
    color: #263f5d;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

.ol-cookie__btn:hover {
    background: #f3f7fb;
}

.ol-cookie__btn--primary {
    border-color: #c91f2f;
    background: #c91f2f;
    color: #fff;
}

.ol-cookie__btn--primary:hover {
    background: #ad1725;
}

.ol-cookie__btn--ghost {
    background: #edf3f8;
}

.ol-cookie__modal {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(19, 31, 46, .56);
    pointer-events: auto;
}

.ol-cookie__modal-card {
    width: min(720px, 100%);
    max-height: min(720px, calc(100vh - 36px));
    overflow: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 28px 70px rgba(0,0,0,.32);
}

.ol-cookie__modal-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 18px 10px;
    border-bottom: 1px solid #edf0f4;
}

.ol-cookie__modal-head strong {
    display: block;
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: 900;
}

.ol-cookie__modal-head p {
    margin: 0;
    color: #586879;
    font-size: 13px;
    line-height: 1.45;
}

.ol-cookie__close {
    width: 34px;
    height: 34px;
    border: 1px solid #d8dde5;
    border-radius: 50%;
    background: #fff;
    color: #263f5d;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.ol-cookie__settings {
    padding: 8px 18px 0;
}

.ol-cookie__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #edf0f4;
}

.ol-cookie__row strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 900;
}

.ol-cookie__row p {
    margin: 0;
    color: #637283;
    font-size: 13px;
    line-height: 1.4;
}

.ol-cookie__always {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #edf3f8;
    color: #2f5577;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.ol-cookie__switch {
    position: relative;
    min-width: 112px;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid #cfd7e2;
    border-radius: 999px;
    background: #fff;
    color: #526274;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.ol-cookie__switch[aria-pressed="true"] {
    border-color: #2f63e6;
    background: #2f63e6;
    color: #fff;
}

.ol-cookie__modal-actions {
    padding: 14px 18px 18px;
}

.lm-footer-nav .ol-cookie-footer-settings {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 13px;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.lm-footer-nav .ol-cookie-footer-settings:hover {
    background: rgba(255,255,255,0.12);
}

@media (max-width: 760px) {
    .ol-cookie__bar {
        grid-template-columns: 1fr;
        margin-bottom: 10px;
        padding: 13px;
    }

    .ol-cookie__actions,
    .ol-cookie__modal-actions {
        justify-content: stretch;
    }

    .ol-cookie__btn {
        flex: 1 1 auto;
    }

    .ol-cookie__row {
        grid-template-columns: 1fr;
    }

    .ol-cookie__always,
    .ol-cookie__switch {
        justify-self: start;
    }
}
