.product-list-page {
  --primary-blue: #1a62ff;
  --primary-hover: #004be5;
  --primary-light: #edf4ff;
  --primary-border: #cce0ff;
  --bg-page: #ffffff;
  --bg-sidebar-card: #f9fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f9fafc;
  --text-heading: #111827;
  --text-body: #374151;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border-color: #e5e7eb;
  --border-sidebar: #f1f5f9;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  --shadow-card: 0 4px 18px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 12px 28px rgba(26, 98, 255, 0.14);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-sans);
  line-height: 1.5;
  padding: 0 0 1px;
}
body:has(.product-list-page) .navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  border-bottom-color: rgba(226, 232, 240, .9);
  box-shadow: 0 5px 18px rgba(15, 23, 42, .06);
  backdrop-filter: none;
}
.product-list-page *, .product-list-page *::before, .product-list-page *::after { box-sizing: border-box; }
.product-list-page a { color: inherit; text-decoration: none; }
.product-list-page ul { list-style: none; margin: 0; padding: 0; }
.product-list-page button, .product-list-page input, .product-list-page select { font: inherit; outline: none; }
.product-list-page button { cursor: pointer; border: none; }
.product-list-page .container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }

.product-list-page .product-img-box img { width: 100%; height: 100%; object-fit: contain; }
.product-list-page .product-placeholder-icon { color: #1a62ff; font-size: 54px; opacity: .72; }
/* --- Hero Banner Section: shared visual language with the news page. --- */
.product-list-page .hero-section {
    width: calc(100% - 40px);
    max-width: 1240px;
    margin: 20px auto 0;
    background-color: #f0f6ff;
    background-image: url('/themes/theme-neuro-enterprise/assets/images/hero-bg.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 45, 110, 0.04);
}

.product-list-page .hero-section.has-custom-background {
    background-image: var(--product-list-hero-background);
}

.product-list-page .hero-content-box {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 64px 56px 60px;
}

.product-list-page .hero-title {
    margin: 0 0 16px;
    color: #0b1a3e;
    font-size: 46px;
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: -0.5px;
}

.product-list-page .hero-subtitle {
    margin: 0 0 36px;
    color: #475569;
    font-size: 16.5px;
    font-weight: 500;
    line-height: 1.7;
}

/* --- Breadcrumb & Search Bar Strip --- */
.product-list-page .toolbar-strip {
    margin: 24px 0 24px 0;                 /* 24px 舒适间距 */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-list-page .breadcrumb-path {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.product-list-page .breadcrumb-path a:hover {
    color: var(--primary-blue);
}

.product-list-page .breadcrumb-path .separator {
    color: var(--text-light);
}

.product-list-page .breadcrumb-path .current {
    color: var(--text-heading);
    font-weight: 500;
}

.product-list-page .search-input-wrapper {
    position: relative;
    width: 320px;
}

.product-list-page .search-input {
    width: 100%;
    height: 38px;
    padding: 0 40px 0 16px;
    background-color: #f9fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    font-size: 13px;
    color: var(--text-heading);
    transition: var(--transition);
}

.product-list-page .search-input:focus {
    background-color: #ffffff;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(26, 98, 255, 0.12);
}

.product-list-page .search-icon-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-list-page .search-icon-btn:hover {
    color: var(--primary-blue);
}

/* --- Main Layout: Sidebar + Product Grid (40px 下边距呼吸感) --- */
.product-list-page .main-layout {
    display: grid;
    grid-template-columns: 240px 1fr;      /* 还原 240px 标准侧边栏 */
    gap: 24px;                             /* 24px 布局间隙 */
    margin-bottom: 40px;                   /* 40px 底部呼吸间距 */
}

/* --- Sidebar (#f9fafc) --- */
.product-list-page .sidebar-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-list-page .sidebar-panel[data-ready="false"] {
    visibility: hidden;
    opacity: 0;
    transform: translateY(14px);
    filter: blur(1.5px);
}

.product-list-page .sidebar-panel[data-ready="true"] {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    transition: opacity 560ms cubic-bezier(.22, 1, .36, 1), transform 640ms cubic-bezier(.22, 1, .36, 1), filter 480ms ease-out;
}

.product-list-page .sidebar-panel[data-ready="true"] .filter-card {
    animation: product-sidebar-card-enter 620ms cubic-bezier(.22, 1, .36, 1) both;
}

.product-list-page .sidebar-panel[data-ready="true"] .filter-card:nth-child(2) {
    animation-delay: 90ms;
}

@keyframes product-sidebar-card-enter {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Filter Bar Trigger Toggle (hidden on desktop) */
.product-list-page .mobile-filter-bar {
    display: none;
    margin-bottom: 16px;
}

.product-list-page .btn-mobile-filter-trigger {
    width: 100%;
    height: 40px;
    background-color: #f9fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    color: var(--text-heading);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-list-page .filter-card {
    background-color: #f9fafc;
    border-radius: var(--radius-md);
    padding: 20px;                         /* 还原 20px 充盈内边距 */
    border: 1px solid #f1f5f9;
}

.product-list-page .card-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 18px;
}

/* Category List */
.product-list-page .category-menu-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-list-page .category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;                    /* 10px 14px 舒展间距 */
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-body);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    background-color: transparent;
}

.product-list-page .category-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-list-page .category-icon {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}
.product-list-page img.category-icon {
    display: block;
    object-fit: contain;
    border-radius: 4px;
}
.product-list-page .category-library-icon {
    display: inline-grid;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    place-items: center;
    color: currentColor;
}
.product-list-page .category-library-icon svg { width: 18px; height: 18px; color: currentColor; }
.product-list-page .tag-tree-option {
    display: flex;
    min-height: 0;
}

.product-list-page .tag-tree-list {
    gap: 10px;
}

.product-list-page .tag-tree-row {
    display: flex;
    align-items: center;
    min-height: 0;
}

.product-list-page .tag-tree-row .tag-tree-option {
    flex: 1;
}

.product-list-page .tag-tree-toggle,
.product-list-page .tag-tree-spacer {
    width: 24px;
    height: 20px;
    flex: 0 0 24px;
}

.product-list-page .tag-tree-toggle {
    display: grid;
    place-items: center;
    background: transparent;
    color: var(--text-muted);
    transition: color .2s ease;
}

.product-list-page .tag-tree-toggle:hover {
    color: var(--primary-blue);
}

.product-list-page .tag-tree-toggle i {
    font-size: 10px;
    transition: transform .2s ease;
}

.product-list-page .tag-tree-toggle.is-expanded i {
    transform: rotate(90deg);
}

.product-list-page .tag-tree-children {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 6px 0 0 8px;
    padding-left: 8px;
    border-left: 1px solid #e5e7eb;
}

.product-list-page .tag-tree-children[hidden] {
    display: none;
}

.product-list-page .category-item:hover {
    background-color: #edf2f9;
    color: var(--primary-blue);
}

.product-list-page .category-item:hover .category-icon {
    color: var(--primary-blue);
}

/* Active Category Item */
.product-list-page .category-item.active {
    background-color: #ffffff;
    color: var(--primary-blue);
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.product-list-page .category-item.active .category-icon {
    color: var(--primary-blue);
}

.product-list-page .category-arrow {
    font-size: 12px;
    color: var(--primary-blue);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-3px);
    transition: opacity .18s ease, transform .18s ease;
}
.product-list-page .category-item.active .category-arrow {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Filter Groups */
.product-list-page .filter-group {
    margin-bottom: 20px;
}

.product-list-page #product-tag-filters {
    margin-bottom: 22px;
}

.product-list-page #product-tag-filters .tag-filter-group {
    margin-bottom: 0;
}

.product-list-page #product-tag-filters .tag-filter-group + .tag-filter-group {
    margin-top: 20px;
}

.product-list-page .filter-card > #product-tag-filters + .filter-group {
    margin-bottom: 0;
}

.product-list-page .filter-group:last-child {
    margin-bottom: 0;
}

.product-list-page .filter-group-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 12px;
}

.product-list-page .checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-list-page .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #96a0b7;        /* 筛选选项文字 #96A0B7 */
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

.product-list-page .checkbox-label:hover {
    color: var(--primary-blue);
}

.product-list-page .custom-checkbox {
    width: 15px;
    height: 15px;
    border: 1.5px solid #cbd5e1;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    background-color: #ffffff;
}

.product-list-page .checkbox-input {
    display: none;
}

.product-list-page .checkbox-input:checked + .custom-checkbox {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.product-list-page .checkbox-input:checked + .custom-checkbox::after {
    content: '';
    width: 4px;
    height: 8px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.product-list-page .checkbox-input:checked ~ span:last-child {
    color: var(--text-heading);
    font-weight: 600;
}

/* Interactive Price Range Slider & Handles */
.product-list-page .price-slider-box {
    margin-top: 0;
}

.product-list-page .range-track-container {
    position: relative;
    height: 6px;
    background-color: #cbd5e1;
    border-radius: 3px;
    margin: 14px 4px;
    cursor: pointer;
}

.product-list-page .range-track-fill {
    position: absolute;
    top: 0;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: var(--primary-blue);
    border-radius: 3px;
}

.product-list-page .range-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background-color: #ffffff;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    z-index: 5;
}

.product-list-page .range-handle:active {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(1.25);
    box-shadow: 0 0 0 4px rgba(26, 98, 255, 0.2);
}

.product-list-page .range-handle.min-handle {
    left: 0%;
}

.product-list-page .range-handle.max-handle {
    left: 100%;
}

.product-list-page .price-inputs-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

.product-list-page .price-input-box {
    width: 100%;
    height: 32px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 0 8px;
    font-size: 12px;
    color: #96a0b7;           /* 灰蓝色文字非纯黑 #96A0B7 */
    font-weight: 600;         /* 加粗 */
    background-color: #ffffff;
    text-align: center;
    transition: var(--transition);
}

.product-list-page .price-input-box:focus {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.product-list-page .filter-action-btns {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.product-list-page .btn-reset {
    flex: 1;
    height: 32px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-body);
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 500;
    transition: var(--transition);
}

.product-list-page .btn-reset:hover {
    background-color: #eef2f8;
}

.product-list-page .btn-filter {
    flex: 1;
    height: 32px;
    background-color: var(--primary-blue);
    color: #ffffff;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(26, 98, 255, 0.2);
}

.product-list-page .btn-filter:hover {
    background-color: var(--primary-hover);
}

/* --- Right Product Area --- */
.product-list-page .product-content-panel {
    display: flex;
    min-height: 600px;
    flex-direction: column;
}

.product-list-page .content-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.product-list-page .product-count-title {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.product-list-page .count-main {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-heading);
}

.product-list-page .count-sub {
    font-size: 13px;
    color: var(--text-muted);
}

.product-list-page .content-sort-views {
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-list-page .sort-select-btn {
    height: 34px;
    padding: 0 12px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-body);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.product-list-page .view-mode-group {
    display: flex;
    align-items: center;
    gap: 4px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 2px;
}

.product-list-page .view-mode-btn {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: none;
    transition: var(--transition);
}

.product-list-page .view-mode-btn.active {
    background-color: var(--primary-light);
    color: var(--primary-blue);
}

/* Product Cards Grid - NO BORDER, 175px HIGH PICTURE BOX, SPACIOUS CONTENT */
.product-list-page .products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;                             /* 20px 充盈间距 */
}

.product-list-page .products-grid[hidden],
.product-list-page .pagination-wrapper[hidden],
.product-list-page .count-sub[hidden] {
    display: none !important;
}

.product-list-page .product-content-stage {
    display: grid;
    flex: 1;
    min-width: 0;
    min-height: 335px;
    align-items: start;
}

.product-list-page .product-content-stage > .products-grid {
    grid-area: 1 / 1;
    align-self: start;
}

.product-list-page .products-grid[data-loading="false"][data-ready="false"] {
    opacity: 0;
}

.product-list-page .products-grid[data-loading="false"][data-ready="true"] {
    opacity: 1;
}

.product-list-page .product-card.product-card-enter {
    opacity: 0;
    transform: translateY(16px) scale(.985);
    transition: opacity 560ms cubic-bezier(.22, 1, .36, 1), transform 620ms cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--card-delay, 0ms);
}

.product-list-page .product-card.product-card-enter.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.product-list-page .product-empty {
    display: grid;
    min-height: 335px;
    grid-column: 1 / -1;
    place-items: center;
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
}

.product-list-page .pagination-wrapper[data-loading="true"] { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
    .product-list-page .product-card.product-card-enter {
        transform: none;
        transition: opacity 120ms linear;
        transition-delay: 0ms;
    }
}

.product-list-page .product-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: none;                              /* 无边框 */
    box-shadow: var(--shadow-card);           /* 卡片立柔和阴影 */
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* 上方图片 100% 铺满卡片上半部分 (175px 大图展现) */
.product-list-page .product-img-box {
    width: 100%;
    height: 175px;                         /* 还原 175px 大气图片容器，绝非压缩饼干！ */
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.product-list-page .product-img-box svg,
.product-list-page .product-img-box img,
.product-list-page .product-img-box .product-placeholder-icon {
    max-width: 85%;
    max-height: 85%;
    transition: transform 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
    .product-list-page .product-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-hover);          /* 悬浮增强阴影 */
    }

    .product-list-page .product-card:hover .product-img-box svg,
    .product-list-page .product-card:hover .product-img-box img,
    .product-list-page .product-card:hover .product-img-box .product-placeholder-icon {
        transform: scale(1.08);
    }
}

/* 下方主体内容容器：舒展行间距 */
.product-list-page .product-card-body {
    padding: 16px;                         /* 16px 充盈边距 */
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: stretch;
    justify-content: flex-start;
    border-top: 0;
}

.product-list-page .product-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;                 /* 舒展边距 */
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 小副标题 */
.product-list-page .product-desc {
    font-size: 12px;
    color: #8c96a6;                      /* 清爽浅柔灰色 */
    font-weight: 500;
    line-height: 1.6;                    /* 1.6 舒展行高 */
    height: 38px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;                 /* 12px 舒展边距 */
}

.product-list-page .product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;                 /* 16px 舒展边距 */
}

/* Product Tag Badges */
.product-list-page .tag-item {
    font-size: 10px;           /* 紧凑字号 10px */
    padding: 2px 7px;          /* 紧凑边距 */
    border-radius: 4px;
    background-color: #edf3ff;
    color: #5173d9;            /* 精确使用 #5173D9 颜色 */
    font-weight: 600;           /* 加粗 */
    line-height: 1.4;
}

.product-list-page .product-footer-row {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.product-list-page .product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-blue);
}
.product-list-page .product-price small {
    font-size: 12px;
    font-weight: 600;
}

.product-list-page .product-detail-link {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    color: var(--primary-blue);
    background: #edf3ff;
    font-size: 13px;
    text-decoration: none;
    opacity: 0;
    transform: translateX(-8px);
    pointer-events: none;
    transition: opacity 240ms ease-out, transform 300ms cubic-bezier(.22, 1, .36, 1), color 180ms ease, background-color 180ms ease;
}

.product-list-page .product-card:hover .product-detail-link,
.product-list-page .product-detail-link:focus-visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.product-list-page .product-detail-link:hover,
.product-list-page .product-detail-link:focus-visible {
    color: #ffffff;
    background: var(--primary-blue);
    outline: none;
}

/* Pagination Section */
.product-list-page .pagination-wrapper {
    margin-top: 36px;                      /* 还原 36px 舒展边距 */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-list-page .pagination-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-list-page .page-btn {
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: #ffffff;
    color: var(--text-body);
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.product-list-page .page-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.product-list-page .page-btn.active {
    border-color: var(--primary-blue);
    background-color: #ffffff;
    color: var(--primary-blue);
    font-weight: 700;
    box-shadow: 0 0 0 1px var(--primary-blue);
}

.product-list-page .page-btn.ellipsis {
    border: none;
    background: none;
    color: var(--text-light);
}

.product-list-page .pagination-right-info {
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.product-list-page .page-size-select {
    height: 32px;
    padding: 0 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: #ffffff;
    font-size: 12px;
    color: var(--text-body);
    cursor: pointer;
}

/* --- CTA Banner (页脚上方的高高级呼吸感：48px / 56px 大边距) --- */
.product-list-page .cta-banner-section {
    background: transparent;
    color: inherit;
    margin: 48px 0 56px 0;                 /* 48px / 56px 极佳呼吸间距，绝非压成压缩饼干！ */
    padding: 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 220ms ease-out, transform 220ms ease-out;
}

.product-list-page[data-ready="true"] .cta-banner-section {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.product-list-page .cta-card {
    background: linear-gradient(135deg, #104ad6 0%, #0036a8 100%);
    border-radius: var(--radius-lg);
    padding: 36px 48px;                    /* 还原 36px 48px 充盈大气卡片内边距 */
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(16, 74, 214, 0.25);
}

.product-list-page .cta-card-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0.15;
}
.product-list-page .cta-card-bg-pattern svg {
    display: block;
    width: 100%;
    height: 100%;
}

.product-list-page .cta-text-content {
    position: relative;
    z-index: 2;
}

.product-list-page .cta-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.product-list-page .cta-subtitle {
    font-size: 14px;
    color: #cbd5e1;
}

.product-list-page .cta-btn {
    position: relative;
    z-index: 2;
    background-color: #ffffff;
    color: #0036a8;
    font-size: 13px;
    font-weight: 700;
    padding: 12px 26px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.product-list-page .cta-btn:hover {
    background-color: #f8fafc;
    transform: translateX(3px);
}

/* Product center responsive overrides: kept after the desktop rules so they win reliably. */
@media screen and (max-width: 1200px) {
    .product-list-page .main-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 18px;
    }

    .product-list-page .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .product-list-page .product-img-box {
        height: 165px;
    }
}

@media screen and (max-width: 1024px) {
    .product-list-page .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .product-list-page .main-layout {
        grid-template-columns: 208px minmax(0, 1fr);
        gap: 16px;
    }

    .product-list-page .filter-card {
        padding: 16px;
    }

    .product-list-page .content-sort-views {
        gap: 10px;
    }
}

@media screen and (max-width: 850px) {
    .product-list-page .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .product-list-page .toolbar-strip {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .product-list-page .search-input-wrapper {
        width: 100%;
    }

    .product-list-page .mobile-filter-bar {
        display: block;
    }

    .product-list-page .main-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .product-list-page .product-content-panel { min-height: 440px; }

    .product-list-page .sidebar-panel {
        display: none;
    }

    .product-list-page .sidebar-panel.active {
        display: flex;
    }

    .product-list-page .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .product-list-page .cta-card {
        flex-direction: column;
        gap: 20px;
        padding: 30px 24px;
        text-align: center;
    }

    .product-list-page .pagination-wrapper {
        flex-direction: column;
        gap: 16px;
    }

    .product-list-page .pagination-right-info {
        position: static;
    }
}

@media screen and (max-width: 580px) {
    .product-list-page .container {
        width: calc(100% - 24px);
        padding-left: 12px;
        padding-right: 12px;
    }

    .product-list-page .hero-section {
        width: calc(100% - 48px);
        margin-top: 12px;
        border-radius: 18px;
    }

    .product-list-page .hero-content-box {
        padding: 40px 24px 38px;
    }

    .product-list-page .hero-title {
        font-size: 34px;
    }

    .product-list-page .hero-subtitle {
        margin-bottom: 0;
        font-size: 15px;
    }

    .product-list-page .content-top-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .product-list-page .content-sort-views {
        width: 100%;
        justify-content: space-between;
    }

    .product-list-page .sort-select-btn {
        min-width: 0;
        flex: 1;
    }

    .product-list-page .products-grid {
        gap: 12px;
    }

    .product-list-page .product-card {
        min-width: 0;
    }

    .product-list-page .product-img-box {
        height: clamp(118px, 34vw, 145px);
        padding: 10px;
    }

    .product-list-page .product-card-body {
        padding: 12px;
    }

    .product-list-page .product-title {
        font-size: 13.5px;
    }

    .product-list-page .product-desc {
        height: 34px;
        margin-bottom: 8px;
        font-size: 11px;
    }

    .product-list-page .product-tags {
        gap: 4px;
        margin-bottom: 10px;
    }

    .product-list-page .tag-item {
        padding: 2px 6px;
        font-size: 9.5px;
    }

    .product-list-page .product-footer-row {
        gap: 6px;
        padding-top: 10px;
    }

    .product-list-page .product-price {
        font-size: 16px;
        font-weight: 700;
        white-space: nowrap;
    }
    .product-list-page .product-price small {
        font-size: 11px;
        font-weight: 600;
    }

    .product-list-page .product-detail-link {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .product-list-page .pagination-wrapper {
        margin-top: 28px;
    }

    .product-list-page .cta-banner-section {
        margin: 32px 0 40px;
    }

    .product-list-page .cta-title {
        font-size: 20px;
    }

    .product-list-page .cta-subtitle {
        font-size: 13px;
        line-height: 1.65;
    }

    .product-list-page .cta-btn {
        padding: 11px 22px;
    }
}

@media screen and (max-width: 390px) {
    .product-list-page .content-sort-views {
        gap: 8px;
    }

    .product-list-page .view-mode-group {
        display: none;
    }

    .product-list-page .product-img-box {
        height: 112px;
    }

    .product-list-page .product-card-body {
        padding: 10px;
    }

    .product-list-page .product-title {
        font-size: 12.5px;
    }

    .product-list-page .product-detail-link {
        width: 28px;
        height: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-list-page .sidebar-panel[data-ready="true"] { filter: none; transform: none; transition: none; }
    .product-list-page .sidebar-panel[data-ready="true"] .filter-card { animation: none; }
    .product-list-page .cta-banner-section {
        transform: none;
        transition: none;
    }
    .product-list-page .product-card.product-card-enter { opacity: 1; }
    .product-list-page .product-card,
    .product-list-page .product-detail-link,
    .product-list-page .product-img-box svg,
    .product-list-page .product-img-box img,
    .product-list-page .product-img-box .product-placeholder-icon {
        transition: none;
        transform: none !important;
    }
}


