/**
 * 注意：此檔案包含自定義樣式，請勿在系統更新時覆蓋
 * 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=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap');

/* 全局|gdpr|位置變更 */
@media screen and (min-width:991px) {
    .advbox{
        max-width: 400px;
        left: 16px;
        bottom: 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
        .btnset {
            color: #FFFFFF;
            background: #555;
            border-color: #555;
            &:hover {
                background: #777;
            }
        }
    }

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

/* 全局|header|set */
.header-template4 {
    &.header--unfixed {
        background: linear-gradient(to bottom,  rgba(0,0,0,0.31) 0%,rgba(0,0,0,0) 100%);
        .logo {
            .logo__img_original, .logo__img_0 {
                display: none;
            }
        }
    }
    &.header--fixed {
        .logo {
            .logo__img_original {
                display: block;
            }
            .logo__img_1, .logo__img_0 {
                display: none;
            }
        }
    }
    .topblock {
        display: none;
    }
    .header__search-icon {
        width: 30px;
        height: 30px;
    }
    .header__search--on {
        .header__search-icon {
            background-color: #999999;
        }
    }
    .header__search-form--on {
        .header__search-btn {
            color: #fff;
            background-color: #b9ae98;
        }
    }
    .nav__name {
        &:before {
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background-color: #877e65;
            position: absolute;
            bottom: 5px;
            left: 50%;
            content: "";
            opacity: 0;
            transform: translateX(-50%) scale(0);
            box-shadow: 0 0 0 #877e65, 0 0 0 #877e65;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        &.active, &:hover {
            &:before {
                opacity: 1;
                transform: translateX(-50%) scale(1);
                box-shadow: -14px 0 0 #877e65, 14px 0 0 #877e65;
            }
        }
    }
    .nav__layer {
        .nav__name {
            &:before {
                display: none;
            }
        }
    }
    &.header--unfixed {
        .nav__name {
            &.active, &:hover {
                &:before {
                    background-color: #FFFFFF;
                    box-shadow: -14px 0 0 #FFFFFF, 14px 0 0 #FFFFFF;
                }
            }
            &.active {
                color: #FFFFFF !important;
            }
        }
    }
}
@media (max-width: 991px) {
    .header-template4 {
        .nav__name {
            &:before {
                display: none;
            }
        }
    }
}


/* 全局|header|箭頭樣式 */
.nav__btn {
    display: none;
}
.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 {
        display: block;
    }
    .nav__btn::after{
        font-family: "icomoon";
        content: "\f105";
        font-size: 20px;
        color: #FFFFFF !important;
        transform: rotate(0deg);
    }
}
.nav__btn-icon{
    display: none;
}


/* 首頁|banner|set */
.ind-banner .swiper-button-next::after, .ind-banner .swiper-button-prev::after{
    font-size: 24px;
}
@media only screen and (max-width: 480px) {
    .ind-banner .swiper-button-next, .ind-banner .swiper-button-prev {
        top: -moz-calc(35% - 23px);
        top: -webkit-calc(35% - 23px);
        top: calc(35% - 23px);
    }
}
.ind-banner__text {
    max-width: 600px;
    min-height: 310px;
    text-align: left;
    font-weight: 700;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    .btnbox {
        padding-top: 30px;
        text-align: right;
        .btnset {
            font-weight: 500;
            font-size: 18px;
            letter-spacing: 2px;
            font-style: oblique;
            background-color: transparent;
            border: 0;
            text-align: left;
            &:after {
                width: 40px;
                height: 1px;
                position: absolute;
                right: 5px;
                top: 50%;
                background-color: #B7AC97;
                content: "";
                transition: all 500ms ease-in-out;
            }
            &:hover {
                color: #fff;
                background-color: transparent;
                transform: translateY(0) translateX(-5px);
                &:after {
                    width: 65px;
                }
            }
        }
    }
}
@media (max-width: 768px) {
    .ind-banner__text {
        .btnbox {
            .btnset {
                &:after {
                    background-color: #FFFFFF;
                }
            }
        }
    }
}


/* 全局|footer|set */
.footer-template1 {
    padding: 50px 0 0;
    > .wrapper {
        margin-bottom: 30px;
        padding: 0 20px;
        .footer-common-editor1, .social {
            flex: 1;
        }
        .footer-common-editor1 {
            order: 1;
            .info-block {
                padding-left: 0;
                li {
                    margin-bottom: 10px;
                    list-style: none;
                    color: #FFFFFF;
                    &:last-child {
                        margin-bottom: 0;
                    }
                    a {
                        color: #FFFFFF;
                        display: inline-block;
                    }
                    span {
                        margin-right: 10px;
                        color: #777777;
                        display: inline-block;
                    }
                }
            }
        }
        .social {
            order: 2;
            z-index: 1;
            .title {
                margin-bottom: 15px;
                color: #777777;
            }
            a {
                width: 25px;
                height: 25px;
                margin: 0 15px 0 0;
                color: #FFFFFF;
                display: inline-block;
                vertical-align: middle;
                i {
                    font-size: 24px;
                }
                &:hover {
                    color: #B7AC97;
                }
                svg {
                    .st0 {
                        fill: #fff;
                        transition: all 500ms ease-in-out;
                    }
                }
                &:hover {
                    svg {
                        .st0 {
                            fill: #B7AC97;
                        }
                    }
                }
            }
        }
        .footer-common-editor2 {
            width: 150px;
            padding-left: 30px;
            order: 3;
            .footer-logo {
                justify-content: flex-end;
                img {
                    max-width: 80px;
                    height: auto;
                }
            }
        }
    }
    .footer-common-copy {
        padding: 5px;
        .wrapper {
            border-top: 1px #777777 solid;
        }
        .copy {
            justify-content: space-between;
            span {
                margin-left: 0;
                a {
                    &:last-child {
                        margin-left: 10px;
                    }
                }
            }
        }
    }
}
@media (max-width: 768px) {
    .footer-template1 {
        > .wrapper {
            .social {
                flex: none;
                width: 100%;
                order: 3;
            }
            .footer-common-editor2 {
                order: 2;
            }
        }
    }
}
@media (max-width: 480px) {
    .footer-template1 {
        > .wrapper {
            position: relative;
            .footer-common-editor1 {
                width: 100%;
                flex: none;
            }
            .footer-common-editor2 {
                position: absolute;
                right: 20px;
            }
        }
    }
}
@media (max-width: 375px) {
    .footer-template1 {
        > .wrapper {
            .footer-common-editor1 {
                font-size: 14px;
            }
            .footer-common-editor2 {
                .footer-logo {
                    img {
                        max-width: 60px;
                    }
                }
            }
        }
    }
}


/* 全局|--|set */
html {
    font-weight: 300;
}
.product .product__item, .news .news__item {
    padding: 20px;
}
.product__item .img img, .news__item .img img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.btnset {
    padding: 10px;
    border-radius: 6px;
}
.banner .main-h1 {
    text-shadow: none;
}

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

/* index */
.btnbox--right {
    padding-top: 0;
    text-align: right;
    .btnset {
        width: 160px !important;
        color: #555555 !important;
        font-weight: 500;
        font-size: 18px;
        letter-spacing: 2px;
        font-style: oblique;
        background-color: transparent !important;
        border: 0;
        text-align: left;
        &:after {
            width: 40px;
            height: 1px;
            position: absolute;
            right: 5px;
            top: 50%;
            background-color: #B7AC97;
            content: "";
            transition: all 500ms ease-in-out;
        }
        &:hover {
            color: #B7AC97;
            background-color: transparent;
            transform: translateY(0) translateX(-5px);
            &:after {
                width: 65px;
            }
        }
    }
}
.sort_1 {
    &.index-editor-template1 {
        padding: 70px 0;
        .about-block {
            .img {
                border-radius: 0 30px 0 30px;
                overflow: hidden;
                transform: translateY(-30%);
            }
            .text {
                padding: 60px 0 0 80px;
                .title-box {
                    margin-bottom: 30px;
                    .title {
                        letter-spacing: 2px;
                        display: block;
                    }
                    .title--xl {
                        font-weight: 900;
                        color: #F3F3F3;
                        /*-webkit-text-stroke: 1px #999999;*/
                        line-height: 50px;
                        position: relative;
                        &:after {
                            content: attr(data-text);
                            position: absolute;
                            left: 0;
                            top: 0;
                            z-index: -1;
                            -webkit-text-stroke: 2px #999999;
                        }
                    }
                    .title--other {
                        font-size: 20px;
                        font-weight: 400;
                        color: #B7AC97;
                    }
                }
                p {
                    line-height: 32px;
                }
            }
        }
    }
}
@media (max-width: 1366px) {
    .sort_1 {
        &.index-editor-template1 {
            padding: 70px 30px;
        }
    }
}
@media (max-width: 991px) {
    .sort_1 {
        &.index-editor-template1 {
            .about-block {
                .text {
                    padding: 60px 20px 0 50px;
                }
            }
        }
    }
}
@media (max-width: 768px) {
    .sort_1 {
        &.index-editor-template1 {
            .about-block {
                .img {
                    transform: translateY(-16%);
                }
                .text {
                    padding: 0 40px;
                }
            }
        }
    }
}
@media (max-width: 480px) {
    .sort_1 {
        &.index-editor-template1 {
            padding: 70px 10px 0;
            .about-block {
                .img {
                    transform: translateY(-25%);
                }
                .text {
                    padding: 0 20px;
                    transform: translateY(-8%);
                }
            }
        }
    }
}
.index-editor-template33 {
    .title {
        font-weight: 400;
    }
    .pic {
        img {
            width: auto;
            height: auto;
            max-height: 600px;
        }
    }
}
@media (max-width: 600px) {
    .index-editor-template33 {
        .pic {
            img {
                width: 100%;
                height: auto;
                max-height: none;
            }
        }
    }
}
.index-editor-template34 {
    .text {
        width: 40%;
        position: absolute;
        padding: 8px 15px;
        height: 120px;
        left: 10%;
    }
    a {
        position: absolute;
        right: 15%;
        padding: 20px 16px;
        transform: translate(0px, 50%);
    }
}
@media (max-width: 991px) {
    .index-editor-template34 {
        .text {
            bottom: -32px;
        }
        a {
            padding: 15px;
        }
    }
}
@media screen and (max-width: 480px) {
    .index-editor-template34 {
        .text {
            width: 90% !important;
            height: auto;
            position: relative;
            bottom: inherit !important;
            left: inherit;
        }

        a {
            padding: 8px;
            position: relative;
            right: inherit;
            transform: translate(0);
        }
    }
}

.index-list-effect-3 {
    .product__item {
        .text {
            width: calc(100% - 40px);
            height: calc(100% - 40px);
            left: 20px;
            top: 20px;
        }
    }
}
.ind-product {
    .product {
        .product__item {
            .text {
                .model {
                    display: none;
                }
            }
        }
    }
    .btnbox--right {
        padding-top: 30px;
    }
}
.index-editor-template33, .index-editor-template34 {
    padding: 100px 0;
}
@media (max-width: 1366px) {
    .index-editor-template33 {
        .btnbox {
            padding: 30px;
        }
    }
}
@media (max-width: 480px) {
    .index-editor-template33 {
        .btnbox {
            padding: 30px 10px;
        }
    }
}
@media (max-width: 991px) {
    .ind-news {
        .news {
            .news__item {
                width: 50%;
            }
        }
    }
    .ind-product {
        .product {
            .product__item {
                width: 50%;
            }
        }
    }
}
@media (max-width: 600px) {
    .ind-news {
        .news {
            .news__item {
                width: 100%;
            }
        }
    }
    .ind-product {
        .product {
            .product__item {
                width: 100%;
            }
        }
    }
}


/* others */
.main {
    .sidebar {
        display: none;
    }
    .inner {
        width: 100%;
    }
}
.breadcrumb-box {
    background-color: #222222;
    .breadcrumb {
        color: #999999;
        .breadcrumb__item {
            a {
                color: #999999;
            }
        }
    }
}
.inner > .title span::before {
    display: none;
}

/* 裝修計算機 */
.page-budget {
    .inner {
        > h2 {
            display: none;
        }
    }
}
:root {
    --bg-color: transparent; /* Use original body background */
    --card-bg: #FFFFFF;
    --primary-color: #b7ac97; /* Original accent color */
    --primary-dark: #FFFFFF; /* White text on selected */
    --primary-hover: #efefef;
    --text-main: #525252;
    --text-muted: #666666;
    --border-color: #eaeaea;
    --input-focus-border: #b7ac97;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 12px;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* Override background of the main wrapper */
.budget-wrapper {
    background-color: var(--bg-color);
    padding: 30px 10px 50px;
}

/* The left column form container */
.budget-form-area {
    flex: 1;
    min-width: 60%;
    padding-right: 40px;
    .title {
        &.title--top {
            margin-bottom: 15px;
            color: #333333;
        }
    }
    .title-wrapper {
        margin-bottom: 30px;
        .title {
            color: #555555;
        }
    }
    .form__group {
        .form__label {
            .form__title {
                margin-bottom: 0;
                padding: 0 !important;
            }
        }
    }
    .form-selection__text .form-selection__option, .form-selection__text .form-selection__note {
        margin-left: 6px;
    }
}
@media (max-width: 768px) {
    .budget-form-area {
        padding-right: 0;
    }
}

/* Card Style for Sections */
.budget-section-group {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border: none;
    .form__group {
        .form__label {
            .form__title {
                padding-left: 18px !important;
            }
        }
    }
    .form__select {
        select {
            &:focus {
                box-shadow: none;
            }
        }
    }
}
@media (max-width: 768px) {
    .budget-section-group {
        .budget-section-body {
            .form__group {
                .form__field {
                    padding: 10px 15px;
                    .form-selection {
                        &:last-child {
                            margin-bottom: 0;
                        }
                    }
                }
            }
        }
    }
}
@media (max-width: 600px) {
    .budget-section-group {
        padding: 20px 15px;
    }
}

/* Section Title override */
.budget-section-title {
    background: none;
    padding: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 24px;
    border-bottom: none;
    position: relative;
    &:after {
        width: 50px;
        height: 2px;
        position: absolute;
        left: 10px;
        bottom: 0;
        background-color: #b7ac97;
        content: "";
        transition: all 500ms ease-in-out;
    }
}

/* Removed display: none for budget-section-arrow so the icon can show */

/* Title of options */

.budget-field-desc {
    color: var(--text-muted);
}

/* Override input text */
.form__control {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: #fff;
    padding: 12px 16px;
}
.form__control:focus {
    border-color: var(--input-focus-border);
    box-shadow: 0 0 0 2px rgba(219, 197, 176, 0.3);
}

.budget-quote-wrapper {
    flex: 0 0 350px;
    position: sticky;
    top: 90px;
    align-self: flex-start;
}
@media (max-width: 768px) {
    .budget-quote-wrapper {
        flex: 0 0 100%;
    }
}

.budget-quote-card {
    /*background-color: var(--card-bg);*/
    /*border-radius: var(--radius-lg);*/
    /*padding: 30px;*/
    /*box-shadow: var(--shadow);*/
    border: none;
}

.budget-quote-title {
    font-size: 1.1rem;
    color: var(--text-main);
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 20px;
}

.budget-quote-total-box {
    background: #b7ac97;
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    margin-bottom: 24px;
    border: none;
    box-shadow: none;
    color: #ffffff;
}
.budget-quote-detail-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 10px 10px 0 0;
    background-color: #ddd;
}
.budget-quote-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px 20px;
    border-radius: 0 0 10px 10px;
    background-color: #f2f2f2;
}

.budget-quote-total-label {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.budget-quote-total-value {
    color: #ffffff;
    font-family: "Cormorant Garamond", serif;
    font-optical-sizing: auto;
    font-size: 2.6rem;
    font-weight: 700;
}

/* Buttons */
.budget-calc-btn {
    background-color: #b7ac97;
    color: #fff;
    border: none;
    border-radius: 8px; /* Original radius */
    font-weight: 700;
    transition: all 0.3s;
    width: 100%;
}
.budget-calc-btn:hover {
    background-color: #a49a88;
}

/* Adjust contact block */
.contact-section-group .title {
    text-align: left;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}
.contact-section-group .budget-desc-text {
    color: #666;
    font-weight: normal;
    margin-bottom: 30px;
    text-align: left;
    font-size: 0.95rem;
}
.contact-section-group .form__group.coldefault6 {
    text-align: left;
}
.contact-section-group .form__label {
    margin-bottom: 10px;
}
.contact-section-group .form__title {
    font-size: 1rem;
    font-weight: bold;
    border-left: none;
    padding-left: 0;
    background: none;
    margin-bottom: 0;
}
.contact-section-group .form__control {
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e1e1e1;
}
.contact-section-group .budget-btnbox {
    margin-top: 30px;
    text-align: left;
}
.contact-section-group .budget-calc-btn {
    width: auto;
    padding: 14px 40px;
    border-radius: 30px;
    background-color: #725642;
    font-size: 1rem;
}
.contact-section-group .budget-calc-btn:hover {
    background-color: #5c4535;
}

/* ---- Calculator 4 style imitating ---- */
#budget-calc-form {
    .form__title {
        font-weight: 700;
        font-size: 1.05rem;
        color: #333;
        display: block;
        padding: 10px 0;
        border-radius: 0 6px 6px 0;
    }
}
.budget-section-title {
    background-color: #f0f0f0;
    color: #333;
    border-radius: 8px;
    padding: 12px 16px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* ---- Collapse / Expand ---- */
.budget-section-toggle {
    cursor: pointer;
    user-select: none;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}
.budget-section-toggle:hover {
    background-color: #eef0f2;
}
.budget-section-arrow {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1;
    transition: transform 0.25s ease;
    color: #b7ac97;
    transform: rotate(180deg); /* 展開時向上 */
}
.budget-section-toggle.collapsed .budget-section-arrow {
    transform: rotate(0deg); /* 收合時朝下 (icon-angle-down 預設) */
}

/* 收合動態：Section body 展開/收合 */
.budget-section-body {
    overflow: hidden;
    max-height: 9999px;                 /* 展開狀態：幾乎無限 */
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 1;
    .form__group {
        .form__label {
            background-color: #e6dfd3;
            border-radius: 60px;
            padding: 6px 20px;
        }
    }
    .form-selection {
        .form-selection__text {
            padding-left: 35px;
            .form-selection__option {
                position: absolute;
                left: 0;
                top: 6px;
            }
        }
    }
}
.budget-section-body.collapsed {
    max-height: 0;
    opacity: 0;
    pointer-events: none;               /* 收合後防止誤觸 */
}

/* 收合按鈕 */
.budget-section-collapse-btn {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 8px 16px;
    background: none;
    border: 1px solid #b7ac97;
    border-radius: 6px;
    color: #b7ac97;
    font-size: 0.95rem;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s, color 0.2s;
}
.budget-section-collapse-btn:hover {
    background: #bbb;
    border-color: #bbb;
    color: #fff;
}
.collapse-btn-icon {
    display: inline-block;
    transform: rotate(180deg);
}

/* Extracted inline styles */
.budget-field-desc {
    display: block;
    font-size: 0.8rem;
    margin-top: 5px;
    color: #666;
}
.budget-section-toggle {
    cursor: pointer;
}

/* Sidebar rows */
.budget-quote-row {
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #ccc;
    &:last-child {
        border-bottom: none;
    }
}
.budget-quote-row.secondary {
    color: #666;
    font-size: 0.9em;
    line-height: 1.4;
}
.budget-quote-row span[id$="Price"] {
    font-weight: 500;
}
.budget-quote-notice {
    background: #f2f2f2;
    padding: 30px 20px;
    border-radius: 8px;
    border: 1px solid #b6b6b6;
    border-width: 3px 0;
    margin-top: 20px;
    font-size: 0.9rem;
}

.budget-quote-notice p {
    margin-bottom: 10px;
}

.budget-quote-notice label {
    font-weight: bold;
    color: #752323;
}

/* product */
.page-pdt {
    .inner {
        > .title {
            color: #333333;
        }
    }
    .product {
        display: grid;
        gap: 2rem;
        grid-template-columns: 1fr 1fr 1fr;
        .product__item {
            width: 100%;
            padding: 0;
            .text {
                .name {
                    text-align: left;
                }
                .model-div {
                    text-align: left;
                }
                span {
                    display: inline-block;
                }
                .pdt-type {
                    padding-right: 12px;
                    margin-right: 10px;
                    font-size: 16px;
                    display: inline-block;
                    position: relative;
                    &:after {
                        width: 1px;
                        height: 10px;
                        background-color: #333333;
                        position: absolute;
                        top: 12px;
                        right: 0;
                        content: '';
                        transform: rotate(30deg);
                    }
                }
            }
        }
    }
    .related {
        .product {
            display: flex;
            gap: normal;
            .product__item {
                padding: 20px 10px;
            }
        }
        .swiper-button-prev,.swiper-button-next {
            top: 40%;
        }
    }
}
@media (max-width: 768px) {
    .page-pdt {
        .product {
            grid-template-columns: 1fr 1fr;
        }
    }
}
@media (max-width: 600px) {
    .page-pdt {
        .product {
            grid-template-columns: 1fr;
        }
    }
}
.page-pdt-detail {
    .inner {
        max-width: 1000px;
        margin: auto;
    }
}
.basic {
    .basic__img {
        width: 65%;
    }
    .basic__info {
        width: 35%;
        padding: 0 0 60px 30px;
        flex-direction: column;
        justify-content: flex-end;
        .title {
            margin-bottom: 80px;
            text-align: right;
            font-weight: 300;
            color: #000000;
        }
        .model-div {
            padding: 0 20px 50px 0;
            display: grid;
            gap: 15px;
            grid-template-columns: 1.5fr 2fr;
            position: relative;
            &:before {
                width: 150px;
                height: 1px;
                position: absolute;
                right: 150px;
                bottom: 10px;
                content: "";
                background-color: #bdbdbd;
            }
            &:after {
                width: 100%;
                position: absolute;
                right: 0;
                bottom: 0;
                text-align: right;
                font-family: "Cormorant Garamond", serif;
                content: "INFORMATION";
            }
            .model {
                padding: 0 0 0 20px;
                border: none;
                font-size: 15px;
                position: relative;
                &:before {
                    margin-right: 0;
                    position: absolute;
                    left: 0;
                    top: 2px;
                }
                span {
                    margin-right: 7px;
                    /*color: #877e65;*/
                    /*font-size: 14px;*/
                    /*font-weight: 500;*/
                }
            }
        }
    }
}
@media (max-width: 1280px) {
    .basic {
        .basic__info {
            padding-left: 30px;
        }
    }
}
@media (max-width: 991px) {
    .basic {
        .basic__img, .basic__info {
            width: 100%;
        }
        .basic__img {
            .swiperBlock {
                margin-bottom: 30px;
            }
        }
        .basic__info {
            padding: 0 0 60px;
        }
    }
}
@media (max-width: 480px) {
    .basic {
        .basic__info {
            .title {
                margin-bottom: 50px;
            }
            .model-div {
                padding-right: 0;
                grid-template-columns: 1fr;
            }
        }
    }
}
.swiperclick {
    .swiperalbum__large {
        box-shadow: none;
        .swiper-slide {
            aspect-ratio: 4 / 2.6;
            img {
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
                object-fit: contain !important;
            }
        }
    }
}
.description {
    .tabs, .accordion-tab {
        display: none;
    }
}
.pro-block {
    > .title {
        &:before, &:after {
            width: 230px;
            border: none;
            background-color: #B7AC97;
        }
        &:before {
            left: 20px;
        }
        &:after {
            right: 20px;
        }
    }
}
@media (max-width: 768px) {
    .pro-block {
        > .title {
            &:before, &:after {
                width: 15%;
            }
        }
    }
}
#tab1, .hashtag-block {
    width: 75%;
    margin: auto;
}
@media (max-width: 768px) {
    #tab1, .hashtag-block {
        width: 70%;
    }
}
@media (max-width: 480px) {
    #tab1, .hashtag-block {
        width: 90%;
    }
}
/* Hashtag區塊 */
.hashtag-block {
    padding: 0 15px;
    gap: 20px;
    a {
        color: #99835a;
        position: relative;
        &:after {
            width: 90%;
            height: 1px;
            position: absolute;
            right: 0;
            bottom: -2px;
            content: "";
            background-color: #B7AC97;
            transition: all 500ms ease-in-out;
        }
        &:hover {
            color: #333333;
            &:after {
                width: 30%;
            }
        }
    }
}


/* about & news | inner & h2 | set */
.page-ab, .page-news, .page-sitemap, .page-cookie {
    .inner {
        display: grid;
        grid-template-columns: 1fr 3fr;
        gap: 0.5rem 2rem;
        > .title {
            height: max-content;
            padding-bottom: 1rem;
            margin-bottom: 5rem;
            color: #333333;
            font-weight: 400;
            position: relative;
            &:after {
                width: 70%;
                height: 1px;
                position: absolute;
                bottom: 0;
                right: 0;
                background-color: #aaaaaa;
                content: "";
            }
            span {
                padding: 10rem 0 13rem;
                display: block;
                position: relative;
                &:before, &:after {
                    width: 100%;
                    position: absolute;
                    left: 0.7rem;
                    font-weight: 500;
                    font-family: "Cormorant Garamond", serif;
                    color: #777777;
                }
                &:before {
                    font-size: 1.6rem;
                    bottom: 5.5rem;
                    transform: rotate(0);
                    display: block;
                }
                &:after {
                    white-space: pre; /* 或是使用 pre-wrap */
                    font-size: 2.2rem;
                    line-height: 2.4rem;
                    bottom: 0.5rem;
                }
            }
        }
        .webeditor {
            padding-left: 4rem;
        }
    }
}
@media (max-width: 768px) {
    .page-ab, .page-news, .page-sitemap, .page-cookie {
        .inner {
            display: grid;
            grid-template-columns: 1fr;
            > .title {
                span {
                    padding-top: 4rem;
                }
            }
        }
    }
}
@media (max-width: 600px) {
    .page-ab, .page-news, .page-sitemap, .page-cookie {
        .inner {
            > .title {
                margin-bottom: 0;
                span {
                    padding-bottom: 10rem;
                }
            }
        }
    }
}
@media (max-width: 375px) {
    .page-ab, .page-news, .page-cookie {
        .inner {
            .webeditor {
                padding-left: 2rem;
            }
        }
    }
}
/* about */
.page-ab {
    .inner {
        > .title {
            span {
                &:before {
                    content: "ABOUT";
                }
                &:after {
                    /* 使用 \A 來換行，注意 \A 前後可以加空格以免跟後面的文字黏連（如果後面是英文字母） */
                    content: 'YAO INTERIOR\A DESIGN';
                }
            }
        }
    }
}
.sort-about {
    margin-bottom: 2rem;
    .textblock {
        margin-top: 0;
        padding: 6rem 0 0 0;
        p {
            line-height: 2rem;
        }
    }
    .img {
        padding-top: 4rem;
        img {
            max-width: 80%;
            padding-left: 4rem;
            margin: 0 0 0 auto;
        }
    }
}
@media (max-width: 768px) {
    .sort-about {
        .textblock {
            padding-top: 0;
        }
    }
}
@media (max-width: 600px) {
    .sort-about {
        .img {
            img {
                max-width: 100%;
            }
        }
    }
}
@media (max-width: 375px) {
    .sort-about {
        .img {
            img {
                padding-left: 2rem;
            }
        }
    }
}
.page-ab-detail, .page-news-detail, .page-cookie {
    .inner {
        .btnbox {
            transform: translateY(-30px);
        }
    }
}
@media (max-width: 768px) {
    .page-ab-detail, .page-news-detail, .page-cookie {
        .inner {
            .btnbox {
                transform: translateY(0);
            }
        }
    }
}
.sort-designer {
    .textblock {
        padding: 4rem 3rem 0 0;
        .title-block {
            margin-bottom: 2rem;
        }
        hr {
            margin: 2rem 0;
            border: none; /* 先清除瀏覽器預設的陰影立體邊框 */
            border-top: 1px solid #aaa; /* 設定粗細、實線、顏色 (例如橘色) */
        }
        .text-ul {
            padding-left: 20px;
            li {
                margin-bottom: 1.5rem;
                padding-left: 10px;
                line-height: 1.8rem;
                list-style-type: decimal;
                p {
                    margin: 8px 0;
                }
            }
        }
    }
    .img {
        padding-bottom: 2rem;
        align-items: flex-end;
    }
}
@media (max-width: 600px) {
    .sort-designer {
        .textblock {
            padding-top: 2rem;
            margin-top: 0;
        }
    }
}
@media (max-width: 480px) {
    .sort-designer {
        .img {
            padding-top: 4rem;
        }
    }
}

/* news */
.page-news {
    .inner {
        > .title {
            span {
                &:before {
                    content: "NEWS";
                }
                &:after {
                    /* 使用 \A 來換行，注意 \A 前後可以加空格以免跟後面的文字黏連（如果後面是英文字母） */
                    content: 'YAO INTERIOR\A DESIGN';
                }
            }
        }
        .inner__div {
            padding-left: 4rem;
            .news--list {
                display: grid;
                grid-template-columns: 1fr 1fr 1fr;
                gap: 2rem;
                .news__item {
                    padding: 0;
                    margin-bottom: 0;
                    box-shadow: none;
                    border-bottom: none;
                    .img, .info {
                        width: 100%;
                    }
                    .info {
                        padding-left: 0;
                        h3 {
                            .title {
                                font-weight: 400;
                                color: #555555;
                            }
                        }

                    }
                }
            }
        }
    }
}

.news__item {
    .info {
        .description {
            display: none !important;
        }
        .date {
            i {
                display: none;
            }
            .news-type {
                padding-left: 12px;
                margin-left: 10px;
                font-size: 14px;
                display: inline-block;
                position: relative;
                &:before {
                    width: 1px;
                    height: 10px;
                    background-color: #333333;
                    position: absolute;
                    top: 12px;
                    left: 0;
                    content: '';
                    transform: rotate(30deg);
                }
            }
        }
    }
}
@media (max-width: 991px) {
    .page-news {
        .inner {
            .inner__div {
                .news--list {
                    grid-template-columns: 1fr 1fr;
                }
            }
        }
    }
}
@media (max-width: 768px) {
    .page-news {
        .inner {
            .inner__div {
                padding-left: 0;
            }
        }
    }
}
@media (max-width: 600px) {
    .page-news {
        .inner {
            .inner__div {
                .news--list {
                    grid-template-columns: 1fr;
                }
            }
        }
    }
}
.page-news-detail {
    .inner {
        max-width: 1000px;
        margin: auto;
    }
}

.sort-evaluate {
    .img {
        img {
            max-width: 100%;
            margin: 0;
        }
    }
}
.sort-column {
    .img {
        margin: 5px 0;
        img {
            max-width: 100%;
        }
    }
    .textblock {
        .introduction {
            padding: 20px;
            margin-bottom: 80px;
            background-color: #efefef;
        }
    }
    .top-img {
        margin: 40px 0 90px;
        img {
            width: 100%;
            height: auto;
        }
    }
    .table-info {
        margin: 0 0 90px;
        padding: 0 10px 20px;
        border-bottom: 1px solid #777777;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
        .item {
            &:first-child {
                grid-column: 1 / -1; /* 從縱向的第 1 條網格線，一路延伸到倒數第 1 條網格線; */
                /* 或者寫 grid-column: span 4; 這個格子要跨越 4 欄的寬度 */
            }
            span {
                width: 70px;
                margin-right: 15px;
                color: #797c80;
                display: inline-block;
            }
        }
    }
}
@media (max-width: 991px) {
    .sort-column {
        .table-info {
            grid-template-columns: repeat(2, 1fr);
        }
    }
}
@media (max-width: 375px) {
    .sort-column {
        .table-info {
            grid-template-columns: 1fr;
        }
    }
}

/* contact */
.page-contact {
    .contact-block {
        max-width: none;
        .contact-block__form {
            max-width: 1440px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 3fr;
            gap: 2rem;
            .contact-block__left {
                padding-bottom: 6rem;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                > .title {
                    height: max-content;
                    padding-bottom: 1rem;
                    margin-bottom: 3rem;
                    color: #333333;
                    font-weight: 400;
                    position: relative;
                    &:after {
                        width: 70%;
                        height: 1px;
                        position: absolute;
                        bottom: 0;
                        right: 0;
                        background-color: #aaaaaa;
                        content: "";
                    }
                    span {
                        padding: 10rem 0 13rem;
                        display: block;
                        position: relative;

                        &:before, &:after {
                            width: 100%;
                            position: absolute;
                            left: 0.7rem;
                            font-weight: 500;
                            font-family: "Cormorant Garamond", serif;
                            color: #777777;
                        }
                        &:before {
                            font-size: 1.6rem;
                            bottom: 5.5rem;
                            transform: rotate(0);
                            display: block;
                            content: "CONTACT";
                        }
                        &:after {
                            white-space: pre; /* 或是使用 pre-wrap */
                            font-size: 2.2rem;
                            line-height: 2.4rem;
                            bottom: 0.5rem;
                            /* 使用 \A 來換行，注意 \A 前後可以加空格以免跟後面的文字黏連（如果後面是英文字母） */
                            content: 'YAO INTERIOR\A DESIGN';
                        }
                    }
                }
                .webeditor {
                    iframe {
                        width: 100%;
                        height: 350px;
                        filter: grayscale(100%);
                        -webkit-filter: grayscale(100%);
                    }
                    .map {
                        position: relative;
                        &:after {
                            width: 100%;
                            height: calc(100% - 1rem - 24px);
                            position: absolute;
                            right: -10px;
                            bottom: -5px;
                            content: "";
                            background-color: #cbcbcb;
                            z-index: -1;
                        }
                        p {
                            padding: 0 0.7rem;
                        }
                    }
                }
            }
            .contact-block__div {
                padding-left: 4rem;
                .webeditor, .form {
                    width: 70%;
                    margin: 0 auto;
                }
                .form {
                    .form__select {
                        select {
                            &:focus {
                                box-shadow: none;
                            }
                        }
                    }
                }
            }
        }
        .contact-block__info {
            padding-left: 0;
            > .title {
                display: none;
            }
        }
        .contact-editor-template1 {
            margin-bottom: 3rem;
            li {
                padding: 5px 0 0 45px;
                position: relative;
                &:before {
                    width: 30px;
                    height: 30px;
                    font-weight: 500;
                    border-radius: 50%;
                    border: 2px solid #CCCCCC;
                    display: inline-flex;
                    justify-content: center;
                    align-items: center;
                    position: absolute;
                    left: 0;
                    top: 0;
                }
                &.company {
                    color: #333333;
                    span {
                        font-weight: 500;
                    }
                    &:before {
                        content: "C";
                        color: #555555;
                    }
                }
                &.tel {
                    &:before {
                        content: "T";
                    }
                }
                &.mail {
                    &:before {
                        content: "E";
                    }
                }
                &.add {
                    &:before {
                        content: "A";
                    }
                }
                &.business {
                    &:before {
                        content: "B";
                    }
                }
            }
        }
    }
}
@media (max-width: 991px) {
    .page-contact {
        .contact-block {
            .contact-block__form {
                grid-template-columns: 1.6fr 3fr;
                .contact-block__div {
                    .webeditor, .form {
                        width: 100%;
                    }
                }
            }
        }
    }
}
@media (max-width: 768px) {
    .page-contact {
        .contact-block {
            .contact-block__form {
                grid-template-columns: 1fr;
                .contact-block__left {
                    padding-bottom: 0;
                    > .title {
                        span {
                            padding-top: 4rem;
                        }
                    }
                }
                .contact-block__div {
                    padding-left: 0;
                    /*.webeditor, .form {*/
                    /*    width: 100%;*/
                    /*}*/
                }
            }
        }
    }
}

/* map tabs */
.tab-container {
    width: 100%;
    margin-top: 3rem;
    /*border-radius: 12px;*/
    /*box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05), 0 4px 6px rgba(0, 0, 0, 0.05);*/
    /*overflow: hidden;*/
}
.tab-wrapper {
    position: relative;
}
.tab-input {
    display: none;
}
.tab-panel {
    display: none;
    padding: 20px 0 0;
    animation: fadeIn 0.4s ease-out;
}
#tab1:checked ~ #panel1,
#tab2:checked ~ #panel2 {
    display: block;
}
.tab-list {
    display: flex;
    background-color: #FFFFFF;
    border-bottom: 1px solid #e5e7eb;
}
.tab-label {
    flex: 1;
    padding: 16px 24px;
    text-align: center;
    cursor: pointer;
    color: #6b7280;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent; /* 為啟動狀態預留底線空間 */
    border-left: 1px solid #f3f4f6;
}
.tab-label:first-child {
    border-left: none;
}
.tab-label:hover {
    color: #111827;
    background-color: #f3f4f6;
}
#tab1:checked ~ .tab-list [for="tab1"],
#tab2:checked ~ .tab-list [for="tab2"] {
    background-color: #ffffff;
    color: #333333;
    border-bottom: 2px solid #B7AC97;
}


/* sitemap */
.page-sitemap {
    .inner {
        > .title {
            span {
                &:before {
                    content: "SITEMAP";
                }
                &:after {
                    /* 使用 \A 來換行，注意 \A 前後可以加空格以免跟後面的文字黏連（如果後面是英文字母） */
                    content: 'YAO INTERIOR\A DESIGN';
                }
            }
        }
    }
}
.sitemap {
    .sitemap__item {
        h3 {
            position: relative;
            a {
                padding-bottom: 10px;
                background-color: transparent;
                color: #555555;
            }
            &:before, &:after {
                position: absolute;
                content: '';
            }
            &:before {
                width: 102px;
                height: 35px;
                background-color: #ebebeb;
                left: -18px;
                top: 19px;
                z-index: -1;
            }
            &:after {
                width: 65%;
                height: 1px;
                background-color: #999999;
                left: 0;
                bottom: 0;
            }
        }
        > ul {
            > li {
                list-style-type: square;
            }
        }
    }
}
@media (max-width: 991px) {
    .sitemap {
        .sitemap__item {
            h3 {
                &:before {
                    left: 8px;
                }
            }
        }
    }
}
@media (max-width: 480px) {
    .sitemap {
        .sitemap__item {
            h3 {
                &:after {
                    width: 100%;
                }
            }
        }
    }
}

/* Privacy */
.page-cookie {
    .inner {
        > .title {
            span {
                &:before {
                    content: "PRIVACY";
                }
                &:after {
                    /* 使用 \A 來換行，注意 \A 前後可以加空格以免跟後面的文字黏連（如果後面是英文字母） */
                    content: 'YAO INTERIOR\A DESIGN';
                }
            }
        }
    }
}





