 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
        }
        
        body {
            background-color: #f5f5f5;
            color: #333;
            line-height: 1.5;
        }
        
        a {
            text-decoration: none;
            color: #333;
        }
        
        ul, ol {
            list-style: none;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        /* 顶部导航栏 */
        .header {
            background-color: #fff;
            border-bottom: 1px solid #e8e8e8;    z-index: 1;
    position: sticky;
        }
        
        .top-nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 60px;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .logo-text {
            font-size: 24px;
            font-weight: bold;
            color: #EF1F1F;
        }
        .logo-text img{    height: 30px;
    display: block;
    max-width: 100%;}
        
        .nav-links {
            display: flex;
            gap: 30px;
        }

 .xrpaginationa{    clear: both;
    display: block;
    width: 100%;}  
.xrpaginationa li.active a,.xrpaginationa li a:hover{    background: #ef1f1f;
    color: #fff;} 
.xrpaginationa li a{    border: 1px solid #ccc;
    padding: 3px 10px;
    color: #534f4f;} 

 .product-image img{height: 200px;max-width: 100%;    text-align: center;display: block;}
 .product-image a{border: 1px solid #ef1f1f;width: 100%;text-align: center;display: flex;align-items: center;justify-content: center;}


 .news-article-meta{
    border-bottom: 1px solid #ccc;
    padding-bottom: 6px;
    margin-bottom: 18px;}

.news-article-title{text-align: center;clear: both;display: block;width:100%;}
.news-article-meta{text-align: center;clear: both;display: block;width:100%;}






        
        .nav-link {
            color: #666;
            font-size: 16px;
        }
.nav-link.active{color: #EF1F1F;}
        
        .nav-link:hover {
            color: #EF1F1F;
        }
        
        .user-info {
            display: flex;
            gap: 15px;
        }
        
        .login-btn, .register-btn {
            padding: 6px 15px;
            border-radius: 4px;
            font-size: 14px;
        }
        
        .login-btn {
            color: #666;
        }
        
        .register-btn {
            background-color: #EF1F1F;
            color: white;
        }
        
        /* 移动端汉堡菜单按钮 */
        .menu-toggle {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 28px;
            height: 20px;
            cursor: pointer;
            z-index: 1001;
        }
        
        .menu-toggle span {
            display: block;
            width: 100%;
            height: 3px;
            background-color: #333;
            border-radius: 2px;
            transition: all 0.3s ease;
        }
        
        /* 移动端全屏导航层 */
        .mobile-nav-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.98);
            z-index: 1000;
            display: none;
            flex-direction: column;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .mobile-nav-overlay.active {
            display: flex;
            opacity: 1;
        }
        
        .mobile-nav-header {
            display: flex;
            justify-content: flex-end;    padding: 0;
    background: #fff;
    z-index: 999999;
        }
        
        .mobile-nav-close {
            font-size: 40px;
            color: #333;
            cursor: pointer;
            line-height: 1;
            padding: 10px;
        }
        
        .mobile-nav-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding-top: 40px;
        }
        
        .mobile-nav-link {
            font-size: 20px;
            color: #333;
            padding: 15px 40px;
            width: 100%;
            text-align: center;
            border-bottom: 1px solid #eee;
            transition: all 0.3s ease;
        }
        
        .mobile-nav-link:hover,
        .mobile-nav-link.active {
            background-color: #EF1F1F;
            color: #fff;
        }
        
        /* 搜索区域 */
        .search-section {
            background-color: #fff;
            padding: 30px 0;
        }
        
        .search-container {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .search-title {
            font-size: 28px;
            color: #333;
            margin-bottom: 15px;
            text-align: center;
        }
        
        .search-box {
            display: flex;
            border: 2px solid #EF1F1F;
            border-radius: 4px;
            overflow: hidden;
        }
        
        .search-input {
            flex: 1;
            padding: 15px;
            border: none;
            outline: none;
            font-size: 16px;
        }
        
        .search-btn {
            background-color: #EF1F1F;
            color: white;
            border: none;
            padding: 0 30px;
            font-size: 16px;
            cursor: pointer;
        }
        
        /* 筛选区域 */
        .filter-section {
            background-color: #fff;
            padding: 20px;
            margin: 15px 0;
            border-radius: 4px;
        }
        
        .filter-row {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            margin-bottom: 20px;
        }
        
        .filter-group {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .filter-label {
            color: #666;
            font-size: 14px;
            white-space: nowrap;
        }
        
        .filter-options {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        
        .filter-option {
            padding: 6px 12px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
            background-color: #fff;
            cursor: pointer;
        }
        
        .filter-option:hover {
            border-color: #EF1F1F;
            color: #EF1F1F;
        }
        
        .filter-option.active {
            background-color: #EF1F1F;
            color: white;
            border-color: #EF1F1F;
        }
        
        /* 排序区域 */
        .sort-section {
            background-color: #fff;
            padding: 15px 20px;
            margin-bottom: 15px;
            border-radius: 4px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .sort-options {
            display: flex;
            gap: 25px;
        }
        
        .sort-option {
            color: #666;
            font-size: 14px;
            cursor: pointer;
            padding: 5px 0;
            position: relative;
        }
        
        .sort-option:hover {
            color: #EF1F1F;
        }
        
        .sort-option.active {
            color: #EF1F1F;
            font-weight: bold;
        }
        
        .sort-option.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 2px;
            background-color: #EF1F1F;
        }
        
        .total-count {
            color: #999;
            font-size: 14px;
        }
        
        /* 商品列表 - 调整为一排四个 */
        .product-list {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-bottom: 40px;
        }
        
        .product-card {
            background-color: #fff;
            border-radius: 6px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
        }
        
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
        }
        
        .product-image {
            background-color: #f8f9fa;
            display: flex;
            align-items: center;
            justify-content: center;
            border-bottom: 1px solid #eee;
            font-size: 48px;
            color: #ccc;
        }
        
        .product-info {
            padding: 15px;
        }
        
        .product-title {
            font-size: 15px;
            font-weight: bold;
            margin-bottom: 10px;
            color: #333;
            height: 42px;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }
        
        .product-price {
            color: #ff6b00;
            font-size: 20px;
            font-weight: bold;
            margin-bottom: 8px;
        }
        
        .product-unit {
            color: #999;
            font-size: 14px;
        }
        
        .product-specs {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-bottom: 10px;
        }
        
        .product-spec {
            background-color: #f8f9fa;
            padding: 3px 8px;
            border-radius: 3px;
            font-size: 12px;
            color: #666;
        }
        
        .product-supplier {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 12px;
            padding-bottom: 12px;
            border-bottom: 1px solid #eee;
        }
        
        .supplier-name {
            color: #666;
            font-size: 13px;
        }
        
        .supplier-tag {
            background-color: #e8f4ff;
            color: #EF1F1F;
            padding: 2px 6px;
            border-radius: 3px;
            font-size: 12px;
        }
        
        .product-actions {
            display: flex;
            gap: 10px;
        }
        
        .contact-btn, .detail-btn {
            flex: 1;
            text-align: center;
            padding: 8px 0;
            border-radius: 4px;
            font-size: 13px;
        }
        
        .contact-btn {
            background-color: #EF1F1F;
            color: white;
        }
        
        .contact-btn:hover {
            background-color: #1a22c0;
        }
        
        .detail-btn {
            background-color: #fff;
            color: #EF1F1F;
            border: 1px solid #EF1F1F;
        }
        
        .detail-btn:hover {
            background-color: #f0f5ff;
        }
        
        /* 分页 */
        .pagination {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-bottom: 40px;
        }
        
        .page-btn {
            padding: 8px 15px;
            border: 1px solid #ddd;
            background-color: #fff;
            border-radius: 4px;
            font-size: 14px;
            color: #333;
        }
        
        .page-btn:hover {
            border-color: #EF1F1F;
            color: #EF1F1F;
        }
        
        .page-btn.active {
            background-color: #EF1F1F;
            color: white;
            border-color: #EF1F1F;
        }
        
        .page-ellipsis {
            padding: 8px 5px;
            color: #999;
        }
        
        /* 底部信息 */
        .footer {
            background-color: #fff;
            padding: 40px 0;
            border-top: 1px solid #e8e8e8;
        }
        
        .footer-links {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-bottom: 20px;
        }
        
        .footer-link {
            color: #666;
            font-size: 14px;
        }
        
        .footer-link:hover {
            color: #EF1F1F;
        }
        
        .copyright {
            text-align: center;
            color: #999;
            font-size: 14px;
        }
.btn {
            padding: 6px 15px;
            border-radius: 4px;
            font-size: 14px;
            cursor: pointer;
            border: none;
            background-color: #f0f0f0;
            color: #333;
        }
        .btn-primary {
            background-color: #EF1F1F;
            color: #fff;
        }

        /* 商家信息栏 */
        .seller-info {
            background-color: #fff;
            padding: 15px 0;
            margin-top: 10px;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }
        .seller-info .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .seller-details {
            display: flex;
            align-items: center;
            gap: 20px;
        }
        .seller-name {
            font-size: 18px;
            font-weight: bold;
            color: #222;
        }
        .seller-tags {
            display: flex;
            gap: 10px;
        }
        .tag {
            padding: 3px 10px;
            background-color: #f0f0f0;
            border-radius: 12px;
            font-size: 12px;
            color: #666;
        }
        .seller-stats {
            display: flex;
            gap: 30px;
        }
        .stat-item {
            text-align: center;
        }
        .stat-value {
            font-size: 16px;
            font-weight: bold;
            color: #EF1F1F;
        }
        .stat-label {
            font-size: 12px;
            color: #999;
        }

        /* 商品详情区域 */
        .product-section {
            background-color: #fff;
            margin-top: 20px;
            padding: 25px;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }
        .product-header {
            display: flex;
            gap: 30px;
            margin-bottom: 25px;
        }
        .product-gallery {
            flex: 0 0 400px;
        }
        .main-image {
            width: 100%;
            min-height: 300px;
            height: auto;
            background-color: #f0f0f0;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #999;
            font-size: 16px;
            overflow: hidden;
        }
        
        .main-image img {
            width: 100%;
            height: auto;
            max-height: 500px;
            object-fit: contain;
        }
        .image-thumbs {
            display: flex;
            gap: 10px;
            margin-top: 15px;
        }
        .thumb {
            width: 70px;
            height: 70px;
            background-color: #e0e0e0;
            border-radius: 4px;
        }
        .product-info {
            flex: 1;
        }
        .product-titlee {
            font-size: 24px;
            font-weight: bold;
            color: #222;
            margin-bottom: 15px;
        }
        .product-price-block {
            background-color: #f8f8f8;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 25px;
        }
        .price-tier {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
        }
        .price-amount {
            font-size: 28px;
            color: #e4393c;
            font-weight: bold;
        }
        .price-unit {
            font-size: 14px;
            color: #999;
        }
        .price-min-order {
            font-size: 14px;
            color: #666;
        }
        .order-actions {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        .btn-order {
            padding: 12px 30px;
            border-radius: 4px;
            font-size: 16px;
            font-weight: bold;
            background-color: #e4393c;
            color: #fff;
            border: none;
            cursor: pointer;
        }
        .btn-cart {
            padding: 12px 30px;
            border-radius: 4px;
            font-size: 16px;
            font-weight: bold;
            background-color: #EF1F1F;
            color: #fff;
            border: none;
            cursor: pointer;
        }

        /* 商品参数表格 */
        .product-params {
            margin-top: 30px;
        }
        .section-title {
            font-size: 20px;
            font-weight: bold;
            color: #222;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #EF1F1F;
        }
        .params-table {
            width: 100%;
            border-collapse: collapse;
        }
        .params-table th, .params-table td {
            border: 1px solid #e0e0e0;
            padding: 12px 15px;
            text-align: left;
            font-size: 14px;
        }
        .params-table th {
            background-color: #f8f8f8;
            font-weight: bold;
            color: #333;
            width: 200px;
        }
        .params-table td {
            color: #666;
        }

        /* 推荐商品 */
        .recommendations {
            margin-top: 40px;
        }
        .rec-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-top: 20px;
        }
        .rec-item {
            background-color: #fff;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            transition: transform 0.3s ease;
        }
        .rec-item:hover {
            transform: translateY(-5px);
        }
        .rec-image {
            height: 150px;
            background-color: #f0f0f0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #999;
        }
        .rec-content {
            padding: 15px;
        }
        .rec-title {
            font-size: 16px;
            font-weight: bold;
            color: #222;
            margin-bottom: 10px;
        }
        .rec-desc {
            font-size: 13px;
            color: #666;
            margin-bottom: 10px;
            height: 40px;
            overflow: hidden;
        }
        .rec-price {
            font-size: 18px;
            color: #e4393c;
            font-weight: bold;
        }


        
        /* 响应式设计 - 调整为一排四个后的响应式 */
        @media (max-width: 1200px) {
            .product-list {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        
        @media (max-width: 992px) {
            .product-list {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 768px) {
            .product-list {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .filter-row {
                flex-direction: column;
                gap: 15px;margin-bottom: 0px;
            }

.filter-section {padding: 20px 10px;margin: 15px 0;}
.container{padding: 0 10px;}
.product-image{height: auto;}
.product-image img{width:100%;}  
.search-title {font-size: 22px;}
.search-input {padding: 10px;}
.product-info {padding: 0px;}


            .nav-links {
                display: none;
            }
            
            .user-info {
                display: none;
            }
            
            .menu-toggle {
                display: flex;
            }
            
            .sort-section {
                flex-direction: column;
                gap: 15px;
                align-items: flex-start;padding: 15px 0px;
            }

        }
        
        @media (max-width: 576px) {
            .product-list {
                grid-template-columns: 1fr;
            }
            
            .product-actions {
                flex-direction: column;
            }
        }

        /* ==================== show.html 响应式样式 ==================== */
        
        /* 商家信息栏响应式 */
        @media (max-width: 992px) {
            .seller-info .container {
                flex-direction: column;
                gap: 20px;
                text-align: center;
            }
            .seller-details {
                flex-direction: column;
                gap: 10px;
            }
            .seller-stats {
                gap: 20px;
            }
        }
        
        @media (max-width: 576px) {
            .seller-tags {
                flex-wrap: wrap;
                justify-content: center;
            }
            .seller-stats {
                flex-wrap: wrap;
                justify-content: center;
                gap: 15px;
            }
            .stat-item {
                min-width: 80px;
            }
        }
        
        /* 商品详情头部响应式 */
        @media (max-width: 992px) {
            .product-header {
                flex-direction: column;
            }
            .product-gallery {
                flex: none;
                width: 100%;
            }
            .main-image img {
                height: auto !important;
                max-width: 100%;
            }
            .product-info {
                width: 100%;
            }
        }
        
        @media (max-width: 576px) {
            .product-section {
                padding: 15px;
            }
            .product-titlee {
                font-size: 18px;
            }
            .price-amount {
                font-size:18px;
            }
            .order-actions {
                flex-direction: column;
            }
            .btn-order, .btn-cart {
                width: 100%;
            }



.footer-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-direction: column;
}

.footer-link {
    color: #666;
    font-size: 14px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}








        }
        
        /* 推荐商品响应式 */
        @media (max-width: 992px) {
            .rec-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 576px) {
            .rec-grid {
                grid-template-columns: 1fr;
            }
            .rec-image img {
                max-width: 100%;
                height: auto;
            }
            .recommendations {
                margin-top: 20px;
            }
        }
        
        /* 图片自适应 */
        .main-image img {
            max-width: 100%;
            height: auto;
            object-fit: contain;
        }


.rec-image img{    height: 200px;
    max-width: 100%;
    text-align: center;
    display: block;}

.rec-image{    border: 1px solid #ef1f1f;}













