

@keyframes ly_web_header_0001_0FadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/*   Header 核心佈局與防護   */
.header { position: fixed; top: 0; left: 0; width: 100%; padding: 28px 5%; display: flex; align-items: center; z-index: 1000; color: var(--text-white, #fff); transition: all 0.5s ease; overflow: visible !important; }
/* 1. 頁面向下滾動時：變矮 + 變色 */
.header.scrolled,
.header.hasBack { background: rgba(250, 249, 246, 0.98); backdrop-filter: blur(10px); padding: 14px 5%; border-bottom: 1px solid var(--border-light, #e2dfd8); color: var(--text-main, #33312e); }
/* 2. 首屏未滾動且滑鼠懸停時：只變色，絕不縮小高度 */
.header:not(.scrolled):hover,
.header.search { background: rgba(250, 249, 246, 0.98); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-light, #e2dfd8); color: var(--text-main, #33312e); }
.header.hidden { transform: translateY(-100%); }
.logo { margin-right: auto; }
.logo img { height: 72px; transition: height 0.4s, filter 0.4s; filter: brightness(0) invert(1); }
/* Logo 滾動時縮小並變深色 */
.header.scrolled .logo img,
.header.hasBack .logo img { height: 52px; filter: none; }
/* Logo 首屏懸停時只變深色，保持 72px 高度 */
.header:not(.scrolled):hover .logo img,
.header:not(.hasBack):hover .logo img,
.header.search .logo img {filter: none; }

.nav { display: flex; align-items: center; gap: 40px; margin-right: 40px; font-size: 16px; letter-spacing: 1.5px; }
.nav a { position: relative; color: inherit; transition: color .3s; text-decoration: none; }
.nav a::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 0; height: 1px; background: var(--accent, #8e6d45); transition: all 0.3s ease; transform: translateX(-50%); }
.nav a:hover, .nav a.active { color: var(--accent, #8e6d45); }
.nav a:hover::after, .nav a.active::after { width: 100%; }

.nav-dropdown { position: relative; display: flex; align-items: center; cursor: pointer; padding: 10px 0; }
.dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); background: var(--accent, #8e6d45); padding: 10px 0; min-width: 140px; opacity: 0; visibility: hidden; transition: all 0.3s ease; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu a { display: block; color: #fff !important; padding: 12px 20px; text-align: center; font-size: 15px; letter-spacing: 2px; white-space: nowrap; transition: background 0.3s; }
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover { background: rgba(0,0,0,0.1); }

/*   工具欄區    */
.nav-tools { display: flex; align-items: center; gap: 20px; padding-left: 30px; border-left: none; position: relative; overflow: visible !important; }
.nav-tools::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 16px; background: currentColor; transition: background 0.5s ease; }
/* .header.scrolled .nav-tools::before, 
.header:hover .nav-tools::before,
.header.hasBack .nav-tools::before { background: var(--border-light, #e2dfd8); }
.header.search .nav-tools::before { background: var(--text-main, #33312e); } */

.nav-tools-item { display: flex; align-items: center; gap: 8px; transition: color 0.3s; text-decoration: none; color: currentColor; white-space: nowrap; }
.nav-tools-item:hover { color: var(--accent, #8e6d45); }
.nav-tools-item .svg{width: 18px; height: 18px;;}
.nav-tools svg { width: 18px; height: 18px; filter: brightness(0) invert(1); transition: all 0.3s; stroke: var(--text-white, #fff); flex-shrink: 0;}
.header.scrolled .nav-tools svg, 
.header.search .nav-tools svg, 
.header:hover .nav-tools svg ,
.header.hasBack .nav-tools svg { filter: none; stroke: var(--text-main, #33312e); }
.nav-tools-item:hover svg { filter: none; stroke: var(--accent, #8e6d45) !important; }
.nav-tools-divider { width: 1px; height: 16px; background: currentColor; opacity: 0.5; margin: 0 5px; }

/* 語言與貨幣下拉選單 */
.tools-dropdown { position: relative; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 10px; }
.tools-dropdown.rate{padding-left: 0;}
.tools-dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); background: #fff; min-width: 140px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); padding: 8px 0; z-index: 99999; text-align: left; }
.tools-dropdown-item { display: flex !important; align-items: center; justify-content: flex-start; color: var(--text-main, #33312e) !important; padding: 10px 20px !important; font-family: var(--font-sans, sans-serif); font-size: 14px !important; font-weight: 400 !important; text-decoration: none !important; transition: background 0.3s, color 0.3s; }
.currency-menu { max-height: 320px; overflow-y: auto; }
.currency-menu::-webkit-scrollbar { width: 4px; }
.currency-menu::-webkit-scrollbar-thumb { background: #ddd; }
.currency-menu::-webkit-scrollbar-thumb:hover { background: var(--accent, #8e6d45); }
.tools-dropdown-menu .currency-symbol { font-family: var(--font-num, sans-serif); font-weight: 600; color: var(--text-gray, #888); width: 30px; display: inline-block; text-align: left; transition: color 0.3s; }
.rate .nav-tools-item .svg{flex: none; width: auto;}

@media (min-width: 769px) {
    .tools-dropdown:hover .tools-dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
    #ly_web_header_0001_0_m_tool { display: none !important; }
}
.tools-dropdown-item:hover { background: var(--paper-bg, #faf9f6) !important; color: var(--accent, #8e6d45) !important; }
.tools-dropdown-item.rate:hover .currency-symbol { color: var(--accent, #8e6d45); }


/* 「找商品」全域篩選抽屜  */
.search-overlay { position: absolute; top: 100%; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.5); cursor: default; opacity: 0; visibility: hidden; transition: 0.4s ease; overflow: hidden; z-index: -1; }
.search-overlay.active { opacity: 1; visibility: visible; }
.search-panel { position: absolute; top: 0; left: 0; width: 100%; background: #fff; box-shadow: 0 15px 40px rgba(0,0,0,0.15); transform: translateY(-100%); transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); padding: 40px 0 60px; color: var(--text-main, #33312e); }
.search-overlay.active .search-panel { transform: translateY(0); }
.search-container { width: 1600px; max-width: 95%; margin: 0 auto; position: relative; }

.btn-close-search { position: absolute; top: -10px; right: 0; z-index: 10; background: none; border: none; cursor: pointer; color: var(--text-gray, #888); transition: 0.3s; }
.btn-close-search:hover { color: var(--accent, #8e6d45); transform: rotate(90deg); }
.btn-close-search svg { width: 32px; height: 32px; stroke: currentColor; fill: none; stroke-width: 1.5; }

.search-tabs { display: flex; justify-content: center; gap: 60px; margin-bottom: 40px; position: relative; border-bottom: 1px solid var(--border-light, #e2dfd8); }
.search-tabs .tab-btn { font-family: var(--font-serif, serif); font-size: 18px; font-weight: 300; color: var(--text-gray, #888); letter-spacing: 2px; background: none; border: none; padding: 0 10px 20px; cursor: pointer; position: relative; transition: 0.3s; }
.search-tabs .tab-btn:hover { color: var(--text-main, #33312e); }
.search-tabs .tab-btn.active { color: var(--text-main, #33312e); font-weight: 600; }
.search-tabs .tab-btn::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; background: var(--accent, #8e6d45); transform: scaleX(0); transition: 0.3s; }
.search-tabs .tab-btn.active::after { transform: scaleX(1); }

.filter-section {max-height: 420px; overflow-y: auto; display: none; animation: ly_web_header_0001_0FadeIn 0.4s; }
.filter-section.active { display: block; }

.filter-row { display: flex; align-items: flex-start; padding: 18px 0; border-bottom: 1px dashed var(--border-light, #e2dfd8); }
.filter-row.last-row { border-bottom: none !important; }
.filter-label { font-family: var(--font-serif, serif); font-weight: 600; font-size: 16px; width: 100px; flex-shrink: 0; color: var(--text-main, #33312e); padding-top: 6px; letter-spacing: 1px; }
.filter-options { display: flex; flex-wrap: wrap; gap: 15px; flex: 1; }
.filter-options .opt-btn { font-family: var(--font-sans, sans-serif); font-size: 15px; color: var(--text-gray, #888); background: transparent; border: 1px solid transparent; padding: 6px 20px; cursor: pointer; transition: all 0.3s; letter-spacing: 1px; border-radius: 0; }
.filter-options .opt-btn:hover { color: var(--accent, #8e6d45); }
.filter-options .opt-btn.active { background: var(--accent, #8e6d45); color: #fff; }

.search-actions { display: flex; justify-content: center; gap: 20px; margin-top: 50px; }
.search-actions .btn-action { width: 160px; height: 45px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-sans, sans-serif); font-size: 15px; font-weight: 300; letter-spacing: 2px; cursor: pointer; transition: 0.3s; border-radius: 0; }
.search-actions .btn-clear { background: transparent; color: var(--text-main, #33312e); border: 1px solid var(--border-light, #e2dfd8); }
.search-actions .btn-clear:hover { background: var(--paper-bg, #faf9f6); border-color: var(--text-main, #33312e); }
.search-actions .btn-confirm { background: var(--text-main, #33312e); color: #fff; border: 1px solid var(--text-main, #33312e); }
.search-actions .btn-confirm:hover { background: var(--accent, #8e6d45); border-color: var(--accent, #8e6d45); }


#artisanNameRowHeader { margin-top: -10px; background: #f5f4f1; padding: 15px 0 20px 0; border-bottom: 1px dashed var(--border-light) !important; margin-bottom: 0; }
.sub-filter-box { background: transparent; padding: 0 20px 0 0; border: none; display: flex; flex-wrap: wrap; gap: 12px 15px; width: 100%; }
.sub-filter-box a { font-size: 14px; color: var(--text-gray); padding: 6px 14px; background: transparent; border: none; transition: 0.3s; }
.sub-filter-box a:hover { background: transparent !important; color: var(--accent) !important; }
#headerArtisanNameGroup a.active { background: var(--accent) !important; color: #fff !important; font-weight: 500 !important; }

.search-bar-wrapper { display: flex; align-items: center; max-width: 800px; margin: 0 auto 35px auto; border: 1px solid var(--border-light, #e2dfd8); height: 50px; background: #fff; }
.search-type-select { height: 100%; border: none; background-color: var(--paper-bg, #faf9f6); color: var(--text-main, #33312e); padding: 0 35px 0 20px; font-family: var(--font-sans, sans-serif); font-size: 15px; outline: none; cursor: pointer; border-right: 1px solid var(--border-light, #e2dfd8); appearance: none; -webkit-appearance: none; background-image: url('data:image/svg+xml;utf8,<svg fill="%23888" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>'); background-repeat: no-repeat; background-position: right 10px center;}
.search-input-group { display: flex; flex: 1; height: 100%; }
.search-input { flex: 1; border: none; padding: 0 20px; font-size: 15px; color: var(--text-main, #33312e); outline: none; background: transparent; }
.search-input::placeholder { color: var(--text-gray, #888); font-weight: 300; }
.btn-submit-search { background: transparent; border: none; padding: 0 20px; cursor: pointer; color: var(--text-gray, #888); transition: 0.3s; display: flex; align-items: center; justify-content: center; }
.btn-submit-search:hover { color: var(--accent, #8e6d45); }
.btn-submit-search svg { width: 20px; height: 20px; }

#ly_web_header_0001_0 .menu,
.ly_web_header_0001_0_m_side_panel{display:none;}

@media (max-width: 1680px) {
    .header{padding: 15px 5%;}
    .nav{gap: 35px;  margin-right: 20px;}
    .nav-tools{padding: 10px 8px; gap: 15px; padding-left: 20px;}
    
    .search-panel{padding: 30px 0 50px;}
    .search-tabs{margin-bottom: 30px;}
    .filter-row{padding: 15px 0;}
    .search-actions{margin-top: 30px;}

    #artisanNameRowHeader{margin-top: 0; padding: 15px 0;}
}
@media (max-width: 1536px) {
    .nav{gap: 25px;}
    
    .filter-options{gap: 10px;}
}
@media (max-width: 1280px) {
    .header { padding: 15px 3%;}
    .header.scrolled, .header.hasBack{padding: 14px 3%;}

    .nav-tools-item:not(.rate) span{display: none;}

    .search-bar-wrapper{max-width: 50%; margin: 0 auto 30px auto;}
    .search-tabs .tab-btn{padding: 0 10px 15px;}
    .filter-section{max-height: 395px;}
    .search-actions{margin-top: 25px;}
}
@media (max-width: 1200px) {
    #ly_web_header_0001_0 .nav,
    .nav-tools::before,
    .nav-tools-item.searchPro,
    .nav-tools-divider{display: none;}
    
    .nav-tools{padding: 0; gap: 25px;}
    .tools-dropdown.rate{padding: 0;}
    
    .header { padding: 10px 3%;}
    .header.scrolled, .header.hasBack{padding: 10px 3%;}
    .header.scrolled .logo img, .header.hasBack .logo img{height: 72px;}

    #ly_web_header_0001_0 .menu{display:flex; width:30px; height:30px;}
    #ly_web_header_0001_0 .menu > div{position: absolute;top: 50%;left: 50%;transform: translate(-50%,-50%); font-size: 24px; color: currentColor;}
    #ly_web_header_0001_0 .menu .icon2{opacity: 0;}
    #ly_web_header_0001_0 .menu.cur .icon1{opacity: 0;}
    #ly_web_header_0001_0 .menu.cur .icon2{opacity: 1;}

    .ly_web_header_0001_0_m_side_panel,
    #ly_web_header_0001_0_m_nav{top: 97px;}
    .ly_web_header_0001_0_m_side_panel,
    #ly_web_header_0001_0_m_nav.cur{height: calc(100vh - 97px);border-top:1px solid #ebebeb;}

    #ly_web_header_0001_0_m_nav{display: block;width: 100%;height: 0;z-index:50;left: inherit;right: 0; background: rgba(250, 249, 246, 1); overflow-y: auto;}
    /* #ly_web_header_0001_0_m_nav.cur{height: calc(100vh - 97px);border-top:1px solid #ebebeb;} */
    
    #ly_web_header_0001_0_m_nav .one-icon{font-size: 20px; line-height: 1; font-weight: 700;color:#21292b;}
    #ly_web_header_0001_0_m_nav .list .one-nav{line-height:60px;}
    #ly_web_header_0001_0_m_nav .list .one-nav .one{margin: 0 30px; border-bottom: 1px solid #ebebeb; font-weight: 700;color:#21292b; cursor:pointer; }
    #ly_web_header_0001_0_m_nav .list .one-nav .one-a{display: block; width: calc(100% - 10%); font-size:18px;}
    #ly_web_header_0001_0_m_nav .list .one-nav.cur .one .icon{transform: rotate(90deg);}
    
    /* 二级菜单 */
    #ly_web_header_0001_0_m_nav .list .one-nav .two-nav,
    #ly_web_header_0001_0_m_nav .list .two-item .three-nav,
    #ly_web_header_0001_0_m_nav .list .three-item .four-nav{width: 100%;background: #f7f7f7;padding: 0 30px;}
    #ly_web_header_0001_0_m_nav .list .one-nav .two-nav>div,
    #ly_web_header_0001_0_m_nav .list .two-item .three-nav>div,
    #ly_web_header_0001_0_m_nav .list .three-item .four-nav>div{border-bottom: 1px solid #ebebeb;}
    #ly_web_header_0001_0_m_nav .list .one-nav .two-nav .two-a,
    #ly_web_header_0001_0_m_nav .list .two-item .three-a,
    #ly_web_header_0001_0_m_nav .list .three-item .four-a{font-size: 16px; line-height: 1.5em; color:#21292b; padding: 15px 0;}

    #ly_web_header_0001_0_m_nav .list .one-nav .two-nav .two-a{gap: 10px;}
    #ly_web_header_0001_0_m_nav .list .one-nav .two-nav .two-a .lang_img{width: 25px; height: 25px;}

	#ly_web_header_0001_0_m_nav .bot-box{margin:30px 0 60px}
    #ly_web_header_0001_0_m_nav .bot-box .item .icon{width: 60px;height: 60px;line-height: 60px;border: 1px solid rgba(0, 0, 0, 0.3);font-size: 18px;color: #1a1a1a;border-radius: 100%;margin: 0 auto;}
    #ly_web_header_0001_0_m_nav .bot-box .item .tit{margin-top:12px;font-size:18px;color: #1a1a1a;}

    #ly_web_header_0001_0_m_nav .tools{margin-top: 30px; gap: 40px;}
    #ly_web_header_0001_0_m_nav .tools-item{width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(0, 0, 0, 0.3); border-radius: 50%;}
    #ly_web_header_0001_0_m_nav .tools-item .svg{width: 45%; filter: none; stroke: var(--text-main, #33312e);}

    .tools-dropdown { display: none !important; }

    .ly_web_header_0001_0_m_side_panel { position: fixed; right: 0; width: 100%; max-width: 100%; background: rgba(250, 249, 246, 1); z-index: 99999; transform: translateX(100%); transition: all 0.3s ease; overflow-y: auto; display: block; opacity: 0; visibility: hidden;}
    .ly_web_header_0001_0_m_side_panel.show { transform: translateX(0); opacity: 1; visibility: visible;}
    .ly_web_header_0001_0_m_side_panel .panel-head { height: 60px; padding: 0 30px; border-bottom: 1px solid #ebebeb; }
    .ly_web_header_0001_0_m_side_panel .panel-head h3 { font-size: 18px; font-weight: 700; color: #21292b; margin: 0; }
    .ly_web_header_0001_0_m_side_panel .panel-close { font-size: 22px; cursor: pointer; transform: rotate(180deg); }
    .ly_web_header_0001_0_m_side_panel .panel-list { padding: 20px 30px; }
    .ly_web_header_0001_0_m_side_panel .panel-item { line-height: 55px; font-size: 16px; color: #21292b; border-bottom: 1px solid #ebebeb; display: flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer; }
    .ly_web_header_0001_0_m_side_panel .currency-symbol { font-weight: 600; width: 30px; }
}
@media (max-width: 768px) {
    .filter-row { flex-direction: column; gap: 15px; }
    .filter-options { gap: 10px; }
    .filter-options .opt-btn { padding: 5px 12px; }
    .search-tabs { gap: 30px; }

    .search-bar-wrapper { flex-direction: column; height: auto; border: none; background: transparent; gap: 10px; margin-bottom: 25px; }
    .search-type-select { width: 100%; height: 45px; border: 1px solid var(--border-light, #e2dfd8); }
    .search-input-group { width: 100%; height: 45px; border: 1px solid var(--border-light, #e2dfd8); background: #fff; }

    .nav-tools{gap: 20px;}
    #ly_web_header_0001_0_m_nav .list .one-nav .one{margin: 0 4%; }
}
#ly_web_footer_0001_0 { padding: 100px 0 40px; background: #fff; border-top: 1px solid var(--border-light, #e2dfd8); font-family: var(--font-sans, sans-serif); color: var(--text-main, #33312e); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; width: 1600px; max-width: 95%; margin: 0 auto; margin-bottom: 80px; }
.footer-info-text img { height: 100px; margin-bottom: 25px; object-fit: contain; }
.footer-info-text p { line-height: 1.8; color: #666; font-size: 16px; font-weight: 300; margin-bottom: 10px; }
.footer-toggle-title { font-family: var(--font-serif, serif); font-size: 20px; font-weight: 700; color: var(--text-main, #33312e); margin-bottom: 30px; letter-spacing: 2px; }
.footer-links a { display: block; font-size: 16px; font-weight: 300; color: #666; margin-bottom: 15px; transition: 0.3s; text-decoration: none;}
.footer-links a:hover { color: var(--accent, #8e6d45); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid var(--border-light, #e2dfd8); color: var(--text-gray, #7a756d); font-size: 16px; font-weight: 300; letter-spacing: 1px; display: flex; justify-content: space-between; width: 1600px; max-width: 95%; margin: 0 auto;}

@media (max-width: 1200px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    #ly_web_footer_0001_0 { padding: .8rem 0 .6rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 0; margin-bottom: .6rem; }
    .footer-info-text{margin-bottom: 20px;}

    .footer-col{border-bottom: 1px solid var(--border-light, #e2dfd8);}
    .footer-links { height: 0; overflow: hidden; transition: height 0.3s ease; margin-bottom: 0 !important;}
    .footer-links.open { height: auto;}
    .footer-toggle-title { margin-bottom: 0; padding: 15px 0; display: flex; justify-content: space-between; align-items: center;}
    .footer-toggle-title .icon{display: block; font-size: 20px; color: var(--font-serif, serif);}

    
    .footer-bottom { flex-direction: column; gap: 10px; }

}
.fixed-widgets { position: fixed; bottom: 40px; right: 40px; z-index: 9999; display: flex; flex-direction: column; align-items: center; pointer-events: none;}
.fab-container, .back-to-top { pointer-events: auto; }
.fab-container { display: flex; flex-direction: column-reverse; align-items: center; gap: 0px; transform: translateY(65px); transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);}
.fixed-widgets.show-btt .fab-container { transform: translateY(0); }
.fab-main { width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; border: none;  box-shadow: 0 2px 10px rgba(0,0,0,0.1);  transition: box-shadow 0.3s ease;}
.fab-main img { width: 26px; height: 26px; filter: brightness(0) invert(1); }

.fab-sub-list { display: flex; flex-direction: column; gap: 15px; opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(20px); transition: all 0.4s ease; position: absolute; bottom: 100%; left: 50%; padding-bottom: 5px; }
/* .fab-container:hover .fab-sub-list { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }  */

.fab-item-wrap { position: relative; display: flex; align-items: center;}
.qr-box { position: absolute; right: 100%; top: 50%; transform: translateY(-50%) translateX(20px); margin-right: 15px; width: 140px; height: 140px; background: #fff; padding: 8px; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.15); opacity: 0; visibility: hidden; transition: all 0.3s ease;}
.qr-box img { width: 100%; height: 100%; object-fit: contain;}
.fab-item-wrap:hover .qr-box { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0);}

.fab-sub { width: 50px; height: 50px; border-radius: 50%; background: #fff; border: none;  display: flex; align-items: center; justify-content: center; cursor: pointer;  box-shadow: 0 2px 10px rgba(0,0,0,0.1);  transition: box-shadow 0.3s ease; }
.fab-sub img { width: 26px; height: 26px; }

.back-to-top { width: 45px; height: 45px; border-radius: 50%; background: #fff; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; visibility: hidden; transform: scale(0.8); margin-top: 15px;  box-shadow: 0 2px 10px rgba(0,0,0,0.1);  transition: all 0.4s ease;}
.fixed-widgets.show-btt .back-to-top { opacity: 1; visibility: visible; transform: scale(1); }
.back-to-top img { width: 24px; height: 24px; }

.fab-main:hover, .fab-sub:hover, .back-to-top:hover { box-shadow: 0 5px 15px rgba(142, 109, 69, 0.4); }


/* PC端：hover展开子菜单 */
@media (min-width: 769px) {
    .fab-container:hover .fab-sub-list { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
}
/* 移动端：依靠JS添加open类控制展开，取消hover */
@media (max-width: 768px) {
    .fab-container.open .fab-sub-list { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);}
}

@media (max-width: 768px) {
    .fixed-widgets{bottom: .4rem; right: .2rem;}
}
.ly_web_banner_0002_0_banner { position: relative; height: 550px; background-repeat: no-repeat; background-position: center center; background-size: cover; background-attachment: fixed; display: flex; align-items: center; justify-content: center; color: #fff;}
.ly_web_banner_0002_0_banner::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.55); z-index: 1; }
.ly_web_banner_0002_0_banner_title { position: relative; z-index: 2; display: flex; gap: 24px; align-items: flex-start; justify-content: center; flex-direction: row; }
.ly_web_banner_0002_0_banner_title .en { writing-mode: vertical-rl; font-family: var(--font-serif); font-size: 14px; font-weight: 300; letter-spacing: 2px; margin-top: 10px; color: rgba(255,255,255,0.7); text-transform: uppercase; margin-bottom: 0;}
.ly_web_banner_0002_0_banner_title .cn { writing-mode: vertical-rl; font-family: var(--font-serif); font-size: 45px; font-weight: 700; letter-spacing: 5px; margin: 0; color: #fff; }

/*  二級欄目菜單*/
.sub-menu-wrap {
    border-bottom: 1px solid var(--border-light);
    background: var(--paper-bg);
}

.sub-menu {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 20px 0;
}

.sub-menu a {
    font-size: 16px;
    font-weight: 300;
    color: var(--text-gray);
    letter-spacing: 2px;
    transition: 0.3s;
    position: relative;
    padding-bottom: 5px;
}

.sub-menu a:hover,
.sub-menu a.active {
    color: var(--text-main);
    font-weight: 400;
}

.sub-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -21px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background: var(--accent);
}

@media (max-width: 768px) {
    .sub-menu{gap: 30px;}
}.lyuicard_120 { 
    display: block;
    cursor: pointer; 
    border-radius: 0; 
    --imgBackColor: #E8E5E1;
    --imgMB: 20px;
    --imgBR: 0;
    --timeFontSize: 16px;
    --timeFontColor: var(--text-gray);
    --timeFontWWeight: 300;
    --timeMarginBottom: 10px;

    --nameFontSize: 22px;
    --nameFontColor: var(--text-main);
    --nameFontWWeight: 700;
    --nameMarginBottom: 12px;

    --briefFontSize: 16px;
    --briefFontWeight: 300;
    --briefColor: #666;
}
.article-img { width: 100%; aspect-ratio: 16/10; background: var(--imgBackColor); overflow: hidden; margin-bottom: var(--imgMB); border-radius: var(--imgBR);}
.article-img img { transition: transform 0.6s ease; border-radius: var(--imgBR);}
.article-img.no-pic img { max-width: 120px; max-height: 120px;}

.lyuicard_120_time { font-size: var(--timeFontSize); font-weight: var(--timeFontWWeight); color: var(--timeFontColor); margin-bottom: var(--timeMarginBottom); text-transform: uppercase; letter-spacing: 2px;}
.lyuicard_120_name { font-family: var(--font-serif); font-size: var(--nameFontSize); font-weight: var(--nameFontWWeight); margin-bottom: var(--nameMarginBottom); color: var(--nameFontColor); line-height: 1.4em; transition: color 0.3s;}
.lyuicard_120_brief { font-size: var(--briefFontSize); font-weight: var(--briefFontWeight); color: var(--briefColor); margin-bottom: 0; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;}

@media (any-hover:hover) {
    .lyuicard_120:hover .lyuicard_120_img img { transform: scale(1.05);}
    .lyuicard_120:hover .lyuicard_120_name { color: var(--accent);}
}
/* 新聞列表區 */
.news-page-section {
    padding: 60px 0 120px;
    background: var(--paper-bg);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 40px;
    margin-bottom: 80px;
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}