@media screen and (min-width: 768px) {
    .header {
        position: sticky;
        top: 0;
        width: 100%;
        background-color: #fff;
        padding: 16px 0;
        z-index: 999;

        .logoimg {
            width: 200px;
            height: 40px;
        }

        .h-ts {
            display: flex;
            align-items: center;
            gap: 50px;
            color: #333333;
            height: 100%;

            .active {
                color: #7545E8;
            }

            .h-ts-i {
                position: relative;
                cursor: pointer;
                width: 80px;
                height: 100%;
                line-height: 40px;
                text-align: center;

                &::before {
                    content: '';
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    width: 0;
                    height: 2px;
                    background-color: #7545E8;
                    transition: all 0.2s ease;
                    z-index: -1;
                }

                &:hover::before {
                    width: 100%;
                }

                &:hover .h-se {
                    display: block;
                }

                .h-se {
                    display: none;
                    width: max-content;
                    position: absolute;
                    top: 40px;
                    left: 0%;
                    /* transform: translateX(-25%); */
                    z-index: 10;
                    background-color: rgb(255, 255, 255);
                    padding: 10px 20px;

                    .h-se-t {
                        position: relative;

                        &:hover {
                            color: #7545E8;
                        }

                        &::before {
                            content: '';
                            position: absolute;
                            bottom: 0;
                            left: 0;
                            width: 0;
                            height: 2px;
                            background-color: #7545E8;
                            transition: all 0.3s ease;
                            z-index: -1;
                        }

                        &:hover::before {
                            width: 100%;
                        }
                    }

                }
            }

        }
    }

    .phone {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .header {
        display: none;
    }

    .phone {
        padding: 12px 30px;
        box-sizing: border-box;
        position: sticky;
        top: 0;
        z-index: 10;
        background: #fff;

        .p-t {
            display: flex;
            justify-content: space-between;
            align-items: center;

            .p-t-a {
                width: 140px;
                height: 39px;
            }

            .p-t-b {
                width: 40px;
                height: 40px;
            }
        }

        .p-ts {
            padding: 0px 16px 20px 16px;
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background-color: #ffffff;
            color: #333;
            font-size: 22px;
            line-height: 40px;
            text-align: center;

            .active {
                padding: 5px 20px;
                border-radius: 20px;
                background-color: #7545E8;
                color: #fff;
            }
        }
    }
}