.bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-top: 1px solid #ece7df;
    box-shadow: 0 -10px 30px rgba(43, 43, 40, .07);
    padding-bottom: env(safe-area-inset-bottom);
    z-index: 100;
    display: none;
}

.bottom-nav__list {
    display: flex;
    align-items: center;
    list-style: none;
    max-width: 480px;
    margin: 0 auto;
    padding: 10px 6px
}

.bottom-nav__item {
    flex: 1;
    display: flex;
    justify-content: center
}

.bottom-nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
    background: 0 0;
    border: none;
    border-radius: 14px;
    padding: 7px 4px 6px;
    cursor: pointer;
    color: #9c9488;
    -webkit-tap-highlight-color: transparent;
    transition: color .2s ease, background-color .2s ease
}

.bottom-nav__link--active {
    color: var(--color-main);
    background-color: color-mix(in srgb, var(--color-main) 10%, white)
}

.bottom-nav__icon {
    width: 22px;
    height: 22px
}

.bottom-nav__icon-wrap {
    position: relative;
    display: inline-flex
}

.bottom-nav__label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .01em;
    white-space: nowrap
}

.bottom-nav__badge {
    position: absolute;
    top: -2px;
    right: -3px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c9695b;
    border: 1.5px solid #fff
}

.bottom-nav__item--contact {
    position: relative
}

.contact-popup {
    position: fixed;
    left: 15px;
    right: 15px;
    bottom: calc(env(safe-area-inset-bottom) + 88px);
    background: #fff;
    border: 1px solid #ece7df;
    border-radius: 6px;
    box-shadow: 0 16px 40px rgba(43, 43, 40, .14);
    padding: 10px;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(8px) scale(.97);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s
}

.contact-popup--open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear 0s
}

.contact-popup__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 2px 10px 4px
}

.contact-popup__title {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .01em;
    color: #2b2b28;
    margin: 0;
}

.contact-popup__close {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 50%;
    background: color-mix(in srgb, red 10%, white);
    color: red;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .15s ease, color .15s ease
}

.contact-popup__close svg {
    width: 13px;
    height: 13px
}

.contact-popup__close:active {
    background-color: #e6e3d8;
    color: #2b2b28
}

.contact-popup__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-popup__item-wrap+.contact-popup__item-wrap {
    border-top: 1px solid #f1eee6
}

.contact-popup__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 4px;
    text-decoration: none;
    color: inherit;
    border-radius: 10px;
    transition: background-color .15s ease
}

.contact-popup__item:active {
    background-color: #f6f4ee
}

.contact-popup__icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--color-main) 10%, white);
    color: var(--color-main);
    display: flex;
    align-items: center;
    justify-content: center
}

.contact-popup__icon svg {
    width: 16px;
    height: 16px
}

.contact-popup__text {
    display: flex;
    flex-direction: column;
    gap: 1px
}

.contact-popup__number {
    font-size: 14px;
    font-weight: 600;
    color: #2b2b28
}

.contact-popup__role {
    font-size: 11px;
    color: #9c9488
}

.contact-popup__arrow {
    display: none;
    position: absolute;
    bottom: -6px;
    right: 32px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-right: 1px solid #ece7df;
    border-bottom: 1px solid #ece7df;
    transform: rotate(45deg)
}