/**
 * 注意：此檔案包含自定義樣式，請勿在系統更新時覆蓋
 * Note: This file contains custom styles, do not overwrite during system updates
 * 最後更新 / Last updated: 2025-04-16
 */
/* 全局|gdpr|位置變更 */
@media screen and (min-width:991px) {
    .advbox{
        max-width: 80%;
        left: 50%;
        bottom: 25px;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .advbox .btnset{
        padding: 9px 30px 10px 30px !important;
        margin-bottom: 2px;
        &:before {
            background-color: #ccc;
        }
    }
}

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

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

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

/* 全局|按鈕|按鈕樣式 */
.btnset {
    padding: 10px 30px 10px 20px !important;
    border: none;
    border-radius: 6px;
    clip-path: polygon(0 0, 100% 0%, 90% 100%, 0% 100%);
    /*background-color: #999999;*/
    position: relative;
    &:before {
        position: absolute;
        right: 0;
        top: 0;
        width: 20%;
        height: 100%;
        background-color: #9dd8dd;
        clip-path: polygon(55% 0, 100% 0%, 55% 100%, 0% 100%);
        content: "";
        z-index: 1;
        transition: all 500ms ease-in-out;
    }
    &:hover {
        &:before {
            right: -10px;
            background-color: #d0d0d0;
        }
    }
}
/* product detail|download|按鈕 */
@media (max-width: 768px) {
    .download__item {
        .file-name {
            width: 75%;
        }
        .btnset {
            width: 25%;
        }
    }
}
@media (max-width: 480px) {
    .download__item {
        .file-name, .btnset {
            width: 100%;
        }
    }
}


/* 首頁|列表標題|字體粗度 */
section .title.title--lg{
    font-weight: bold;
}


/* 首頁|banner|文字區塊 */
.ind-banner .ind-banner__text {
    max-width: 600px;
    overflow: hidden;
    .title, p {
        text-align: left;
    }
    p {
        margin: 20px 0 10px;
    }
    &:after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 40%;
        height: 100%;
        clip-path: polygon(50% 0, 95% 0, 70% 100%, 20% 100%);
        background-color: rgba(255, 158, 28, 0.65);
        z-index: -1;
        transition: all 500ms ease-in-out;
    }
    .btnbox {
        display: flex !important;
    }
    &:hover {
        &:after {
            transform: translateX(50%);
        }
    }
}
@media (max-width: 991px) {
    .ind-banner .ind-banner__text {
        max-width: none;
        &:after {
            display: none;
        }
    }
}

/* 首頁|banner|左右鍵 */
.ind-banner .swiper-button-next::after, .ind-banner .swiper-button-prev::after {
    content: "\e912";
    transform: rotate(90deg);
}
.ind-banner .swiper-button-next::after {
    transform: rotate(-90deg);
}
@media (max-width: 375px) {
    .ind-banner {
        .swiper-button-next, .swiper-button-prev {
            transform: translateY(-15px);
        }
    }
}

/* 首頁|banner|bullet */
.ind-banner .swiper-pagination .swiper-pagination-bullet{
    width: 30px;
    height: 6px;
    border-radius: 10px;
    transition: all 500ms ease-in-out;
}
.ind-banner .swiper-pagination .swiper-pagination-bullet-active {
    width: 12px;
    height: 12px;
    border-radius: 20px;
}


/* 首頁|列表|圖片導圓角 */
.product__item, .news__item {
    .img {
        border-radius: 8px;
        overflow: hidden;
    }
}
.index-list-effect-3 .news__item .info {
    border-radius: 8px;
}


/* 全局|header|header-template20 */
.header-template20 {
    &.header--unfixed {
        background: linear-gradient(to bottom, #000000b5 0%, #ffffff00 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    }
    &.header--fixed {
        transform: translateY(-14px);
    }
    .header__inner {
        .nav__name {
            &.active {
                color: #9dd8dd !important;
                &:before, &:after {
                    background: #9dd8dd;
                }
                &:hover {
                    &:after {
                        background-color: #9dd8dd;
                    }
                }
            }
            &:hover {
                &:after {
                    background-color: #FFFFFF;
                }
            }
        }
        .nav__layer {
            .nav__name {
                &:before {
                    display: none;
                }
                &:hover {
                    padding-left: 25px;
                    font-weight: 400;
                    color: #9dd8dd;
                }
            }
        }
    }
}

@media (max-width: 991px) {
    .header-template20 {
        .header__inner {
            .nav__box {
                background: #005782;
            }
        }
    }
}

/* 2026-07-10新增聯絡我們按鈕 */
.contact-icon {
    width: 36px;
    padding-top: 5px;
    order: 4;
    .contact-btn {
        justify-content: center;
        align-items: center;
        i {
            font-size: 20px;
            color: #FFFFFF;
        }
    }
}

/* 全局|footer|footer-common-copy */
.footer-common-copy {
    .wrapper {
        flex-direction: row !important;
        .social, .copy {
            width: 50%;
        }
        .copy {
            margin: 0 !important;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: flex-end;
        }
    }
}
@media (max-width: 991px) {
    .footer-common-copy {
        .wrapper {
            .social, .copy {
                width: 100%;
            }
            .copy {
                justify-content: center;
            }
        }
    }
}

/* 全局|footer|footer-common-editor2 */
.footer-common-editor2 {
    max-width: 1400px;
    width: 100%;
    margin: 10px auto 20px;
}


/* others */
.index-editor-template39 {
    .wrapper {
        > .title {
            font-weight: bold;
        }
    }
    .inner {
        .img-box {
            .single {
                .img {
                    min-height: 200px;
                }
            }
        }
    }
}
.sort_1.index-editor-template40 {
    .info {
        .img-btn {
            .img {
                img {
                    width: 100%;
                    height: 150px;
                }
            }
        }
    }
}

@media (max-width: 768px) {
    .sort_1.index-editor-template41 {
        .inner {
            .inner__div {
                margin-bottom: 20px;
                .title {
                    margin-top: 10px;
                }
                p {
                    margin-top: 0;
                }
                &:last-child {
                    margin-bottom: 0;
                }
            }
        }
    }
}

.news--list .news__item, .index-editor-template39 .inner .img-box .single .info {
    background-color: #f2f2f2;
}

/* sidebar [ 只有一層分類時，取消icon ] */
.no-arrow {
    padding-left: 30px !important;
    &::before {
        display: none;
    }
}

.inner > .title span::before {
    display: none;
}

/* 2026-02-03 新增產品篩選功能 */
.searchbox {
    padding: 10px 20px;
    margin: 30px 0;
    border-radius: 5px;
    background-color: #f2f2f2;
    .form__group {
        padding: 15px 0;
        border-bottom: 1px #d7d7d7 dashed;
        &:nth-last-child(2) {
            border-bottom: none;
        }
    }
    .form__label {
        .form__title {
            padding-left: 0;
            font-size: 18px;
            font-weight: 600;
        }
    }
}


