MMCT TEAM
Server IP : 103.191.208.50  /  Your IP : 216.73.216.53
Web Server : LiteSpeed
System : Linux orion.herosite.pro 4.18.0-553.53.1.lve.el8.x86_64 #1 SMP Wed May 28 17:01:02 UTC 2025 x86_64
User : celkcksm ( 1031)
PHP Version : 7.4.33
Disable Function : show_source, system, shell_exec, passthru, popen, exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/celkcksm/cms.ncriptech.com/../royalrasoi.ncriptech.com/scss/component/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/celkcksm/cms.ncriptech.com/../royalrasoi.ncriptech.com/scss/component/_header.scss
.top-bar {
    img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}


.header {
    position: relative;
    @include d-flex();
    background-color: var(--bg);
    width: 100vw;
}

.img-bg-header {
    position: absolute;
    left: 55%;
    bottom: 0;
}

.header-left {
    @include d-flex();
    align-items: center;
    position: relative;

    #site-logo {
        padding: 24px 37px;
        background-color: var(--Primary);

        img {
            width: 162px;
            height: 52px;
        }
    }
}

.header-center {
    @include d-flex();
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    padding: 0 83px 0 89px;
}

.menu-primary-menu {
    display: flex;
    gap: 42px;
    .menu-item{
        a{
            line-height: 100px;
        }
    }
    >li {
        position: relative;

        a {
            text-transform: uppercase;
            letter-spacing: 2px;
            font-family: $font-main2;
            font-size: 17px;
            font-weight: 500;
            line-height: 28px;
            position: relative;

            &::after {
                position: absolute;
                content: "/";
                right: -25px;
            }

            &:hover {
                color: var(--Primary);
            }

        }
    }
}

.menu-primary-menu {
    >li:last-child {
        >a::after {
            display: none;
        }
    }
}

.menu-primary-menu {
    li {
        &:hover {

            .sub-menu {
                top: 100%;
                opacity: 1;
                visibility: visible;
                pointer-events: all;
            }
        }
    }
}

.sub-menu {
    position: absolute;
    background-color: var(--bg);
    min-width: 220px;
    left: 0%;
    top: 100%;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: all;
    z-index: 99999;
    @include transition4();

    li {
        padding: 10px 20px;
        @include transition5();

        a {
            line-height: 28px !important;
            &::after {
                content: '';
            }
        }
    }
}

.header-icon {
    @include d-flex();
    align-items: center;
    gap: 24px;

    .line {
        height: 40px;
        width: 2px;
        background-color: var(--Border);
    }

    .icons-search {
        position: relative;
        .show-search {
            @include transition3();
            position: relative;
            &.active {
                i {
                    @include transition3();
                    &::before {
                        content: "\e906";
                        font-family: $fontIcon;
                        font-size: 20px;
                        @include transition3();
                    }
                }
            }
        }

        i {
            font-size: 28px;
            font-weight: 700;
        }

        .top-search {
            position: absolute;
            top: -10px;
            right: 0px;
            min-width: 240px;
            opacity: 0;
            visibility: hidden;
          
            @include transition4();
            &.active {
                opacity: 1;
                visibility: visible;
                right: 0;
                transform: translateX(-20%);
                @include transition4();
            }
        }
        .button-submit {
            position: absolute;
            right: 0;
            top: 10px;
        }
    }

    .icons-shopping-cart {
        position: relative;
        &:hover {
            .bag-box {
                visibility: visible;
                opacity: 1;
                z-index: 9999;
                @include transition3();
                background-color: var(--bg);
            }
        }

        .bag-box {
            position: absolute;
            top: 62px;
            right: 0;
            background-color: #fff;
            box-shadow: 0px 0px 5px rgba(195 162 124 / 20%);
            width: 320px;
            padding: 20px;
            border-radius: 10px;
            opacity: 0;
            visibility: hidden;

            @include transition3();

            .cart-item {
                @include flex(center, start);
                position: relative;
                z-index: 9;
                gap: 19px;
                padding-bottom: 20px;
                border-bottom: 1px solid #e5dccf;
                margin-bottom: 25px;

                .wrap-image {
                    img {
                        border-radius: 10px;
                    }
                }

                .content {
                    align-items: center;
                    flex-grow: 1;
                    font-size: 17px;
                    font-weight: 400;
                    line-height: 24px;

                    .price {
                        color: var(--Primary);
                    }

                    .name {
                        color: #171412;
                        letter-spacing: 1px;
                        text-transform: uppercase;
                        font-weight: 600;
                    }
                }
            }

            .cart-item:last-child {
                border-bottom: none;
                padding-bottom: 0;
            }
        }

        &::before {
            position: absolute;
            content: "";
            top: -13px;
            left: -28px;
            width: 1px;
            height: 49px;
            background-color: rgba(255, 255, 255, 0.12);
        }

        i {
            font-size: 25px;
        }

    }

}

.header-right {
    @include d-flex();
    align-items: center;
    gap: 33px;
}

.wg-information {
    padding: 17px 53px;
    @include d-flex();
    align-items: center;
    gap: 23px;
    background-color: var(--Secondary);

    .icon {
        padding: 15px;
        border-radius: 50%;
        background-color: var(--Primary);
    }

    .content {
        p {
            color: var(--White);
            line-height: 33px;

        }

        .number-phone {
            font-family: $font-main2;
            font-size: 23px;
        }
    }
}

.canvas {
    width: 35px;
    height: 28px;
    position: relative;
    cursor: pointer;
    margin-right: 33px;

    .canvas-btn {

        span {
            position: absolute;
            content: '';
            top: 50%;
            left: 0;
            width: 39px;
            height: 3px;
            background-color: var(--Secondary);
        }

        &::before {
            position: absolute;
            content: '';
            top: 0;
            left: 0;
            width: 39px;
            height: 3px;
            background-color: var(--Secondary);
        }

        &::after {
            position: absolute;
            content: '';
            bottom: 0px;
            left: 0px;
            width: 39px;
            height: 3px;
            background-color: var(--Secondary);
        }
    }
    .inner-canvas-nav {
        &.active {
            top: 64px;
            right: -33px;
            opacity: 1;
            visibility: visible;
            
        }
    }
    .inner-canvas-nav {
        width: 601px;
        height: 789px;
        top: 100%;
        right: -100%;
        position: absolute;
        opacity: 0;
        visibility: hidden;
        background-color: var(--Secondary);
        z-index: 999;
        @include transition4();

        .side-bar {
            padding: 30px;
            position: relative;
            .canvas-nav-close {
                background-color: var(--White);
                padding: 10px;
                border-radius: 50%;
                position: absolute;
                top: 50px;
                right: 30px;
            }
        }

        .item-hover {
            padding: 100px 100px;

            .logo {
                img {
                    margin-bottom: 50px;
                }
            }

            p,
            a {
                font-weight: 300;
                color: var(--Sort-text);
            }

            .number {
                font-family: $font-main2;
                font-size: 30px;
                line-height: 50px;
                font-weight: 600;
                color: var(--White);
                margin-top: 30px;
            }

            .line {
                width: 80px;
                height: 3px;
                background: var(--Primary);
                margin: 24px auto 25px;
            }
        }
    }
}


/* Mobile Menu Button */
.mobile-button {
    display: none;
    width: 26px;
    top: 50%;
    right: 15px;
    background-color: transparent;
    cursor: pointer;
    margin-right: 15px;
    @include transition3();
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);

    &::after,
    &::before,
    span {
        background-color: var(--Secondary);
        -webkit-transition: all ease 0.3s;
        -moz-transition: all ease 0.3s;
        transition: all ease 0.3s;
    }

    &::after,
    &::before {
        content: "";
        position: absolute;
        top: 0;
        height: 2px;
        width: 100%;
        top: 50%;
        left: 0;
        -webkit-transform-origin: 50% 50%;
        -ms-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
    }

    span {
        position: absolute;
        width: 100%;
        height: 2px;
        left: 0;
        top: 50%;
        overflow: hidden;
        text-indent: 200%;
    }

    &::before {
        -webkit-transform: translate3d(0, -7px, 0);
        -moz-transform: translate3d(0, -7px, 0);
        transform: translate3d(0, -7px, 0);
    }

    &::after {
        -webkit-transform: translate3d(0, 7px, 0);
        -moz-transform: translate3d(0, 7px, 0);
        transform: translate3d(0, 7px, 0);
    }
}

/* mobile header */
.mobile-nav-wrap {
    .overlay-mobile-nav {
        cursor: url(/china/icons/close.svg), auto;
        content: '';
        position: fixed;
        left: 0;
        top: 0;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0.80) 100%);
        width: 100%;
        height: 100%;
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        @include transition3();
    }

    &.active {
        .overlay-mobile-nav {
            opacity: 1;
            visibility: visible;

            i {
                font-size: 25px;
                margin-right: 20px;
                color: var(--White);
            }
        }

        .inner-mobile-nav {
            left: 0px;
        }
    }

    .inner-mobile-nav {
        padding: 20px;
        width: 320px;
        height: 100%;
        top: 0;
        left: -100%;
        position: fixed;
        background-color: var(--Secondary);
        z-index: 999999;
        overflow-y: auto;
        @include transition4();

        .mobile-nav-close {
            background-color: var(--White);
            padding: 10px;
            border-radius: 50%;
            svg {
                width: 15px;
                height: 15px;
            }
        }

        .top-header-mobi {
            @include d-flex();
            align-items: center;
            justify-content: space-between;
        }
        .top-header-mobi{
            a{
                img{
                    max-width: 150px;
                }
            }
        }
        a {
            color: var(--White);
        }
    }
}

#menu-mobile {
    @include d-flex();
    flex-direction: column;
    margin: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 0px;

    >li {
        position: relative;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 15px 0;
        cursor: pointer;

        .sub-menu-mobile {
            li {
                &:last-child {
                    border: none;
                }
            }
        }

        .sub-menu-mobile {
            border-radius: 8px;
            display: none;
            text-align: start;
            overflow: hidden;

            li {
                padding: 15px;
                border-bottom: 1px solid rgba(255, 255, 255, 0.08);
                cursor: pointer;
            }
        }
    }

    li {
        a {
            font-family: $font-main2;
            font-size: 16px;
            line-height: 22px;
            font-weight: 500;
        }
        &.menu-item-has-children-mobile {
            > a {
                &::after {
                    content: "\e91d";
                    position: absolute;
                    font-family: "icomoon";
                    font-weight: 300;
                    position: absolute;
                    font-size: 20px;
                    right: 0;
                    top: 17px;
                    line-height: 16px;
                    @include transition5();
                }
            }
        }
        &.active {
            a {
                &::after {
                    transform: rotate(-180deg);
                }
            }
        }
    }
}

.current-menu-item,
.current-item {
    >a {
        color: var(--Primary) !important;
    }
}

#header_main.is-fixed {
    @include transition3;
    z-index: 9999;
    opacity: 0;
    position: fixed;
    top: -100px;
    left: 0;
    width: 100%;
    background: var(--bg);

    &.is-fixed.is-small {
        top: -1px;
        opacity: 1;
        visibility: visible;
    }

}

MMCT - 2023