/* 自訂配色 - 豐富色彩方案 */
:root {
    /* 主色系 - 綠色 */
    --product-table-primary-color: #00874A;
    --product-table-primary-hover: #00a55a;
    --product-table-primary-dark: #006838;
    --product-table-primary-light: #e6f4ed;
    /* 輔色系 - 藍色科技感 */
    --product-table-secondary-color: #39c03b;
    --product-table-secondary-hover: #00a55a;
    --product-table-secondary-light: #e6f0ff;
    /* 強調色 - 橙色活力 */
    --product-table-accent-color: #ff6b35;
    --product-table-accent-hover: #ff5722;
    --product-table-accent-light: #fff3ee;
    /* 資訊色 - 青藍色 */
    --product-table-info-color: #17a2b8;
    --product-table-info-light: #d1ecf1;
    /* 成功色 - 青綠色 */
    --product-table-success-color: #28a745;
    --product-table-success-light: #d4edda;
    /* 背景色 */
    --product-table-bg-light: #f8f9fa;
    --product-table-bg-gradient-1: linear-gradient(135deg, #00874A 0%, #0066cc 100%);
    --product-table-bg-gradient-2: linear-gradient(135deg, #ff6b35 0%, #f7b731 100%);
    --product-table-bg-gradient-3: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    /* 中性色 */
    --product-table-sidebar-bg: #f5f5f5;
    --product-table-border-color: #dee2e6;
    --product-table-text-muted: #6c757d;
    --product-table-text-dark: #2d3436;
    /* 漸層背景 */
    --product-table-gradient-primary: linear-gradient(135deg, #00874A 0%, #00a55a 100%);
    --product-table-gradient-hero: linear-gradient(135deg, #00874A 0%, #0066cc 80%);
    --product-table-gradient-card: linear-gradient(135deg, rgba(0, 135, 74, 0.05) 0%, rgba(0, 102, 204, 0.05) 100%);
}

/*body {
    background-color: var(--product-table-bg-light);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 76px;*/ /* 為固定導航欄留空間 */
/*}*/

/* 導航欄樣式 */
/*.navbar-custom {
    background: var(--bg-gradient-1);
    box-shadow: 0 2px 10px rgba(0, 135, 74, 0.15);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: white !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s;
}

    .navbar-brand:hover {
        transform: scale(1.05);
    }

    .navbar-brand img {
        height: 40px;
        transition: all 0.3s;
        filter: brightness(1);
    }

    .navbar-brand:hover img {
        filter: brightness(1.1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
    }

    .navbar-brand i {
        font-size: 2rem;
        animation: pulse 2s infinite;
    }

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1.25rem !important;
    transition: all 0.3s;
    position: relative;
}

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: white !important;
        background-color: rgba(255, 255, 255, 0.15);
        border-radius: 0.375rem;
    }

    .navbar-nav .nav-link i {
        margin-right: 0.5rem;
    }

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1);
}*/

/* Banner 樣式 */
.hero-banner {
    background: var(--product-table-gradient-hero);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

    /* 背景圖片版本的 Hero Banner */
    .hero-banner.hero-banner-image {
        background-color: #333;
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        min-height: 250px;
        display: flex;
        align-items: center;
    }

        .hero-banner.hero-banner-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('../images/productDemo01.jpg');
            background-size: cover;
            background-position: center;
            background-attachment: inherit;
            z-index: 1;
        }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    display: none;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.hero-banner .hero-content {
    position: relative;
    z-index: 3;
}

.hero-banner h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInDown 0.8s;
}

.hero-banner p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    position: relative;
}

    .stat-item::before {
        content: '';
        position: absolute;
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 60px;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
        border-radius: 50%;
        z-index: 0;
    }

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
    line-height: 1;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #ffffff 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* Footer 樣式 */
.footer {
    background: linear-gradient(135deg, #1a2e1a 0%, #0d3d5c 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

    .footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--product-table-primary-color) 0%, var(--product-table-secondary-color) 33%, var(--product-table-accent-color) 66%, var(--product-table-info-color) 100%);
    }

    .footer h5 {
        color: white;
        font-weight: bold;
        margin-bottom: 1.5rem;
        font-size: 1.1rem;
        position: relative;
        padding-bottom: 0.5rem;
    }

        .footer h5::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background: linear-gradient(90deg, var(--product-table-accent-color) 0%, var(--product-table-primary-color) 100%);
        }

    .footer ul {
        list-style: none;
        padding: 0;
    }

        .footer ul li {
            margin-bottom: 0.75rem;
        }

            .footer ul li a {
                color: rgba(255, 255, 255, 0.7);
                text-decoration: none;
                transition: all 0.3s;
                display: inline-flex;
                align-items: center;
                gap: 0.5rem;
            }

    .footer ul li a:hover {
                    color: var(--product-table-accent-color);
                    padding-left: 0.5rem;
                }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 135, 74, 0.3) 0%, rgba(0, 102, 204, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

    .social-link::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--product-table-accent-color) 0%, var(--product-table-secondary-color) 100%);
        transform: translate(-50%, -50%);
        transition: all 0.4s;
    }

    .social-link:hover::before {
        width: 100%;
        height: 100%;
    }

    .social-link i {
        position: relative;
        z-index: 1;
    }

    .social-link:hover {
        color: white;
        transform: translateY(-5px) rotate(360deg);
        box-shadow: 0 8px 16px rgba(255, 107, 53, 0.4);
    }

/* 動畫 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

/* 特殊效果 - 彩虹分隔線 */
.rainbow-divider {
    height: 3px;
    background: linear-gradient(90deg, var(--product-table-primary-color) 0%, var(--product-table-secondary-color) 25%, var(--product-table-info-color) 50%, var(--product-table-accent-color) 75%, var(--product-table-primary-color) 100%);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
    border: none;
    margin: 2rem 0;
}

/* 懸浮效果增強 */
.hover-lift {
    transition: all 0.3s ease;
}

    .hover-lift:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 135, 74, 0.2);
    }

/* 側邊欄樣式 - 與 Detail 頁面一致 */
.product-sidebar {
    background: #f8f9fa;
    border-right: 1px solid #dee2e6;
    min-height: calc(100vh - 200px);
    padding: 20px;
    position: sticky;
    top: 0;
    overflow-y: auto;
    max-height: calc(100vh - 100px);
}

.product-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 20px;
}

.product-sidebar-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    color: #6c757d;
}

.product-sidebar-close:hover {
    color: #000;
}

/* Tree Menu Styles */
.product-tree-menu {
    padding: 0;
}

.tree-l1-category {
    margin-bottom: 10px;
}

.tree-l1-header {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #333;
}

.tree-l1-header:hover {
    background: #e9ecef;
    border-color: var(--product-table-primary-color);
}

.tree-l1-category.active .tree-l1-header {
    background: var(--product-table-primary-color);
    color: #fff;
    border-color: var(--product-table-primary-color);
}

.l1-icon {
    margin-right: 10px;
    transition: transform 0.3s ease;
    font-size: 0.875rem;
}

.tree-l1-category.active .l1-icon {
    transform: rotate(90deg);
}

/* Mobile Menu Toggle */
.product-mobile-toggle {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--product-table-primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-mobile-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Sidebar Overlay for Mobile */
.product-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

.product-sidebar-overlay.show {
    display: block;
}
/* Responsive - Mobile sidebar matching Detail page */
@media (max-width: 991px) {
    .product-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .product-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        z-index: 1050;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        padding-top: 0;
        max-height: 100vh;
        background: #f8f9fa;
    }

    .product-sidebar.show {
        left: 0;
    }

    .product-sidebar-header {
        display: flex;
    }
}

@media (min-width: 992px) {
    .product-mobile-toggle,
    .product-sidebar-overlay {
        display: none !important;
    }

    .product-sidebar-header {
        display: none;
    }
}

/* 標籤頁樣式 */
    .product-tabs {
   /* border-bottom: 2px solid var(--product-table-border-color);*/
    background: linear-gradient(to right, #ffffff 0%, var(--product-table-primary-light) 100%);
    overflow-x: auto;
    overflow-y: hidden;
}

    .product-tabs::-webkit-scrollbar {
        display: none;
    }

    .product-tabs .container-fluid {
        padding-left: 0;
        padding-right: 0;
        min-width: max-content;
    }

    .product-tabs .overflow-auto {
        overflow-x: visible;
        display: flex;
        flex-wrap: nowrap;
    }

.tab-btn {
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s;
    white-space: nowrap;
    position: relative;
    flex-shrink: 0;
    min-width: auto;
}

@media (max-width: 767.98px) {
    .tab-btn {
        padding: 0.75rem 0.875rem;
        font-size: 0.8rem;
    }
}

@media (min-width: 768px) {
}

    .tab-btn::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--product-table-primary-color) 0%, var(--product-table-accent-color) 100%);
    transition: transform 0.3s;
}

.tab-btn:hover {
    background: linear-gradient(180deg, rgba(0, 135, 74, 0.05) 0%, rgba(255, 107, 53, 0.05) 100%);
}

    .tab-btn:hover::before {
        transform: translateX(-50%) scaleX(0.5);
    }

.tab-btn.active {
    color: var(--product-table-primary-color);
    border-bottom-color: transparent;
    background: linear-gradient(180deg, rgba(0, 135, 74, 0.1) 0%, rgba(0, 102, 204, 0.05) 100%);
    font-weight: 600;
}

    .tab-btn.active::before {
        transform: translateX(-50%) scaleX(1);
    }

/* 表格樣式 */
.product-table-wrapper {
    overflow-x: auto;
    overflow-y: auto; /* Enable vertical scrolling */
    -webkit-overflow-scrolling: touch;
    position: relative;
    min-height: 350px;
    max-height: 80vh; /* Restrict height to make sticky header work */
}

.product-table {
    background-color: white;
    min-width: 720px;
}

    .product-table thead {
        background: linear-gradient(135deg, #1a2e1a 0%, #0d3d5c 100%);
        color: white;
    }

    .product-table thead th {
        border-bottom: 2px solid #aeaeae;
        padding: 0.75rem !important;
        padding-right: 35px !important; /* Space for filter icon */
        font-size: 1rem;
        min-width: 150px;
        white-space: normal;
        vertical-align: middle;
        position: sticky; /* Make header sticky */
        top: 0;           /* Stick to top */
        z-index: 10;      /* Ensure above body cells */
    }

    .product-table tbody tr {
        cursor: default;
        transition: all 0.3s;
        position: relative;
    }

        .product-table tbody tr::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 3px;
            height: 100%;
            background: linear-gradient(180deg, var(--product-table-primary-color) 0%, var(--product-table-accent-color) 100%);
            transform: scaleY(0);
            transition: transform 0.3s;
        }

        .product-table tbody tr:hover::before {
           /* transform: scaleY(1);*/
        }

        .product-table tbody tr:hover {
         /*   background: linear-gradient(90deg, rgba(0, 135, 74, 0.15) 0%, rgba(255, 107, 53, 0.08) 100%) !important;
            box-shadow: inset 3px 0 0 0 var(--product-table-accent-color);*/
        }

        .product-table tbody tr:nth-child(even) {
            background-color: rgba(0, 102, 204, 0.02);
        }

    .product-table tbody td {
        padding: 0.75rem !important;
        font-size: 1rem;
        word-break: break-word;
        min-width: 120px;
        white-space: nowrap;
    }

    .product-table thead th:first-child,
    .product-table tbody td:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
    }

    .product-table thead th:first-child {
        z-index: 3;
    }

    .product-table tbody td:first-child {
        background: white;
        /*box-shadow: 4px 0 6px -4px rgba(0, 0, 0, 0.1);*/
    }

    .product-table tbody tr:nth-child(even) td:first-child {
    /*    background: rgba(0, 102, 204, 0.02);*/
    }

/* 水平捲動時，強化首欄底色與陰影，避免文字重疊干擾 */
.product-table-wrapper.is-scrolling .product-table thead th:first-child {
    background: linear-gradient(90deg, #025c33 0%, #027541 70%, rgb(24 240 22 / 30%) 100%);
    color: #fff;
}

.product-table-wrapper.is-scrolling .product-table tbody td:first-child {
    /*background: linear-gradient(90deg, white 0%, white 70%, rgba(255, 255, 255, 0.95) 100%);*/
    /*background: linear-gradient(90deg, #025c33 0%, #027541 70%, rgb(24 240 22 / 30%) 100%);*/
    
    background: linear-gradient(90deg, #025c33 0%, #027541 70%, rgb(24 240 22 / 30%) 100%);linear-gradient(90deg, #397504 0%, #3c9402 70%, rgb(121 195 18 / 29%) 100%) box-shadow: 8px 0 12px -8px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.product-table-wrapper.is-scrolling .product-table tbody tr:nth-child(even) td:first-child {
    /* background: linear-gradient(90deg, rgba(0, 102, 204, 0.02) 0%, rgba(0, 102, 204, 0.02) 70%, rgba(255, 255, 255, 0.95) 100%);*/
    background: linear-gradient(90deg, #025c33 0%, #027541 70%, rgb(24 240 22 / 30%) 100%);
    color: #fff;
}

.product-table-wrapper .part-number {
    color: var(--product-table-primary-color);
    font-weight: 600;
    display: block;
    min-width: 120px;
    white-space: nowrap;
}

    .part-number:hover {
    }

/* 卡片樣式 */
.category-card {
    border: 1px solid var(--product-table-border-color);
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1rem;
    background: white;
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
}

    .category-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(180deg, var(--product-table-primary-color) 0%, var(--product-table-secondary-color) 50%, var(--product-table-accent-color) 100%);
        transform: scaleY(0);
        transition: transform 0.3s;
    }

    .category-card:hover::before {
        transform: scaleY(1);
    }

    .category-card:hover {
        box-shadow: 0 8px 24px rgba(0, 135, 74, 0.2);
        border-color: var(--product-table-primary-color);
        transform: translateY(-2px);
    }

.category-header {
    background: linear-gradient(135deg, rgba(0, 135, 74, 0.03) 0%, rgba(0, 102, 204, 0.03) 100%);
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    width: 100%;
    text-align: left;
}

    .category-header:hover {
        background: linear-gradient(135deg, rgba(0, 135, 74, 0.08) 0%, rgba(255, 107, 53, 0.08) 100%);
    }

    .category-header:not(.collapsed) {
        background: linear-gradient(135deg, rgba(0, 135, 74, 0.1) 0%, rgba(0, 102, 204, 0.1) 100%);
        border-bottom: 2px solid;
        border-image: linear-gradient(90deg, var(--product-table-primary-color) 0%, var(--product-table-secondary-color) 50%, var(--product-table-accent-color) 100%) 1;
    }

    .category-header .badge {
        background: linear-gradient(135deg, var(--product-table-primary-color) 0%, var(--product-table-secondary-color) 100%) !important;
        box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
    }

/* 麵包屑 */
.breadcrumb-custom {
    background: linear-gradient(135deg, rgba(0, 135, 74, 0.05) 0%, rgba(0, 102, 204, 0.05) 100%);
    border-bottom: 1px solid var(--product-table-border-color);
    padding: 0.75rem 0;
    position: relative;
}

    .breadcrumb-custom::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, var(--product-table-primary-color) 0%, var(--product-table-secondary-color) 50%, var(--product-table-accent-color) 100%);
        opacity: 0.3;
    }

    .breadcrumb-custom a {
        color: var(--product-table-secondary-color);
        text-decoration: none;
        transition: all 0.3s;
    }

        .breadcrumb-custom a:hover {
            color: var(--product-table-accent-color);
            transform: translateX(3px);
            display: inline-block;
        }

/* 動畫 */
.collapse-arrow {
    transition: transform 0.3s;
}

.collapsed .collapse-arrow {
    transform: rotate(-90deg);
}

/* ====== Column Filter Dropdown ====== */
.product-table th {
    /* Styles merged into .product-table thead th */
}

.filter-icon {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s;
    font-size: 0.85em;
    padding: 2px;
    border-radius: 3px;
    color: #008ff2;
}

.filter-icon:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.2);
}

.filter-icon.active {
    opacity: 1;
    color: var(--product-table-accent-color);
    background-color: white;
}

.filter-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
    border-radius: 4px;
    text-align: left;
    margin-top: 5px;
}

.filter-dropdown.show {
    display: block;
}

.filter-option {
    display: block;
    width: 100%;
    padding: 8px 12px;
    cursor: pointer;
    border: none;
    background: none;
    text-align: left;
    font-size: 0.9em;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.filter-option:last-child {
    border-bottom: none;
}

.filter-option:hover {
    background-color: #f5f5f5;
    color: var(--product-table-primary-color);
}

.filter-option.selected {
    background-color: var(--product-table-primary-light);
    color: var(--product-table-primary-color);
    font-weight: bold;
}

/* 目標分類高亮效果 - 持續顯示直到點擊 */
.category-card.highlight {
    box-shadow: 0 0 0 3px var(--product-table-accent-color), 0 8px 24px rgba(255, 107, 53, 0.3);
    border-color: var(--product-table-accent-color);
    animation: highlightPulse 1.5s ease-in-out infinite;
}

@keyframes highlightPulse {
    0%, 100% {
        box-shadow: 0 0 0 3px var(--product-table-accent-color), 0 8px 24px rgba(255, 107, 53, 0.3);
    }
    50% {
        box-shadow: 0 0 0 5px var(--product-table-accent-color), 0 12px 32px rgba(255, 107, 53, 0.4);
    }
}
