/* ==========================================
 * ATTech Web Interface System
 * Built according to Web Interface Guidelines
 * ========================================== */

:root {
    --font-primary: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans TC', sans-serif;

    /* 字體大小階層 (標準 16px 基準，確保中文字級不低於 12px) */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 1.875rem;  /* 30px */
    --text-4xl: 2.25rem;   /* 36px */

    /* 流體標題字級 (Fluid clamp) */
    --heading-hero: clamp(1.75rem, 3.5vw + 1rem, 2.5rem);
    --heading-section: clamp(1.25rem, 2vw + 0.75rem, 1.75rem);
    --heading-card: clamp(1.05rem, 1.2vw + 0.5rem, 1.25rem);

    /* 字重標準：嚴格遵守字重 >= 400，消除過輕 (<400) 與過重 (800+) 造成的文字模糊與抖動 */
    --weight-normal: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;

    /* 互動微動畫時間常數 (<= 200ms 即時回饋) */
    --motion-duration-fast: 0.12s;
    --motion-duration-base: 0.18s;
    --motion-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================
 * 1. 全域渲染與文字排版 (Typography & Rendering)
 * ========================================== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--weight-normal);
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 全域選取色彩與漸層文字選取保護 */
::selection {
    background-color: #dbeafe; /* Tailwind blue-100 */
    color: #1e3a8a;            /* Tailwind blue-950 */
}

.bg-clip-text::selection,
[class*="text-transparent"]::selection {
    -webkit-text-fill-color: #1e3a8a;
    background: #dbeafe;
}

/* 等寬數字 (Tabular Figures) 排版：防止數值跳動、表格欄位位移 */
table,
.table-container table,
.sticky-table,
.compare-matrix-table,
.font-tabular,
#compare-count-badge,
#dir-match-count,
.stat-number,
[data-tabular="true"] {
    font-variant-numeric: tabular-nums;
}

/* 表單控制項字體大小規範：全域確保 >= 16px，徹底防止 iOS Safari 聚焦時畫面自動縮放 */
input,
select,
textarea,
.global-search-input,
#attech-contact-form input,
#attech-contact-form select,
#attech-contact-form textarea {
    font-size: 16px !important;
}

/* ==========================================
 * 2. 互動、聚焦與防重複點擊 (Interactivity & Focus)
 * ========================================== */
button,
[role="button"],
[role="tab"],
.btn,
.nav-btn,
.lang-btn,
.mobile-nav-btn,
.compare-icon-btn,
.compare-toggle-btn,
.badge-interactive,
.dir-node,
.mega-item {
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* 鍵盤無障礙聚焦外框 (使用 box-shadow 確保圓角平滑貼合) */
:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #2563eb !important;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2), 0 0 0 1px #1d4ed8 !important;
}

/* 按鈕按壓微互動 (比例縮放 ~0.97，不超過 0.95) */
button:active:not(:disabled),
[role="button"]:active:not(:disabled),
.nav-btn:active,
.mobile-nav-btn:active {
    transform: scale(0.97);
    transition: transform var(--motion-duration-fast) var(--motion-ease);
}

/* 裝飾性元素停用事件捕捉 */
.pointer-events-none,
.decorative-glow {
    pointer-events: none !important;
}

/* 表單驗證錯誤輸入框即時視覺回饋 */
.input-error-highlight {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
    animation: inputShake 0.2s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* 索樣產品帶入表單時之柔和高亮聚焦回饋 */
.input-prefilled-highlight {
    border-color: #2563eb !important;
    background-color: #eff6ff !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25) !important;
    transition: all 0.3s ease;
}

@keyframes inputShake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-2px, 0, 0); }
    40%, 60% { transform: translate3d(2px, 0, 0); }
}

/* 錨點跳轉位移修正 (防止頂部黏性導覽列遮擋內容) */
section[id^="tab-"],
section[id^="section-"],
#tab-contact,
#tab-products,
#tab-about,
#tab-partners {
    scroll-margin-top: 5rem;
}

/* ==========================================
 * 3. 側邊目錄與選取狀態 (防版面抖動 Zero Layout Shift)
 * ========================================== */
.dir-node {
    font-weight: 500;
    transition: background-color var(--motion-duration-base) var(--motion-ease), color var(--motion-duration-base) var(--motion-ease);
}

/* 目錄選中狀態：固定維持 font-weight 500，使用底色、深藍文字與內凹側邊線標示，徹底消除寬度抖動 */
.dir-node-active {
    background-color: #dbeafe !important; /* 淺藍底 (Tailwind blue-100) */
    color: #1e3a8a !important;            /* 深藍字 (Tailwind blue-950) */
    font-weight: 500 !important;
    border-radius: 0.375rem;
    box-shadow: inset 3px 0 0 0 #1d4ed8;  /* 精緻左側指示線 */
}

/* 目標產品列高亮呼吸效果與專屬指示標記 */
tr.row-target-highlight {
    background-color: #dbeafe !important;
    position: relative;
    scroll-margin-top: 115px; /* 確保置頂滾動時不會被頂部導覽列(64px)與表格Header遮擋 */
    animation: targetRowPulse 2.4s ease-in-out infinite;
}

tr.row-target-highlight td {
    background-color: #dbeafe !important;
    border-top: 1.5px solid #2563eb !important;
    border-bottom: 1.5px solid #2563eb !important;
}

tr.row-target-highlight td:first-child {
    border-left: 4px solid #1d4ed8 !important;
    background-color: #dbeafe !important;
}

tr.row-target-highlight td:last-child {
    border-right: 1.5px solid #2563eb !important;
}

@keyframes targetRowPulse {
    0%, 100% {
        box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.4), 0 0 10px rgba(37, 99, 235, 0.2);
    }
    50% {
        box-shadow: inset 0 0 0 2px rgba(29, 78, 216, 0.7), 0 0 16px rgba(29, 78, 216, 0.35);
    }
}

/* ==========================================
 * 4. 語意化字體與字重 Utility Classes
 * ========================================== */
.f-size-xs { font-size: var(--text-xs); }
.f-size-sm { font-size: var(--text-sm); }
.f-size-base { font-size: var(--text-base); }
.f-size-lg { font-size: var(--text-lg); }
.f-size-xl { font-size: var(--text-xl); }
.f-size-2xl { font-size: var(--text-2xl); }
.f-size-3xl { font-size: var(--text-3xl); }
.f-size-4xl { font-size: var(--text-4xl); }

.heading-hero { font-size: var(--heading-hero); }
.heading-section { font-size: var(--heading-section); }
.heading-card { font-size: var(--heading-card); }

.f-weight-normal { font-weight: var(--weight-normal); }
.f-weight-medium { font-weight: var(--weight-medium); }
.f-weight-semibold { font-weight: var(--weight-semibold); }
.f-weight-bold { font-weight: var(--weight-bold); }

.nav-btn {
    font-size: var(--text-base);
    font-weight: var(--weight-medium);
}

.btn-view-specs {
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
}

/* 限制全站最大寬度 (以標準筆電螢幕 1360px 為基準，大螢幕自動彈性擴展) */
.optimized-container {
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1536px) {
    .optimized-container {
        max-width: 1560px;
    }
}

@media (min-width: 1800px) {
    .optimized-container {
        max-width: 1760px;
    }
}

/* 自訂平滑滾動條 */
.custom-scrollbar::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 99px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.tab-content {
    display: none;
    opacity: 1;
}

.tab-content.active {
    display: block;
    opacity: 1;
}

.attech-accent {
    border-top: 3px solid #1e3a8a;
}

.row-expanded {
    border-left: 3px solid #2563eb !important;
    background-color: #eff6ff !important;
}

.fallback-img {
    position: relative;
    display: inline-block;
}

.fallback-img::after {
    content: attr(alt);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.05);
    color: #334155;
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    text-align: center;
    border-radius: 6px;
    z-index: 2;
}

.compare-modal-scroll::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.compare-modal-scroll::-webkit-scrollbar-track {
    background: #f8fafc;
}

.compare-modal-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.compare-modal-scroll::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.app-fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.grid-auto-partners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.75rem;
}

.grid-auto-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

/* ==========================================
 * 5. 產品列表 Sticky 表格系統 (筆電標準 / 大螢幕自適應 / 手機優化)
 * ========================================== */
.table-container {
    width: 100%;
    max-height: 76vh;
    overflow-x: auto;
    overflow-y: auto;
    position: relative;
    border-radius: 0.5rem;
    font-size: var(--text-sm);
    -webkit-overflow-scrolling: touch;
}

.table-container table {
    width: 100%;
    min-width: 100%;
    table-layout: auto;
    border-collapse: separate;
    border-spacing: 0;
}

@media (max-width: 767px) {
    .table-container table {
        min-width: max-content !important;
    }
}

/* 表頭專用文字防折行與單位排版 */
.th-title {
    display: inline-block;
    white-space: nowrap;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
}

.th-unit {
    display: block;
    white-space: nowrap;
    font-size: 0.725rem;
    font-weight: 400;
    color: #64748b;
    line-height: 1.2;
    margin-top: 0.125rem;
}

.th-app {
    display: inline-block;
    white-space: nowrap;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.15;
    color: #1e293b;
    text-align: center;
    writing-mode: vertical-rl;
    text-orientation: upright;
}

.sticky-table table th {
    position: sticky;
    top: 0;
    z-index: 20;
    background-color: #f8fafc !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    padding: 0.5rem 0.375rem;
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    vertical-align: middle;
}

.sticky-table table td {
    padding: 0.5rem 0.375rem;
    font-size: var(--text-sm);
    font-weight: var(--weight-normal);
    vertical-align: middle;
}

/* 首欄固定 (Sticky Left) - 確保滑動時產品名稱始終清晰可見且無文字重疊 */
.sticky-table table td:first-child {
    position: sticky;
    left: 0;
    z-index: 10;
    background-color: #ffffff;
    box-shadow: 3px 0 6px -2px rgba(0, 0, 0, 0.1);
}

.sticky-table table th:first-child {
    position: sticky;
    left: 0;
    top: 0;
    z-index: 30;
    background-color: #f1f5f9 !important;
    box-shadow: 3px 1px 4px -2px rgba(0, 0, 0, 0.1);
}

.sticky-table tr.row-expanded td:first-child {
    background-color: #eff6ff !important;
}

@media (hover: hover) {
    .sticky-table tr:hover td:first-child {
        background-color: #f0f9ff !important;
    }
}

.sticky-table table td.whitespace-nowrap {
    white-space: nowrap;
}

/* 手機版專屬緊湊與觸控最佳化 */
@media (max-width: 767px) {
    .table-container {
        max-height: 70vh;
    }
    .sticky-table table th,
    .sticky-table table td {
        padding: 0.4rem 0.25rem;
        font-size: 0.75rem;
    }
    .sticky-table table th:first-child,
    .sticky-table table td:first-child {
        min-width: 120px !important;
        max-width: 140px !important;
        width: 130px !important;
        padding-left: 0.375rem;
        padding-right: 0.375rem;
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}

.animate-pulse {
    animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* 實體產品專屬頁面 (Product Detail Page) 樣式覆蓋：完全隱藏品牌與目錄面板 */
body.is-product-detail #section-partner,
body.is-product-detail #directory-sidebar {
    display: none !important;
}

/* ==========================================
 * 6. 產品比較懸浮欄與比照表 (Comparison System)
 * ========================================== */
#compare-dock {
    position: fixed !important;
    bottom: 1.5rem !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    z-index: 40 !important;
    width: 95% !important;
    max-width: 860px !important;
    border-radius: 1rem !important;
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.12) !important;
    animation: slideUpDock var(--motion-duration-base) var(--motion-ease) forwards;
}

@keyframes slideUpDock {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 比照表樣式 - 遵循 Web Interface Guidelines (Typography & Interactivity) */
.compare-matrix-table {
    width: 100%;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.8125rem; /* 13px */
    line-height: 1.5;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-variant-numeric: tabular-nums;
    -webkit-text-size-adjust: 100%;
}

.compare-matrix-table th,
.compare-matrix-table td {
    padding: 0.625rem 0.875rem;
    border-bottom: 1px solid #f1f5f9;
    border-right: 1px solid #f1f5f9;
    vertical-align: middle;
    font-variant-numeric: tabular-nums;
}

.compare-matrix-table th:last-child,
.compare-matrix-table td:last-child {
    border-right: none;
}

/* 僅在支援 hover 的游標裝置啟用 hover 反白，防止行動觸控殘留 */
@media (hover: hover) {
    .compare-matrix-table tr:hover td:not(.compare-category-cell) {
        background-color: #f8fafc;
    }
    .compare-matrix-table tr:hover td.col-prop-label {
        background-color: #f1f5f9;
        color: #0f172a;
    }
}

/* 比照表固定首欄 (產品規格與性能項目 凍結窗格) */
.compare-matrix-table td.col-prop-label {
    position: sticky;
    left: 0;
    z-index: 20;
    background-color: #f8fafc;
    font-weight: 500;
    font-size: 0.8125rem; /* 13px */
    line-height: 1.4;
    color: #1e293b;
    box-shadow: 3px 0 8px -2px rgba(0, 0, 0, 0.06);
    width: 190px;
    min-width: 175px;
    max-width: 220px;
    border-right: 2px solid #e2e8f0;
    word-break: break-word;
    white-space: normal;
}

/* 比照表左上角交叉儲存格 (最高層級固定) */
.compare-matrix-table th.col-prop-label-head {
    position: sticky;
    left: 0;
    top: 0;
    z-index: 40;
    background-color: #f1f5f9;
    font-size: 0.75rem; /* 12px */
    font-weight: 600;
    color: #334155;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    box-shadow: 3px 3px 8px -2px rgba(0, 0, 0, 0.1);
    width: 190px;
    min-width: 175px;
    max-width: 220px;
    border-right: 2px solid #cbd5e1;
    border-bottom: 2px solid #94a3b8;
    user-select: none;
}

/* 比照表固定表頭 (產品資訊 頂部凍結) */
.compare-matrix-table th.col-product-head {
    position: sticky;
    top: 0;
    z-index: 30;
    background-color: #ffffff;
    box-shadow: 0 3px 8px -2px rgba(0, 0, 0, 0.06);
    min-width: 220px;
    max-width: 320px;
    border-bottom: 2px solid #1e3a8a;
    border-right: 1px solid #e2e8f0;
    user-select: none;
}

.col-product-head .product-brand-tag {
    font-size: 0.6875rem; /* 11px */
    font-weight: 600;
    letter-spacing: 0.04em;
}

.col-product-head .product-name-title {
    font-size: 0.9375rem; /* 15px */
    font-weight: 600;
    line-height: 1.35;
    color: #0f172a;
}

/* 分類標題列與水平滑動凍結標題 */
.compare-category-row td {
    background: linear-gradient(90deg, #f1f5f9 0%, #f8fafc 100%) !important;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.75rem; /* 12px */
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0.55rem 0.875rem;
    user-select: none;
}

.sticky-cat-title {
    position: sticky;
    left: 0.875rem;
    z-index: 15;
    display: inline-flex;
    align-items: center;
}

/* 差異高亮標記 (支援凍結欄位) */
.compare-diff-cell {
    background-color: #fefce8 !important; /* 柔和琥珀晨曦黃 */
    color: #78350f !important;
}

.compare-diff-cell.col-prop-label {
    background-color: #fef9c3 !important;
    border-left: 4px solid #eab308;
    border-right: 2px solid #fde047;
}

@media (hover: hover) {
    .compare-matrix-table tr:hover td.col-prop-label.compare-diff-cell {
        background-color: #fef08a !important;
    }
}

/* 產品操作按鈕樣式 (索樣與比較) */
.product-sample-btn,
.compare-icon-btn {
    cursor: pointer;
    outline: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform var(--motion-duration-fast) var(--motion-ease), background-color var(--motion-duration-fast), color var(--motion-duration-fast), border-color var(--motion-duration-fast);
}

.product-sample-btn:active,
.compare-icon-btn:active {
    transform: scale(0.94);
}

/* 彈窗微動畫 (從 0.96 柔和放大淡入，符合 Guidelines 規定) */
@keyframes modalPopIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 確保 TDS 技術文件預覽彈窗層級高於產品比較表彈窗 (#compare-modal)，置於最頂層 */
#tds-modal {
    z-index: 70 !important;
}

#tds-modal > div:last-child,
#compare-modal > div:last-child,
#doc-modal > div:last-child {
    animation: modalPopIn var(--motion-duration-base) var(--motion-ease) forwards;
}

/* ==========================================
 * 7. 行動裝置排版與觸控優化 (Mobile Enhancements)
 * ========================================== */
@media (max-width: 767px) {
    /* 防止 iOS Safari 聚焦輸入框時自動縮放畫面 */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select,
    textarea {
        font-size: 16px !important;
    }

    .compare-matrix-table {
        font-size: 0.75rem !important; /* 12px */
    }

    .compare-matrix-table td.col-prop-label,
    .compare-matrix-table th.col-prop-label-head {
        width: 120px !important;
        min-width: 110px !important;
        max-width: 130px !important;
        font-size: 0.6875rem !important; /* 11px */
        padding: 0.45rem 0.5rem !important;
        line-height: 1.3 !important;
    }

    .compare-matrix-table th.col-product-head {
        min-width: 160px !important;
        max-width: 200px !important;
        padding: 0.5rem 0.55rem !important;
    }

    .col-product-head .product-name-title {
        font-size: 0.8125rem !important; /* 13px */
    }

    .compare-matrix-table td {
        padding: 0.45rem 0.5rem !important;
        font-size: 0.75rem !important; /* 12px */
    }

    .sticky-cat-title {
        left: 0.5rem !important;
    }

    #compare-dock {
        left: 0 !important;
        right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: calc(100% - 1.25rem) !important;
        max-width: calc(100% - 1.25rem) !important;
        bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px)) !important;
        padding: 0.625rem 0.75rem !important;
    }
}

/* ==========================================
 * 8. 手機端產品專用卡片系統 (Mobile Product Cards System)
 * ========================================== */
.mobile-category-scroll {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.mobile-category-scroll::-webkit-scrollbar {
    display: none;
}

.mobile-product-card {
    transition: transform var(--motion-duration-fast) var(--motion-ease), box-shadow var(--motion-duration-base) var(--motion-ease), border-color var(--motion-duration-base) var(--motion-ease);
}

.mobile-product-card:active {
    transform: scale(0.99);
}

.mobile-product-card.row-target-highlight {
    background-color: #eff6ff !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25) !important;
}

.fade-in-down {
    animation: fadeInDown var(--motion-duration-base) var(--motion-ease) forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 目標產品列直連高亮動畫效果 (支援深層網址定位) */
@keyframes targetRowPulse {
    0% {
        background-color: rgba(219, 234, 254, 0.95);
        box-shadow: inset 0 0 0 2px #3b82f6;
    }
    50% {
        background-color: rgba(191, 219, 254, 1);
        box-shadow: inset 0 0 0 3px #2563eb;
    }
    100% {
        background-color: rgba(239, 246, 255, 0.9);
        box-shadow: inset 0 0 0 2px #3b82f6;
    }
}

tr.row-target-highlight {
    animation: targetRowPulse 1.8s ease-in-out 3 alternate !important;
    background-color: #eff6ff !important;
}

/* ==========================================
 * 獨立產品落地頁專屬樣式 (Product Detail Landing Pages)
 * ========================================== */
body.is-product-detail {
    background-color: #f8fafc !important;
    background-image: none !important;
}

body.is-product-detail .global-search-input,
body.is-product-detail form[role="search"],
body.is-product-detail [data-search-container] {
    display: none !important;
}

body.is-product-detail #section-partner,
body.is-product-detail #directory-sidebar {
    display: none !important;
}

body.is-product-detail .product-seo-detail {
    background-color: #ffffff !important;
    background-image: none !important;
}