    <style>
        * { margin: 0; padding: 0; box-sizing: border-box; }



        /* Breadcrumb */
        .breadcrumb { background: var(--bg-light); padding: 18px 0; }
        .breadcrumb .container { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-light); }
        .breadcrumb a { color: var(--text-light); transition: var(--transition); }
        .breadcrumb a:hover { color: var(--primary); }
        .breadcrumb .separator { color: #ccc; }
        .breadcrumb .current { color: var(--text); font-weight: 500; }

        /* Page Title */
        .page-title { padding: 40px 0 30px; text-align: center; }
        .page-title h1 { font-size: 32px; margin-bottom: 8px; }
        .page-title p { color: var(--text-light); font-size: 15px; }

        /* ============ 商品列表布局 ============ */
        .shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; padding-bottom: 80px; }

        /* 侧边筛选 */
        .sidebar { position: sticky; top: 100px; align-self: start; }
        .filter-group { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
        .filter-group h3 { font-size: 15px; margin-bottom: 15px; padding-bottom: 12px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
        .filter-group h3 i { color: var(--primary); }
        .filter-list { list-style: none; }
        .filter-list li { margin-bottom: 10px;width:200px; }
        .filter-list label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--text); transition: var(--transition); padding: 4px 0; }
        .filter-list label:hover { color: var(--primary); }
        .filter-list input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; }
        .filter-list .count { margin-left: auto; color: var(--text-light); font-size: 12px; }

        .price-range { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
        .price-range input { width: 100%; padding: 8px 10px; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; outline: none; }
        .price-range input:focus { border-color: var(--primary); }
        .price-btn { width: 100%; margin-top: 12px; padding: 10px; background: var(--primary); color: #fff; border: none; border-radius: 8px; cursor: pointer; font-size: 13px; transition: var(--transition); }
        .price-btn:hover { background: var(--primary-dark); }

        .color-options { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 5px; }
        .color-dot { width: 28px; height: 28px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; transition: var(--transition); }
        .color-dot:hover, .color-dot.active { border-color: var(--primary); transform: scale(1.1); }

        /* 工具栏 */
        .shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; flex-wrap: wrap; gap: 15px; }
        .result-count { font-size: 14px; color: var(--text-light); }
        .result-count span { color: var(--primary); font-weight: 600; }
        .toolbar-right { display: flex; align-items: center; gap: 15px; }
        .sort-select { padding: 8px 16px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; outline: none; cursor: pointer; }
        .view-toggle { display: flex; gap: 5px; }
        .view-toggle button { width: 38px; height: 38px; border: 1px solid var(--border); background: #fff; border-radius: 8px; cursor: pointer; color: var(--text-light); transition: var(--transition); }
        .view-toggle button.active { background: var(--primary); color: #fff; border-color: var(--primary); }

        /* 商品网格 */
        .product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
        .product-card { background: #fff; border-radius: var(--radius); overflow: hidden; transition: var(--transition); border: 1px solid var(--border); }
        .product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
        .product-image { position: relative; width: 100%; padding-top: 100%; background: var(--secondary); overflow: hidden; }
        .product-image img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
        .product-card:hover .product-image img { transform: scale(1.05); }
        .product-badge { position: absolute; top: 15px; left: 15px; background: var(--primary); color: #fff; padding: 4px 12px; border-radius: 15px; font-size: 12px; z-index: 2; }
        .product-badge.new { background: #4CAF50; }
        .product-badge.hot { background: #ff6b35; }
        .quick-actions { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; transition: var(--transition); z-index: 3; }
        .product-card:hover .quick-actions { right: 15px; }
        .quick-actions button { width: 40px; height: 40px; border-radius: 50%; border: none; background: #fff; box-shadow: var(--shadow); cursor: pointer; color: var(--text); transition: var(--transition); }
        .quick-actions button:hover { background: var(--primary); color: #fff; }
        .product-info { padding: 20px; }
        .product-info h3 { font-size: 16px; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .product-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
        .product-rating .stars { color: #ffc107; font-size: 13px; }
        .product-rating span { font-size: 13px; color: var(--text-light); }
        .product-price { display: flex; align-items: baseline; gap: 10px; }
        .current-price { font-size: 20px; font-weight: 700; color: var(--primary); }
        .original-price { font-size: 14px; color: var(--text-light); text-decoration: line-through; }

        /* 分页 */
        .pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
        .pagination a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-size: 14px; transition: var(--transition); }
        .pagination a:hover, .pagination a.active { background: var(--primary); color: #fff; border-color: var(--primary); }
        .pagination a.disabled { color: #ccc; cursor: not-allowed; }



        /* Responsive */
        @media (max-width: 1024px) {
            .shop-layout { grid-template-columns: 1fr; }
            .sidebar { position: static; }
            .product-grid { grid-template-columns: repeat(2, 1fr); }
            .footer-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 768px) {
            .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 15px; gap: 0; box-shadow: var(--shadow); max-height: 80vh; overflow-y: auto; }
            .nav-menu.active { display: flex; }
            .nav-item { position: relative; border-bottom: 1px solid var(--border); }
            .nav-item > a { padding: 14px 5px; width: 100%; justify-content: space-between; }
            .nav-item > a::after { display: none; }
            .menu-toggle { display: block; }
            .top-bar .hidden-mobile { display: none; }
            .mega-menu { position: static; box-shadow: none; max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
            .has-mega.open .mega-menu { max-height: 800px; }
            .mega-inner { display: grid; grid-template-columns: 1fr; gap: 15px; padding: 10px 0 15px 15px; }
            .mega-secondary { border-right: none; border-bottom: 1px solid var(--border); padding-right: 0; padding-bottom: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
            .mega-secondary li { margin-bottom: 0; }
            .mega-secondary a { padding: 8px 14px; font-size: 13px; }
            .tertiary-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
            .tertiary-grid a { padding: 8px 10px; font-size: 12px; }
            .product-grid { grid-template-columns: repeat(2, 1fr); }
            .page-title h1 { font-size: 26px; }
        }
        @media (max-width: 480px) {
            .product-grid { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; }
            .shop-toolbar { flex-direction: column; align-items: flex-start; }
        }



/* 相关推荐 - 独立响应式样式 */
.related { padding: 60px 0; background: #f8f9fa; }
.related .container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.related .section-title { text-align: center; margin-bottom: 30px; }
.related .section-title h2 { font-size: 28px; margin: 0 0 8px; }
.related .section-title .divider { width: 50px; height: 3px; background: #c4181b; margin: 10px auto; border-radius: 2px; }
.related .section-title p { color: #999; font-size: 18px; margin: 0; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.related-grid .product-card { background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid #eee; transition: all .3s; cursor: pointer; }
.related-grid .product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,.12); }
.related-grid .product-card .img { width: 100%; padding-top: 75%; position: relative; overflow: hidden; background: #f5f5f5; }
.related-grid .product-card .img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.related-grid .product-card .info { padding: 12px 14px; }
.related-grid .product-card .info h3 { font-size: 15px; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #333; }

@media (max-width: 1024px) {
    .related-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .related { padding: 45px 0; }
    .related .section-title h2 { font-size: 24px; }
}
@media (max-width: 768px) {
    .related-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .related { padding: 35px 0; }
    .related .container { padding: 0 12px; }
    .related .section-title { margin-bottom: 20px; }
    .related .section-title h2 { font-size: 20px; }
    .related .section-title p { font-size: 12px; }
    .related-grid .product-card .info { padding: 10px; }
    .related-grid .product-card .info h3 { font-size: 13px; }
}
@media (max-width: 480px) {
    .related-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .related { padding: 25px 0; }
    .related .container { padding: 0 10px; }
    .related .section-title { margin-bottom: 15px; }
    .related .section-title h2 { font-size: 18px; }
    .related-grid .product-card .info { padding: 8px; }
    .related-grid .product-card .info h3 { font-size: 16px; }
}



/*分页*/
.pagination a, .current{
    float:left;
    width: 60px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    }


    </style>