/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

:root {
    --primary-red: #c62828;
    --primary-red-light: #ff5252;
    --primary-red-dark: #8e0000;
    --secondary-yellow: #ffd54f;
    --secondary-yellow-light: #ffecb3;
    --secondary-black: #263238;
    --secondary-brown: #5d4037;
    --secondary-green: #2e7d32;
    --secondary-orange: #f57c00;
    --secondary-orange-light: #ffad42;
    --secondary-blue: #1565c0;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #333;
    --text-color: #444;
    --white: #ffffff;
    --accent-gradient: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-orange) 100%);
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.12);
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-red);
}

.logo-text span {
    color: var(--secondary-black);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}


.sigshowsright {
 width: 100%!important;
}


.gxs-99 {
    background: #f0f2f4;
    padding: 80px 0;
}

.gxs-99 h2 {
    font-size: 52px;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 50px;
}

nav a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
    padding: 5px 25px;
    position: relative;
}

nav a:hover {
    color: var(--primary-red);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    left: 0;
    bottom: 0;
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-red);
    cursor: pointer;
}



/* 表格样式 - 确保表格有边框 */
.chanpinyenr table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
    margin: 20px 0;
    font-size: 15px;
}

.chanpinyenr th {
    background-color: #f2f2f2;
    font-weight: 600;
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #ddd;
    color: #333;
}

.chanpinyenr td {
    padding: 10px 15px;
    border: 1px solid #ddd;
    color: #555;
}

.chanpinyenr tr {
    border-bottom: 1px solid #ddd;
}

.chanpinyenr tr:nth-child(even) {
    background-color: #f9f9f9;
}

.chanpinyenr tr:hover {
    background-color: #f0f7ff;
}

/* 表头特殊样式 */
.chanpinyenr thead {
    background-color: #e8f4ff;
}

.chanpinyenr thead th {
    background-color: #e8f4ff;
    border-bottom: 2px solid #c62828;
}



/* 强制显示产品详情链接 */
.product-info .product-detail-link {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-top: 15px;
    padding: 8px 20px;
    background: rgba(198, 40, 40, 0.1);
    color: #c62828;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(198, 40, 40, 0.2);
}

.product-info .product-detail-link:hover {
    background: linear-gradient(135deg, #c62828 0%, #f57c00 100%);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.3);
    border-color: transparent;
}

/* 为det4的表格添加特殊样式 */
.detail-content .combined-row:nth-child(3) .combined-col:first-child .chanpinyenr table {
    border: 2px solid #2e7d32; /* 绿色边框 */
}

.detail-content .combined-row:nth-child(3) .combined-col:first-child .chanpinyenr th {
    background-color: #e8f5e9; /* 浅绿色背景 */
    color: #2e7d32; /* 绿色文字 */
}



/* 英雄区域样式 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    border: none;
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(198, 40, 40, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-red);
    transform: translateY(-3px);
}

/* 产品展示区域 */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 36px;
    color: var(--dark-gray);
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--accent-gradient);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-color);
    max-width: 800px;
    margin: 15px auto 50px;
}

.products {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}



/* 产品卡片样式 */
.product-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow-hover);
}

.product-color {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.product-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.product-info p {
    flex-grow: 1;
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 15px;
}

/* 产品详情链接样式 */
.product-detail-link {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background: rgba(198, 40, 40, 0.1);
    color: var(--primary-red);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(198, 40, 40, 0.2);
}

.product-detail-link:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.3);
    border-color: transparent;
}





.product-color {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.product-color::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-color::after {
    opacity: 1;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.product-info p {
    color: var(--text-color);
    font-size: 15px;
}

/* 公司介绍区域 */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(255, 245, 245, 0.8) 0%, rgba(255, 248, 240, 0.8) 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--accent-gradient);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.about-header {
    text-align: center;
    margin-bottom: 30px;
}

.about-header h2 {
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--primary-red-dark);
    position: relative;
    display: inline-block;
}

.about-header h2::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    bottom: -10px;
    left: 0;
}

.about-intro {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--primary-red);
    margin-bottom: 40px;
}

.about-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
}

.about-intro strong {
    color: var(--primary-red);
    font-weight: 700;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.highlight-card {
    background-color: var(--white);
    padding: 35px 30px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.highlight-card.red {
    border-top-color: var(--primary-red);
}

.highlight-card.orange {
    border-top-color: var(--secondary-orange);
}

.highlight-card.yellow {
    border-top-color: var(--secondary-yellow);
}

.highlight-card.blue {
    border-top-color: var(--secondary-blue);
}

.highlight-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 28px;
    color: white;
}

.highlight-card.red .highlight-icon {
    background: var(--primary-red);
    box-shadow: 0 5px 15px rgba(198, 40, 40, 0.3);
}

.highlight-card.orange .highlight-icon {
    background: var(--secondary-orange);
    box-shadow: 0 5px 15px rgba(245, 124, 0, 0.3);
}

.highlight-card.yellow .highlight-icon {
    background: var(--secondary-yellow);
    box-shadow: 0 5px 15px rgba(255, 213, 79, 0.3);
    color: var(--dark-gray);
}

.highlight-card.blue .highlight-icon {
    background: var(--secondary-blue);
    box-shadow: 0 5px 15px rgba(21, 101, 192, 0.3);
}

.highlight-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.highlight-card p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
}

/* 产品详情页面样式 */
.product-detail {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.detail-header {
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--card-shadow);
}

.detail-color {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.detail-title {
    font-size: 36px;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.detail-subtitle {
    font-size: 18px;
    color: var(--text-color);
    line-height: 1.7;
}

/* 产品详情内容区域 - 针对det1-det7标签 */
.detail-content {
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--card-shadow);
}

/* 组合行样式 */
.combined-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.combined-col {
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    border-left: 4px solid var(--primary-red);
    transition: all 0.3s;
}

.content-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* det标签内容的样式 */
.chanpinyenr {
    color: var(--text-color);
}

.chanpinyenr h3 {
    font-size: 24px;
    color: var(--primary-red-dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-red-light);
}

.chanpinyenr h4 {
    font-size: 18px;
    color: var(--secondary-black);
    margin: 20px 0 10px;
}

.chanpinyenr p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.chanpinyenr ul, .chanpinyenr ol {
    margin-left: 20px;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}
.series-card p {
    font-size: 14px;
    line-height: 2;
}
.chanpinyenr li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.chanpinyenr ul li {
    list-style-type: disc;
}

.chanpinyenr ol li {
    list-style-type: decimal;
}

.chanpinyenr strong {
    color: var(--primary-red);
    font-weight: 600;
}

/* 产品系列 */
.series {
    padding: 80px 0;
    background-color: var(--white);
}

.series-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.series-card {
    background-color: var(--light-gray);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.3s;
}

.series-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.series-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(198, 40, 40, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-red);
    font-size: 28px;
}

.series-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

/* 社会责任 */
.responsibility {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.responsibility-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.responsibility-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s;
}

.responsibility-card:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateY(-5px);
}

.responsibility-card:hover h3,
.responsibility-card:hover p {
    color: white;
}

.responsibility-card:hover .responsibility-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.responsibility-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(198, 40, 40, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-red);
    font-size: 28px;
}

.responsibility-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.responsibility-card p {
    font-size: 14px;
    color: var(--text-color);
}
.fa:before,
.fas:before,
.far:before,
.fal:before,
.fab:before {
    content: none !important;
}

/* 或者隐藏特定图标 */
.fa-building:before {
    content: none !important;
}
/* 页脚样式 */
footer {
    background-color: var(--secondary-black);
    color: var(--white);
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}
  .footer-column p {
      line-height: 1.8;
      font-size: 16px;
  }
.footer-column h3 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-column img {
    width: 50%;
}
.footer-column h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--accent-gradient);
    bottom: 0;
    left: 0;
}

.footer-links {
    list-style: none;
    line-height: 1.8;
    font-size: 16px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-red-light);
}

.contact-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: #bbb;
        line-height: 1.8;
    font-size: 16px;
}

.contact-info i {
    color: var(--primary-red-light);
    margin-top: 4px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .combined-row {
        grid-template-columns: 1fr;
    }
    
    .series-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .responsibility-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h2 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .about-header h2 {
        font-size: 36px;
    }
    
    .about-intro {
        padding: 30px;
    }
    
    .detail-header, .detail-content {
        padding: 30px;
    }
    
    .detail-title {
        font-size: 30px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .series-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 80px 0;
    }
    
    .hero h2 {
        font-size: 30px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .about-header h2 {
        font-size: 30px;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .responsibility-grid {
        grid-template-columns: 1fr;
    }
    
    .products, .about, .product-detail, .series, .responsibility {
        padding: 70px 0;
    }
}











/* ====================
   推荐链接板块样式
   ==================== */

.recommended-links {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%);
    position: relative;
    overflow: hidden;
}

.recommended-links::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
}

/* 标题区域 */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .section-title {
    font-size: 36px;
    color: var(--dark-gray);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.section-header .section-subtitle {
    font-size: 18px;
    color: var(--text-color);
    max-width: 600px;
    margin: 20px auto 0;
    line-height: 1.6;
}

/* 主要内容容器 */
.links-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.info-title {
    font-size: 28px;
    color: var(--primary-red-dark);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(198, 40, 40, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-title::before {
    content: '';
    width: 30px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
}




/* 产品链接样式 */
.product-link {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background: rgba(198, 40, 40, 0.1);
    color: var(--primary-red);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(198, 40, 40, 0.2);
}

.product-link:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.3);
    border-color: transparent;
}

/* 更新产品卡片高度以适应链接 */
.product-info {
    padding: 25px;
    position: relative;
    min-height: 180px;
    display: flex;
    flex-direction: column;
}



/* 产品详情链接样式 */
.product-detail-link {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background: rgba(198, 40, 40, 0.1);
    color: var(--primary-red);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(198, 40, 40, 0.2);
}

.product-detail-link:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.3);
    border-color: transparent;
}

/* 确保产品信息区域有足够空间 */
.product-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.product-info p {
    flex-grow: 1;
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 15px;
}






/* 链接网格布局 */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* 单个链接项 */
.link-item {
    transition: all 0.3s ease;
}

.link-item:hover {
    transform: translateY(-5px);
}

.link-content {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: var(--dark-gray);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    height: 100%;
}

.link-item:hover .link-content {
    background: #ffffff;
    border-color: var(--primary-red-light);
    box-shadow: 0 8px 25px rgba(198, 40, 40, 0.15);
}

/* 链接图标 */
.link-icon {
    width: 50px;
    height: 50px;
    background: rgba(198, 40, 40, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.link-icon i {
    font-size: 20px;
    color: var(--primary-red);
    transition: all 0.3s ease;
}

.link-item:hover .link-icon {
    background: var(--accent-gradient);
    transform: scale(1.1);
}

.link-item:hover .link-icon i {
    color: white;
}

/* 链接文本 */
.link-text {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.link-text h4 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
    color: var(--dark-gray);
    transition: all 0.3s ease;
}

.link-item:hover .link-text h4 {
    color: var(--primary-red);
}

.link-arrow {
    width: 30px;
    height: 30px;
    background: rgba(198, 40, 40, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.link-arrow i {
    font-size: 12px;
    color: var(--primary-red);
    transition: all 0.3s ease;
}

.link-item:hover .link-arrow {
    background: var(--accent-gradient);
    transform: translateX(5px);
}

.link-item:hover .link-arrow i {
    color: white;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .recommended-links {
        padding: 60px 0;
    }
    
    .links-container {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header .section-title {
        font-size: 28px;
    }
    
    .info-title {
        font-size: 24px;
    }
    
    .link-content {
        padding: 15px;
    }
    
    .link-icon {
        width: 40px;
        height: 40px;
        margin-right: 15px;
    }
    
    .link-icon i {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .recommended-links {
        padding: 50px 0;
    }
    
    .links-container {
        padding: 25px 20px;
    }
    
    .link-text h4 {
        font-size: 15px;
    }
}

/* 无数据时的样式 */
.links-grid:empty::before {
    content: '暂无推荐内容';
    display: block;
    text-align: center;
    padding: 40px;
    color: var(--text-color);
    font-size: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #e0e0e0;
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.link-item {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}



/* 为每个链接项设置延迟动画 */
.link-item:nth-child(1) { animation-delay: 0.1s; }
.link-item:nth-child(2) { animation-delay: 0.2s; }
.link-item:nth-child(3) { animation-delay: 0.3s; }
.link-item:nth-child(4) { animation-delay: 0.4s; }
.link-item:nth-child(5) { animation-delay: 0.5s; }
.link-item:nth-child(6) { animation-delay: 0.6s; }
.link-item:nth-child(7) { animation-delay: 0.7s; }
.link-item:nth-child(8) { animation-delay: 0.8s; }
.link-item:nth-child(9) { animation-delay: 0.9s; }
.link-item:nth-child(10) { animation-delay: 1.0s; }
