@font-face {
    font-family: 'Normalidad';
    src: url('/static/fonts/Normalidad-Text-Light-Web.woff2') format('woff2');
    font-weight: 350;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Normalidad';
    src: url('/static/fonts/Normalidad-Text-Regular-Web.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Normalidad';
    src: url('/static/fonts/Normalidad-Text-Medium-Web.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Normalidad';
    src: url('/static/fonts/Normalidad-Text-Bold-Web.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Normalidad';
    src: url('/static/fonts/Normalidad-Text-Black-Web.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

body {
    background-color: #0E2139;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.modal-open {
    display: block;
}

main {
    flex: 1;
}

ul {
    margin: 0;
    list-style: none;
}

a {
    text-decoration: none;
}

.footer a,
.footer__item a,
.footer__extra-links a,
.footer__mobile-logo,
.footer__logo {
    color: inherit;
}

/* ── Алерты ─────────────────────────────────── */
.lk-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 10px;
    position: fixed;
    right: 40px;
    bottom: 20px;
    z-index: 99999;
    font-size: 15px;
    font-weight: 400;
    max-width: 360px;
    box-shadow: 1px 1px 8px 2px #52535433;
}

.lk-alert--success {
    background-color: #FFFFFF;
    border: 1px solid #DFE3EC;
    color: #3E4552;
}

.lk-alert--error {
    background-color: #FFFAFA;
    border: 1px solid #F04D4D;
    color: #F04D4D;
}

.lk-alert__close {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    color: inherit;
    font-size: 14px;
    opacity: 0.6;
    padding: 0 0 0 8px;
}

/* ── User-блок в шапке ────────────────────────── */
.lk-user-block {
    display: flex;
    align-items: center;
    gap: 50px;
}

.lk-add-check-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    padding: 0 !important;
}

.lk-user-menu {
    position: relative;
}

.lk-user-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 0;
    border-radius: 8px;
    transition: background 0.2s;
}

.lk-user-trigger:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.lk-user-icon {
    width: 32px;
    height: 32px;
    background-color: #F5F5F5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #E3000F;
}

.lk-user-name {
    color: #182133;
    white-space: nowrap;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Дропдаун */
.lk-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background-color: #FFFFFF;
    border: 1px solid #E8EAED;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: none;
    flex-direction: column;
    padding: 8px;
    z-index: 9999;
}

.lk-dropdown.lk-dropdown--open {
    display: flex;
}

.lk-dropdown__item {
    padding: 10px 12px;
    border-radius: 8px;
    color: #182133;
    transition: background 0.2s;
    white-space: nowrap;
}

.lk-dropdown__item:hover {
    background-color: #F5F7FA;
}

.lk-dropdown__item--logout {
    color: #F04D4D;
    margin-top: 4px;
    border-top: 1px solid #F0F0F0;
    padding-top: 12px;
}

/* ── Кнопка "Добавить чек" в мобильном меню ─── */
.lk-add-check-btn.visible-tablet {
    width: 100%;
    justify-content: center;
    margin-top: 16px;
}

/* ── Футер ──────────────────────────────────── */
.lk-footer {
    margin-top: 70px;
}

.lk-footer__inner {
    padding-top: 70px;
    padding-bottom: 24px;
}

.lk-footer__nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.lk-footer__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 300px;
}

.lk-footer__col--brand {
    max-width: 250px;
}

.lk-footer__logo {
    width: 190px;
    height: 38px;
    object-fit: contain;
}

.lk-footer__heading {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 500;
    line-height: 120%;
}

.lk-footer__links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lk-footer__link {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    line-height: 140%;
}

.lk-footer__note {
    color: #FFFFFFCC;
    font-size: 12px;
    font-weight: 350;
    line-height: 120%;
}

.lk-footer__copy {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 350;
    line-height: 140%;
    text-align: center;
    margin-top: 18px;
}

@media (max-width: 992px) {
    .lk-footer__col {
        max-width: 45%;
    }

    .lk-footer__col--brand {
        max-width: 45%;
    }
}

@media (max-width: 768px) {
    .lk-footer__col {
        max-width: 100%;
        width: 45%;
    }

    .lk-footer__col--brand {
        width: 100%;
        max-width: 100%;
    }

    .lk-footer__heading {
        font-size: 16px;
    }

    .lk-footer__inner {
        padding-top: 40px;
    }

    .lk-footer {
        margin-top: 50px;
    }
}

@media (max-width: 576px) {
    .lk-footer__col {
        width: 100%;
    }
}

/* ── Алерты ─────────────────────────────────── */
@media (max-width: 768px) {
    .lk-alert {
        right: 0;
        left: 0;
        bottom: 0;
        border-radius: 0;
        max-width: 100%;
    }
}


.wrp-wrap-footer-nav {
    display: flex;
    gap: 50px;
    justify-content: end;
    font-weight: 350;
    color: rgba(255, 255, 255, 0.8);
}

.links-footer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wrap-footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wrap-footer-nav.fourth {
    max-width: 300px;
}

.nav-center-header {
    padding: 10px 12px;
    padding-right: 16px;
    color: #FFFFFFCC;
    font-size: 16px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 7px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1.5px solid transparent;
    height: 30px;
    justify-content: center;
}

.nav-center-header.active {
    background-color: #FFFFFF;
    color: #E3000F;
    border-color: #FFFFFF;
}

.header__nav {
    padding: 0 !important;
}