:root {
    /* ==============================
     * 色彩
     * ============================== */
    --c-01: #2F533D; /* 深綠色 | 頁面名稱、大標題、重要文字 */
    --c-02: #59AD96; /* 綠色 | 品牌主色、按鈕、重點元素 */
    --c-03: #D8F5ED; /* 淺綠色 | 標籤、提示區塊背景 */
    --c-04: #B9B04E; /* 橄欖黃色 | 主要按鈕、重點提示 */
    --c-05: #D6D19F; /* 淺卡其色 | 次要區塊、裝飾元素 */
    --c-06: #F3EFC7; /* 淡黃色 | 提示訊息背景 */
    --c-07: #F1F6F0; /* 淺灰綠色 | 區塊背景 */
    --c-08: #FAFCF8; /* 淡灰綠色 | 頁面背景 */
    --c-09: #FFFFFF; /* 白色 | 容器、按鈕文字 */
    --c-10: #97CBBD; /* 淡綠色 | 次要標籤 */

    /* 一般文字 */
    --c-txt-1: #333333;
    --c-txt-2: #666666;
    --c-txt-3: #999999;
    --c-line: #DDE5DD;

    /* ==============================
     * 文字
     * ============================== */
    --fs-01: 40px; /* 頁面大標題 */
    --fs-02: 32px; /* 區塊標題 */
    --fs-03: 24px; /* 小標題 */
    --fs-04: 20px; /* 元件標題 */
    --fs-05: 16px; /* 一般文字 */
    --fs-06: 14px; /* 輔助文字 */
    --fs-07: 12px; /* 標籤、備註 */

    --fw-01: 500;
    --fw-02: 500;
    --fw-03: 700;

    --lh-01: 1.4;
    --lh-02: 1.6;
    --lh-03: 1.8;

    /* ==============================
     * 間距
     * ============================== */
    --sp-01: 4px;
    --sp-02: 8px;
    --sp-03: 12px;
    --sp-04: 16px;
    --sp-05: 24px;
    --sp-06: 32px;
    --sp-07: 48px;
    --sp-08: 64px;

    /* ==============================
     * 圓角
     * ============================== */
    --r-01: 4px;
    --r-02: 8px;
    --r-03: 12px;
    --r-04: 16px;
    --r-05: 20px;
    --r-50: 50%;
    --r-full: 999px;

    /* ==============================
     * 動畫
     * ============================== */
    --ts-01: 0.2s ease;
}

.c-01 { color: var(--c-01); }
.c-02 { color: var(--c-02); }
.c-03 { color: var(--c-03); }
.c-04 { color: var(--c-04); }
.c-05 { color: var(--c-05); }
.c-06 { color: var(--c-06); }
.c-07 { color: var(--c-07); }
.c-08 { color: var(--c-08); }
.c-09 { color: var(--c-09); }
.c-10 { color: var(--c-10); }

.bg-01 { background-color: var(--c-01); }
.bg-02 { background-color: var(--c-02); }
.bg-03 { background-color: var(--c-03); }
.bg-04 { background-color: var(--c-04); }
.bg-05 { background-color: var(--c-05); }
.bg-06 { background-color: var(--c-06); }
.bg-07 { background-color: var(--c-07); }
.bg-08 { background-color: var(--c-08); }
.bg-09 { background-color: var(--c-09); }
.bg-10 { background-color: var(--c-10); }

/* ==============================
* 文字
* ============================== */
.title-01 {
    color: var(--c-01);
    font-size: var(--fs-01);
    font-weight: var(--fw-03);
    line-height: var(--lh-01);
}
.title-02 {
    color: var(--c-01);
    font-size: var(--fs-02);
    font-weight: var(--fw-03);
    line-height: var(--lh-01);
}
.title-03 {
    color: var(--c-01);
    font-size: var(--fs-03);
    font-weight: var(--fw-02);
    line-height: var(--lh-01);
}
.txt-01 {
    color: var(--c-txt-1);
    font-size: var(--fs-05);
    font-weight: var(--fw-01);
    line-height: var(--lh-03);
}
.txt-02 {
    color: var(--c-txt-2);
    font-size: var(--fs-06);
    line-height: var(--lh-02);
}
.txt-03 {
    color: var(--c-txt-3);
    font-size: var(--fs-07);
    line-height: var(--lh-02);
}

/* ==============================
* 按鈕
* ============================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-02);
    min-height: 38px;
    padding: 6px 20px;
    border: 1px solid transparent;
    border-radius: var(--r-full);
    font-size: var(--fs-05);
    font-weight: var(--fw-02);
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
    transition:
        color var(--ts-01),
        background-color var(--ts-01),
        border-color var(--ts-01),
        box-shadow var(--ts-01),
        transform var(--ts-01);
}

/* 主要按鈕 */
.btn-01 {
    color: var(--c-09);
    background-color: var(--c-04);
    border-color: var(--c-04);
}
/* 滑鼠移入 */
.btn-01:hover {
    color: var(--c-09);
    background-color: var(--c-01);
    border-color: var(--c-01);
}
/* 點下 */
.btn-01:active,
.btn-01.active,
.btn-01.is-active {
    color: var(--c-09);
    background-color: #203F2D;
    border-color: #203F2D;
    transform: translateY(1px);
}
/* 鍵盤選取 */
.btn-01:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(89, 173, 150, 0.25);
}
/* 次要按鈕 */
.btn-02 {
    color: var(--c-01);
    background-color: var(--c-09);
    border-color: var(--c-01);
}
.btn-02:hover {
    color: var(--c-09);
    background-color: var(--c-01);
}
.btn-02:active,
.btn-02.active,
.btn-02.is-active {
    color: var(--c-09);
    background-color: #203F2D;
    border-color: #203F2D;
    transform: translateY(1px);
}
/* 不能點擊 */
.btn:disabled,
.btn.disabled,
.btn.is-disabled {
    color: #999999;
    background-color: #E5E5E5;
    border-color: #E5E5E5;
    box-shadow: none;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.7;
    transform: none;
}

/* ==============================
* SweetAlert2 按鈕
* ============================== */
.swal2-actions {
    gap: var(--sp-03);
}
.swal2-actions .swal2-styled {
    min-width: 140px;
    min-height: 44px;
    margin: 0;
    padding: 10px 24px;
    border: 1px solid transparent;
    border-radius: var(--r-full);
    font-size: var(--fs-05);
    font-weight: var(--fw-02);
    line-height: 1.4;
    box-shadow: none;
    transition:
        color var(--ts-01),
        background-color var(--ts-01),
        border-color var(--ts-01),
        box-shadow var(--ts-01),
        transform var(--ts-01);
}
.swal2-actions .swal2-confirm {
    color: var(--c-09);
    background-color: var(--c-04);
    border-color: var(--c-04);
}
.swal2-actions .swal2-confirm:hover {
    color: var(--c-09);
    background-color: var(--c-01);
    border-color: var(--c-01);
}
.swal2-actions .swal2-cancel {
    color: var(--c-01);
    background-color: var(--c-09);
    border-color: var(--c-01);
}
.swal2-actions .swal2-cancel:hover {
    color: var(--c-09);
    background-color: var(--c-01);
    border-color: var(--c-01);
}
.swal2-actions .swal2-deny {
    color: var(--c-09);
    background-color: #C94C4C;
    border-color: #C94C4C;
}
.swal2-actions .swal2-deny:hover {
    color: var(--c-09);
    background-color: #A83D3D;
    border-color: #A83D3D;
}
.swal2-actions .swal2-styled:active {
    transform: translateY(1px);
}
.swal2-actions .swal2-styled:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(89, 173, 150, 0.25);
}

@media (max-width: 575px) {
    .swal2-actions {
        width: 100%;
        padding: 0 20px;
    }
    .swal2-actions .swal2-styled {
        flex: 1;
        min-width: 0;
    }
}

/* ==============================
* 基礎版型
* ============================== */
* {
    box-sizing: border-box;
}
html,
body {
    margin: 0;
    padding: 0;
}
body {
    color: var(--c-txt-1);
    background-color: var(--c-09);
    font-family: Arial, "Noto Sans SC", "Microsoft JhengHei", sans-serif;
    font-size: var(--fs-05);
    font-weight: var(--fw-02);
}
body.is-menu-open {
    overflow: hidden;
}

/* ==============================
* 頁面載入
* ============================== */
.page-loading {
    position: fixed;
    z-index: 9999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--c-09);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.page-loading.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.page-loading-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(280px, calc(100vw - 64px));
}
.page-loading-logo {
    display: block;
    width: 130px;
    max-width: 100%;
    height: auto;
    animation: page-loading-logo 1.5s ease-in-out infinite;
}
.page-loading-line {
    position: relative;
    display: block;
    width: 130px;
    height: 3px;
    margin-top: 20px;
    overflow: hidden;
    background-color: var(--c-06);
    border-radius: var(--r-full);
}
.page-loading-line::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background-color: var(--c-04);
    border-radius: inherit;
    content: "";
    animation: page-loading-line 1.2s ease-in-out infinite;
}
@keyframes page-loading-logo {
    0%, 100% {
        opacity: 0.72;
        transform: scale(0.97);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes page-loading-line {
    0% {
        transform: translateX(-110%);
    }
    100% {
        transform: translateX(250%);
    }
}
@media (prefers-reduced-motion: reduce) {
    .page-loading-logo,
    .page-loading-line::after {
        animation: none;
    }
}
h1, h2, h3, h4, h5 {
    line-height: 1.2;
    font-weight: 700;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}
a:focus-visible {
    outline-offset: 1px;
    outline: unset;
}
button,
select {
    font: inherit;
}
button:focus {
    outline: none;
}
.section {
    position: relative;
    padding: 60px 45px 60px 45px;
    content-visibility: auto;
    background-color: var(--c-08);
}

@media only screen and (max-width: 576px) {
    .section {
        padding: 30px 15px 30px 15px;
    }
}
.page-wrap {
    width: 100%;
    min-height: 100vh;
    background-color: var(--c-09);
}
.main-content {
    /* min-height: 260vh;
    padding: 80px 24px;
    background-color: var(--c-08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; */
}
/* .layout-container {
    max-width: 1600px;
} */

@media (min-width: 1400px) {
    .site-header .container,
    .site-footer .container {
        max-width: 1320px;
    }
}

@media (min-width: 1600px) {
    .site-header .container,
    .site-footer .container {
        max-width: 1520px;
    }
}

@media (min-width: 1680px) {
    .site-header .container,
    .site-footer .container {
        max-width: 1600px;
    }
}

/* ==============================
* dropdown-menu
* ============================== */
.dropdown-menu-center {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

/* ==============================
* Header
* ============================== */
.site-header {
    position: relative;
    position: sticky;
    z-index: 100;
    background-color: rgba(250, 252, 248, 0.96);
    border-bottom: 1px solid var(--c-line);
    top: 0;
}
.header-inner {
    /* padding-right: 32px; */
    /* padding-left: 32px; */
}
.header-row {
    min-height: 68px;
}
.header-logo-column {
    display: flex;
    align-items: center;
}
.site-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}
.site-logo img {
    display: block;
    width: 120px;
    height: auto;
}
.header-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.header-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.header-nav-list,
.header-tool-list,
.mobile-nav-list,
.footer-link-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.mobile-nav-list {
    padding: 8px 0 0;
}
.header-nav-list,
.header-tool-list {
    display: flex;
    align-items: center;
}
.header-nav-list {
    gap: 30px;
}
.header-tool-list {
    gap: 12px;
}
.header-tool-list .header-setting-item:nth-child(2) {
    margin-right: 10px;
}
.header-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 24px 0;
    color: var(--c-01);
    white-space: nowrap;
}
.header-setting-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--c-txt-1);
    white-space: nowrap;
}
.header-setting-link i,
.header-nav-link i {
    font-size: 9px;
}
.header-setting-link.dropdown-toggle::after {
    display: none;
}
.header-icon-link.dropdown-toggle::after {
    display: none;
}
.header-setting-link[aria-expanded="true"] i {
    transform: rotate(180deg);
}
.header-setting-link i {
    transition: transform var(--ts-01);
}
.header-setting-menu {
    min-width: 150px;
    margin-top: 14px;
    padding: 8px 0;
    background-color: var(--c-09);
    border: 1px solid var(--c-line);
    border-radius: var(--r-05);
    box-shadow: 0 4px 12px rgba(47, 83, 61, 0.16);
}
.header-setting-menu .dropdown-item {
    padding: 8px 16px;
    color: var(--c-txt-1);
    font-size: var(--fs-05);
}
.header-setting-menu .dropdown-item:hover,
.header-setting-menu .dropdown-item:focus,
.header-setting-menu .dropdown-item.active {
    color: var(--c-02);
    background-color: unset;
}
.header-setting-link:hover {
    color: var(--c-02);
}
.header-nav-link:hover {
    color: var(--c-02);
}
.header-icon-link,
.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 28px;
    padding: 0;
    color: var(--c-01);
    background: transparent;
    border: 0;
    cursor: pointer;
}
.header-icon-link:hover,
.menu-toggle:hover {
    color: var(--c-02);
}
.menu-toggle i {
    font-size: var(--fs-03);
}
.menu-toggle[aria-expanded="true"] i {
    font-size: var(--fs-02);
}
.header-icon-link i {
    font-size: 18px;
}
.cart-link {
    position: relative;
}
.cart-count {
    position: absolute;
    top: -6px;
    right: -5px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 10px;
    height: 14px;
    padding: 0 4px;
    color: var(--c-09);
    background-color: var(--c-01);
    border-radius: var(--r-full);
    font-size: 10px;
    text-align: center;
}
.menu-toggle {
    display: none;
    font-size: 22px;
}
.desktop-submenu-wrap {
    position: relative;
}
.desktop-submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    display: none;
    min-width: 80px;
    padding: 14px 0;
    background-color: var(--c-08);
    border-radius: 0 0 16px 16px;
    box-shadow: 2px 3px 6px 1px rgba(47, 83, 61, 0.2);
    transform: translateX(-50%);
    border-top: 1px solid var(--c-line);
}
.desktop-submenu-wrap:hover .desktop-submenu,
.desktop-submenu-wrap:focus-within .desktop-submenu {
    display: block;
}
.desktop-submenu a {
    display: block;
    padding: 5px 20px;
    color: var(--c-txt-1);
    font-size: var(--fs-05);
    line-height: var(--lh-01);
    text-align: center;
    white-space: nowrap;
}
.desktop-submenu a:hover {
    color: var(--c-02);
}

/* 手機選單 */
.mobile-menu {
    display: none;
}

/* ==============================
* Footer
* ============================== */
.site-footer {
    padding: 26px 24px 0;
    color: var(--c-01);
    background-color: var(--c-07);
}
.footer-inner {
    margin: 0 auto 24px;
    /* padding-right: 32px; */
    /* padding-left: 32px; */
}
.footer-row {
    align-items: flex-start;
    margin-right: -20px;
    margin-left: -20px;
}
.footer-row > [class*="col-"] {
    padding-right: 20px;
    padding-left: 20px;
}
.footer-brand {
    padding-right: 20px;
}
.footer-logo {
    width: auto;
    display: inline-block;
}
.footer-menu-area {
    padding-right: 20px;
    padding-left: 20px;
}
.footer-menu-row {
    margin-right: -12px;
    margin-left: -12px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, auto));
    justify-content: space-between;
    column-gap: 24px;
}
.footer-column {
    width: auto;
    max-width: none;
    padding-right: 12px;
    padding-left: 12px;
}
.footer-settings {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    align-items: flex-end;
    padding-left: 20px;
}
.footer-logo img {
    display: block;
    width: 132px;
    height: auto;
}
.footer-slogan {
    margin: 16px 0 0;
    color: var(--c-txt-1);
    line-height: var(--lh-02);
}
.footer-title {
    margin: 0 0 20px;
    font-size: var(--fs-05);
    font-weight: var(--fw-03);
}
.footer-link-list li + li {
    margin-top: 4px;
}
.footer-link-list a:hover {
    color: var(--c-02);
}
.footer-select-group + .footer-select-group {
    margin-top: 16px;
}
.footer-select-label {
    display: block;
    margin-bottom: 6px;
    font-weight: var(--fw-02);
}
.footer-select {
    width: 140px;
    height: 36px;
    padding: 0 12px 0 14px;
    color: var(--c-04);
    background-color: transparent;
    border: 1px solid var(--c-04);
    border-radius: var(--r-full);
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}
.footer-select:focus-visible {
    outline: none;
}
.footer-select.dropdown-toggle::after {
    display: none;
}
.footer-select i {
    font-size: 9px;
    transition: transform var(--ts-01);
}
.footer-select[aria-expanded="true"] i {
    transform: rotate(180deg);
}
.footer-select-menu {
    min-width: 140px;
    margin-top: 6px;
    padding: 6px 0;
    background-color: var(--c-07);
    border: 1px solid var(--c-04);
    border-radius: var(--r-05);
    box-shadow: 0 4px 12px rgba(47, 83, 61, 0.16);
    overflow: hidden;
}
.dropup .footer-select-menu {
    margin-bottom: 6px;
}
.mobile-menu .footer-select-menu {
    background-color: var(--c-09);
}
.footer-select-menu .dropdown-item {
    padding: 7px 14px;
    color: var(--c-txt-1);
    font-size: var(--fs-05);
}
.footer-select-menu .dropdown-item:hover,
.footer-select-menu .dropdown-item:focus,
.footer-select-menu .dropdown-item.active {
    color: var(--c-04);
    background-color: unset;
}
.footer-copyright {
    margin: 0 -24px;
    padding: 4px 16px;
    color: var(--c-09);
    background-color: var(--c-01);
    font-size: 12px;
    letter-spacing: 0.2px;
    text-align: center;
    font-weight: 400;
}

/* ==============================
* 懸浮聯絡選單
* ============================== */
.floating-actions {
    position: fixed;
    z-index: 110;
    right: 32px;
    bottom: 48px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}
.floating-contact {
    position: relative;
}
.floating-contact-panel {
    position: absolute;
    right: 0;
    bottom: 64px;
    width: 360px;
    padding: 20px 16px;
    background-color: var(--c-09);
    border: 1px solid var(--c-line);
    border-radius: var(--r-04);
    box-shadow: 0 8px 28px rgba(47, 83, 61, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--ts-01), visibility var(--ts-01), transform var(--ts-01);
}
.floating-contact.is-open .floating-contact-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.floating-contact-title {
    margin: 0 0 18px;
    color: var(--c-01);
    font-size: var(--fs-04);
    font-weight: var(--fw-03);
    text-align: center;
}
.floating-contact-info {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--c-line);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.floating-contact-info-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--c-txt-1);
    line-height: var(--lh-02);
    width: 90%;
    min-width: 175px;
}
.floating-contact-info-link + .floating-contact-info-link {
    margin-top: 10px;
}
.floating-contact-info-link:hover {
    color: var(--c-02);
}
.floating-contact-info-link i {
    width: 20px;
    flex-shrink: 0;
    color: var(--c-01);
    font-size: 18px;
    text-align: center;
}
.floating-contact-info-link span {
    min-width: 0;
    white-space: nowrap;
}
.floating-contact-social {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    padding-top: 18px;
}
.floating-contact-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    transition: transform var(--ts-01);
}
.floating-contact-social-link:hover {
    transform: translateY(-2px);
}
.floating-contact-social-link img {
    display: block;
    width: 34px;
    height: 34px;
    object-fit: contain;
}
.floating-contact-toggle,
.back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    color: var(--c-09);
    background-color: var(--c-04);
    border: 0;
    border-radius: var(--r-50);
    box-shadow: 0 5px 16px rgba(47, 83, 61, 0.24);
    cursor: pointer;
    transition: background-color var(--ts-01), transform var(--ts-01);
}
.floating-contact-toggle:hover,
.back-to-top:hover {
    background-color: var(--c-01);
}
.floating-contact-toggle:active,
.back-to-top:active {
    transform: translateY(1px);
}
.floating-contact-toggle:focus-visible,
.back-to-top:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(185, 176, 78, 0.25), 0 5px 16px rgba(47, 83, 61, 0.24);
}
.floating-contact-toggle i,
.back-to-top i {
    font-size: 24px;
    line-height: 1;
}
.back-to-top {
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    transition: background-color var(--ts-01), opacity var(--ts-01), visibility var(--ts-01), transform var(--ts-01);
}
.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

@media (max-width: 991px) {
    .header-inner {
        width: 100%;
        padding: 0 18px;
    }
    .header-row {
        min-height: 76px;
    }
    .site-logo img {
        width: 126px;
    }
    .header-nav {
        display: none;
    }
    .header-nav-list {
        display: none;
    }
    .header-setting-item {
        display: none;
    }
    .header-member-item {
        display: none;
    }
    .header-tool-list {
        margin-left: auto;
        gap: 8px;
    }
    .header-icon-link {
        width: 28px;
        height: 28px;
        font-size: 17px;
    }
    .menu-toggle {
        display: inline-flex;
        margin-left: 10px;
    }
    .mobile-menu {
        position: fixed;
        z-index: 99;
        top: 76px;
        right: 0;
        bottom: 0;
        left: 0;
        display: block;
        padding: 0;
        overflow: hidden;
        background-color: rgba(0, 0, 0, 0.25);
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--ts-01), visibility var(--ts-01);
    }
    .mobile-menu.is-open {
        opacity: 1;
        visibility: visible;
    }
    .mobile-menu-inner {
        max-height: 100%;
        padding: 6px 32px 28px;
        background-color: var(--c-09);
        overflow-y: auto;
        transform: translateY(-100%);
        transition: transform var(--ts-01);
    }
    .mobile-menu.is-open .mobile-menu-inner {
        transform: translateY(0);
    }
    .mobile-nav-item {
        border-bottom: 1px solid transparent;
    }
    .mobile-nav-link,
    .mobile-submenu-toggle {
        display: flex;
        align-items: center;
        /* justify-content: space-between; */
        width: 100%;
        min-height: 40px;
        padding: 8px 0;
        color: var(--c-txt-1);
        background: transparent;
        border: 0;
        text-align: left;
        cursor: pointer;
        column-gap: 10px;
    }
    .mobile-nav-link:hover,
    .mobile-submenu-toggle:hover {
        color: var(--c-02);
    }
    .mobile-submenu-toggle i {
        color: var(--c-01);
        font-size: 11px;
        transition: transform var(--ts-01);
    }
    .mobile-nav-item.is-open .mobile-submenu-toggle i {
        transform: rotate(180deg);
    }
    .mobile-submenu {
        display: none;
        margin: 0 0 0px;
        padding: 0 0 0 14px;
        list-style: none;
    }
    .mobile-nav-item.is-open .mobile-submenu {
        display: block;
    }
    .mobile-submenu a {
        display: block;
        padding: 8px 0;
        color: var(--c-txt-1);
    }
    .mobile-setting {
        margin-top: 10px;
    }
    .mobile-setting-label {
        display: block;
        margin-bottom: 6px;
    }
    .main-content {
        /* min-height: 280px;
        padding: 56px 20px; */
    }
    .site-footer {
        padding: 30px 16px 0;
    }
    .footer-inner {
        margin: 0 0 22px;
        padding-right: 0;
        padding-left: 0;
    }
    .footer-row {
        display: block;
        margin-right: 0;
        margin-left: 0;
    }
    .footer-row > [class*="col-"] {
        padding-right: 0;
        padding-left: 0;
    }
    .footer-menu-area {
        padding-right: 0;
        padding-left: 0;
    }
    .footer-menu-row {
        display: block;
        margin-right: 0;
        margin-left: 0;
    }
    .footer-brand,
    .footer-column {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        min-width: 0;
        margin-right: 0;
    }
    .footer-logo img {
        width: 128px;
    }
    .footer-slogan {
        margin-top: 14px;
    }
    .footer-column {
        margin-top: 24px;
        padding-right: 0;
        padding-left: 0;
    }
    .footer-title {
        margin-bottom: 10px;
    }
    .footer-link-list li + li {
        margin-top: 3px;
    }
    .footer-settings {
        display: block;
        margin-top: 24px;
        padding-left: 0;
    }
    .footer-copyright {
        margin: 0 -16px;
        padding: 5px 8px;
        font-size: 11.5px;
    }
    .floating-actions {
        z-index: 98;
        right: 18px;
        bottom: 24px;
    }
    .floating-contact-panel {
        bottom: 64px;
        width: min(360px, calc(100vw - 36px));
        padding: 20px;
    }
    .floating-contact-toggle,
    .back-to-top {
        width: 48px;
        height: 48px;
    }
    .floating-contact-toggle i,
    .back-to-top i {
        font-size: 22px;
    }
}

@media (max-width: 374px) {
    .page-loading-logo {
        width: 160px;
    }
    .page-loading-line {
        width: 120px;
    }
    .header-inner {
        padding: 0 12px;
    }
    .site-logo img {
        width: 112px;
    }
    .header-tool-list {
        gap: 3px;
    }
}



/* ==============================
* 頁面左側篩選
* ============================== */
.filter-tabs {
	width: 200px;
	background: var(--c-09);
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 0 8px 18px rgba(47, 83, 61, 0.12);
}
.filter-tab {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 38px;
	padding: 9px 16px 9px 58px;
	border: 0;
	border-bottom: 1px solid var(--c-06);
	background: var(--c-09);
	color: #000;
	font-size: var(--fs-05);
	font-weight: 400;
	line-height: 1.4;
	text-align: left;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}
.filter-tab:last-child {
	border-bottom: 0;
}
/* 第一列 */
.filter-tab:first-child {
	min-height: 58px;
	background: var(--c-01);
	color: var(--c-09);
	border-bottom: 0;
	font-weight: 400;
}
/* 一般分類 icon */
.filter-tab:not(:first-child)::before {
	content: "";
	position: absolute;
	left: 26px;
	top: 50%;
	width: 20px;
	height: 20px;
	background-image: url('/upload/news_img/產品未選取.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	transform: translateY(-50%);
}
/* 選取中的分類 icon */
.filter-tab.active:not(:first-child)::before {
	background-image: url('/upload/news_img/產品選取.png');
}
/* 書籤圖示版本：未選取 */
.filter-tabs.bookmark-icon .filter-tab:not(:first-child)::before {
	content: "\f02e";
	background-image: none;
	font-family: "Font Awesome 6 Free";
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
	text-align: center;
}
/* 書籤圖示版本：已選取 */
.filter-tabs.bookmark-icon .filter-tab.active:not(:first-child)::before {
	background-image: none;
	font-weight: 900;
}
.filter-tab-icon {
	position: absolute;
	left: 28px;
	top: 50%;
	font-size: 18px;
	color: var(--c-09);
	transform: translateY(-50%);
}
/* hover */
.filter-tab:not(:first-child):hover {
	background: var(--c-06);
}
/* active */
.filter-tab.active:not(:first-child) {
	background: var(--c-06);
	color: var(--c-txt-1);
}
@media (max-width: 991px) {
	.filter-tabs {
		width: 160px;
	}
}
@media (max-width: 767px) {
	/* 產品分類改下拉式 */
	.filter-tabs {
		display: block;
		width: 100%;
		margin-bottom: 24px;
		border: 1px solid var(--c-06);
		background: var(--c-09);
		box-shadow: none;
		overflow: hidden;
		border-radius: 22px;
	}
	/* 所有按鈕 */
	.filter-tab,
	.filter-tab:first-child {
		position: relative;
		display: none;
		width: 100%;
		min-height: 48px;
		padding: 10px 46px;
		border: 0;
		border-bottom: 1px solid var(--c-06);
		background: var(--c-09);
		color: var(--c-txt-1);
		text-align: left;
		white-space: normal;
	}
	/* 第一個按鈕永遠顯示，當作下拉標題 */
	.filter-tab:first-child {
		display: flex;
		align-items: center;
		background: var(--c-01);
		color: var(--c-09);
		border-bottom: 0;
	}
	/* 展開後顯示其他分類 */
	.filter-tabs.is-open .filter-tab:not(:first-child) {
		display: flex;
		align-items: center;
	}
	/* 展開後第一列補底線 */
	.filter-tabs.is-open .filter-tab:first-child {
		border-bottom: 1px solid var(--c-06);
	}
	/* 第一列 filter icon */
	.filter-tab-icon {
		left: 16px;
		color: var(--c-09);
	}
	/* 第一列右側箭頭 */
	.filter-tab:first-child::after {
		content: "\f107";
		position: absolute;
		right: 18px;
		top: 50%;
		font-family: "FontAwesome";
		font-size: 18px;
		color: var(--c-09);
		transform: translateY(-50%);
		transition: transform .2s ease;
	}
	/* 展開時箭頭朝上 */
	.filter-tabs.is-open .filter-tab:first-child::after {
		transform: translateY(-50%) rotate(180deg);
	}
	/* 一般分類 icon */
	.filter-tab:not(:first-child)::before {
		left: 16px;
	}
	/* 最後一筆不要底線 */
	.filter-tab:last-child {
		border-bottom: 0;
	}
}

/* ==============================
* 列表頁 搜尋框、排序
* ============================== */
/* 搜尋 + 排序 */
.page-toolbar {
	display: flex;
	align-items: center;
	gap: 22px;
	margin-bottom: 24px;
}

/* 搜尋框 */
.page-search {
	position: relative;
	height: 34px;
}

.page-search input {
	width: 100%;
	height: 100%;
	padding: 0 16px 0 38px;
	border: 1px solid var(--c-04);
	border-radius: 999px;
	background: var(--c-08);
	color: var(--c-txt-1);
	font-size: var(--fs-05);
	font-weight: 400;
	outline: 0;
}

.page-search input::placeholder {
	color: var(--c-04);
	opacity: 1;
}

.page-search input:focus {
	border-color: var(--c-04);
}

.page-search button {
	position: absolute;
	left: 13px;
	top: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--c-04);
	font-size: 12px;
	transform: translateY(-50%);
	cursor: pointer;
}

/* 排序 */
.page-sort {
	position: relative;
	height: 34px;
}

.page-sort-icon {
	position: absolute;
	left: 13px;
	top: 50%;
	z-index: 1;
	color: var(--c-04);
	font-size: 13px;
	transform: translateY(-50%);
	pointer-events: none;
}

.page-sort select {
	width: 100%;
	height: 100%;
	padding: 0 34px 0 36px;
	border: 1px solid var(--c-04);
	border-radius: 999px;
	background-color: var(--c-08);
	color: var(--c-04);
	font-size: var(--fs-05);
	font-weight: 400;
	outline: 0;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

.page-sort::after {
	content: "\f107";
	position: absolute;
	right: 14px;
	top: 50%;
	font-family: "FontAwesome";
	font-size: 12px;
	color: var(--c-04);
	transform: translateY(-50%);
	pointer-events: none;
}

@media (max-width: 767px) {
    .page-toolbar {
		display: flex;
		gap: 10px;
		margin-bottom: 22px;
	}

	.page-search {
		flex: 1 1 auto;
		width: auto;
		min-width: 0;
	}

	.page-sort {
		flex: 0 0 170px;
	}
}

@media (max-width: 480px) {
	.page-toolbar {
		display: block;
	}

	.page-search {
		width: 100%;
		margin-bottom: 10px;
	}

	.page-sort {
		margin-left: auto;
	}
}

/* ==============================
* 產品卡片
* ============================== */
.product-wrap {
    text-align: center;
}
.product-swiper-wrap {
    position: relative;
    padding: 0 40px 45px 40px;
}
.product-center-swiper .swiper-wrapper {
    align-items: stretch;
}
.product-center-swiper .swiper-slide {
    height: auto;
    display: flex;
}
.product-prev,
.product-next {
    position: absolute;
    top: calc(50% - 22.5px);
    transform: translateY(-50%);
    z-index: 5;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #868686;
    font-size: 60px;
    line-height: 1;
    user-select: none;
    font-weight: 100;
}
.product-prev {
    left: 0;
}
.product-next {
    right: 0;
}
.product-card {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    background: var(--c-08);
    text-decoration: none;
    color: inherit;
    border-radius: 30px;
    box-shadow: 2px 2px 10px 0 #2F533D40;
    margin: 5px;
    min-height: 350px;
}
.product-card img {
    width: 100%;
    height: 70%;
    object-fit: cover;
    display: block;
}
.product-card .ptag {
    position: absolute;
    right: 20px;
    top: 15px;
}
.product-card .ptag span {
    color: var(--c-09);
    background-color: var(--c-04);
    border-radius: 100px;
    padding: 3px 12px;
    font-size: 14px;
}
.product-info {
    width: 100%;
    padding: 20px 20px 25px 20px;
    color: #000000;
    box-sizing: border-box;
    text-align: left;
}
.product-info-title {
    color: #000000;
    font-size: 26px;
    font-weight: 700;
    line-height: 38px;
    width: 100%;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    margin-bottom: 10px;
}
.product-tag-group {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    overflow: hidden;
}
.product-tag-group .tag {
    flex: 0 0 auto;
    box-sizing: border-box;
    min-width: 0;
    background-color: var(--c-03);
    border-radius: 100px;
    padding: 3px 12px;
    font-size: 14px;
}
.product-tag-group .tag:hover {
    background-color: var(--c-02);
}
.product-tag-group .tag span {
    color: var(--c-01);
    display: block;
    white-space: nowrap;
}
.product-tag-group .tag:hover span {
    color: var(--c-09);
}
.product-tag-group .tag.is-ellipsis {
    flex-shrink: 1;
}
.product-tag-group .tag.is-ellipsis span {
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 576px) {
    .product-card img {
        height: 65%;
    }
}

/* ==============================
* 自訂 scrollbar
* ============================== */
.swiper-scrollbar-custom {
    position: absolute;
    left: 50%;
    bottom: 10px;
    width: 180px;
    height: 8px;
    transform: translateX(-50%);
    background-color: var(--c-06);
    border-radius: 999px;
    opacity: 1;
}
/* 可拖曳的深色滑塊 */
.swiper-scrollbar-custom .swiper-scrollbar-drag {
    height: 100%;
    background-color: var(--c-04);
    border-radius: 999px;
}

/* ==============================
* OEM / ODM 的卡片
* ============================== */
.case-swiper .swiper-wrapper {
    align-items: stretch;
}
.case-swiper .swiper-slide {
    height: auto;
    display: flex;
}
.case-swiper-wrap {
    position: relative;
    padding: 0 40px 45px 40px;
}
.case-prev,
.case-next {
    position: absolute;
    top: calc(50% - 22.5px);
    transform: translateY(-50%);
    z-index: 5;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #868686;
    font-size: 60px;
    line-height: 1;
    user-select: none;
    font-weight: 100;
}
.case-prev {
    left: 0;
}
.case-next {
    right: 0;
}
.case-card {
    position: relative;
    display: block;
    width: 100%;
    width: 100%;
    box-sizing: border-box;
    background: var(--c-08);
    border-radius: 30px;
    box-shadow: 2px 2px 10px 0 #2F533D40;
    margin: 5px;
    padding: 20px;
}
.case-info {
    width: 100%;
    min-height: 68px;
    color: #000000;
    text-align: left;
    backdrop-filter: blur(2px);
    box-sizing: border-box;
}
.case-info-sn {
    color: var(--c-01);
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
}
.case-info-title {
    color: #000000;
    font-size: 26px;
    font-weight: 700;
    line-height: 38px;
    width: 100%;
    margin: 0;
    /*display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;*/
    word-break: break-word;
    margin-bottom: 12px;
}
.case-info-content {
    font-size: 16px;
    line-height: 26px;
}

@media (max-width: 992px) {
    .case-info {
        min-height: 60px;
        padding: 8px 14px;
    }
}

/* ==============================
* 精選行業的卡片
* ============================== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 70px;
}
.category-card {
    width: 100%;
    min-width: 0;
}
.category-link {
    display: block;
    text-decoration: none;
}
.category-title {
    padding: 8px 0 0;
    color: #000000;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
}
.category-img {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: 30px;
    overflow: hidden;
    background: var(--c-08);
    box-shadow: 2px 2px 10px 0 #2F533D40;
}
.category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 576px) {
    .category-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

/* ==============================
* 查看更多按鈕
* ============================== */
.view-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    height: 38px;
    padding: 0 20px;
    border: 1px solid var(--c-04);
    color: var(--c-09);
    background: var(--c-04);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border-radius: 100px;
}
.view-more-btn:hover {
    color: var(--c-09);
    background-color: var(--c-01);
    border-color: var(--c-01);
}

/* ==============================
* 圖片 hover效果
* ============================== */
.img-hover-zoom {
	overflow: hidden;
}
.img-hover-zoom img {
	transition: transform 2.0s ease;
	will-change: transform;
}
.img-hover-zoom:hover img {
	transform: scale(1.08);
}

/* ==============================
* 查無資料
* ============================== */
.document-empty {
    padding: 60px 20px;
    color: var(--c-txt-2);
    font-size: var(--fs-05);
    text-align: center;
}