/**
 * 注意：此檔案包含自定義樣式，請勿在系統更新時覆蓋
 * Note: This file contains custom styles, do not overwrite during system updates
 * 最後更新 / Last updated: 2025-04-16
 */

/* 全局|header|箭頭樣式 */
.nav__btn::after{
    font-family: "icomoon";
    content: "\f105";
    font-size: 20px;
    transform: rotate(90deg);
}

.nav__layer .nav__btn::after{
    font-family: "icomoon";
    content: "\f105";
    font-size: 20px;
    transform: rotate(0deg);
}

@media screen and (max-width:991px) {
    .nav__btn::after{
        font-family: "icomoon";
        content: "\f105";
        font-size: 20px;
        transform: rotate(0deg);
    }
}
.nav__btn-icon{
    display: none;
}

/* 全局|header|set */
.header-template4 {
    &.header--unfixed {
        background: linear-gradient(to bottom,  rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        transition: all 500ms ease-in-out;
        .nav__name.active, .nav__name.active:hover {
            color: #FFBB33 !important;
        }
    }
    &.header--fixed {
        box-shadow: none;
        .nav__name.active, .nav__name.active:hover {
            color: #3071bb !important;
        }
    }
}
@media (max-width: 991px) {
    .header-template4 {
        &.header--unfixed {
            .nav__name.active, .nav__name.active:hover {
                color: #3071bb !important;
            }
        }
        .nav__name {
            padding: 10px 15px;
        }
        .nav__btn::after {
            color: #fff !important;
        }
    }
}

/* 全局|gdpr|位置變更 */
@media screen and (min-width:991px) {
    .advbox{
        max-width: 400px;
        left: 16px;
        bottom: 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cookies-btn,.advbox .btnset{
        width: 100%;
        margin: 8px auto;
        text-align: center;
    }

    .advbox .btnset:hover{
        background: #c6cbcf;
        border-color: #c6cbcf;
    }

}


/* other */
.index-h1 {
    background-position: center -83vh;
}
.breadcrumb__item:last-child, .basic__info .title {
    color: #3071bb !important;
}
.product__item .text .name {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.inner > .title {
    span {
        padding-left: 55px;
        background-image: url(../images/title-icon.png);
        background-size: 30px auto;
        background-repeat: no-repeat;
        background-position: 8px 16px;
        &::before {
            display: none;
        }
    }
}
.nav-item-news {
    display: none;
}