/* 中文註釋：產品頁共用首頁設計變數，不建立第二套色彩系統。 */
[hidden] { display: none!important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.product-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; padding-top: 27px; font-size: 12px; color: var(--muted); }
.product-breadcrumb a { color: var(--sage); }
.catalog-heading { padding: 36px 0 34px; }
.catalog-heading .eyebrow { margin-bottom: 13px; }
.catalog-heading h1 { font-size: clamp(35px,4vw,49px); margin-bottom: 15px; }
.catalog-heading p { max-width: 650px; font-size: 15px; color: var(--text); }
.catalog-section { padding: 0 0 75px; }
.catalog-toolbar { display: grid; grid-template-columns: minmax(0,1fr) 315px; gap: 30px; align-items: center; padding: 25px; background: white; border-radius: 16px; box-shadow: var(--shadow); }
.catalog-filters, .catalog-search { min-width: 0; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 9px; }
.filter-pill { min-height: 44px; padding: 10px 15px; border: 0; border-radius: 16px; background: var(--bg); color: var(--sage); font-size: 11px; line-height: 1.5; font-weight: 600; transition: background .2s, color .2s; }
.filter-pill[aria-pressed="true"] { background: var(--cta); color: white; }
.filter-pill:hover:not([aria-pressed="true"]) { background: #E7F5ED; }
.catalog-search label { display: block; font-size: 11px; color: var(--sage); margin-bottom: 7px; font-weight: 600; }
.catalog-search > div { display: flex; align-items: center; gap: 10px; background: var(--bg); padding: 0 13px; min-height: 49px; border-radius: 12px; box-shadow: var(--shadow); border: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.catalog-search .ico { color: var(--bio); width: 19px; height: 19px; }
.catalog-search input { width: 100%; min-width: 0; border: 0; padding: 12px 0; font-size: 13px; color: var(--text); background: transparent; border-radius: 12px; }
.catalog-search input::placeholder { color: var(--muted); font-size: 11px; }
.catalog-results { color: var(--muted); font-size: 12px; margin: 22px 2px; min-height: 20px; }
/* 中文註釋：卡片為獨立 article，避免兩個 CTA 形成巢狀連結。 */
.catalog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.catalog-card { background: white; border-radius: 16px; box-shadow: var(--shadow); outline: 1px solid transparent; overflow: hidden; display: flex; flex-direction: column; min-width: 0; transition: transform .22s, box-shadow .22s, outline-color .22s; }
.catalog-card:hover { transform: translateY(-5px); outline-color: #4EBC8E55; box-shadow: 0 12px 34px rgba(78,188,142,.12); }
.catalog-card-image { position: relative; min-height: 280px; height: 280px; display: flex; align-items: center; justify-content: center; background: white; overflow: hidden; }
.catalog-card-image > img { width: 100%; height: 235px; padding: 12px; object-fit: contain; transition: transform .35s; }
.catalog-card:hover .catalog-card-image > img { transform: scale(1.045); }
.product-badge { position: absolute; display: flex; align-items: center; left: 18px; top: 18px; padding: 2px 8px; border-radius: 9999px; background: #4EBC8E; color: #FFFFFF; font-size: 12px; line-height: 1.5; font-weight: 600; box-shadow: var(--shadow); }
.catalog-image-caption { position: absolute; bottom: 7px; right: 14px; color: var(--muted); font-size: 9px; }
.catalog-card-body { display: flex; flex-direction: column; flex: 1; padding: 23px; padding-top: 12px; }
.catalog-card-body h2 { font-size: 21px; line-height: 1.4; letter-spacing: -.5px; }
.catalog-card-body h2 a { color: var(--sage); }
.catalog-card-direction { margin: 11px 0 23px; font-size: 13px; color: var(--text); line-height: 1.8; }
.catalog-card-actions { display: grid; grid-template-columns: .7fr 1.3fr; gap: 9px; margin-top: auto; }
.catalog-card-actions .btn { font-size: 11px; padding: 12px 9px; min-height: 46px; min-width: 0; text-align: center; }
.documentation-only { align-self: center; text-align: center; font-size: 11px; color: var(--muted); }
.catalog-empty { grid-column: 1 / -1; background: white; border-radius: 16px; text-align: center; padding: 60px 25px; box-shadow: var(--shadow); }
.catalog-empty h2 { font-size: 28px; margin-bottom: 13px; }
.catalog-empty p { font-size: 15px; margin-bottom: 22px; }
.product-image-error { padding: 25px; color: var(--muted); font-size: 13px; text-align: center; }
/* 中文註釋：詳情頁精準雙欄與可切換圖片，保留真實圖片來源說明。 */
.detail-root { min-height: 450px; }
.detail-loading { padding: 70px 0; font-size: 16px; }
.detail-hero-section { padding: 34px 0 55px; }
.detail-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: start; }
.detail-gallery, .detail-decision { min-width: 0; }
.detail-gallery-stage { position: relative; height: 480px; display: flex; align-items: center; justify-content: center; background: white; border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; padding: 25px; }
.detail-gallery-stage > img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s; }
.detail-gallery-stage > img[data-mode="zoom"] { transform: scale(1.65); }
.detail-gallery-stage > img[data-mode="report"] { padding: 8px; }
.gallery-illustration { position: absolute; top: 15px; left: 15px; font-size: 9px; background: var(--bg); color: var(--sage); border-radius: 12px; padding: 5px 8px; z-index: 1; }
.gallery-thumbnails { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 14px; }
.gallery-thumb { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 8px; min-width: 0; border: 1px solid transparent; border-radius: 12px; background: white; box-shadow: var(--shadow); }
.gallery-thumb[aria-pressed="true"] { border-color: var(--bio); background: #F0F9F4; }
.gallery-thumb img { width: 100%; height: 65px; object-fit: contain; }
.gallery-thumb span { font-size: 10px; color: var(--sage); line-height: 1.5; }
.gallery-note { font-size: 11px; color: var(--muted); line-height: 1.7; padding: 12px 4px 0; min-height: 45px; }
.detail-research-line { color: var(--bio); font-size: 11px; font-weight: 650; letter-spacing: .04em; margin: 10px 0 14px; }
.detail-decision h1 { font-size: clamp(35px,3.6vw,49px); letter-spacing: -1.5px; overflow-wrap: anywhere; }
.detail-micro-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 25px 0 28px; }
.detail-micro-grid > div { min-width: 0; padding: 16px 12px; border-radius: 12px; background: #EBF7F0; }
.detail-micro-grid .ico { color: var(--bio); width: 23px; height: 23px; margin-bottom: 10px; }
.detail-micro-grid span { display: block; color: var(--sage); font-size: 10px; }
.detail-micro-grid strong { display: block; color: var(--text); font-size: 11px; font-weight: 600; line-height: 1.7; margin-top: 5px; overflow-wrap: anywhere; }
.detail-specifications h2 { font-size: 17px; letter-spacing: -.2px; margin-bottom: 14px; }
.presentation-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.presentation-options button { border: 1px solid #E0EEE5; background: white; color: var(--sage); border-radius: 12px; padding: 13px 10px; min-width: 0; text-align: left; box-shadow: var(--shadow); }
.presentation-options button[aria-pressed="true"] { border-color: var(--bio); background: #F0F9F4; }
.presentation-options strong { display: block; font-size: 18px; font-weight: 650; }
.presentation-options span { display: block; font-size: 9px; line-height: 1.6; margin-top: 4px; color: var(--muted); }
.presentation-status { font-size: 12px; color: var(--sage); margin-top: 15px; }
.specification-note { font-size: 11px; color: var(--muted); line-height: 1.8; margin: 10px 0; }
.detail-quote { display: flex; width: 100%; margin-top: 24px; min-height: 61px; padding: 17px 20px; font-size: 16px; font-weight: 750; justify-content: space-between; }
.detail-quote .ico { width: 20px; height: 20px; }
.documentation-notice { margin-top: 20px; font-size: 13px; color: var(--muted); }
/* 中文註釋：語義化 Tabs 支援左右方向鍵、Home/End 與手機橫向捲動。 */
.technical-section { padding: 15px 0 50px; }
.technical-card { background: white; border-radius: 16px; box-shadow: var(--shadow); padding: 0; overflow: hidden; }
.technical-tabs { display: flex; align-items: stretch; overflow-x: auto; gap: 22px; padding: 0 35px; border-bottom: 1px solid #EDF5EF; scrollbar-color: #B9D9C8 transparent; scrollbar-width: thin; }
.technical-tabs button { position: relative; background: transparent; border: 0; min-height: 65px; color: var(--muted); padding: 20px 4px; white-space: nowrap; font-size: 15px; font-weight: 550; }
.technical-tabs button::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--bio); transform: scaleX(0); transform-origin: center; transition: transform .2s; }
.technical-tabs button[aria-selected="true"] { color: var(--sage); }
.technical-tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.technical-panel { padding: 40px; min-height: 280px; }
.description-section { padding: 0; max-width: 900px; margin-bottom: 30px; }
.description-section:last-child { margin-bottom: 0; }
.description-section h2 { font-size: 24px; letter-spacing: -.6px; margin-bottom: 15px; line-height: 1.45; }
.description-section p { font-size: 16px; line-height: 1.95; margin-top: 15px; overflow-wrap: anywhere; }
.scientific-table { width: 100%; border-collapse: collapse; font-size: 16px; table-layout: fixed; }
.scientific-table caption { text-align: left; font-size: 23px; color: var(--sage); font-weight: 600; margin-bottom: 20px; }
.scientific-table th, .scientific-table td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid #EBF4EE; overflow-wrap: anywhere; }
.scientific-table th { width: 28%; color: var(--sage); font-weight: 600; background: var(--bg); }
.scientific-table td { color: var(--text); line-height: 1.8; }
.technical-note { font-size: 12px; line-height: 1.9; color: var(--muted); margin-top: 20px; }
.technical-sources { display: flex; flex-wrap: wrap; gap: 8px 17px; font-size: 12px; margin-top: 15px; }
.technical-sources a { color: var(--sage); text-decoration: underline; text-underline-offset: 4px; }
.product-lab-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 45px; align-items: center; }
.product-lab-report { display: block; background: var(--bg); padding: 20px; border-radius: 16px; }
.product-lab-report img { width: 100%; height: 350px; object-fit: contain; border-radius: 12px; }
.product-lab-grid h2 { font-size: 29px; line-height: 1.3; }
.lab-purity { color: var(--bio); font-weight: 700; font-size: 24px; margin-top: 15px; }
.lab-task { font-size: 12px; color: var(--sage); margin-top: 18px; }
.product-lab-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.product-lab-actions .btn { font-size: 12px; }
.lab-request { max-width: 740px; }
.lab-request > .ico { color: var(--bio); width: 40px; height: 40px; margin-bottom: 20px; }
.lab-request h2 { font-size: 29px; margin-bottom: 18px; }
.lab-request p { font-size: 16px; line-height: 1.9; margin-bottom: 23px; }
.related-section { padding: 20px 0 65px; }
.detail-not-found { padding-top: 70px; padding-bottom: 70px; }
.detail-not-found h1 { font-size: 38px; margin-bottom: 20px; }
.detail-not-found p { margin-bottom: 22px; }
@media (max-width:1100px) {
 .catalog-toolbar { grid-template-columns: minmax(0,1fr) 280px; gap: 22px; }
 .catalog-card-body { padding: 19px; }
 .catalog-card-actions { grid-template-columns: .6fr 1.4fr; gap: 7px; }
 .catalog-card-actions .btn { font-size: 10px; padding: 11px 7px; }
 .detail-hero-grid { gap: 35px; }
 .detail-gallery-stage { height: 440px; }
 .detail-micro-grid > div { padding: 13px 10px; }
}
@media (max-width:900px) {
 .catalog-toolbar { grid-template-columns: 1fr; gap: 23px; }
 .catalog-search { max-width: 500px; }
 .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 21px; }
 .catalog-card-actions .btn { font-size: 11px; }
 .detail-hero-grid { grid-template-columns: 1fr; gap: 32px; }
 .detail-gallery { max-width: 620px; width: 100%; margin: auto; }
 .detail-gallery-stage { height: 450px; }
 .detail-micro-grid > div { padding: 18px; }
 .detail-micro-grid strong { font-size: 13px; }
 .presentation-options strong { font-size: 20px; }
 .presentation-options span { font-size: 11px; }
 .technical-panel { padding: 30px; }
 .product-lab-grid { gap: 28px; grid-template-columns: .8fr 1.2fr; }
 .product-lab-grid h2 { font-size: 25px; }
 .product-lab-report img { height: 280px; }
}
@media (max-width:640px) {
 .product-breadcrumb { font-size: 10px; gap: 7px; padding-top: 21px; }
 .catalog-heading { padding: 28px 0; }
 .catalog-heading h1 { font-size: 37px; }
 .catalog-heading p { font-size: 14px; }
 .catalog-toolbar { padding: 19px; gap: 22px; }
 .filter-pills { gap: 8px; }
 .filter-pill { padding: 10px 11px; font-size: 10px; }
 .catalog-search input { font-size: 16px; }
 .catalog-search input::placeholder { font-size: 10px; }
 .catalog-grid { grid-template-columns: 1fr; gap: 22px; }
 .catalog-card-image { height: 285px; }
 .catalog-card-image > img { height: 245px; }
 .catalog-card-body { padding: 23px; padding-top: 12px; }
 .catalog-card-body h2 { font-size: 22px; }
 .catalog-card-actions { grid-template-columns: .7fr 1.3fr; gap: 9px; }
 .catalog-card-actions .btn { font-size: 11px; padding: 13px 9px; }
 .detail-hero-section { padding: 25px 0 35px; }
 .detail-gallery-stage { height: 350px; padding: 20px; }
 .gallery-thumbnails { gap: 9px; }
 .gallery-thumb { padding: 9px 5px; }
 .gallery-thumb img { height: 55px; }
 .gallery-thumb span { font-size: 9px; }
 .gallery-note { font-size: 10px; }
 .detail-decision h1 { font-size: 38px; letter-spacing: -1px; }
 .detail-research-line { font-size: 10px; margin-top: 0; }
 .detail-micro-grid { gap: 8px; margin: 23px 0; }
 .detail-micro-grid > div { padding: 13px 9px; }
 .detail-micro-grid strong { font-size: 10px; }
 .detail-micro-grid span { font-size: 9px; }
 .detail-micro-grid .ico { width: 20px; height: 20px; }
 .presentation-options { gap: 8px; }
 .presentation-options button { padding: 12px 9px; }
 .presentation-options strong { font-size: 18px; }
 .presentation-options span { font-size: 9px; }
 .detail-quote { font-size: 14px; padding: 16px; min-height: 58px; gap: 9px; }
 .detail-quote .ico { width: 17px; height: 17px; }
 .technical-section { padding: 10px 0 35px; }
 .technical-tabs { padding: 0 19px; gap: 21px; }
 .technical-tabs button { font-size: 13px; min-height: 58px; }
 .technical-panel { padding: 25px 20px; }
 .description-section h2 { font-size: 23px; }
 .description-section p { font-size: 16px; }
 .scientific-table { font-size: 14px; }
 .scientific-table caption { font-size: 22px; line-height: 1.5; }
 .scientific-table th { width: 37%; }
 .scientific-table th, .scientific-table td { padding: 14px 10px; }
 .product-lab-grid { grid-template-columns: 1fr; gap: 28px; }
 .product-lab-report { padding: 17px; }
 .product-lab-report img { height: 290px; }
 .product-lab-grid h2 { font-size: 27px; }
 .product-lab-actions { gap: 10px; }
 .product-lab-actions .btn { width: 100%; padding: 13px; font-size: 12px; }
 .product-lab-grid .verification-box { padding: 16px 13px; }
 .product-lab-grid .verification-box code { font-size: 19px; letter-spacing: 1px; }
 .related-section { padding-top: 10px; padding-bottom: 50px; }
}
@media (prefers-reduced-motion:reduce) {
 .catalog-card, .catalog-card-image > img, .technical-tabs button::after { transition: none; }
}

/* 中文：搜尋輸入時以鼠尾草綠細框與柔和光暈強化焦點，保留鍵盤可見性。 */
.catalog-search > div:focus-within { border-color: #2D7A5E; box-shadow: 0 0 0 3px rgba(45,122,94,.1), var(--shadow); }
.catalog-search input:focus-visible { outline: none; }
.catalog-purity-scope { font-size: 11px; line-height: 1.6; color: var(--muted); margin-top: 8px; }

/* 中文：生物序列欄位保留完整文字，手機端自動換行。 */
.scientific-table .scientific-sequence { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; white-space: normal; }

/* 中文：文件申請卡與全站 CTA 統一；窄螢幕按鈕文字可換行。 */
.scientific-table .science-access { background: var(--bg); border: 0; border-radius: 16px; padding: clamp(20px,4vw,36px); }
.science-access-copy { font-size: 16px; line-height: 1.9; max-width: 800px; margin-bottom: 22px; }
.science-access-cta { background: #1A5B8C; color: #FFFFFF; border-radius: 12px; padding: 12px 18px; max-width: 100%; white-space: normal; text-align: center; }
.science-access-cta span { min-width: 0; overflow-wrap: anywhere; }
.science-access-cta .ico { width: 20px; height: 20px; }
@media(max-width:390px) { .science-access-cta { width: 100%; font-size: 12px; } }
