/**
 * 注意：此檔案包含自定義樣式，請勿在系統更新時覆蓋
 * Note: This file contains custom styles, do not overwrite during system updates
 * 最後更新 / Last updated: 2025-04-16
 */
body {
    background-image: url("../images/main-bg.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
/* 全局|header|set */
.topblock{
    display: none;
}
.header-template4 {
    &.header--unfixed {
        background: linear-gradient(to bottom, rgb(0 0 0 / 51%) 0%, rgb(0 0 0 / 15%) 100%);
        /*background: linear-gradient(to bottom, #5667794a 0%, #627181ad 100%);*/
        .logo {
            .logo__img_original {
                display: none;
            }
        }
    }
    &.header--fixed {
        .logo {
            .logo__img_original {
                display: block;
            }
            .logo__img_1 {
                display: none;
            }
        }
    }
    .logo {
        .logo__img_0 {
            display: none;
        }
    }
    .nav {
        >.nav__item {
            a.nav__name {
                &.active {
                    color: #FFFFFF;
                    z-index: 0;
                    &:before {
                        width: 100%;
                        height: 60%;
                        content: "";
                        position: absolute;
                        left: 0;
                        top: 50%;
                        transform: translateY(-50%);
                        background-color: #566779;
                        border-radius: 8px;
                        z-index: -1;
                    }
                }
            }
        }
    }
    .language {
        .option {
            li {
                display: none;
                &:first-child {
                    display: block;
                }
            }
        }
    }
}
@media (min-width: 992px) {
    .header-template4 {
        .nav {
            .nav__layer {
                background-color: transparent;
                .nav__item {
                    margin-bottom: 6px;
                    &:last-child {
                        margin-bottom: 0;
                    }
                    &:hover {
                        .nav__name {
                            padding-left: 25px;
                            font-weight: 400;
                            color: #FFFFFF;
                            background-color: #566779;
                            &:hover {
                                opacity: 1;
                            }
                        }
                        .nav__btn::after {
                            color: #FFFFFF;
                        }
                    }
                }
            }
        }
        &.header--fixed {
            .nav {
                .nav__btn::after {
                    color: #566779;
                }
                >.nav__item {
                    .nav__name {
                        &.active + .nav__btn::after {
                            color: #FFFFFF;
                        }
                    }
                }
            }
        }
    }
}


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

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

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

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

/* 首頁|banner|箭頭大小 */
.ind-banner .swiper-button-next::after, .ind-banner .swiper-button-prev::after{
    font-size: 24px;
}


/* 全局|gdpr|位置變更 */
.advbox{
    background: #566779 !important;
}
@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: #383838;
    }

}

/* 全局|footer|set */
.footer-common-editor1-template20 {
    .social-links {
        .social-link {
            i {
                margin-right: 6px;
            }
        }
    }
}
@media (max-width: 480px) {
    .footer-common-editor1-template20 {
        .social-links {
            flex-wrap: wrap;
            .social-link {
                width: 100%;
                text-align: center;
            }
        }
    }
}
.footer-common-editor2-template6 {
    .footer-common-editor2-template6-content {
        .footer-title {
            font-weight: 800;
            text-transform: uppercase;
        }
    }
}
@media (max-width: 600px) {
    .footer-template5 .footer-common-copy .social {
        width: 100%;
    }
}


/* others */
main section.ind-section .wrapper {
    width: 100%;
    max-width: 100%;
    padding: 0 40px;
}
.ind-banner .swiper-button-next, .ind-banner .swiper-button-prev {
    top: 45%;
}
.ind-banner__text {
    .title {
        margin-bottom: 20px;
        font-size:35px;
        font-weight: 800;
        text-transform: uppercase;
    }
    p {
        font-size: 20px;
    }
    .btnbox {
        padding-top: 30px;
    }
}

@media (max-width: 480px) {
    .ind-banner__text {
        .title {
            font-size:30px;
        }
        p {
            font-size: 18px;
        }
    }
}
.index-h1__setting {
    font-weight: 300;
}
.product__item .img {
    background-color: #FFFFFF;
}
.product__item .img img, .basic__img .swiper-slide img {
    aspect-ratio: 1 / 1;
    object-fit: contain !important;
}

@media (max-width: 1366px) {
    .index-editor-template35 {
        margin-top: 40px;
        .bg-pic {
            height: auto;
            position: relative;
            .big-pic-content {
                width: 100%;
                padding: 0 30px;
                position: relative;
                .slogan-title {
                    width: 100%;
                    text-align: center;
                }
                .count-groups {
                    width: 100%;
                    margin: 40px 0;
                    flex-direction: row;
                    .count:nth-child(1) {
                        margin-top: 16px;
                    }
                    .count {
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                    }
                }
            }
        }
        .btm-r {
            justify-content: inherit;
            .right {
                width: 100%;
                margin-top: 0;
                padding: 0;
                justify-content: inherit;
                .item-row {
                    width: 50%;
                    .item {
                        margin: 0;
                        .pic {
                            height: 30vw;
                        }
                    }
                }
            }
        }
        .btm-l {
            position: relative;
            left: inherit;
            bottom: inherit;
            .left {
                width: 100%;
                padding: 30px 0;
                text-align: center;
                a {
                    margin: 30px auto 0;
                }
            }
        }
    }
}
@media (max-width: 768px) {
    .index-editor-template35 {
        .btm-r {
            .right {
                .item-row {
                    .item {
                        .content {
                            padding: 12px 20px;
                        }
                    }
                }
            }
        }
    }
}
@media (max-width: 600px) {
    .index-editor-template35 {
        .bg-pic {
            .big-pic-content {
                .count-groups {
                    flex-direction: column;
                    .count {
                        margin-top: 20px;
                    }
                }
            }
        }
    }
}
@media (max-width: 480px) {
    .index-editor-template35 {
        .btm-r {
            .right {
                flex-direction: column;
                .item-row {
                    width: 100%;
                    .item {
                        .pic {
                            height: auto;
                        }
                        .content {
                            padding: 20px 30px;
                        }
                    }
                }
            }
        }
    }
}
.index-editor-template36 .index-editor-template36-group .pics .pic img {
    width: 100%;
    height: 100%;
    position: relative;
    object-fit: cover;
}
.index-editor-template38::after {
    background: #333333c9;
}
.main-h1-template4 {
    background: linear-gradient(to right, rgb(0 0 0 / 28%) 0%, rgba(0, 0, 0, 0) 95%, rgba(0, 0, 0, 0) 100%);
}
.inner > .title span::before {
    display: none;
}
.accordion-menu {
    background: #ffffff8f;
}
.contact-editor-template2 li i:before {
    z-index: 1;
}

