@charset "utf-8";
/* ═══════════════════════════════════════════
   产品列表页 - 与首页产品模块统一风格
   ═══════════════════════════════════════════ */

:root {
    --pl-primary: #206ae4;
    --pl-dark: #0f172a;
    --pl-mid: #475569;
    --pl-light: #94a3b8;
    --pl-bg: #f8fafc;
    --pl-border: #e2e8f0;
}

/* ═══════════════════════════════════════════
   Banner 超级视觉 - 高端精美
   ═══════════════════════════════════════════ */
.pl-banner {
    position: relative; width: 100%; padding: 90px 50px 70px; text-align: center;
    background: linear-gradient(160deg, #070b17 0%, #0f172a 35%, #131b33 65%, #0a0f1f 100%);
    overflow: hidden; box-sizing: border-box;
    min-height: 420px; display: flex; align-items: center; justify-content: center;
}
/* 背景层 */
.pl-banner-bg { position: absolute; inset: 0; pointer-events: none; }
/* 网格纹理 */
.pl-banner-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
    background-size: 60px 60px;
}
/* 光晕 */
.pl-banner-glow-1 {
    position: absolute; top: -30%; left: -10%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(59,130,246,.12) 0%, rgba(99,102,241,.06) 20%, transparent 60%);
    border-radius: 50%;
    animation: plGlowA 8s ease-in-out infinite alternate;
}
.pl-banner-glow-2 {
    position: absolute; bottom: -20%; right: -5%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(139,92,246,.08) 0%, rgba(59,130,246,.04) 30%, transparent 65%);
    border-radius: 50%;
    animation: plGlowB 10s ease-in-out infinite alternate;
}
@keyframes plGlowA { 0% { transform: translate(0,0) scale(1); opacity: .7; } 100% { transform: translate(60px,40px) scale(1.1); opacity: 1; } }
@keyframes plGlowB { 0% { transform: translate(0,0) scale(1); opacity: .6; } 100% { transform: translate(-50px,-30px) scale(1.15); opacity: 1; } }
/* 装饰点阵 */
.pl-banner-dots {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* 浮动装饰几何形状 */
.pl-banner-shapes { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.pl-bs-circle {
    position: absolute; border-radius: 50%; opacity: .07;
    border: 1px solid rgba(255,255,255,.1);
}
.pl-bs-c1 { width: 120px; height: 120px; top: 12%; left: 8%; animation: plFloat1 6s ease-in-out infinite; }
.pl-bs-c2 { width: 80px; height: 80px; bottom: 15%; right: 12%; animation: plFloat2 8s ease-in-out infinite; }
.pl-bs-c3 { width: 50px; height: 50px; top: 40%; right: 25%; animation: plFloat1 7s ease-in-out infinite reverse; }
.pl-bs-line {
    position: absolute; background: rgba(255,255,255,.03);
}
.pl-bs-l1 { width: 200px; height: 1px; top: 30%; left: 5%; transform: rotate(-15deg); }
.pl-bs-l2 { width: 150px; height: 1px; bottom: 35%; right: 8%; transform: rotate(20deg); }
@keyframes plFloat1 { 0% { transform: translateY(0); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0); } }
@keyframes plFloat2 { 0% { transform: translateY(0); } 50% { transform: translateY(12px); } 100% { transform: translateY(0); } }

/* 内容 */
.pl-banner-content { position: relative; z-index: 2; max-width: 800px; }

/* 徽章标签 */
.pl-banner-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 20px 6px 16px;
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
    border-radius: 50px; margin-bottom: 30px;
    backdrop-filter: blur(8px);
}
.pl-banner-badge-icon {
    display: flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 8px;
    background: linear-gradient(135deg, #206ae4, #6366f1);
    color: #fff; font-size: 12px;
}
.pl-banner-badge span:last-child {
    font-size: 11px; font-weight: 600; letter-spacing: 2px;
    color: rgba(255,255,255,.6); text-transform: uppercase;
}

/* 主标题 */
.pl-banner-title {
    font-size: 52px; font-weight: 800; color: #fff; margin: 0 0 4px;
    line-height: 1.15; letter-spacing: -1px;
}
.pl-banner-title-accent {
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #c084fc);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
/* 标题装饰线 */
.pl-banner-title-line {
    width: 50px; height: 3px; margin: 16px auto 18px;
    background: linear-gradient(90deg, #206ae4, #6366f1, #a78bfa);
    border-radius: 4px;
}

/* 副标题 */
.pl-banner-desc {
    font-size: 15px; color: rgba(255,255,255,.4);
    margin: 0 auto 32px; letter-spacing: 1px;
    font-weight: 400; line-height: 1.6;
}

/* 统计数据 */
.pl-banner-stats {
    display: inline-flex; align-items: center; gap: 0;
    background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.05);
    border-radius: 16px; padding: 16px 28px;
    backdrop-filter: blur(8px);
}
.pl-banner-stat {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 0 24px;
}
.pl-banner-stat-num {
    font-size: 22px; font-weight: 800;
    background: linear-gradient(135deg, #94a3b8, #e2e8f0);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; letter-spacing: -1px;
}
.pl-banner-stat-label {
    font-size: 11px; color: rgba(255,255,255,.35); font-weight: 400;
    letter-spacing: 1px;
}
.pl-banner-stat-divider {
    width: 1px; height: 30px; background: rgba(255,255,255,.06);
}

/* ═══ 主内容 ═══ */
.pl-main { max-width: none; margin: 0; padding: 48px 50px 80px; box-sizing: border-box; }

/* ══════════════════════════════════════════════
   筛选+搜索 整合工具栏 - 高端奢华设计
   ══════════════════════════════════════════════ */
.pl-toolbar {
    position: relative; overflow: hidden;
    background: linear-gradient(145deg, #ffffff, #f8faff);
    border: 1px solid rgba(226,232,240,.8);
    border-radius: 24px; padding: 32px 36px 24px;
    margin-bottom: 40px;
    box-shadow: 0 8px 40px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.03);
}
.pl-toolbar-bg {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 300px 200px at 10% 20%, rgba(32,106,228,.03) 0%, transparent 70%),
        radial-gradient(ellipse 400px 300px at 90% 80%, rgba(99,102,241,.04) 0%, transparent 70%);
}
.pl-toolbar-glow {
    position: absolute; top: -60px; right: -60px; pointer-events: none;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(32,106,228,.06) 0%, transparent 60%);
    border-radius: 50%;
}

/* 面包屑 */
.pl-tb-bread {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; color: #94a3b8; margin-bottom: 24px;
    position: relative; z-index: 1;
}
.pl-tb-bread i.fa-house { color: var(--pl-primary); font-size: 11px; }
.pl-tb-bread i.fa-angle-right { font-size: 10px; color: #d0d7e2; }
.pl-tb-bread a { color: #94a3b8; text-decoration: none; transition: color .2s; }
.pl-tb-bread a:hover { color: var(--pl-primary); }
.pl-tb-bread span { color: #0f172a; font-weight: 600; }

/* 搜索 */
.pl-tb-search { position: relative; z-index: 1; margin-bottom: 24px; }
.pl-tb-search-inner {
    display: flex; align-items: center; gap: 0;
    max-width: 660px; margin: 0 auto;
    background: #fff; border-radius: 60px;
    box-shadow: 0 4px 28px rgba(15,23,42,.05), 0 0 0 1px rgba(226,232,240,.6);
    transition: all .35s cubic-bezier(.16,1,.3,1);
}
.pl-tb-search-inner:focus-within {
    box-shadow: 0 8px 48px rgba(32,106,228,.1), 0 0 0 2px rgba(32,106,228,.12);
    transform: translateY(-2px);
}
.pl-tb-search-icon {
    display: flex; align-items: center; justify-content: center;
    width: 56px; flex-shrink: 0; font-size: 17px;
    background: linear-gradient(135deg, #206ae4, #6366f1);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.pl-tb-search-input {
    flex: 1; height: 56px; padding: 0 8px 0 0; border: none;
    font-size: 15px; color: #0f172a; outline: none;
    font-family: inherit; background: transparent; letter-spacing: .2px;
}
.pl-tb-search-input::placeholder { color: #b8c5d6; font-weight: 400; }
.pl-tb-search-btn {
    display: inline-flex; align-items: center; gap: 8px;
    height: 46px; padding: 0 30px; margin: 5px;
    background: linear-gradient(135deg, #206ae4, #4d8fff);
    color: #fff; border: none; border-radius: 50px;
    font-size: 14px; font-weight: 600; cursor: pointer;
    transition: all .3s cubic-bezier(.16,1,.3,1); flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(32,106,228,.2);
    letter-spacing: .5px; font-family: inherit;
}
.pl-tb-search-btn:hover {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 8px 32px rgba(32,106,228,.35);
}
.pl-tb-search-btn:active { transform: translateY(0) scale(.97); }
.pl-tb-search-btn i { font-size: 12px; transition: transform .3s; }
.pl-tb-search-btn:hover i { transform: translateX(4px); }

.pl-tb-hot {
    display: flex; align-items: center; gap: 6px; justify-content: center;
    margin-top: 14px; font-size: 12px; color: #94a3b8;
}
.pl-tb-hot-label { color: #94a3b8; font-weight: 500; }
.pl-tb-hot-label i { color: #f59e0b; margin-right: 2px; }
.pl-tb-hot-tag {
    color: #64748b; text-decoration: none; padding: 4px 14px; border-radius: 20px;
    background: rgba(255,255,255,.7); border: 1px solid #eef2f6;
    transition: all .25s; font-weight: 500;
}
.pl-tb-hot-tag:hover {
    color: var(--pl-primary); border-color: rgba(32,106,228,.2);
    background: #fff; transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

/* 分隔装饰 */
.pl-tb-divider {
    position: relative; z-index: 1; text-align: center;
    margin-bottom: 18px;
}
.pl-tb-divider span {
    display: inline-block; width: 40px; height: 3px;
    background: linear-gradient(90deg, var(--pl-primary), #6366f1);
    border-radius: 4px; opacity: .3;
}

/* 筛选区域 */
.pl-tb-filters {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; gap: 14px;
}
.pl-tb-fgroup {
    display: flex; align-items: flex-start; gap: 12px;
}
.pl-tb-flabel {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 13px; font-weight: 600; color: #475569;
    white-space: nowrap; padding-top: 6px; min-width: 50px;
}
.pl-tb-flabel i { color: var(--pl-primary); font-size: 12px; }
.pl-tb-fbtns {
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap; flex: 1;
}
.pl-tb-fpill {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 6px 16px; border-radius: 10px;
    font-size: 12px; font-weight: 500; color: #64748b; text-decoration: none;
    transition: all .25s cubic-bezier(.16,1,.3,1); white-space: nowrap;
    background: rgba(255,255,255,.6); border: 1.5px solid #eef2f6;
    cursor: pointer; font-family: inherit;
}
.pl-tb-fpill:hover {
    border-color: rgba(32,106,228,.2); color: var(--pl-primary);
    background: #f0f4ff; transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(32,106,228,.08);
}
.pl-tb-fpill.active {
    background: linear-gradient(135deg, #206ae4, #3b82f6);
    color: #fff; border-color: transparent;
    box-shadow: 0 4px 16px rgba(32,106,228,.2);
    transform: translateY(-1px);
}

/* 当前筛选指示 */
.pl-tb-active {
    position: relative; z-index: 1;
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    margin-top: 18px; padding: 12px 16px;
    background: rgba(239,68,68,.04); border: 1px solid rgba(239,68,68,.1);
    border-radius: 12px;
}
.pl-tb-active-label {
    font-size: 12px; color: #ef4444; font-weight: 500;
    display: inline-flex; align-items: center; gap: 4px;
}
.pl-tb-active-label i { font-size: 11px; }
.pl-tb-active-chips {
    display: inline-flex; align-items: center; gap: 6px; flex: 1; flex-wrap: wrap;
}
.pl-tb-chip {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 12px; font-size: 12px; font-weight: 500; color: #475569;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 8px;
    white-space: nowrap;
}
.pl-tb-chip i { color: var(--pl-primary); font-size: 10px; }
.pl-tb-active-clear {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 5px 14px; font-size: 12px; font-weight: 500; color: #ef4444;
    background: #fff; border: 1px solid rgba(239,68,68,.15); border-radius: 8px;
    text-decoration: none; transition: all .2s;
}
.pl-tb-active-clear:hover { background: #ef4444; color: #fff; }

/* ═══ 产品网格（3列，与首页一致） ═══ */
.prod-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px; width: 100%;
}
/* 网格子项防撑开——CSS Grid 经典修复：min-width:0 让 fr 单位正确生效 */
.prod-grid > * { min-width: 0; overflow: hidden; }

/* ═══ 产品卡片 ═══ */
.pro-card {
    background: #fff; border-radius: 12px; padding: 28px 24px;
    border: 1px solid #eef2f6; box-shadow: 0 2px 12px rgba(15,23,42,.04);
    transition: all .35s ease; display: flex; flex-direction: column;
    min-height: 240px; overflow: visible;
    word-break: break-word;
}
.pro-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(15,23,42,.08);
    border-color: #e2e8f0;
}
/* 空产品/加载失败占位 */
.prod-grid .pro-card:empty,
.prod-grid > :not(.pro-card) { display: none; }

/* 卡片主体：图标 + 文字 */
.pro-card-main { flex: 1; display: flex; align-items: flex-start; gap: 16px; }
.pro-icon { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .35s ease; }
.pro-card:hover .pro-icon { transform: scale(1.08); }
.pro-icon-bg {
    display: inline-flex; align-items: center; justify-content: center;
    width: 50px; height: 50px; border-radius: 50%; color: #fff;
    font-size: 22px; box-shadow: 0 4px 14px rgba(0,0,0,.1);
    transition: all .35s ease; font-weight: 600;
}
.pro-card:hover .pro-icon-bg { transform: translateY(-3px) scale(1.08); box-shadow: 0 8px 24px rgba(0,0,0,.16); }

/* 8 色轮换 */
.prod-grid > :nth-child(8n+1) .pro-icon-bg { background: #206ae4; }
.prod-grid > :nth-child(8n+2) .pro-icon-bg { background: #FA563A; }
.prod-grid > :nth-child(8n+3) .pro-icon-bg { background: #07C160; }
.prod-grid > :nth-child(8n+4) .pro-icon-bg { background: #F37B1D; }
.prod-grid > :nth-child(8n+5) .pro-icon-bg { background: #8B5CF6; }
.prod-grid > :nth-child(8n+6) .pro-icon-bg { background: #EC4899; }
.prod-grid > :nth-child(8n+7) .pro-icon-bg { background: #14B8A6; }
.prod-grid > :nth-child(8n+8) .pro-icon-bg { background: #F59E0B; }

.pro-info { flex: 1; min-width: 0; overflow: hidden; }
.pro-name { font-size: 17px; font-weight: 700; color: #1e293b; margin: 0 0 6px; line-height: 1.35; word-wrap: break-word; overflow-wrap: break-word; }
.pro-name a { color: inherit; text-decoration: none; transition: color .3s; }
.pro-card:hover .pro-name a { color: #206ae4; }
.pro-brief {
    font-size: 12px; color: #94a3b8; margin: 0 0 8px; line-height: 1.5;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pro-desc {
    font-size: 12px; color: #b0b8c8; margin: 0; line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    word-break: break-word;
}

/* 分隔线 */
.pro-divider { height: 1px; background: #f1f5f9; margin: 18px 0; }

/* 底部标签按钮 */
.pro-tags { display: flex; gap: 8px; min-width: 0; }
.pro-tags .tag {
    display: inline-flex; align-items: center; justify-content: center; gap: 4px;
    padding: 8px 12px; flex: 1 1 0; min-width: 0; background: #fff; border: 1px solid #e2e8f0;
    border-radius: 6px; font-size: 12px; font-weight: 500; color: #64748b;
    transition: all .25s ease; cursor: pointer; text-decoration: none;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pro-tags .tag i { font-size: 11px; }
.pro-tags .tag:hover { background: #f8fafc; border-color: #cbd5e1; color: #1e293b; }
.pro-tags .tag-buy { border-color: #206ae4; color: #206ae4; }
.pro-tags .tag-buy:hover { background: #206ae4; color: #fff; }
.pro-tags .tag-demo { border-color: #f59e0b; color: #f59e0b; }
.pro-tags .tag-demo:hover { background: #f59e0b; color: #fff; }
.pro-tags .tag-wx { border-color: #07C160; color: #07C160; }
.pro-tags .tag-wx:hover { background: #07C160; color: #fff; }
.pro-tags .tag-cmp { border-color: #6366f1; color: #6366f1; }
.pro-tags .tag-cmp:hover { background: #6366f1; color: #fff; }

/* 分页已统一抽离至公共样式 xiaoercms.css（.xiaoercms-pagination 组件），此处不再重复定义 */

/* ═══ 微信弹窗 ═══ */
.pl-wx-modal { position: fixed; inset: 0; z-index: 99999; display: none; }
.pl-wx-overlay { position: absolute; inset: 0; background: rgba(15,23,42,.65); backdrop-filter: blur(6px); }
.pl-wx-card {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    background: #fff; border-radius: 20px; padding: 36px 32px; text-align: center;
    box-shadow: 0 24px 60px rgba(0,0,0,.2); width: 360px; max-width: 90vw;
}
.pl-wx-close {
    position: absolute; top: 14px; right: 14px; width: 32px; height: 32px;
    border: none; border-radius: 50%; background: #f1f5f9; color: #94a3b8;
    cursor: pointer; font-size: 14px; display: flex; align-items: center;
    justify-content: center; transition: all .2s;
}
.pl-wx-close:hover { background: #fee2e2; color: #ef4444; }
.pl-wx-icon {
    width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 16px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; color: #10b981;
}
.pl-wx-card h3 { margin: 0 0 20px; font-size: 18px; font-weight: 700; color: var(--pl-dark); }
.pl-wx-card img {
    width: 200px; height: 200px; border-radius: 12px; display: block; margin: 0 auto 16px;
    border: 2px solid var(--pl-border); padding: 8px; background: #fff;
}
.pl-wx-card p { margin: 0; font-size: 14px; color: var(--pl-light); }

/* ═══ 响应式 ═══ */
@media (max-width: 1100px) {
    .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 1100px) {
    .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 900px) {
    .pl-banner { padding: 60px 24px 50px; min-height: 320px; }
    .pl-banner-title { font-size: 36px; }
    .pl-banner-stats { padding: 12px 16px; flex-wrap: wrap; justify-content: center; }
    .pl-banner-stat { padding: 0 14px; }
    .pl-banner-stat-num { font-size: 18px; }
    .pl-banner-grid { background-size: 40px 40px; }
    .pl-bs-c1 { width: 80px; height: 80px; }
    .pl-bs-c2 { width: 60px; height: 60px; }
    .pl-main { padding: 32px 24px 60px; }
    .pl-toolbar { padding: 24px 24px 20px; border-radius: 20px; }
    .pl-tb-search-inner { max-width: 100%; }
    .pl-tb-fgroup { flex-direction: column; gap: 6px; }
    .pl-tb-flabel { padding-top: 0; min-width: auto; }
    .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 600px) {
    .pl-banner { padding: 50px 16px 40px; min-height: 280px; }
    .pl-banner-title { font-size: 28px; }
    .pl-banner-desc { font-size: 13px; margin-bottom: 24px; }
    .pl-banner-badge { margin-bottom: 20px; }
    .pl-banner-stats { padding: 10px 8px; border-radius: 12px; }
    .pl-banner-stat { padding: 0 10px; }
    .pl-banner-stat-num { font-size: 16px; }
    .pl-banner-stat-label { font-size: 10px; }
    .pl-banner-grid { background-size: 30px 30px; }
    .pl-main { padding: 24px 16px 40px; }
    .pl-toolbar { padding: 18px 16px 16px; border-radius: 16px; margin-bottom: 24px; }
    .pl-tb-bread { margin-bottom: 16px; }
    .pl-tb-search { margin-bottom: 18px; }
    .pl-tb-search-input { height: 46px; font-size: 14px; }
    .pl-tb-search-btn { height: 40px; padding: 0 20px; font-size: 13px; }
    .pl-tb-search-btn span { display: inline; }
    .pl-tb-search-icon { width: 44px; font-size: 15px; }
    .pl-tb-hot { flex-wrap: wrap; }
    .pl-tb-hot-tag { padding: 3px 10px; font-size: 11px; }
    .pl-tb-fpill { padding: 5px 12px; font-size: 11px; }
    .prod-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .pro-card { padding: 20px 18px; }
    .pro-icon { width: 42px; height: 42px; }
    .pro-icon-bg { width: 42px; height: 42px; font-size: 18px; }
    .pro-name { font-size: 15px; }
    .pro-tags .tag { padding: 6px 10px; font-size: 11px; }
    .pl-wx-card { padding: 28px 20px; }
    .pl-wx-card img { width: 160px; height: 160px; }
}
