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

/* 全局|header|箭頭樣式 */
.nav__btn {
    width: 12px;
    right: 0 !important;
    justify-content: flex-end;
}
.nav__btn::after{
    font-family: "icomoon";
    content: "\f105";
    font-size: 13px;
    transform: rotate(90deg);
}
.nav__layer .nav__btn::after{
    font-family: "icomoon";
    content: "\f105";
    font-size: 18px;
    transform: rotate(0deg);
}

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

/* 全局|gdpr|位置變更 */
.advbox{
    background: #4b6a92 !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: #009FB9;
        border-color: #009FB9;
    }

}


/* 全局|--|客製樣式 */
.nav__item .nav__layer .nav__item .nav__btn{
    width: 20px;
    justify-content: flex-start;
}
.page-index {
    background-image: url("../images/body.webp");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}
.header-template2 .header__inner .nav__layer {
    top: 42px;
}
.topblock .wrapper ,.header__inner {
    max-width: 1700px;
}
.nav__name {
    padding: 6px 15px 8px !important;
    font-size: 16px !important;
}
.ind-sec-middle, .ind-below {
    background-attachment: fixed;
}
.ind-category .product .product__item .img{
    width: 50% !important;
    overflow: visible;
}
.ind-category .product .product__item .img img {
    border-radius: 10px;
}
.ind-category .product .product__item .img a {
    display: flex;
}
.ind-category .product .product__item .text{
    width: 50% !important;
}
.ind-category .product .product__item {
    display: flex;
    flex-direction: column;
}
.ind-category .product .product__item:nth-child(1){
    align-items: flex-end;
}
.ind-category .product .product__item .img:hover {
    box-shadow: none;
}
.ind-category .product .product__item .img:hover img {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.product__item .img, .index-editor-template1 .about-block .img, .news__item .img  {
    border-radius: 10px;
    overflow: hidden;
}
.product__item .img img, .index-editor-template1 .about-block .img img, .news__item .img img {
    border-radius: 10px;
}
.inner > .title span {
    padding-left: 50px;
    background-image: url("../images/title-icon.svg");
    background-size: 30px auto;
    background-repeat: no-repeat;
    background-position: 10px 19px;
}
.inner > .title span::before {
    display: none;
}
.index-editor-template12 .about-text {
    padding: 130px 30px;
}
.banner .main-h1 {
    text-shadow: none !important;
    opacity: 1 !important;
}
.page-pdt .inner > .title span {
    padding-left: 60px;
    background-image: url("../images/title-icon2.svg");
    background-size: 40px auto;
    background-position: 10px 16px;
}
.page-news .inner > .title span {
    padding-left: 60px;
    background-image: url("../images/title-icon3.svg");
    background-size: 35px auto;
    background-position: 10px 13px;
}
.page-download .inner > .title span {
    padding-left: 60px;
    background-image: url("../images/title-icon4.svg");
    background-size: 40px auto;
    background-position: 10px 17px;
}
.page-contact .inner > .title span {
    padding-left: 60px;
    background-image: url("../images/title-icon5.svg");
    background-size: 40px auto;
    background-position: 10px 20px;
}
.download--list {
    .download__item {
        width: calc(33.333333333% - 30px);
        margin: 0 15px 30px;
        box-shadow: 0 4px 3px rgba(0, 0, 0, 0.15);
        border-radius: 6px;
        border-bottom: 1px #e5e5e5 dashed;
        .img {
            border-radius: 10px;
            overflow: hidden;
            img {
                width: 100%;
                height: auto;
            }
        }
        .info {
            padding: 0 10px;
            .title {
                color: #009FB9;
                display: block;
                transition: all 500ms ease-in-out;
                &:hover {
                    transform: translateX(3px);
                }
            }
            .description {
                margin: 5px 0 0;
                overflow: hidden;
                display: -webkit-box;
                text-overflow: ellipsis;
                -webkit-line-clamp: 4;
                -webkit-box-orient: vertical;
            }
        }
        .btnbox {
            padding: 0;
            justify-content: center;
            align-content: center;
            .btnset {
                width: 100%;
                border-radius: 6px;
                i {
                    font-size: 22px;
                }
            }
        }
    }
}
.language .option li:nth-child(3) {
    display: none;
}
.footer-common-editor1-template1 .footer__logo {
    padding-right: 0;
    a {
        display: block;
        margin-bottom: 20px;
    }
    p {
        margin: 0.7em 0;
    }
}

@media (max-width: 1470px) {
    .topblock .wrapper {
        padding: 0 20px !important;
    }
    .header__inner {
        padding: 5px 20px !important;
    }
    .nav__name {
        padding: 6px 10px 8px !important;
    }
    .nav__btn {
        right: -2px !important;
    }
    .nav__btn-icon::after {
        border-width: 8px 6px 0 6px;
    }
}
@media (max-width: 1366px) {
    .header-template2 .header__inner {
        .language, .header__search {
            width: 30px;
        }
        .cart {
            width: 55px;
        }
    }
}
@media (max-width: 1280px) {
    .nav__name {
        padding: 6px 6px 8px !important;
    }
    .nav__btn {
        right: -7px !important;
    }
}
@media (max-width: 991px) {
    .topblock .wrapper {
        padding: 0 40px !important;
    }
    .header-template2 .header__inner {
        .cart {
            width: 70px;
        }
    }
    .header__inner {
        padding: 5px 40px !important;
    }
    .header-template2 .header__inner .nav__layer {
        top: 0;
    }
    .nav__name {
        padding: 10px 15px !important;
    }
    .nav__btn {
        width: 50px;
        right: 0 !important;
    }
    .nav__item .nav__layer .nav__item .nav__btn{
        width: 50px;
        justify-content: center;
    }
    .download--list {
        .download__item {
            width: calc(50% - 30px);
        }
    }
    .footer-common-editor1-template1 .footer__info {
        padding-left: 3rem;
    }
}
@media (max-width: 768px) {
    .ind-category .product .product__item {
        .img, .text {
            width: 100% !important;
        }
    }
    .download--list {
        .download__item {
            .info, .btnbox {
                padding: 10px;
            }
        }
    }
    .footer-common-editor1-template1 .footer__info {
        padding-left: 0;
    }
}
@media (max-width: 600px) {
    .header-template2 .header__inner {
        .language, .header__search {
            width: 40px;
        }
        .cart {
            width: 60px;
        }
    }
    .download--list {
        .download__item {
            width: calc(50% - 20px);
            margin: 0 10px 20px;
        }
    }
}
@media (max-width: 480px) {
    .topblock .wrapper {
        padding: 0 15px !important;
    }
    .header__inner {
        padding: 5px 15px !important;
    }
    .index-editor-template12 .wrapper {
        padding: 0 1.5rem !important;
    }
}

/* 內頁|製程介紹|滅菌流程 */
.sterilization-process {
    max-width: 760px;
    padding: 50px 0;
    margin: auto;
    .single {
        margin-bottom: 30px;
        &:last-child {
            margin-bottom: 0;
        }
        .img {
            img {
                width: 100%;
                height: auto;
            }
        }
        .info {
            padding: 10px 0 0 40px;
            .title {
                color: #009eb8;
                font-weight: 500;
            }
            p {
                margin-top: 0.5em;
            }
        }
        &:nth-child(even) {
            .img {
                order: 2;
            }
            .info {
                padding: 10px 40px 0 0;
                order: 1;
                .title {
                    color: #1f286f;
                }
            }
        }
    }
}
@media (max-width: 600px) {
    .sterilization-process {
        .single {
            .img, .info {
                width: 100%;
            }
            .img {
                img {
                    width: auto;
                    margin: auto;
                }
            }
            .info {
                padding: 20px 0 0 0;
                .title {
                    text-align: center;
                }
            }
            &:nth-child(even) {
                .img {
                    order: 1;
                }
                .info {
                    padding: 20px 0 0 0;
                    order: 2;
                }
            }
        }
    }
}

/* 內頁|製程介紹|作業流程 */
.workflow {
    max-width: 860px;
    padding: 50px 0;
    margin: auto;
    .single {
        width: 100%;
        padding: 0 20px;
        margin-bottom: 30px;
        display: flex;
        flex-wrap: wrap;
        .img {
            width: 185px;
            img {
                width: 100%;
                height: auto;
                margin: auto;
            }
        }
        .info {
            width: calc(100% - 185px);
            padding-left: 30px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            .title {
                margin-bottom: 5px;
                color: #009eb8;
            }
            p {
                margin: 0;
            }
        }
        &:nth-child(even) {
            .info {
                .title {
                    color: #1f286f;
                }
            }
        }
        &:nth-child(1) {
            .info {
                p {
                    br {
                        display: none;
                    }
                }
            }
        }
    }
}
@media (max-width: 600px) {
    .workflow {
        .single {
            .img, .info {
                width: 100%;
            }
            .img {
                margin-bottom: 15px;
                img {
                    width: auto;
                }
            }
            .info {
                padding-left: 0;
                .title, p {
                    text-align: center;
                }
            }
        }
    }
}
@media (max-width: 480px) {
    .workflow {
        .single {
            &:nth-child(1) {
                .info {
                    p {
                        br {
                            display: block;
                        }
                    }
                }
            }
        }
    }
}



/* 內頁|關於我們|企業沿革 */
.timeline-groups {
    max-width: 850px;
    padding: 50px 0;
    margin: auto;
    .timeline {
        margin-bottom: 20px;
        .years {
            width: 100%;
            padding-left: 118px;
            margin-bottom: 15px;
            font-size: 28px;
            font-weight: 700;
            color: #009FB9;
        }
        .img {
            width: 150px;
            padding-right: 20px;
            img {
                width: 100%;
                height: auto;
            }
        }
        .info {
            width: calc(100% - 150px);
            padding: 0 0 0 70px;
            position: relative;
            flex-direction: column;
            justify-content: center;
            &:before, &:after {
                content: "";
                position: absolute;
                background-color: #777;
            }
            &:before {
                width: 10px;
                height: 10px;
                top: -10px;
                left: -5px;
                border-radius: 20px;
            }
            &:after {
                left: 0;
                top: 0;
                width: 1px;
                height: 85%;
            }
            .title {
                color: #1f286f;
                font-weight: 700;
                letter-spacing: 0;
            }
            p {
                margin-top: 0.5em;
            }
        }
    }
}
@media (max-width: 480px) {
    .timeline-groups {
        .timeline {
            .years {
                padding-left: 97px;
            }
            .img {
                width: 130px;
                padding-right: 10px;
            }
            .info {
                width: calc(100% - 130px);
                padding-left: 30px;
            }
        }
    }
}

/* news */
.page-news-index {
    .news--list {
        display: none;
    }
}


