.t-template-01 {
    /* 通用 */
    font-family: 'PingFang TC', 'Microsoft JhengHei', sans-serif;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    box-sizing: border-box;
}

.t-template-01 * {
    /* 通用 */
    position: relative;
    box-sizing: border-box;
}

.t-template-01__navbar-container {
    display: flex;
    align-items: center;
    padding: calc(90 / 1920 * 100vw);
    transition: 0.5s ease;
}

.t-template-01.fix {
    position: fixed;
    transition: 0.5s ease;
}

.t-template-01__navbar-container.fix {
    transition: 0.5s ease;
    background-color: rgb(0, 0, 0, 0.7);
    padding: calc(45 / 1920 * 100vw);
}

.t-template-01__logo {
    display: block;
    text-decoration: none;
    margin-right: auto;
}

.t-template-01__logo .img-wrapper {
    margin: initial;
}

.t-template-01__logo img {
    display: block;
}

.t-template-01__navbar-group {
    display: flex;
    align-items: center;
}

.t-template-01__navbar-item {
    display: block;
    text-decoration: none;
    padding: 10px calc(26 / 1920 * 100vw);
}

.t-template-01__navbar-item .text {
    font-size: calc(20 / 1920 * 100vw);
    font-weight: 700;
    color: #fff;
    margin: initial;
}

.t-template-01__btn-shop-cart {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    margin-left: calc(26 / 1920 * 100vw);
    border-radius: 50%;
    border: 1px solid #000;
    cursor: pointer;
}

.t-template-01__btn-shop-cart .icon {
    width: 24px;
}

.t-template-01__btn-shop-cart .number {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
    width: 30px;
    height: 30px;
    background-color: #457CD7;
    border-radius: 50%;
    font-size: 13px;
    color: #fff;
}

@media (min-width: 1101px) {
    .t-template-01,
    .t-template-01__navbar-container {
        pointer-events: none;
    }
    .t-template-01__navbar-container>* {
        pointer-events: initial;
    }
    .t-template-01__btn-menu {
        display: none;
    }
    .t-template-01__copyright {
        display: none;
    }
}


/* tablet */

@media (max-width: 1100px) {
    .t-template-01 {
        height: 60px;
        background-color: #fff;
    }
    .t-template-01__navbar-container {
        height: 100%;
        padding: 0 calc(36 / 768 * 100vw);
        border-bottom: 1px solid #dfdfdf;
    }
    .t-template-01__navbar-container.show-menu .t-template-01__navbar-wrapper {
        opacity: 1;
        pointer-events: initial;
    }
    .t-template-01__navbar-container.show-menu .bar-group {
        transform: rotate(90deg);
    }
    .t-template-01__logo {
        display: flex;
        align-items: center;
        height: 100%;
    }
    .t-template-01__logo img {
        height: 26px;
    }
    .t-template-01__btn-shop-cart {
        width: 26px;
        height: 26px;
        margin-left: initial;
        margin-right: calc(15 / 768 * 100vw);
    }
    .t-template-01__btn-shop-cart .icon {
        width: 13px;
    }
    .t-template-01__btn-shop-cart .number {
        transform: translate(50%, -50%) scale(0.6);
    }
    .t-template-01__btn-menu {
        cursor: pointer;
        padding: 15px;
        margin-right: -15px;
    }
    .t-template-01__btn-menu .bar-group {
        display: flex;
        flex-direction: column;
        transition: 0.5s;
    }
    .t-template-01__btn-menu .bar {
        width: 19px;
        height: 1px;
        background-color: #000;
    }
    .t-template-01__btn-menu .bar+.bar {
        margin-top: 5px;
    }
    .t-template-01__navbar-wrapper {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        padding: 30px calc(174 / 768 * 100vw) 40px;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        background-color: #fff;
        transition: opacity 0.5s;
        opacity: 0;
        pointer-events: none;
    }
    .t-template-01__navbar-group {
        flex-direction: column;
    }
    .t-template-01__navbar-item {
        width: 100%;
        padding: 18px 0;
        text-align: left;
    }
    .t-template-01__navbar-item .text {
        font-size: 16px;
        color: #000;
    }
    .t-template-01__navbar-item+.t-template-01__navbar-item {
        border-top: 1px solid #d4d4d4;
    }
    .t-template-01__copyright {
        font-size: 12px;
        color: #606060;
        margin: 30px 0 0;
    }
}


/* mobile */

@media (max-width: 700px) {
    .t-template-01__navbar-container {
        padding: 0 20px;
    }
    .t-template-01__logo img {
        height: 22px;
    }
    .t-template-01__navbar-wrapper {
        display: flex;
        flex-direction: column;
        padding: 16px 20px 40px;
        height: calc(100vh - 60px);
        min-height: initial;
    }
    .t-template-01__navbar-item {
        padding: 16px 0;
    }
    .t-template-01__navbar-item:last-child {
        margin-bottom: 20px;
    }
    .t-template-01__copyright {
        margin-top: auto;
    }
}