/**
 * 注意：此檔案包含自定義樣式，請勿在系統更新時覆蓋
 * Note: This file contains custom styles, do not overwrite during system updates
 * 最後更新 / Last updated: 2025-04-16
 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@200..900&display=swap');
/*html {*/
/*    font-family: "Noto Serif TC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;*/
/*    font-weight: 500;*/
/*}*/

/* 全局|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: #383838;
    }

}

/* 全局|header|set */
.header-template20 {
    &.header--fixed {
        transform: translateY(0);
        .header__inner {
            .cart {
                .cart-drawer {
                    transform: translateY(0);
                }
            }
        }
    }
    &.header--unfixed {
        .header__inner {
            border: none;
        }
    }
    .topblock {
        display: none;
    }
    .header__inner {
        .logo {
            .logo__img {
                padding: 5px 0;
            }
        }
        .nav__box {
            justify-content: flex-end;
            .nav {
                .nav__name {
                    font-family: "Noto Serif TC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
                    font-weight: 500;
                    span {
                        font-size: 12px;
                        line-height: 16px;
                        display: block;
                    }
                }
            }
        }
    }
}
@media (min-width: 992px) {
    .header-template20 {
        .nav {
            .nav__item {
                .nav__name {
                    width: calc(100% - 16px);
                    padding: 20px 12px;
                    margin: 0 8px;
                    font-size: 16px;
                    line-height: 1.3rem;
                    &:before {
                        display: none;
                    }
                    &:after {
                        height: 3px;
                        left: 50%;
                        transform: translateX(-50%);
                    }
                    &:hover {
                        &:after {
                            width: calc(100% - 26px);
                        }
                    }
                    &.active {
                        &:after {
                            width: calc(100% - 26px);
                        }
                    }
                }
                .nav__layer {
                    top: 77px;
                    .nav__item {
                        .nav__name {
                            width: 100%;
                            margin: 0;
                            padding: 7px 10px;
                        }
                        .nav__layer {
                            top: 10px;
                        }
                    }
                }
            }
            /*> .nav__item {*/
            /*    &:after {*/
            /*        width: 1px;*/
            /*        height: 36px;*/
            /*        position: absolute;*/
            /*        right: 0;*/
            /*        top: 50%;*/
            /*        content: "";*/
            /*        background-color: #d3b192;*/
            /*        transform: translateY(-50%);*/
            /*    }*/
            /*    &:last-child {*/
            /*        &:after {*/
            /*            display: none;*/
            /*        }*/
            /*    }*/
            /*}*/
        }
        .nav__btn-icon{
            display: none;
        }
    }
}

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

/* 全局│header│nav hover選單 background color */
@media (min-width: 992px) {
    .header-template20 {
        .nav {
            .nav__item--on {
                .nav__layer {
                    .nav__name {
                        &:hover {
                            background-color: #6d4b1f;
                            color: #FFFFFF;
                            opacity: 1;
                        }
                        /*&:hover + .nav__btn::after {*/
                        /*    color: #FFFFFF;*/
                        /*}*/
                    }
                    .nav__item--on {
                        .nav__name {
                            background-color: #6d4b1f;
                            color: #FFFFFF;
                            /*+ .nav__btn::after {*/
                            /*    color: #FFFFFF;*/
                            /*}*/
                        }
                        .nav__layer {
                            .nav__name {
                                background-color: initial;
                                color: #6d4b1f;
                                &:hover {
                                    background-color: #6d4b1f;
                                    color: #FFFFFF;
                                }
                            }
                            .nav__item--on {
                                .nav__name {
                                    background-color: #6d4b1f;
                                    color: #FFFFFF;
                                }
                                .nav__layer {
                                    display: none;
                                    .nav__name {
                                        background-color: initial;
                                        color: #6d4b1f;
                                        &:hover {
                                            background-color: #6d4b1f;
                                            color: #FFFFFF;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

/* 全局|header|cart */
.header {
    .cart {
        width: 60px;
        .cart-btn {
            font-size: 24px;
            position: relative;
            .text {
                height: 22px;
                width: 22px;
                margin: 0;
                position: absolute;
                top: -9px;
                right: 8px;
                color: #FFFFFF;
                background: #ac8257;
                border-radius: 100%;
                display: flex;
                justify-content: center;
                align-items: center;
                &:before, &:after {
                    display: none;
                }
            }
        }
    }
}

@media (max-width: 991px) {
    .header {
        padding: 4px 0;
        .cart {
            .cart-btn {
                .text {
                    right: 0;
                }
            }
        }
    }
}

/* 全局|footer|set */
.footer {
    > .wrapper {
        border-top: #d3b192 1px solid;
    }
    .footer-common-editor1 {
        width: 70%;
    }
    .footer-common-copy {
        width: 30%;
        display: flex;
        align-items: center;
        .wrapper {
            display: grid;
            grid-template-columns: 120px 1fr;
            gap: 1rem;
            .social {
                display: flex;
                align-items: center;
                position: relative;
                &:after {
                    width: 1px;
                    height: 25px;
                    background-color: #666666;
                    position: absolute;
                    top: 50%;
                    right: 3px;
                    content: "";
                    transform: translateY(-50%);
                }
            }
        }
    }
}
@media (max-width: 991px) {
    .footer {
        .footer-common-editor1, .footer-common-copy {
            width: 100%;
        }
    }
}
@media (max-width: 600px) {
    .footer {
        padding-bottom: 0;
        .footer-common-copy {
            .wrapper {
                grid-template-columns: 1fr;
                .social {
                    justify-content: center;
                    &:after {
                        display: none;
                    }
                }
            }
        }
    }
}
.footer-common-editor1-template1 {
    .footer__block {
        .footer__logo {
            padding-right: 0;
            img {
                max-width: 200px;
                height: auto;
            }
        }
        .footer__info {
            padding: 0 3rem 0 0;
            align-content: center;
            .title {
                margin-bottom: 0;
                text-align: center;
                color: #454743;
            }
            .title--en {
                font-size: 14px;
            }
        }
    }
}
@media (max-width: 991px) {
    .footer-common-editor1-template1 {
        .footer__block {
            .footer__info {
                padding-right: 0;
            }
        }
    }
}


/* 全局|--|set */
.btnset {
    font-size: 14px;
    border-radius: 5px;
    &.btnset--primary {
        background-color: #b05c3a;
        border-color: #b05c3a;
    }
    /*&:after {*/
    /*    margin-left: 10px;*/
    /*    font-family: 'icomoon';*/
    /*    content: "\e93a";*/
    /*}*/
    &:hover {
        &:after {
            background: transparent;
        }
    }
}
.product__item .img img, .news__item .img img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.product__item {
    .text {
        .price {
            color: #6D4B1F;
        }
    }
}

.breadcrumb__item:first-child:before {
    content: "\e930";
}
.sidebar {
    padding-right: 25px;
    ul {
        box-shadow: none;
    }
}
.accordion-menu {
    padding: 8px;
    background-color: #fcfbf9;
    border: 1px solid #f3efed;
    > li {
        a.active {
            color: #6D4B1F !important;
            background-color: #f1eae1 !important;
            border-radius: 0;
        }
    }
    .sublevel-1 {
        li {
            a.active {
                background-color: transparent !important;
            }
        }
    }
    .heading {
        padding: 10px 0;
        border-bottom: none;
        span {
            padding: 0 10px;
            display: block;
        }
        .title {
            letter-spacing: 0.2rem;
        }
        .sm-text {
            font-size: 14px;
        }
    }
}
[data-accordion-menu] .is-accordion-submenu-parent[aria-expanded=true] > a::before {
    content: "\f105";
}
.inner {
    > .title {
        span {
            /*padding-left: 60px;*/
            /*background-image: url("../images/title-icon.svg");*/
            /*background-repeat: no-repeat;*/
            /*background-position: 15px center;*/
            /*background-size: 30px auto;*/
            color: #454743;
            &:before {
                display: none;
            }
        }
    }
    .module-page-block {
        h2.title {
            span {
                /*padding-left: 60px;*/
                /*background-image: url("../images/title-icon.svg");*/
                /*background-repeat: no-repeat;*/
                /*background-position: 15px center;*/
                /*background-size: 30px auto;*/
                color: #454743;
                font-weight: 500;
                font-size: 30px;
            }
        }
    }
}


/* index */
.index-h1__setting {
    font-weight: 300;
}
.ind-banner {
    .ind-banner__textbox {
        .ind-banner__text {
            width: 100%;
            padding-top: 0;
            text-align: left;
            letter-spacing: 0.3rem;
            backdrop-filter: blur(0);
            -webkit-backdrop-filter: blur(0);
            position: relative;
            .title {
                font-family: "Noto Serif TC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
                font-weight: 500;
                letter-spacing: 0.3rem;
            }
            p {
                margin-top: 20px;
                text-align: left;
            }
            .btnset {
                width: auto;
                margin: 0;
                padding: 7px 30px;
                position: absolute;
                right: 0;
                bottom: 0;
                transform: translateY(40px);
                letter-spacing: 0.1rem;
                background-color: transparent;
                border-color: transparent;
                color: #454743;
                &:hover {
                    color: #fff;
                    background-color: #b05c3ae0;
                    border-color: #b05c3ae0;
                }
            }
        }
    }
    .swiper-wrapper {
        z-index: 2;
    }
    .swiper-pagination {
        z-index: 1;
    }
    .swiper-button-prev, .swiper-button-next {
        &::after {
            content: "\f104";
        }

    }
}
@media (max-width: 1440px) {
    .ind-banner {
        .ind-banner__textbox {
            .ind-banner__text {
                .btnset {
                    transform: translateY(15px);
                }
            }
        }
    }
}
@media (max-width: 991px) {
    .ind-banner {
        .ind-banner__textbox {
            .ind-banner__text {
                padding-bottom: 15px;
                .title, p {
                    color: #FFFFFF !important;
                }
                .btnset {
                    background-color: #FFFFFF;
                    border-color: #FFFFFF;
                    position: relative;
                    transform: translateY(15px);
                }
            }
        }
        .swiper-button-prev {
            left: 0;
        }
        .swiper-button-next {
            right: 0;
        }
    }
}
.ind-news {
    .news-inner {
        display: grid;
        grid-template-columns: 3.5fr 8.5fr;
        gap: 2.5rem;
        .news-title {
            .title {
                margin-bottom: 0;
                text-align: left;
                /*font-weight: 500;*/
                color: #454743;
                span {
                    margin: 0 15px 0 0;
                    padding-right: 20px;
                    position: relative;
                    &:after {
                        width: 1px;
                        height: 30px;
                        background-color: #333333;
                        content: '';
                        position: absolute;
                        top: 50%;
                        right: 0;
                        transform: translateY(-50%);
                    }
                }
            }
        }
        .news {
            margin: 0;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.2rem;
            .news__item {
                width: 100%;
                padding: 0;
                .info {
                    padding-top: 0;
                    .title {
                        -webkit-line-clamp: 1;
                    }
                    .description {
                        display: none;
                    }
                    .date {
                        text-align: right;
                    }
                }
            }
        }
        .ind-webeditor {
            p {
                color: #686A65;
            }
            .btnset {
                width: auto;
                padding: 0;
                margin: 0;
                color: #454743;
                background-color: transparent;
                border-color: transparent;
                text-align: right;
                display: block;
                &:hover {
                    transform: translateY(0) translateX(5px);
                }
            }
        }
    }
}
@media (max-width: 768px) {
    .ind-news {
        .news-inner {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
    }
}
@media (max-width: 600px) {
    .ind-news {
        .news-inner {
            .news {
                grid-template-columns: repeat(2, 1fr);
            }
        }
    }
}
@media (max-width: 480px) {
    .ind-news {
        .news-inner {
            .news {
                grid-template-columns: 1fr;
            }
        }
    }
}
@media (max-width: 1480px) {
    .ind-above > .webeditor .wrapper, .ind-middle > .webeditor .wrapper, .ind-sec-middle > .webeditor .wrapper, .ind-below > .webeditor .wrapper {
        padding: 0 40px;
    }
}
@media (max-width: 480px) {
    .ind-above > .webeditor .wrapper, .ind-middle > .webeditor .wrapper, .ind-sec-middle > .webeditor .wrapper, .ind-below > .webeditor .wrapper {
        padding: 0 20px;
    }
}

/* index 編輯器 */
.index-editor-template1 {
    .wrapper {
        padding: 0 !important;
    }
    .about-block {
        .img {
            aspect-ratio: 16 / 6;
            position: relative;
            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                position: absolute;
                top: 0;
                left: 0;
            }
        }
        .text {
            padding: 0 20px 0 50px;
            background-color: #f8f8f8;
            display: flex;
            flex-direction: column;
            justify-content: center;
            .title {
                color: #454743;
                font-size: 30px;
                line-height: 2.5rem;
                font-family: "Noto Serif TC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
                font-weight: 500;
            }
            .btnset {
                width: auto;
                margin: 0;
                padding: 0;
                letter-spacing: 0.1rem;
                color: #454743;
                background-color: transparent;
                border-color: transparent;
                text-align: left;
                &:hover {
                    /*color: #FFFFFF;*/
                    /*background-color: #b05c3ae0;*/
                    /*border-color: #b05c3ae0;*/
                    transform: translateY(0) translateX(5px);
                    }
            }
        }
    }
}
@media (max-width: 768px) {
    .index-editor-template1 {
        .about-block {
            .text {
                padding: 20px;
            }
        }
    }
}
@media (max-width: 480px) {
    .index-editor-template1 {
        .about-block {
            .text {
                .title {
                    font-size: 24px;
                    line-height: 2rem;
                }
            }
        }
    }
}
.shop-work {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    .item {
        aspect-ratio: 16 / 7;
        position: relative;
        .info {
            height: 100%;
            padding: 30px 50px;
            background: linear-gradient(135deg, #fbf0ebf7 0%, #fdfdfdd9 14%, #ffffffbf 20%, #ffffff38 32%, #ffffff0d 45%, #ffffff00 100%);
            display: flex;
            flex-direction: column;
            justify-content: center;
            .title {
                display: block;
                color: #454743;
                font-family: "Noto Serif TC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
                font-weight: 500;
            }
            .title--sm {
                color: #686A65;
                font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
                font-weight: 400;
            }
            p {
                color: #454743;
                font-size: 12px;
                position: relative;
                &:before {
                    width: 80px;
                    height: 1px;
                    background-color: #b05c3a6b;
                    content: "";
                    position: absolute;
                    left: 0;
                    top: -7px;
                }
            }
            .btnset {
                width: 160px;
                &:hover {
                    transform: translateY(0) translateX(5px);
                }
            }
        }
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
            z-index: -1;
        }
    }
}
@media (max-width: 768px) {
    .shop-work {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .shop-work {
        .item {
            aspect-ratio: 16 / 9;
            .info {
                padding: 20px;
            }
        }
    }
}
.ind-video {
    padding: 60px 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    .item {
        aspect-ratio: 4 / 3;
        position: relative;
        overflow: hidden;
        .video-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 20px;
            color: #FFFFFF;
            background-color: rgba(0, 0, 0, 0.3);
            z-index: 1;
            transition: all 500ms ease-in-out;
        }
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
            transition: all 500ms ease-in-out;
        }
        &:hover {
            .video-icon {
                background-color: rgba(0, 0, 0, 0.5);
            }
            img {
                transform: scale(1.05);
            }
        }
    }
}
@media (max-width: 991px) {
    .ind-video {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 600px) {
    .ind-video {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .ind-video {
        grid-template-columns: 1fr;
    }
}
.ind-below {
    z-index: 0;
    &:after {
        width: 100%;
        height: 100%;
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        background: linear-gradient(99deg, #ffffff9e 0%, #fdfdfdc4 30%, #ffffffb8 17%, #ffffff00 41%, #ffffff00 100%);
        z-index: -1;
    }
}
@media (max-width: 480px) {
    .ind-below {
        &:after {
            background: linear-gradient(99deg, #ffffff9e 0%, #fdfdfdc4 30%, #ffffffb8 17%, #ffffffa1 41%, #ffffff00 100%);
        }
    }
}
.ind-journal {
    padding: 50px 0;
    .title {
        color: #454743;
        font-family: "Noto Serif TC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        font-weight: 500;
        span {
            margin: 0 15px 0 0;
            padding-right: 20px;
            position: relative;
            &:after {
                width: 1px;
                height: 30px;
                background-color: #333333;
                content: '';
                position: absolute;
                top: 50%;
                right: 0;
                transform: translateY(-50%);
            }
        }
    }
    p {
        font-size: 18px;
        color: #686A65;
    }
    .btnset {
        width: 160px;
        &:hover {
            transform: translateY(0) translateX(5px);
        }
    }
}




/* product */
.product-inner__list {
    .product {
        .product__item {
            .text {
                .model {
                    display: none;
                }
            }
        }
    }
}
.product {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    .product__item {
        width: 100% !important;
        padding: 0;
    }
}
@media (max-width: 768px) {
    .product {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .product {
        grid-template-columns: 1fr;
    }
}
.swiperalbum__small {
    .sv-unmute-btn {
        display: none !important;
    }
}
.description {
    .accordion-tab {
        border-radius: 5px;
    }
}
.basic {
    .basic__img {
        .swiperalbum__large, .swiperalbum__small {
            .swiper-slide {
                aspect-ratio: 4 / 3;
                img {
                    width: 100%;
                    height: 100%;
                    position: absolute;
                    top: 0;
                    left: 0;
                }
            }
        }
    }
    .basic__info {
        .model::before {
            content: "\e908";
        }
        .pdt-price {
            padding: 0 20px;
            font-size: 30px;
            font-weight: 600;
            span {
                margin-left: 5px;
                font-size: 20px;
            }
            &:before {
                margin-right: 5px;
                content: "NT$";
                font-size: 20px;
            }
        }
        .pdt-spec {
            margin-top: 20px;
            padding: 0 20px;
        }
        .pdt-btn {
            padding: 0 20px;
            margin-top: 40px;
            .coldefault6 {
                display: flex;
                align-items: center;
            }
            .btnset {
                margin: 0;
                padding: 10px;
                &:after {
                    display: none;
                }
            }
        }
    }
}
.SwiperZoom .swiper-button-prev::after, .SwiperZoom .swiper-button-next::after, .SwiperClick .swiper-button-prev::after, .SwiperClick .swiper-button-next::after, .SwiperLg .swiper-button-prev::after, .SwiperLg .swiper-button-next::after, .js-swiper-equal-height .swiper-button-prev::after, .js-swiper-equal-height .swiper-button-next::after {
    content: "\f104";
}
.inquiry__list {
    .inq-flex {
        width: 100%;
        .inquirycart {
            width: 96%;
            margin: 0 auto 50px;
        }
    }
}

/* Number Input */
.number-input-container {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 150px;
    background-color: white;
    overflow: hidden; /* 確保圓角效果正常 */
}
.number-input {
    width: 100%;
    padding: 10px;
    border: none; /* 移除 input 的邊框 */
    font-size: 18px;
    text-align: center;
    outline: none; /* 移除點擊時的藍色外框 */
    -webkit-appearance: none;
    margin: 0;
}

.number-input[type=number]::-webkit-outer-spin-button,
.number-input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.number-input[type=number] {
    -moz-appearance: textfield;
}

.but-symbol {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 44px;
    background-color: #ddd;
    color: #333;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    user-select: none; /* 防止快速點擊時選取到文字 */
    transition: all 500ms ease-in-out;
}
.but-symbol:hover {
    background-color: #EAEAEA;
}

/* news */
.news--list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.7rem;
    .news__item {
        margin-bottom: 0;
        padding: 15px;
        border: 1px solid #f3efed;
        box-shadow: none;
        transition: all 500ms ease-in-out;
        .img, .info {
            width: 100%;
        }
        .info {
            .btnset {
                width: auto;
                padding: 7px 10px;
                margin: 10px auto 0;
            }
        }
        &:hover {
            box-shadow: 3px 6px 15px #00000020;
        }
    }
}
@media (max-width: 768px) {
    .news--list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}
@media (max-width: 480px) {
    .news--list {
        grid-template-columns: 1fr;
    }
}







