.fav-menu {
    position: relative;

    .fav-btn {
        border: 1px solid var(--#{$prefix}primary);
        color: var(--#{$prefix}primary) !important;
        height: 35px;
        width: 35px;
        border-radius: 50%;
        padding: 0;
        line-height: 32px;
        text-align: center;
        cursor: pointer;

        &:hover,
        &:focus {
            background: var(--#{$prefix}primary);
            color: var(--#{$prefix}white) !important;
        }

        span {
            display: none;
        }

        @include media-breakpoint-down(lg) {
            width: 100%;
            height: auto;
            display: flex;
            line-height: 1;
            background: transparent;
            border: 0;
            margin-left: 0;
            padding: 8px 0;

            span {
                display: block;
                padding-left: .5rem;
            }

            &:visited,
            &:hover,
            &:focus,
            &:active {
                background: transparent !important;
                color: var(--#{$prefix}primary) !important;
            }
        }
    }

    .menu-items {
        list-style-type: none;
        height: 448px;
        overflow-y: scroll;
        background-color: var(--#{$prefix}white);

        [theme-mode="dark"] & {
            background-color: var(--#{$prefix}secondary-dark);
        }

        .icons-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            justify-items: center;
            gap: 1.5rem;
            padding: 20px 16px 20px 20px;

            .menu-link {
                height: 84px;
                width: 84px;
                text-decoration: none;
                color: initial;
                position: relative;
                text-align: center;
                display: inline-block;
                z-index: 10;
                padding: 5px;

                >span {
                    white-space: nowrap;
                    overflow: hidden;
                    width: 76px;
                    display: inline-block;
                    text-overflow: ellipsis;
                    font-size: 11px;

                    [theme-mode="dark"] & {
                        color: var(--#{$prefix}dark-text-color);
                    }
                }

                i {
                    display: inline-block;
                    height: 64px;
                    vertical-align: top;
                    width: 64px;
                    font-size: 50px;
                }
            }

            .bg-hover {
                &:hover {
                    &:before {
                        content: "";
                        background-color: var(--#{$prefix}body-bg);
                        border-radius: 8px;
                        position: absolute;
                        left: 0;
                        top: 0;
                        width: 100%;
                        height: 100%;
                        transform: scale(1.1);
                        display: block;
                        z-index: -10;

                        [theme-mode="dark"] & {
                            background-color: var(--#{$prefix}primary-dark);
                        }
                    }
                }
            }
        }
    }


}
