/*
Theme Name: My Theme
Description: 一個現代化的WordPress主題
Version: 1.0
Author: Your Name
Author URI: https://yoursite.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-theme
*/

/* 導入 Taipei Sans TC Beta 字型 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap');

/* 防止水平溢出 */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* WooCommerce 商品簡短說明：多圖無縫銜接 */
.short-description-section .short-description-content p {
    margin: 0;
}

.short-description-section .short-description-content figure,
.short-description-section .short-description-content .wp-block-image {
    margin: 0;
}

.short-description-section .short-description-content img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0; /* 移除上下空白 */
}


/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Screen reader only - 僅供螢幕閱讀器使用，視覺上隱藏 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

body {
    font-family: 'Noto Sans TC', 'Taipei Sans TC Beta', 'Microsoft JhengHei', 'PingFang TC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: white;
    padding-top: 130px; /* 為固定header留出空間 */
    text-align: left; /* 確保對齊為主 */
}

/* 全局對齊設定 */
* {
    text-align: inherit;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left; /* 確保對齊為主 */
}

/* 头部样式 */
.site-header {
    background-color: #fff;
    box-shadow: none; /* 預設不顯示陰影，避免看起來像滿版線條 */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    /* 往上收起的小動畫 */
    transition: transform 0.25s ease-out, opacity 0.25s ease-out;
}

/* 超過首頁 hero 區塊後，讓固定 header 往上收起並淡出 */
.site-header.site-header--hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.header-top {
    padding: 30px 0; /* 增加30px上下間距 (15px + 30px = 45px) */
    border-bottom: none; /* 移除多餘的滿版分隔線 */
}

/* Header 區容器：滿版 + 響應式左右留白 */
.header-top .container {
    max-width: none;
    width: 100%;
    margin: 0; /* 取消置中限制，讓左右可貼齊視窗 */
    padding-inline: clamp(16px, 4vw, 80px);
}

.header-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* 左空白 / 中logo / 右工具列 */
    align-items: center;
    column-gap: 16px;
}
.header-left-tools {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    grid-column: 1; /* 左側欄位 */
}

/* Logo樣式 */
.site-branding {
    display: flex;
    justify-content: center;
    grid-column: 2; /* 中間欄位 */
}

.logo-link {
    display: inline-block;
    text-decoration: none;
}

.site-logo {
    width: auto;
    height: 60px; /* 放大1.2倍 (39px * 1.2 = 46.8px) */
    display: block;
    transition: transform 0.3s ease;
}

.logo-link:hover .site-logo {
    transform: scale(1.05);
}

/* 工具圖標區域 */
.header-tools {
    display: flex;
    align-items: center;
    gap: 0px;
    justify-content: flex-end;
    grid-column: 3; /* 右側欄位 */
}

.mobile-only {
    display: none;
}

.header-tools .tool-icon.mobile-only {
    display: none !important;
}

/* 桌面端：不使用負 margin，改由容器留白控制對齊 */
@media (min-width: 1024px) {
    .header-tools { margin-right: 0; }
}


.tool-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 29px; /* 36px * 0.8 = 28.8px */
    height: 29px; /* 36px * 0.8 = 28.8px */
    border-radius: 50%;
    background: transparent; /* 使用原圖，取消底色 */
    text-decoration: none;
    position: relative;
    overflow: hidden;
    padding: 0; /* 讓圖示可滿版貼齊 */
    transition: all 0.3s ease;
}

/* 工具圖標hover效果 */
.tool-icon:hover {
    transform: scale(1.1);
}

.tool-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 滿版填滿容器 */
    filter: none; /* 顯示原色 */
    display: block;
}

/* 聯絡我們按鈕 */

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 29px; /* 36px * 0.8 = 28.8px */
    padding: 0; /* 取消內距，讓圖示滿版 */
    background: transparent; /* 使用原圖底色 */
    border-radius: 6px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* 聯絡我們按鈕hover效果 */
.contact-btn:hover {
    transform: scale(1.05);
}

.contact-btn img {
    width: auto;
    height: 100%;
    object-fit: contain; /* 膠囊圖等比貼齊高度 */
    filter: none; /* 顯示原色 */
    display: block;
}

/* 导航菜单 */
.main-navigation {
    background-color: #fff;
    border-bottom: none; /* 移除多餘的滿版分隔線 */
    padding: 0;
}

.main-navigation .container {
    display: block; /* 讓選單可滿版撐開 */
    max-width: none;
    width: 100%;
    padding-inline: clamp(16px, 4vw, 80px); /* 與上層一致的響應式留白 */
}

.main-navigation ul {
    list-style: none;
    display: flex;
    justify-content: space-between; /* 滿版平均分配 */
    align-items: flex-start; /* 改為頂部對齊，讓padding生效 */
    width: 100%;
    gap: 0;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
    flex: 1 1 0; /* 每個項目平均分配寬度 */
    text-align: center;
}

/* 桌面端隱藏行動裝置專用的「聯絡我們」選項 */
.main-navigation li.mobile-only {
    display: none;
}

.main-navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    font-size: 19.6px; /* 縮小為70% (28px * 0.7 = 19.6px) */
    font-family: 'Noto Sans TC', 'Taipei Sans TC Beta', 'Microsoft JhengHei', 'PingFang TC', 'Helvetica Neue', Arial, sans-serif;
    padding: 22px 24px 0px 24px; /* 下方增加20px空白間距 (22px + 20px = 42px) */
    display: block;
    position: relative;
    z-index: 10;
    white-space: nowrap;
    pointer-events: auto; /* 恢復點擊效果 */
    cursor: pointer; /* 恢復手型游標 */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* 更平滑的過渡效果 */
}

/* 選單hover效果 */
.main-navigation a:hover {
    color: #007cba; /* 藍色hover效果 */
    background-color: rgba(0, 124, 186, 0.05); /* 淡藍色背景 */
    transform: translateY(-2px); /* 輕微上移效果 */
}

/* 選單下劃線效果 */
.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 2px; /* 緊貼文字底部，只留2px間距 */
    left: 50%;
    width: 0;
    height: 4.5px; /* 加粗1.5倍 (3px * 1.5 = 4.5px) */
    background: linear-gradient(90deg, #87ceeb, #b0e0e6); /* 更淡的藍色漸層下劃線 */
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.main-navigation a:hover::after {
    width: 80%; /* hover時顯示下劃線 */
    box-shadow: 0 2px 4px rgba(135, 206, 235, 0.3); /* 下劃線陰影效果 - 與淡藍色底線一致 */
}

/* 當前頁面選單項目效果 */
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation .active > a,
.main-navigation a.active,
.main-navigation a.current-page-active {
    color: #007cba;
    transform: translateY(-2px); /* 與hover效果一致 */
}

.main-navigation .current-menu-item > a::after,
.main-navigation .current_page_item > a::after,
.main-navigation .active > a::after,
.main-navigation a.active::after,
.main-navigation a.current-page-active::after {
    width: 80%; /* 當前頁面顯示下劃線 */
    box-shadow: 0 2px 4px rgba(135, 206, 235, 0.3); /* 下劃線陰影效果 - 與淡藍色底線一致 */
    bottom: 2px; /* 緊貼文字底部，只留2px間距 */
}

/* 漢堡選單按鈕 */
    .menu-toggle {
        display: none; /* 預設隱藏，在行動裝置端顯示 */
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        position: relative;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        transition: background-color 0.3s ease;
    }

.menu-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #1a365d;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: #1a365d;
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* 主要内容区域 */
.site-main {
    padding: 2rem 0;
}

/* 頁面標題樣式 */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.page-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.page-description {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* 文章样式 */
.entry {
    background: #fff;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.entry-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.entry-title a {
    text-decoration: none;
    color: inherit;
}

.entry-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.entry-content {
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1rem;
}

/* 单篇文章页面样式 */
.single-entry {
    max-width: 100%;
}

.single-entry .entry-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #333;
    border-bottom: 3px solid #007cba;
    padding-bottom: 1rem;
}

.single-entry .entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 5px;
}

.single-entry .entry-meta span {
    display: inline-flex;
    align-items: center;
}

.single-entry .entry-thumbnail {
    margin-bottom: 2rem;
    text-align: center;
}

.single-entry .entry-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.single-entry .entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.single-entry .entry-content h2,
.single-entry .entry-content h3,
.single-entry .entry-content h4 {
    margin: 2rem 0 1rem 0;
    color: #333;
}

.single-entry .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 1rem 0;
}

.single-entry .entry-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #eee;
}

/* 文章导航样式 */
.post-navigation {
    margin: 2rem 0;
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.post-navigation .nav-previous:hover,
.post-navigation .nav-next:hover {
    background: #e9ecef;
}

.post-navigation .nav-subtitle {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.post-navigation .nav-title {
    font-weight: 600;
    color: #333;
}

/* 分类和标签样式 */
.cat-links a,
.tags-links a {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    margin: 0.2rem;
    background: #2a63a6;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: background-color 0.3s ease;
}

.cat-links a:hover,
.tags-links a:hover {
    background: #1e4a7a;
}

/* 找不到文章时的样式 */
.no-post {
    text-align: center;
    padding: 3rem 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.no-post h2 {
    color: #333;
    margin-bottom: 2rem;
}

.latest-posts {
    list-style: none;
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.latest-posts li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
}

.latest-posts li:last-child {
    border-bottom: none;
}

.latest-posts a {
    color: #007cba;
    text-decoration: none;
    font-weight: 500;
}

.latest-posts a:hover {
    text-decoration: underline;
}



.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
    border-bottom: 2px solid #007cba;
    padding-bottom: 0.5rem;
}

/* 页脚 */
.site-footer {
    background-color: #1a365d;
    color: #fff;
    padding: 3rem 0 2rem;
    margin-top: 0rem;
    text-align: center;
}

/* 首頁電腦端頁脚特殊設定 */
@media (min-width: 768px) {
    .home .site-footer {
        margin-top: -2rem;
    }
}

.site-footer .container {
    max-width: 800px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* Logo样式 */
.footer-logo {
    margin-bottom: 1rem;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* 电脑端 footer logo 放大 1.3 倍 */
@media (min-width: 1025px) {
    .footer-logo-img {
        height: 78px;
    }
}

/* 社交媒体图标 */
.social-media {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    border: none;
    text-decoration: none;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon .icon-text {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 0;
}

/* Instagram 保持圓框，其他維持無邊框但同尺寸一致 */
.social-icon.instagram-icon {
    border-radius: 50%;
    overflow: hidden;
}

.social-icon.instagram-icon img {
    border-radius: 50%;
}

/* 联系信息 */
.site-footer .contact-info,
footer#colophon .contact-info,
#colophon .contact-info {
    display: flex !important;
    flex-direction: row !important;
    gap: 2rem;
    margin-bottom: 1.5rem;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-wrap: nowrap;
}

.site-footer .contact-item {
    color: #fff;
    font-size: 0.9rem;
    margin: 0;
    background: none;
    padding: 0;
    border-radius: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 分隔线 */
.footer-divider {
    width: 100%;
    height: 1px;
    background-color: #718096;
    margin: 1rem 0;
}

/* 版权信息 */
.copyright {
    margin-top: 1rem;
}

.copyright p {
    color: #fff;
    font-size: 0.8rem;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 鎖死行動裝置左右滾軸 */
    html, body {
        overflow-x: hidden;
        position: relative;
        width: 100%;
        max-width: 100vw;
    }
    
    body {
        padding-top: 0; /* RWD端移除頂部間距，讓HERO圖片緊貼header */
    }
    
    .header-top {
        padding: 22px 0; /* 縮小為70% (45px * 0.7 = 31.5px) */
    }
    
    .header-content {
        grid-template-columns: 1fr auto 1fr; /* 保持原有的三欄布局 */
        gap: 15px;
    }
    
    .header-left-tools {
        order: 1;
        justify-content: flex-start;
    }
    
    .site-branding {
        order: 2;
    }
    
    .header-tools {
        order: 3;
        gap: 0;
        justify-content: flex-end;
    }
    
    .site-logo {
        height: 30px; /* 放大1.2倍 (25px * 1.2 = 30px) */
    }
    
    /* 行動裝置端隱藏所有桌面端工具按鍵（但保留 mobile-only 按鍵） */
    .tool-icon,
    .contact-btn {
        display: none !important;
    }
    .tool-icon.mobile-only,
    .header-tools .tool-icon.mobile-only {
        display: inline-flex !important;
    }

    /* 行動版右上角工具列：縮小並讓購物車與帳號更貼近 */
    .header-tools .tool-icon.mobile-only {
        width: 38px !important;
        height: 38px !important;
    }
    .header-tools .account-icon.mobile-only {
        margin-left: -6px;
    }
    
    .main-navigation .container {
        justify-content: flex-start;
    }
    
    /* 行動裝置端顯示漢堡選單（靠左） */
    .menu-toggle {
        display: block !important;
        margin-left: 0;
    }
    
    .main-navigation ul {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 1001;
    }
    
    .main-navigation ul.active {
        display: flex;
    }
    
    .main-navigation li {
        width: 100%;
        text-align: center;
    }
    
    /* 行動裝置端顯示「聯絡我們」選項 */
    .main-navigation li.mobile-only {
        display: block;
    }
    
    .main-navigation a {
        padding: 15px 20px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 20px; /* 行動版字體大小，比桌面版稍小 */
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
        transition: color 0.3s ease, background-color 0.3s ease;
    }
    
    /* 行動裝置端選單hover效果 - 已移除 */
    /* 移除行動端選單 hover/點擊的藍色底線與高亮 */
    .main-navigation .nav-menu a,
    .nav-menu a {
        -webkit-tap-highlight-color: transparent !important;
    }

    .main-navigation .nav-menu a:hover,
    .main-navigation .nav-menu a:active,
    .main-navigation .nav-menu a:focus {
        color: inherit !important;
        background-color: transparent !important;
        transform: none !important;
    }

    .main-navigation .nav-menu a:hover::after,
    .main-navigation .nav-menu a:active::after,
    .main-navigation .nav-menu a:focus::after {
        width: 0 !important;
        box-shadow: none !important;
        display: none !important;
    }
    
    /* 移除漢堡選單按鈕的hover效果 */
    .menu-toggle:hover {
        background-color: transparent !important;
    }
    
    /* 行動裝置端當前頁面選單項目效果 */
    .main-navigation .current-menu-item > a,
    .main-navigation .current_page_item > a,
    .main-navigation .active > a,
    .main-navigation a.active,
    .main-navigation a.current-page-active {
        color: #007cba;
    }
    
    /* 移除行動裝置端當前頁面選單項目的下底線 */
    .main-navigation .current-menu-item > a::after,
    .main-navigation .current_page_item > a::after,
    .main-navigation .active > a::after,
    .main-navigation a.active::after,
    .main-navigation a.current-page-active::after {
        display: none;
    }
    
    
    .site-footer .container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-divider {
        width: 80%;
    }
}

/* 偵測觸控裝置：移除選單 hover/底線（涵蓋大尺寸觸控平板） */
@media (hover: none) and (pointer: coarse) {
    .main-navigation a {
        -webkit-tap-highlight-color: transparent !important;
    }

    .main-navigation a:hover,
    .main-navigation a:active,
    .main-navigation a:focus {
        color: inherit !important;
        background-color: transparent !important;
        transform: none !important;
    }

    .main-navigation a:hover::after,
    .main-navigation a:active::after,
    .main-navigation a:focus::after {
        width: 0 !important;
        box-shadow: none !important;
        display: none !important;
    }
}

/* 平板版優化 */
@media (min-width: 769px) and (max-width: 1024px) {
    body {
        padding-top: 0; /* 平板端也移除頂部間距，讓HERO圖片緊貼header */
    }
    
    .footer-logo-img {
        height: 50px;
    }
    
    .social-media {
        gap: 0.8rem;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
    
    .social-icon .icon-text {
        font-size: 12px;
    }
    
    .social-icon img {
        width: 100%;
        height: 100%;
    }
    
    .site-footer .contact-item {
        font-size: 0.8rem;
        background: none;
        padding: 0;
        border-radius: 0;
    }
    
    .site-footer .contact-info,
    footer#colophon .contact-info,
    #colophon .contact-info {
        flex-direction: column !important;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    /* 鎖死小螢幕行動裝置左右滾軸 */
    html, body {
        overflow-x: hidden;
        position: relative;
        width: 100%;
        max-width: 100vw;
    }
    
    .header-tools {
        gap: 0;
    }
    
    .tool-icon {
        width: 26px; /* 32px * 0.8 = 25.6px */
        height: 26px; /* 32px * 0.8 = 25.6px */
    }
    
    .tool-icon img {
        width: 13px; /* 16px * 0.8 = 12.8px */
        height: 13px; /* 16px * 0.8 = 12.8px */
    }
    
    .contact-btn {
        padding: 4px 8px; /* 5px * 0.8 = 4px, 10px * 0.8 = 8px */
    }
    
    .contact-btn img {
        height: 11px; /* 14px * 0.8 = 11.2px */
    }
} 

.single-breadcrumb-block {
  margin-top: 20px;
  margin-bottom: 1.5rem;
  padding-left: 50px;
  padding-right: 50px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
}
.single-breadcrumb {
  font-size: 1.12rem;
  color: #222;
  margin-top: 2.5rem;
  margin-bottom: 0.2rem;
  letter-spacing: 0.02em;
  font-weight: 500;
}
.single-breadcrumb a {
  color: #222;
  text-decoration: none;
  transition: color 0.2s;
}
.single-breadcrumb a:hover {
  color: #b98c5e;
  text-decoration: underline;
}
.single-back-link {
  font-size: 1rem;
  color: #222;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.5rem;
  margin-top: 0.2rem;
  font-weight: 500;
  transition: color 0.2s;
}
.single-back-link:hover {
  color: #b98c5e;
  text-decoration: underline;
}
.single-block-align {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}
.single-block-align-20 {
  padding-left: 50px;
  padding-right: 50px;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
}
@media (max-width: 600px) {
  .single-breadcrumb-block,
  .single-block-align-20 {
    padding-left: 16px;
    padding-right: 16px;
  }
} 

/* 全局標題字型設定 */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans TC', 'Taipei Sans TC Beta', 'Microsoft JhengHei', 'PingFang TC', 'Helvetica Neue', Arial, sans-serif;
    text-align: left; /* 確保對齊為主 */
}

/* 全局按鈕字型設定 */
button, .btn, input[type="submit"], input[type="button"] {
    font-family: 'Noto Sans TC', 'Taipei Sans TC Beta', 'Microsoft JhengHei', 'PingFang TC', 'Helvetica Neue', Arial, sans-serif;
    text-align: center; /* 按鈕文字置中 */
    background-color: #2a63a6 !important;
    color: white !important;
}

button:hover, .btn:hover, input[type="submit"]:hover, input[type="button"]:hover {
    background-color: #1e4a7a !important;
}

/* 全局表單元素字型設定 */
input, textarea, select {
    font-family: 'Noto Sans TC', 'Taipei Sans TC Beta', 'Microsoft JhengHei', 'PingFang TC', 'Helvetica Neue', Arial, sans-serif;
    text-align: left; /* 確保對齊為主 */
}

/* 頁腳字型設定 */
.site-footer, .footer-content, .contact-item, .copyright {
    font-family: 'Noto Sans TC', 'Taipei Sans TC Beta', 'Microsoft JhengHei', 'PingFang TC', 'Helvetica Neue', Arial, sans-serif;
    text-align: left; /* 確保對齊為主 */
}

/* 搜尋和導航字型設定 */
.search-field, .search-submit, .search-header, .search-suggestions, .nav-links, .nav-previous, .nav-next {
    font-family: 'Noto Sans TC', 'Taipei Sans TC Beta', 'Microsoft JhengHei', 'PingFang TC', 'Helvetica Neue', Arial, sans-serif;
    text-align: left; /* 確保對齊為主 */
}

/* 文章內容字型設定 */
.entry, .entry-title, .entry-meta, .entry-content, .entry-footer, .post-navigation {
    font-family: 'Noto Sans TC', 'Taipei Sans TC Beta', 'Microsoft JhengHei', 'PingFang TC', 'Helvetica Neue', Arial, sans-serif;
    text-align: left; /* 確保對齊為主 */
}

/* 側邊欄和小工具字型設定 */
.sidebar, .widget, .widget-title {
    font-family: 'Noto Sans TC', 'Taipei Sans TC Beta', 'Microsoft JhengHei', 'PingFang TC', 'Helvetica Neue', Arial, sans-serif;
    text-align: left; /* 確保對齊為主 */
}

/* WordPress 文章內容標準樣式 */
.entry-content {
  line-height: 1.8;
  font-size: 1.08rem;
  color: #222;
  word-break: break-word;
}
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
  font-weight: bold;
  margin: 2em 0 1em 0;
  line-height: 1.3;
}
.entry-content p {
  margin: 1.2em 0;
}
.entry-content ul, .entry-content ol {
  margin: 1.2em 0 1.2em 2em;
  padding: 0 0 0 1.2em;
}
.entry-content li {
  margin-bottom: 0.5em;
}
.entry-content img {
  display: block;
  margin: 1.2em auto;
  max-width: 100%;
  height: auto;
}
.entry-content a {
  color: #b98c5e;
  text-decoration: underline;
}
.entry-content a:hover {
  color: #8a6a3f;
}

/* 全局價格樣式 - 移除所有下底線 */
.price,
.product-price,
.catalog-price,
.item-price,
.woocommerce-Price-amount,
.woocommerce-price,
.amount,
.price .amount,
.product-price .amount,
.catalog-price .amount,
.item-price .amount,
.woocommerce div.product .product-price,
.woocommerce div.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce div.product .woocommerce-Price-amount,
.woocommerce div.product .woocommerce-price,
.woocommerce div.product .amount,
.woocommerce div.product .price .amount,
.woocommerce div.product .product-price .amount,
.woocommerce div.product .catalog-price .amount,
.woocommerce div.product .item-price .amount,
.woocommerce div.product .woocommerce-Price-amount .amount,
.woocommerce div.product .woocommerce-price .amount,
.woocommerce div.product .price ins,
.woocommerce div.product .product-price ins,
.woocommerce div.product .catalog-price ins,
.woocommerce div.product .item-price ins,
.woocommerce div.product .woocommerce-Price-amount ins,
.woocommerce div.product .woocommerce-price ins,
.woocommerce div.product .amount ins,
.woocommerce div.product .price .amount ins,
.woocommerce div.product .product-price .amount ins,
.woocommerce div.product .catalog-price .amount ins,
.woocommerce div.product .item-price .amount ins,
.woocommerce div.product .woocommerce-Price-amount .amount ins,
.woocommerce div.product .woocommerce-price .amount ins {
    text-decoration: none !important;
}

/* 額外的WooCommerce價格樣式覆蓋 */
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce div.product .price,
.woocommerce div.product .price .amount,
.woocommerce div.product .price ins,
.woocommerce div.product .price .amount ins,
.woocommerce div.product .price .amount:not(del),
.woocommerce div.product .price ins .amount,
.woocommerce div.product .price .amount:not(del) .amount,
.woocommerce div.product .price .amount:not(del) ins,
.woocommerce div.product .price .amount:not(del) ins .amount,
.woocommerce div.product .price .amount:not(del) .woocommerce-Price-amount,
.woocommerce div.product .price .amount:not(del) .woocommerce-Price-amount .amount,
.woocommerce div.product .price .amount:not(del) .woocommerce-Price-amount ins,
.woocommerce div.product .price .amount:not(del) .woocommerce-Price-amount ins .amount {
    text-decoration: none !important;
}

/* 針對WooCommerce價格結構的額外覆蓋 */
.woocommerce div.product .price ins,
.woocommerce div.product .price ins .amount,
.woocommerce div.product .price ins .woocommerce-Price-amount,
.woocommerce div.product .price ins .woocommerce-Price-amount .amount,
.woocommerce div.product .price .woocommerce-Price-amount ins,
.woocommerce div.product .price .woocommerce-Price-amount ins .amount,
.woocommerce div.product .price .amount ins,
.woocommerce div.product .price .amount ins .amount,
.woocommerce div.product .price .amount ins .woocommerce-Price-amount,
.woocommerce div.product .price .amount ins .woocommerce-Price-amount .amount,
.woocommerce div.product .price .woocommerce-Price-amount .amount ins,
.woocommerce div.product .price .woocommerce-Price-amount .amount ins .amount,
.woocommerce div.product .price .woocommerce-Price-amount .amount ins .woocommerce-Price-amount,
.woocommerce div.product .price .woocommerce-Price-amount .amount ins .woocommerce-Price-amount .amount {
    text-decoration: none !important;
}

/* 最強力的價格樣式覆蓋 - 針對所有可能的WooCommerce價格結構 */
.woocommerce .price,
.woocommerce .price .amount,
.woocommerce .price ins,
.woocommerce .price ins .amount,
.woocommerce .price .woocommerce-Price-amount,
.woocommerce .price .woocommerce-Price-amount .amount,
.woocommerce .price .woocommerce-Price-amount ins,
.woocommerce .price .woocommerce-Price-amount ins .amount,
.woocommerce p.price,
.woocommerce p.price .amount,
.woocommerce p.price ins,
.woocommerce p.price ins .amount,
.woocommerce p.price .woocommerce-Price-amount,
.woocommerce p.price .woocommerce-Price-amount .amount,
.woocommerce p.price .woocommerce-Price-amount ins,
.woocommerce p.price .woocommerce-Price-amount ins .amount,
.woocommerce span.price,
.woocommerce span.price .amount,
.woocommerce span.price ins,
.woocommerce span.price ins .amount,
.woocommerce span.price .woocommerce-Price-amount,
.woocommerce span.price .woocommerce-Price-amount .amount,
.woocommerce span.price .woocommerce-Price-amount ins,
.woocommerce span.price .woocommerce-Price-amount ins .amount,
.woocommerce .woocommerce-Price-amount,
.woocommerce .woocommerce-Price-amount .amount,
.woocommerce .woocommerce-Price-amount ins,
.woocommerce .woocommerce-Price-amount ins .amount,
.woocommerce .amount,
.woocommerce .amount ins,
.woocommerce .amount ins .amount {
    text-decoration: none !important;
}

/* 針對ins標籤的額外覆蓋 - ins通常用於顯示實際價格 */
.woocommerce .price ins,
.woocommerce .price ins .amount,
.woocommerce .price ins .woocommerce-Price-amount,
.woocommerce .price ins .woocommerce-Price-amount .amount,
.woocommerce p.price ins,
.woocommerce p.price ins .amount,
.woocommerce p.price ins .woocommerce-Price-amount,
.woocommerce p.price ins .woocommerce-Price-amount .amount,
.woocommerce span.price ins,
.woocommerce span.price ins .amount,
.woocommerce span.price ins .woocommerce-Price-amount,
.woocommerce span.price ins .woocommerce-Price-amount .amount,
.woocommerce .woocommerce-Price-amount ins,
.woocommerce .woocommerce-Price-amount ins .amount,
.woocommerce .amount ins,
.woocommerce .amount ins .amount,
.woocommerce .amount ins .woocommerce-Price-amount,
.woocommerce .amount ins .woocommerce-Price-amount .amount {
    text-decoration: none !important;
}

/* 最強力的全局價格下底線移除 - 針對所有可能的價格元素 */
*[class*="price"] *,
*[class*="Price"] *,
.woocommerce *[class*="price"] *,
.woocommerce *[class*="Price"] *,
.woocommerce .price *,
.woocommerce .Price *,
.woocommerce p.price *,
.woocommerce span.price *,
.woocommerce .woocommerce-Price-amount *,
.woocommerce .amount *,
.woocommerce .price .amount *,
.woocommerce .price .woocommerce-Price-amount *,
.woocommerce .price ins *,
.woocommerce .price del *,
.woocommerce p.price .amount *,
.woocommerce p.price .woocommerce-Price-amount *,
.woocommerce p.price ins *,
.woocommerce p.price del *,
.woocommerce span.price .amount *,
.woocommerce span.price .woocommerce-Price-amount *,
.woocommerce span.price ins *,
.woocommerce span.price del *,
.woocommerce .woocommerce-Price-amount .amount *,
.woocommerce .woocommerce-Price-amount ins *,
.woocommerce .woocommerce-Price-amount del *,
.woocommerce .amount ins *,
.woocommerce .amount del *,
.catalog-price *,
.product-price *,
.item-price *,
.price *,
.amount *,
.woocommerce-Price-amount * {
    text-decoration: none !important;
}

/* 直接針對所有價格相關的標籤和類別 */
ins,
.ins,
.price ins,
.price .ins,
.product-price ins,
.product-price .ins,
.catalog-price ins,
.catalog-price .ins,
.item-price ins,
.item-price .ins,
.woocommerce .price ins,
.woocommerce .price .ins,
.woocommerce p.price ins,
.woocommerce p.price .ins,
.woocommerce span.price ins,
.woocommerce span.price .ins,
.woocommerce .woocommerce-Price-amount ins,
.woocommerce .woocommerce-Price-amount .ins,
.woocommerce .amount ins,
.woocommerce .amount .ins,
.woocommerce .price .amount ins,
.woocommerce .price .amount .ins,
.woocommerce .price .woocommerce-Price-amount ins,
.woocommerce .price .woocommerce-Price-amount .ins,
.woocommerce p.price .amount ins,
.woocommerce p.price .amount .ins,
.woocommerce p.price .woocommerce-Price-amount ins,
.woocommerce p.price .woocommerce-Price-amount .ins,
.woocommerce span.price .amount ins,
.woocommerce span.price .amount .ins,
.woocommerce span.price .woocommerce-Price-amount ins,
.woocommerce span.price .woocommerce-Price-amount .ins,
.woocommerce .woocommerce-Price-amount .amount ins,
.woocommerce .woocommerce-Price-amount .amount .ins,
.woocommerce .amount ins,
.woocommerce .amount .ins {
    text-decoration: none !important;
}

/* 最直接的方法 - 移除所有價格相關元素的下底線 */
.woocommerce .price,
.woocommerce .price *,
.woocommerce p.price,
.woocommerce p.price *,
.woocommerce span.price,
.woocommerce span.price *,
.woocommerce .woocommerce-Price-amount,
.woocommerce .woocommerce-Price-amount *,
.woocommerce .amount,
.woocommerce .amount *,
.woocommerce .price .amount,
.woocommerce .price .amount *,
.woocommerce .price .woocommerce-Price-amount,
.woocommerce .price .woocommerce-Price-amount *,
.woocommerce .price ins,
.woocommerce .price ins *,
.woocommerce p.price .amount,
.woocommerce p.price .amount *,
.woocommerce p.price .woocommerce-Price-amount,
.woocommerce p.price .woocommerce-Price-amount *,
.woocommerce p.price ins,
.woocommerce p.price ins *,
.woocommerce span.price .amount,
.woocommerce span.price .amount *,
.woocommerce span.price .woocommerce-Price-amount,
.woocommerce span.price .woocommerce-Price-amount *,
.woocommerce span.price ins,
.woocommerce span.price ins *,
.woocommerce .woocommerce-Price-amount .amount,
.woocommerce .woocommerce-Price-amount .amount *,
.woocommerce .woocommerce-Price-amount ins,
.woocommerce .woocommerce-Price-amount ins *,
.woocommerce .amount ins,
.woocommerce .amount ins *,
.catalog-price,
.catalog-price *,
.product-price,
.product-price *,
.item-price,
.item-price *,
.price,
.price *,
.amount,
.amount *,
.woocommerce-Price-amount,
.woocommerce-Price-amount * {
    text-decoration: none !important;
}

/* 最強力的方法 - 使用通配符移除所有價格相關元素的下底線 */
[class*="price"] *,
[class*="Price"] *,
.woocommerce [class*="price"] *,
.woocommerce [class*="Price"] *,
.woocommerce .price *,
.woocommerce .Price *,
.woocommerce p.price *,
.woocommerce span.price *,
.woocommerce .woocommerce-Price-amount *,
.woocommerce .amount *,
.woocommerce .price .amount *,
.woocommerce .price .woocommerce-Price-amount *,
.woocommerce .price ins *,
.woocommerce .price del *,
.woocommerce p.price .amount *,
.woocommerce p.price .woocommerce-Price-amount *,
.woocommerce p.price ins *,
.woocommerce p.price del *,
.woocommerce span.price .amount *,
.woocommerce span.price .woocommerce-Price-amount *,
.woocommerce span.price ins *,
.woocommerce span.price del *,
.woocommerce .woocommerce-Price-amount .amount *,
.woocommerce .woocommerce-Price-amount ins *,
.woocommerce .woocommerce-Price-amount del *,
.woocommerce .amount ins *,
.woocommerce .amount del *,
.catalog-price *,
.product-price *,
.item-price *,
.price *,
.amount *,
.woocommerce-Price-amount * {
    text-decoration: none !important;
}

/* 最強力的方法 - 直接針對所有價格元素 */
.woocommerce .price,
.woocommerce .price *,
.woocommerce p.price,
.woocommerce p.price *,
.woocommerce span.price,
.woocommerce span.price *,
.woocommerce .woocommerce-Price-amount,
.woocommerce .woocommerce-Price-amount *,
.woocommerce .amount,
.woocommerce .amount *,
.woocommerce .price .amount,
.woocommerce .price .amount *,
.woocommerce .price .woocommerce-Price-amount,
.woocommerce .price .woocommerce-Price-amount *,
.woocommerce .price ins,
.woocommerce .price ins *,
.woocommerce p.price .amount,
.woocommerce p.price .amount *,
.woocommerce p.price .woocommerce-Price-amount,
.woocommerce p.price .woocommerce-Price-amount *,
.woocommerce p.price ins,
.woocommerce p.price ins *,
.woocommerce span.price .amount,
.woocommerce span.price .amount *,
.woocommerce span.price .woocommerce-Price-amount,
.woocommerce span.price .woocommerce-Price-amount *,
.woocommerce span.price ins,
.woocommerce span.price ins *,
.woocommerce .woocommerce-Price-amount .amount,
.woocommerce .woocommerce-Price-amount .amount *,
.woocommerce .woocommerce-Price-amount ins,
.woocommerce .woocommerce-Price-amount ins *,
.woocommerce .amount ins,
.woocommerce .amount ins *,
.catalog-price,
.catalog-price *,
.product-price,
.product-price *,
.item-price,
.item-price *,
.price,
.price *,
.amount,
.amount *,
.woocommerce-Price-amount,
.woocommerce-Price-amount * {
    text-decoration: none !important;
}

/* 最強力的方法 - 直接針對所有價格元素 */
.woocommerce .price,
.woocommerce .price *,
.woocommerce p.price,
.woocommerce p.price *,
.woocommerce span.price,
.woocommerce span.price *,
.woocommerce .woocommerce-Price-amount,
.woocommerce .woocommerce-Price-amount *,
.woocommerce .amount,
.woocommerce .amount *,
.woocommerce .price .amount,
.woocommerce .price .amount *,
.woocommerce .price .woocommerce-Price-amount,
.woocommerce .price .woocommerce-Price-amount *,
.woocommerce .price ins,
.woocommerce .price ins *,
.woocommerce p.price .amount,
.woocommerce p.price .amount *,
.woocommerce p.price .woocommerce-Price-amount,
.woocommerce p.price .woocommerce-Price-amount *,
.woocommerce p.price ins,
.woocommerce p.price ins *,
.woocommerce span.price .amount,
.woocommerce span.price .amount *,
.woocommerce span.price .woocommerce-Price-amount,
.woocommerce span.price .woocommerce-Price-amount *,
.woocommerce span.price ins,
.woocommerce span.price ins *,
.woocommerce .woocommerce-Price-amount .amount,
.woocommerce .woocommerce-Price-amount .amount *,
.woocommerce .woocommerce-Price-amount ins,
.woocommerce .woocommerce-Price-amount ins *,
.woocommerce .amount ins,
.woocommerce .amount ins *,
.catalog-price,
.catalog-price *,
.product-price,
.product-price *,
.item-price,
.item-price *,
.price,
.price *,
.amount,
.amount *,
.woocommerce-Price-amount,
.woocommerce-Price-amount * {
    text-decoration: none !important;
}

/* 最強力的方法 - 直接針對所有價格元素 */
.woocommerce .price,
.woocommerce .price *,
.woocommerce p.price,
.woocommerce p.price *,
.woocommerce span.price,
.woocommerce span.price *,
.woocommerce .woocommerce-Price-amount,
.woocommerce .woocommerce-Price-amount *,
.woocommerce .amount,
.woocommerce .amount *,
.woocommerce .price .amount,
.woocommerce .price .amount *,
.woocommerce .price .woocommerce-Price-amount,
.woocommerce .price .woocommerce-Price-amount *,
.woocommerce .price ins,
.woocommerce .price ins *,
.woocommerce p.price .amount,
.woocommerce p.price .amount *,
.woocommerce p.price .woocommerce-Price-amount,
.woocommerce p.price .woocommerce-Price-amount *,
.woocommerce p.price ins,
.woocommerce p.price ins *,
.woocommerce span.price .amount,
.woocommerce span.price .amount *,
.woocommerce span.price .woocommerce-Price-amount,
.woocommerce span.price .woocommerce-Price-amount *,
.woocommerce span.price ins,
.woocommerce span.price ins *,
.woocommerce .woocommerce-Price-amount .amount,
.woocommerce .woocommerce-Price-amount .amount *,
.woocommerce .woocommerce-Price-amount ins,
.woocommerce .woocommerce-Price-amount ins *,
.woocommerce .amount ins,
.woocommerce .amount ins *,
.catalog-price,
.catalog-price *,
.product-price,
.product-price *,
.item-price,
.item-price *,
.price,
.price *,
.amount,
.amount *,
.woocommerce-Price-amount,
.woocommerce-Price-amount * {
    text-decoration: none !important;
}

/* 確保劃掉的價格保持劃線效果 */
.price del,
.product-price del,
.catalog-price del,
.item-price del,
.woocommerce-Price-amount del,
.woocommerce-price del,
.amount del,
.price .amount del,
.product-price .amount del,
.catalog-price .amount del,
.item-price .amount del,
.woocommerce div.product .product-price del,
.woocommerce div.product .price del,
.woocommerce div.product p.price del,
.woocommerce div.product span.price del,
.woocommerce div.product .woocommerce-Price-amount del,
.woocommerce div.product .woocommerce-price del,
.woocommerce div.product .amount del,
.woocommerce div.product .price .amount del,
.woocommerce div.product .product-price .amount del,
.woocommerce div.product .catalog-price .amount del,
.woocommerce div.product .item-price .amount del,
.woocommerce div.product .woocommerce-Price-amount .amount del,
.woocommerce div.product .woocommerce-price .amount del {
    text-decoration: line-through !important;
}

/* 終極解決方案 - 針對所有可能的WooCommerce價格元素 */
.woocommerce .price *:not(del),
.woocommerce p.price *:not(del),
.woocommerce span.price *:not(del),
.woocommerce .woocommerce-Price-amount *:not(del),
.woocommerce .amount *:not(del),
.woocommerce .price .amount *:not(del),
.woocommerce .price .woocommerce-Price-amount *:not(del),
.woocommerce .price ins *:not(del),
.woocommerce p.price .amount *:not(del),
.woocommerce p.price .woocommerce-Price-amount *:not(del),
.woocommerce p.price ins *:not(del),
.woocommerce span.price .amount *:not(del),
.woocommerce span.price .woocommerce-Price-amount *:not(del),
.woocommerce span.price ins *:not(del),
.woocommerce .woocommerce-Price-amount .amount *:not(del),
.woocommerce .woocommerce-Price-amount ins *:not(del),
.woocommerce .amount ins *:not(del),
.catalog-price *:not(del),
.product-price *:not(del),
.item-price *:not(del),
.price *:not(del),
.amount *:not(del),
.woocommerce-Price-amount *:not(del) {
    text-decoration: none !important;
}

/* 全站送出圖示與按鈕 - 強制移除任何背景顏色 */
button.send-button,
.send-button {
    background: transparent !important;
    background-color: transparent !important;
}

img.send-image {
    background: transparent !important;
    background-color: transparent !important;
}

button.mobile-send-button,
.mobile-send-button {
    background: transparent !important;
    background-color: transparent !important;
}