/* ===========================================================
   Blue Ocean — 海洋藍企業主題
   結構參考 Anytek 型企業官網，配色取自海水藍漸層。
   =========================================================== */

:root {
	--ocean-50:  #eaf7fe;
	--ocean-100: #cdeefb;
	--ocean-200: #a9e2f7;
	--ocean-300: #7fd0f0;
	--ocean-400: #5bc0e8;
	--ocean-500: #2ba7df;  /* 主色 */
	--ocean-600: #1f93d4;
	--ocean-700: #1a6fa3;
	--ink:   #284a5e;
	--muted: #5d7d8f;
	--white: #ffffff;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(31, 147, 212, .14);
	--shadow-sm: 0 4px 14px rgba(31, 147, 212, .12);
	--container: 1200px;
	--font-en: 'Poppins', 'Noto Sans TC', sans-serif;
	--font: 'Noto Sans TC', 'Poppins', "Microsoft JhengHei", sans-serif;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--font);
	color: var(--ink);
	background: var(--white);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
/* 手機收合選單 position:fixed + translateX(100%) 會超出視窗右緣；
   fixed 元素只有 html 的 overflow 能裁掉，clip 不建立捲動容器故不影響 sticky header */
html { overflow-x: clip; }
@supports not (overflow-x: clip) {
	html { overflow-x: hidden; }
}

img { max-width: 100%; height: auto; }
a { color: var(--ocean-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ocean-700); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.screen-reader-text {
	position: absolute !important; clip: rect(1px,1px,1px,1px);
	width: 1px; height: 1px; overflow: hidden;
}
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 10px; top: 10px; background: #fff; padding: 8px 14px; z-index: 9999; border-radius: 6px; }

/* ---------- 按鈕 ---------- */
.btn {
	display: inline-block;
	padding: 11px 30px;
	background: var(--ocean-500);
	color: #fff;
	border-radius: 999px;
	font-weight: 500;
	letter-spacing: .04em;
	box-shadow: var(--shadow-sm);
	transition: transform .2s, background .2s, box-shadow .2s;
}
.btn:hover { background: var(--ocean-600); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost {
	background: transparent;
	border: 1.5px solid rgba(255,255,255,.9);
	box-shadow: none;
	color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,.18); color: #fff; }

/* ===========================================================
   Header
   =========================================================== */
.site-header {
	position: sticky; top: 0; z-index: 200;
	background: rgba(255,255,255,.92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--ocean-100);
	transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(31,147,212,.12); }
.site-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 24px; min-height: 72px;
}

.site-branding .site-logo,
.site-branding .custom-logo-link { display: flex; align-items: center; gap: 10px; }
.site-logo-mark { color: var(--ocean-500); display: inline-flex; }
.site-title {
	font-family: var(--font-en);
	font-weight: 700; font-size: 22px; letter-spacing: .06em;
	color: var(--ocean-700);
}

.header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }

/* 工具列：搜尋 + 語言 + 登入 */
.header-tool { display: flex; align-items: center; gap: 16px; font-size: 13px; }
.search-form { display: flex; align-items: center; background: var(--ocean-50); border: 1px solid var(--ocean-100); border-radius: 999px; overflow: hidden; }
.search-field { border: 0; background: transparent; padding: 7px 14px; font-size: 13px; outline: none; width: 200px; color: var(--ink); }
.search-submit { border: 0; background: var(--ocean-500); color: #fff; padding: 7px 12px; display: inline-flex; cursor: pointer; }
.search-submit:hover { background: var(--ocean-600); }
.header-lang { color: var(--muted); }
.header-lang a { color: var(--muted); }
.header-lang a:hover { color: var(--ocean-600); }
.header-login { border: 1px solid var(--ocean-200); border-radius: 999px; padding: 4px 14px; color: var(--ocean-600); }
.header-login:hover { background: var(--ocean-500); color: #fff; border-color: var(--ocean-500); }

/* 主選單 + 下拉 */
.main-navigation ul { list-style: none; margin: 0; padding: 0; }
.main-navigation > ul { display: flex; align-items: center; gap: 6px; }
.main-navigation li { position: relative; }
.main-navigation a {
	display: block; padding: 10px 16px;
	font-weight: 500; color: var(--ink); border-radius: 8px;
	white-space: nowrap;
}
.main-navigation > ul > li > a:hover { color: var(--ocean-600); background: var(--ocean-50); }
.main-navigation > ul > li.current-menu-item > a,
.main-navigation > ul > li.current_page_item > a,
.main-navigation > ul > li.current-menu-parent > a,
.main-navigation > ul > li.current-menu-ancestor > a { color: var(--ocean-600); }

/* 二級選單 */
.main-navigation ul ul {
	position: absolute; top: 100%; left: 0;
	min-width: 200px; background: #fff;
	box-shadow: var(--shadow); border-radius: 12px;
	padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: all .22s; z-index: 100;
}
.main-navigation li:hover > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.main-navigation ul ul a { padding: 9px 14px; font-size: 14px; font-weight: 400; }
.main-navigation ul ul a:hover { background: var(--ocean-50); color: var(--ocean-600); }
.main-navigation ul ul ul { top: 0; left: 100%; }

/* 漢堡鈕 */
.menu-toggle { display: none; background: transparent; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ocean-700); margin: 5px 0; transition: .25s; }

/* ===========================================================
   Banner
   =========================================================== */
.block-banner { position: relative; }
.banner-swiper { width: 100%; }
.banner-slide {
	display: block; min-height: 520px;
	background-size: cover; background-position: center;
	display: flex; align-items: center;
	position: relative;
}
.banner-slide::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(20,80,120,.30), rgba(43,167,223,.04) 60%),
		linear-gradient(180deg, rgba(20,80,120,0) 52%, rgba(234,247,254,.55) 100%);
}
.banner-caption { position: relative; z-index: 2; color: #fff; text-shadow: 0 2px 12px rgba(20,80,120,.35); }
.banner-caption h2 { font-family: var(--font-en); font-size: clamp(34px, 6vw, 72px); font-weight: 700; letter-spacing: .08em; margin: 0 0 12px; }
.banner-caption p { font-size: clamp(15px, 2vw, 20px); font-weight: 300; margin: 0 0 26px; max-width: 560px; }

.banner-swiper .swiper-pagination-bullet { background: #fff; opacity: .6; }
.banner-swiper .swiper-pagination-bullet-active { opacity: 1; }
.banner-swiper .swiper-button-prev,
.banner-swiper .swiper-button-next { color: #fff; }
.banner-swiper .swiper-button-prev::after,
.banner-swiper .swiper-button-next::after { font-size: 26px; }

/* ===========================================================
   Section 共用
   =========================================================== */
.section { padding: 78px 0; position: relative; }
.section-title {
	text-align: center; font-size: clamp(24px, 3vw, 34px); font-weight: 700;
	color: var(--ocean-700); margin: 0 0 44px; letter-spacing: .04em;
}
.section-title::after {
	content: ""; display: block; width: 54px; height: 3px;
	background: var(--ocean-400); border-radius: 3px; margin: 14px auto 0;
}
.section-more { text-align: center; margin-top: 40px; }

/* 全頁順接漸層：區塊透明、移除海浪分隔線，讓顏色自然流動 */
.front-page {
	background: linear-gradient(180deg,
		#ffffff 0%,
		var(--ocean-50) 14%,
		var(--ocean-200) 50%,
		var(--ocean-50) 86%,
		#ffffff 100%);
}
.front-page .section { background: transparent; position: relative; }
.section-products,
.section-new,
.section-solutions,
.section-news { background: transparent; }

/* ===========================================================
   產品 / 解決方案卡片（輪播 + 彙整 grid）
   =========================================================== */
.pro-card {
	display: block; background: #fff; border-radius: var(--radius);
	overflow: hidden; box-shadow: var(--shadow-sm); height: 100%;
	transition: transform .25s, box-shadow .25s;
	color: var(--ink);
}
.pro-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--ink); }
.pro-card__img { display: block; height: 200px; background-size: cover; background-position: center; }
.pro-card h3 { margin: 16px 18px 8px; font-size: 18px; color: var(--ocean-700); }
.pro-card p { margin: 0 18px 20px; font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.pro-swiper, .sol-swiper { padding-bottom: 46px; }
.pro-swiper .swiper-slide, .sol-swiper .swiper-slide { height: auto; }
.swiper-pagination-bullet-active { background: var(--ocean-500); }

.pro-grid {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px;
}

/* ===========================================================
   新品上市
   =========================================================== */
.new-grid {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
}
.new-grid > li > a {
	display: block; background: #fff; border-radius: var(--radius);
	overflow: hidden; box-shadow: var(--shadow-sm); height: 100%; color: var(--ink);
	position: relative; transition: transform .25s, box-shadow .25s;
}
.new-grid > li > a:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.new-grid .tag {
	position: absolute; top: 14px; left: 14px; z-index: 2;
	background: var(--ocean-500); color: #fff; font-size: 12px;
	padding: 4px 12px; border-radius: 999px; letter-spacing: .04em;
}
.new-card__img { display: block; height: 200px; background-size: cover; background-position: center; }
.new-grid h3 { margin: 16px 18px 8px; font-size: 17px; color: var(--ocean-700); }
.new-grid p { margin: 0 18px 20px; font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ===========================================================
   新聞中心
   =========================================================== */
.news-grid {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.news-grid > li > a {
	display: block; background: #fff; border-radius: var(--radius);
	overflow: hidden; box-shadow: var(--shadow-sm); height: 100%; color: var(--ink);
	transition: transform .25s, box-shadow .25s;
}
.news-grid > li > a:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-card__img { display: block; height: 210px; background-size: cover; background-position: center; }
.news-grid h5 { margin: 18px 20px 10px; font-size: 17px; line-height: 1.5; color: var(--ocean-700); }
.news-grid p { margin: 0 20px 14px; font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-grid .date { display: block; margin: 0 20px 20px; font-size: 12.5px; color: var(--ocean-400); font-family: var(--font-en); }
.archive-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* ===========================================================
   內頁
   =========================================================== */
.page-hero {
	background: linear-gradient(120deg, var(--ocean-400), var(--ocean-600));
	color: #fff; padding: 64px 0 70px; position: relative; overflow: hidden;
}
.page-hero::after { content: none; }
.page-hero__title { margin: 0; font-size: clamp(26px, 4vw, 40px); font-weight: 700; letter-spacing: .04em; }
.page-hero__title span { opacity: .85; }
.page-hero__meta, .page-hero__desc { margin-top: 10px; opacity: .9; }
.page-hero__crumb { margin-top: 12px; font-size: 14px; opacity: .92; }
.page-hero__crumb a { color: #fff; }
.page-hero__crumb a:hover { text-decoration: underline; }
.page-hero__crumb .sep { margin: 0 6px; opacity: .55; }

.content-area { padding: 56px 20px 80px; }
.single-article { padding: 50px 20px 30px; max-width: 860px; }
.single-thumb { margin-bottom: 30px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.entry-content { font-size: 16px; }
.entry-content h2, .entry-content h3 { color: var(--ocean-700); margin-top: 1.6em; }
.entry-content img { border-radius: 10px; }
.entry-content a { text-decoration: underline; }
.entry-content blockquote { border-left: 4px solid var(--ocean-300); margin: 1.4em 0; padding: 6px 20px; background: var(--ocean-50); border-radius: 0 10px 10px 0; }
.entry-footer { margin-top: 30px; color: var(--muted); font-size: 14px; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; max-width: 860px; padding: 20px 20px 60px; font-size: 14px; }

.search-list { list-style: none; margin: 0; padding: 0; max-width: 860px; }
.search-item { padding: 22px 0; border-bottom: 1px solid var(--ocean-100); }
.search-item h3 { margin: 0 0 8px; }
.search-item__meta { font-size: 13px; color: var(--ocean-400); }
.no-results { color: var(--muted); }
.error-404 { text-align: center; }
.error-404 .btn { margin: 10px 0 26px; }

/* 分頁 */
.pagination { margin-top: 50px; text-align: center; }
.pagination .nav-links { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers {
	display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center;
	padding: 0 12px; border-radius: 999px; background: var(--ocean-50); color: var(--ocean-700);
}
.pagination .page-numbers.current { background: var(--ocean-500); color: #fff; }
.pagination a.page-numbers:hover { background: var(--ocean-200); }

/* ===========================================================
   Footer
   =========================================================== */
.site-footer { position: relative; background: linear-gradient(180deg, var(--ocean-500), var(--ocean-600)); color: #f3fbff; margin-top: 0; }
.footer-wave { display: none; }
.footer-wave svg { width: 100%; height: 60px; display: block; }
.front-page + .site-footer { margin-top: 0; }
.site-main + .site-footer .footer-wave { display: none; }
.front-page ~ .site-footer .footer-wave { display: block; }

.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px 80px; padding: 50px 20px 40px; align-items: start; }
.footer-nav { justify-self: end; text-align: right; min-width: 160px; }
.footer-nav a:hover { padding-left: 0; padding-right: 4px; }
.footer-col h4 { font-size: 16px; color: #fff; margin: 0 0 18px; }
.footer-company { font-size: 16px; margin: 6px 0 12px; }
.footer-about p { margin: 4px 0; font-size: 14px; color: #ffffff; }
.footer-about a { color: #ffffff; }
.footer-about a:hover { color: #fff; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin: 8px 0; }
.footer-menu a { color: #ffffff; font-size: 14px; }
.footer-menu a:hover { color: #fff; padding-left: 4px; }
/* 涵蓋頁尾選單（含未指定選單時的 fallback .nav-menu） */
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin: 8px 0; }
.footer-nav a { color: #ffffff; font-size: 14px; }
.footer-nav a:hover { color: #ffffff; padding-left: 4px; }
.footer-nav .sub-menu { display: none; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 18px 20px; font-size: 13px; color: #eef9ff; }

/* 回到頂端 */
.back-to-top {
	position: fixed; right: 22px; bottom: 22px; z-index: 150;
	width: 46px; height: 46px; border-radius: 50%;
	background: var(--ocean-500); color: #fff;
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(10px);
	transition: .25s;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--ocean-600); color: #fff; }

/* ===========================================================
   RWD
   =========================================================== */
@media (max-width: 1100px) {
	.new-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
	.header-right { flex-direction: row; align-items: center; }
	.header-tool { display: none; }
	.menu-toggle { display: block; order: 2; }

	.main-navigation {
		position: fixed; top: 72px; right: 0; width: min(320px, 86vw); height: calc(100vh - 72px);
		background: #fff; box-shadow: -10px 0 30px rgba(31,147,212,.18);
		transform: translateX(100%); transition: transform .3s; overflow-y: auto; padding: 16px;
	}
	body.nav-open .main-navigation { transform: translateX(0); }
	.main-navigation > ul { flex-direction: column; align-items: stretch; gap: 2px; }
	.main-navigation a { padding: 12px 14px; }
	.main-navigation ul ul {
		position: static; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; padding: 0 0 0 14px; min-width: 0;
	}
	.main-navigation ul ul ul { left: 0; }
}
@media (max-width: 820px) {
	.footer-inner { grid-template-columns: 1fr; }
	.footer-nav { justify-self: start; text-align: left; }
	.footer-nav a:hover { padding-left: 4px; padding-right: 0; }
	.news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.new-grid { grid-template-columns: 1fr; }
	.footer-inner { grid-template-columns: 1fr; }
	.banner-slide { min-height: 420px; }
	.section { padding: 56px 0; }
	.post-nav { flex-direction: column; gap: 10px; }
}

/* ===========================================================
   聯繫我們 — 留言框
   =========================================================== */
.bo-contact-form {
	max-width: 620px;
	margin: 10px 0 0;
	background: #fff;
	border: 1px solid var(--ocean-100);
	border-radius: var(--radius);
	padding: 28px 26px;
	box-shadow: var(--shadow-sm);
}
.bo-field { margin-bottom: 18px; }
.bo-field label { display: block; font-weight: 500; color: var(--ocean-700); margin-bottom: 6px; font-size: 14px; }
.bo-field label span { color: #e1604f; }
.bo-field input,
.bo-field textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--ocean-200);
	border-radius: 10px;
	background: var(--ocean-50);
	font: inherit;
	color: var(--ink);
	transition: border-color .2s, box-shadow .2s, background .2s;
}
.bo-field input:focus,
.bo-field textarea:focus {
	outline: none;
	border-color: var(--ocean-400);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(91, 192, 232, .18);
}
.bo-field textarea { resize: vertical; min-height: 120px; }
.bo-contact-form .btn { border: 0; cursor: pointer; font: inherit; margin-top: 4px; }

/* 蜜罐：藏起來，真人看不到 */
.bo-hp { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* 驗證碼輸入框（窄一點即可） */
.bo-captcha-field input[type="text"] { max-width: 140px; letter-spacing: .1em; }

/* ===========================================================
   產品目錄（左側分類樹 + 內容）
   =========================================================== */
.page-hero--slim { padding: 42px 0 48px; }

.catalog-layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 40px;
	align-items: start;
	padding: 40px 20px 76px;
}

.catalog-sidebar {
	background: #fff;
	border: 1px solid var(--ocean-100);
	border-radius: var(--radius);
	padding: 16px 14px;
	box-shadow: var(--shadow-sm);
	position: sticky;
	top: 88px;
}
.catalog-sidebar__title {
	margin: 4px 6px 12px;
	font-size: 16px;
	color: var(--ocean-700);
	padding-bottom: 10px;
	border-bottom: 2px solid var(--ocean-100);
}

/* 產品搜索列（仿 anytek product.html filter） */
.catalog-filter {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
	background: var(--ocean-50); border: 1px solid var(--ocean-100);
	border-radius: var(--radius); padding: 14px 16px; margin: 0 0 24px;
}
.catalog-filter__title {
	font-weight: 700; color: var(--ocean-700); font-size: 15px;
	padding-right: 6px; border-right: 2px solid var(--ocean-200);
}
.catalog-filter__f,
.catalog-filter__kw {
	height: 40px; border: 1px solid var(--ocean-200); border-radius: 8px;
	padding: 0 12px; font-size: 14px; background: #fff; color: var(--ink);
	font-family: inherit; max-width: 100%;
}
.catalog-filter__f { flex: 1 1 140px; min-width: 0; }
.catalog-filter__f:disabled { background: #f2f6f8; color: var(--muted); }
.catalog-filter__kw { flex: 1 1 150px; min-width: 0; }
.catalog-filter__btn {
	height: 40px; padding: 0 26px; border: 0; border-radius: 8px; cursor: pointer;
	background: var(--ocean-500); color: #fff; font-weight: 600; font-size: 14px;
	transition: background .2s; flex: 0 0 auto;
}
.catalog-filter__btn:hover { background: var(--ocean-600); }
.catalog-filter__count { font-size: 13px; color: var(--muted); }
.filter-summary { font-size: 14px; color: var(--ocean-700); font-weight: 600; margin: 4px 0 16px; }
.search-products { margin-top: 8px; }
@media (max-width: 700px) {
	.catalog-filter__f, .catalog-filter__kw { flex-basis: calc(50% - 5px); }
}
@media (max-width: 560px) {
	.catalog-filter { padding: 12px; gap: 8px; }
	.catalog-filter__title { border-right: 0; width: 100%; }
	.catalog-filter__f, .catalog-filter__kw { flex-basis: 100%; }
	.catalog-filter__btn { width: 100%; }
}

/* 分類樹 */
.cat-tree, .cat-tree ul { list-style: none; margin: 0; padding: 0; }
.cat-tree ul { padding-left: 12px; display: none; }
.cat-tree li.is-open > ul { display: block; }
.cat-tree li { position: relative; }
.cat-tree a {
	display: block;
	padding: 9px 30px 9px 12px;
	color: var(--ink);
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.4;
	transition: background .15s, color .15s;
}
.cat-tree a:hover { background: var(--ocean-50); color: var(--ocean-600); }
.cat-tree li.is-active > a { background: var(--ocean-100); color: var(--ocean-700); font-weight: 600; }
.cat-tree--root > li > a { font-weight: 500; }

.cat-toggle {
	position: absolute; top: 6px; right: 2px;
	width: 26px; height: 28px;
	border: 0; background: transparent; cursor: pointer; padding: 0;
	color: var(--ocean-400);
}
.cat-toggle::before { content: '+'; font-size: 16px; line-height: 1; }
.cat-tree li.is-open > .cat-toggle::before { content: '\2212'; } /* − */
.cat-toggle:hover { color: var(--ocean-600); }

/* 麵包屑 */
.catalog-breadcrumb {
	font-size: 13px; color: var(--muted);
	margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 7px; align-items: center;
}
.catalog-breadcrumb a { color: var(--muted); }
.catalog-breadcrumb a:hover { color: var(--ocean-600); }
.catalog-breadcrumb .current { color: var(--ocean-700); font-weight: 500; }
.catalog-breadcrumb span { color: var(--ocean-200); }

.catalog-desc { margin-bottom: 26px; color: var(--muted); line-height: 1.8; }

/* 子分類 / 產品卡片網格 */
.subcat-grid, .pro-grid {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); gap: 24px;
}

@media (max-width: 860px) {
	.catalog-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 26px 16px; }
	.catalog-sidebar { position: static; }
	/* grid item 預設 min-width:auto 會撐開；歸零讓內容可縮、由捲動容器處理溢出 */
	.catalog-content, .catalog-sidebar { min-width: 0; }
	.catalog-content { max-width: 100%; overflow-x: hidden; }
}

/* 送出後提示 */
.bo-form-notice {
	max-width: 620px;
	margin: 0 0 18px;
	padding: 13px 18px;
	border-radius: 10px;
	font-size: 14px;
}
.bo-form-notice--ok { background: #e3f6ec; color: #1c7a4a; border: 1px solid #a8e0c2; }
.bo-form-notice--err { background: #fdeceb; color: #b23b2e; border: 1px solid #f3bdb6; }

/* 聯絡資訊區塊（頁面內容用 WP 區塊排版，這裡給點呼吸） */
.contact-detail-list { list-style: none; margin: 0 0 30px; padding: 0; }
.contact-detail-list li { margin: 8px 0; color: var(--muted); }
.contact-detail-list strong { color: var(--ocean-700); margin-right: 6px; }

/* ===========================================================
   Yotek Aqua override — 海洋藍 × 香檳金 + 第一版封面圖
   =========================================================== */
:root { --gold: #cba96a; }

/* Hero 大圖：第一版科技封面圖 + 海洋藍遮罩，標題左、白字 */
.front-page .banner-slide { background-image: url('../img/hero.png') !important; background-position: center right; background-size: cover; }
.banner-slide::after {
	background: linear-gradient(90deg, rgba(12,52,86,.86) 0%, rgba(12,52,86,.5) 44%, rgba(12,52,86,.08) 100%);
}
.banner-caption p { color: #eaf6ff; }

/* 香檳金點綴（少量、提升質感） */
.section-title::after { background: var(--gold); }
.site-logo-mark { color: var(--gold); }
.btn-ghost { border: 1.5px solid var(--gold); color: var(--gold); }
.btn-ghost:hover { background: rgba(203,169,106,.16); color: var(--gold); }
.new-grid .tag { background: var(--ocean-700); color: var(--gold); }
.footer-col h4 { color: var(--gold); }
.header-login { border-color: var(--gold); color: var(--ocean-700); }
.header-login:hover { background: var(--gold); border-color: var(--gold); color: var(--ocean-700); }

/* ===========================================================
   Yotek Aqua V2 — 整站深海藍底色（封面色）深色版
   =========================================================== */
:root { --deep: #092d4c; --deep-d: #061f37; --aqua-soft: #cfdeee; }

/* 整頁深藍底 */
body { background: var(--deep); color: var(--aqua-soft); }
.front-page { background: var(--deep) !important; }

/* Header 深藍、文字白、選單 hover 金 */
.site-header { background: var(--deep-d); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.site-title { color: #ffffff; }
.main-navigation > ul > li > a { color: #d3e1f1; }
.main-navigation > ul > li > a:hover,
.current-menu-item > a,
.current_page_item > a,
.current-menu-parent > a { color: var(--gold); }
.search-form { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.search-field { color: #ffffff; }
.search-field::placeholder { color: rgba(255,255,255,.55); }
.search-submit { background: var(--ocean-500); }
.header-login { color: #ffffff; }
.menu-toggle span { background: #ffffff; }

/* 行動版下拉維持白底深字 */
@media (max-width: 980px) {
	.main-navigation { background: var(--deep-d); }
	.main-navigation > ul > li > a { color: #d3e1f1; }
}

/* 區塊標題轉白（底線維持金） */
.section-title { color: #ffffff; }

/* 卡片維持白底，深藍上加陰影更立體 */
.pro-card, .new-grid > li > a { box-shadow: 0 14px 36px rgba(0,0,0,.42); }

/* swiper 分頁點轉白 */
.banner-swiper .swiper-pagination-bullet,
.pro-pagination .swiper-pagination-bullet,
.sol-pagination .swiper-pagination-bullet { background: #ffffff; }

/* 內頁標題帶：深藍漸層 */
.page-hero { background: linear-gradient(120deg, var(--deep), var(--deep-d)); }

/* 內頁內容：白卡承載（深底配深字會看不到），浮於深藍上 */
.entry-content,
.catalog-layout {
	background: #ffffff; color: var(--ink);
	max-width: 1080px; margin: -24px auto 64px; padding: 40px 44px;
	border-radius: 16px; box-shadow: 0 16px 50px rgba(0,0,0,.38);
}
/* 產品目錄頁比照 anytek 加寬（anytek .container 1230px） */
.catalog-layout {
	max-width: 1230px; padding: 40px 34px;
}
.entry-content a { color: var(--ocean-600); }

/* 手機：白卡不要吃掉太多寬度、內容不外溢 */
@media (max-width: 860px) {
	.entry-content { padding: 26px 16px; margin-left: 12px; margin-right: 12px; }
	.catalog-layout { padding: 24px 14px; margin-left: 10px; margin-right: 10px; }
}
@media (max-width: 480px) {
	.entry-content { padding: 20px 13px; margin-left: 8px; margin-right: 8px; }
	.catalog-layout { padding: 18px 12px; margin-left: 6px; margin-right: 6px; }
}

/* 頁尾更深藍 */
.site-footer { background: var(--deep-d); }

/* ===========================================================
   產品規格對照表（分類頁：產品為欄、規格為列，仿 anytek 列表）
   =========================================================== */
.pro-spec { margin: 4px 0; }
.pro-spec__scroll {
	overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 30px;
	border: 1px solid var(--ocean-200); border-radius: var(--radius); background: #fff;
}
.pro-spec__table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 14px; color: var(--ink); }
.pro-spec__table th,
.pro-spec__table td { border: 1px solid var(--ocean-200); padding: 12px 14px; text-align: center; vertical-align: middle; }
.pro-spec__table th[scope="row"] {
	background: var(--ocean-50); color: var(--ocean-700); font-weight: 700;
	white-space: nowrap; text-align: left; width: 92px;
	position: sticky; left: 0; z-index: 1;
}
.pro-spec__row--title td { background: var(--ocean-50); }
.pro-spec__name { display: block; font-weight: 700; color: var(--ocean-700); }
.pro-spec__name:hover { color: var(--ocean-600); text-decoration: underline; }
.pro-spec__thumb { display: inline-block; }
.pro-spec__thumb img {
	display: block; width: 150px; height: auto; max-height: 120px; object-fit: contain; margin: 0 auto;
	transition: transform .2s;
}
.pro-spec__thumb:hover img { transform: scale(1.05); }
@media (max-width: 640px) {
	.pro-spec__table { font-size: 13px; }
	.pro-spec__table th, .pro-spec__table td { padding: 9px 10px; }
	.pro-spec__table th[scope="row"] { width: 76px; font-size: 12px; }
	.pro-spec__thumb img { width: 104px; }
}

/* 產品內頁：下載按鈕 + 安規列 */
.bo-downloads { margin: 18px 0; }
.bo-dl {
	display: inline-block; padding: 9px 18px; border-radius: 8px;
	background: var(--ocean-500); color: #fff; font-weight: 600; font-size: 14px;
}
.bo-dl:hover { background: var(--ocean-600); color: #fff; }
.pro-spec__row--safety img { display: inline-block; vertical-align: middle; }

/* ===========================================================
   行業解決方案（頁面）
   =========================================================== */
.sol-banner { margin: 0 0 24px; }
.sol-banner img { width: 100%; height: auto; border-radius: 12px; display: block; }
.sol-intro { font-size: 15px; line-height: 1.9; color: var(--ink); margin-bottom: 30px; }
.sol-intro p { margin: 0 0 10px; }
.sol-section { margin: 30px 0; }
.sol-section > h3 { font-size: 20px; color: var(--ocean-700); border-left: 4px solid var(--ocean-500); padding-left: 12px; margin: 0 0 16px; }
.sol-section__body { font-size: 14px; line-height: 1.85; }
.sol-section__body img { max-width: 100%; height: auto; border-radius: 8px; margin: 8px 0; }
.entry-content h3 { scroll-margin-top: 90px; }
.sol-rec { overflow-x: auto; margin: 12px 0 26px; }
.sol-rec table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 13px; }
.sol-rec th, .sol-rec td { border: 1px solid var(--ocean-200); padding: 9px 10px; text-align: center; vertical-align: middle; }
.sol-rec thead th { background: var(--ocean-50); color: var(--ocean-700); white-space: nowrap; }
.sol-rec td img { max-width: 88px; height: auto; display: inline-block; }
.sol-rec tbody tr:hover { background: var(--ocean-50); }
.sol-rec a { color: var(--ocean-600); font-weight: 600; }
.sol-cards { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.sol-cards a { display: block; background: #fff; border: 1px solid var(--ocean-100); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.sol-cards a:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.sol-cards img { width: 100%; height: 160px; object-fit: cover; display: block; }
.sol-cards span { display: block; padding: 14px 16px; font-weight: 700; color: var(--ocean-700); text-align: center; }
