/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #4a4a4a;
    background: linear-gradient(135deg, #fff5f7 0%, #fff 50%, #f5f0ff 100%);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background: linear-gradient(135deg, #fff 0%, #fef0f5 100%);
    box-shadow: 0 2px 15px rgba(219, 112, 147, 0.15);
    position: sticky;
    top: 0;
    z-index: 800;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
    flex-wrap: nowrap;
}

.navbar-brand {
    display: flex;
    align-items: center;
    flex-shrink: 1;
    overflow: hidden;
}

.navbar-brand img {
    width: 45px;
    height: 45px;
    margin-right: 10px;
}

.navbar-brand span {
    font-size: 16px;
    font-weight: bold;
    background: linear-gradient(135deg, #e91e63 0%, #9c27b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.navbar-brand {
    display: flex;
    align-items: center;
    flex-shrink: 1;
    overflow: hidden;
}

.navbar-nav ul {
    display: flex;
    list-style: none;
}

.navbar-nav li {
    margin-left: 30px;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #e91e63 0%, #9c27b0 100%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #e91e63;
}

.nav-link:hover::after {
    width: 100%;
}

/* 移动端菜单按钮 */
.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
}

.toggle-icon {
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, #e91e63 0%, #9c27b0 100%);
    transition: all 0.3s ease;
}

/* 移动端菜单 */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: linear-gradient(135deg, #fff 0%, #fef0f5 100%);
    box-shadow: -2px 0 15px rgba(219, 112, 147, 0.2);
    z-index: 999;
    transition: right 0.3s ease;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-menu-content ul {
    list-style: none;
}

.mobile-menu-content li {
    margin-bottom: 20px;
}

.mobile-nav-link {
    text-decoration: none;
    color: #666;
    font-size: 18px;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(233, 30, 99, 0.1);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: #e91e63;
}

/* 轮播图样式 */
.slider {
    width: 100%;
    height: 450px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: linear-gradient(135deg, #e91e63 0%, #9c27b0 100%);
    transform: scale(1.2);
}

/* 公司介绍样式 */
.company-intro {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: bold;
    background: linear-gradient(135deg, #e91e63 0%, #9c27b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.section-title p {
    font-size: 16px;
    color: #999;
    letter-spacing: 3px;
}

.intro-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.intro-image {
    flex: 1;
    min-width: 300px;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(219, 112, 147, 0.2);
}

.intro-text {
    flex: 1;
    min-width: 300px;
}

.intro-text p {
    font-size: 16px;
    line-height: 2;
    color: #666;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 35px;
    background: linear-gradient(135deg, #e91e63 0%, #9c27b0 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
}

/* 产品展示样式 */
.products {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff5f7 0%, #f5f0ff 100%);
}

/* 产品分类侧边栏 */
.products-layout {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.product-sidebar {
    flex: 0 0 200px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: fit-content;
}

.category-scroll {
    width: 100%;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    border-bottom: 1px solid #f0f0f0;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    display: block;
    padding: 15px 20px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.category-list a:hover,
.category-list a.active {
    background: linear-gradient(135deg, #e91e63 0%, #9c27b0 100%);
    color: #fff;
}

/* 产品网格 */
.products-main {
    flex: 1;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* 产品卡片样式 - 参考图片 */
.product-item {
    display: block;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
    overflow: hidden;
}

.product-item:hover {
    border-color: #e91e63;
    box-shadow: 0 5px 20px rgba(233, 30, 99, 0.15);
}

.product-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    background: #f9f9f9;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 15px;
}

.product-title {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 11em;
}

.product-desc {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 11em;
}

.product-status {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 16px;
    color: #e91e63;
    font-weight: bold;
}

.product-price::before {
    content: '¥';
    font-size: 14px;
}

.product-cart {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-cart:hover {
    background: linear-gradient(135deg, #e91e63 0%, #9c27b0 100%);
    border-color: #e91e63;
    color: #fff;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 5px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #ddd;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination a.active {
    background: linear-gradient(135deg, #e91e63 0%, #9c27b0 100%);
    color: #fff;
    border-color: #e91e63;
}

.pagination-info {
    margin-left: 20px;
    color: #999;
    font-size: 14px;
}

.pagination-info input {
    width: 50px;
    padding: 5px;
    border: 1px solid #ddd;
    text-align: center;
    margin: 0 5px;
}

.pagination-info button {
    padding: 5px 15px;
    background: linear-gradient(135deg, #e91e63 0%, #9c27b0 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    margin-left: 5px;
}

/* 首页产品展示轮播样式 */
.home-products {
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
}

.home-products-slider {
    position: relative;
    width: 100%;
}

.home-products-wrapper {
    width: 100%;
    overflow: hidden;
    user-select: none;
}

.home-products-grid {
    display: flex;
    gap: 30px;
    transition: transform 0.3s ease;
    will-change: transform;
}

.home-product-item {
    flex: 0 0 calc((100% - 60px) / 3);
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.home-product-item:hover {
    box-shadow: 0 5px 20px rgba(233, 30, 99, 0.2);
    transform: translateY(-5px);
}

.home-product-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    pointer-events: none;
}

.home-product-item:hover .home-product-image img {
    transform: scale(1.05);
}

.home-product-info {
    padding: 20px;
    text-align: center;
    background: #fff;
}

.home-product-title {
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 50%;
    color: #999;
    transition: all 0.3s ease;
}

.home-product-item:hover .home-product-btn {
    background: linear-gradient(135deg, #e91e63 0%, #9c27b0 100%);
    border-color: #e91e63;
    color: #fff;
}

/* 滑动指示点 */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.slider-dots .slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .slider-dot.active {
    background: linear-gradient(135deg, #e91e63 0%, #9c27b0 100%);
    transform: scale(1.2);
}

.home-products-more {
    display: inline-block;
    padding: 12px 40px;
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.home-products-more:hover {
    background: linear-gradient(135deg, #e91e63 0%, #9c27b0 100%);
    border-color: #e91e63;
    color: #fff;
}

/* 新闻资讯样式 */
.news {
    padding: 80px 0;
    background-color: #fff;
}

.news-list {
    margin-top: 40px;
    list-style: none;
    padding: 0;
}

.news-item {
    margin-bottom: 1px;
    background: #fff;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    border: none;
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 51, 102, 0.1);
    transition: left 0.3s ease;
    z-index: 1;
}

.news-item:hover::before {
    left: 0;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.news-item a {
    display: block;
    text-decoration: none;
    position: relative;
    z-index: 2;
}

.news-tit {
    display: flex;
    align-items: flex-start;
}

.news-span1 {
    flex: 0 0 120px;
}

.news-time {
    background: #f8f8f8;
    padding: 15px 20px;
    text-align: center;
    border-right: 1px solid #ccc;
}

.news-time-date {
    font-size: 32px;
    font-family: '微软雅黑', 'Microsoft YaHei';
    font-weight: normal;
    color: #666;
    margin-bottom: 5px;
}

.news-time-year {
    font-size: 14px;
    font-family: '微软雅黑', 'Microsoft YaHei';
    color: #666;
}

.news-span2 {
    flex: 1;
    padding: 15px 20px;
}

.news-action {
    display: flex;
    flex-direction: column;
}

.news-title {
    font-size: 18px;
    font-family: '微软雅黑', 'Microsoft YaHei';
    font-weight: normal;
    color: #666;
    margin: 0 0 8px 0;
    line-height: 18pt;
}

.news-title-oneline {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.staFun {
    display: inline-block;
    background: #ff3366;
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    margin-right: 8px;
    border-radius: 3px;
    font-style: normal;
}

.news-desc {
    font-size: 12px;
    font-family: '微软雅黑', 'Microsoft YaHei';
    color: #999;
    line-height: 1.5;
    margin: 0;
    height: 24px;
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.label-box {
    margin-top: 18px;
    padding: 0 10px;
    border-left: 1px solid #eee;
    height: 0px;
}

.label-box a {
    font-size: 12px;
    font-family: '微软雅黑', 'Microsoft YaHei';
    color: #999;
    text-decoration: none;
    font-weight: normal;
    font-style: normal;
}

/* 联系我们样式 */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff5f7 0%, #f5f0ff 100%);
}

.contact-info {
    background-color: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(219, 112, 147, 0.15);
    text-align: center;
}

.contact-info h3 {
    font-size: 20px;        /* 新增：设置字体大小为20px */
    font-weight: bold;
    background: linear-gradient(135deg, #e91e63 0%, #9c27b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
}

.contact-info p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

/* 二维码容器样式 */
.qrcode-container {
    margin-top: 30px;
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.qrcode-item {
    text-align: center;
}

.qrcode-item h4 {
    margin-bottom: 10px;
    color: #e91e63;
    font-size: 16px;
}

.qrcode-item img {
    width: 200px;
    height: 200px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    object-fit: cover;
}

/* 产品详情样式 */
.product-detail {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff5f7 0%, #f5f0ff 100%);
}

.product-content {
    background-color: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(219, 112, 147, 0.15);
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.product-image {
    flex: 1;
    min-width: 300px;
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(219, 112, 147, 0.15);
}

.product-info {
    flex: 1;
    min-width: 300px;
}

.product-info h3 {
    font-weight: bold;
    background: linear-gradient(135deg, #e91e63 0%, #9c27b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.product-info .product-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.product-info .product-price {
    font-size: 20px;
    font-weight: bold;
    background: linear-gradient(135deg, #e91e63 0%, #9c27b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
}

.product-detail-content {
    background: linear-gradient(135deg, #fff5f7 0%, #f5f0ff 100%);
    border-radius: 15px;
}

.product-detail-content h3 {
    background: linear-gradient(135deg, #e91e63 0%, #9c27b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 新闻详情样式 */
.news-detail {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff5f7 0%, #f5f0ff 100%);
}

.news-content {
    background-color: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(219, 112, 147, 0.15);
}

.news-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(233, 30, 99, 0.1);
}

.news-header h2 {
    font-size: 25;
    font-weight: bold;
    background: linear-gradient(135deg, #e91e63 0%, #9c27b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.news-meta {
    font-size: 14px;
    color: #999;
}

.news-body {
    font-size: 16px;
    line-height: 2;
    color: #666;
}

.news-body p {
    margin-bottom: 20px;
}

.news-body img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(219, 112, 147, 0.15);
}

/* 页脚样式 */
.footer {
    background: linear-gradient(135deg, #2d1f3d 0%, #1a1a2e 100%);
    color: #fff;
    padding: 80px 0 40px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
    justify-content: center;
}

.footer-info {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    text-align: center;
}

.footer-info h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #f48fb1 0%, #ce93d8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-info p {
    margin-bottom: 12px;
    color: #bbb;
}

.footer-links {
    flex: 1;
    min-width: 300px;
}

.footer-links h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #f48fb1 0%, #ce93d8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: #bbb;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #f48fb1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
}

.footer-bottom a {
    color: #f48fb1;
    text-decoration: none;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e91e63 0%, #9c27b0 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 5px 20px rgba(233, 30, 99, 0.4);
}

.back-to-top.active {
    display: flex;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.5);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar-nav {
        display: none;
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .navbar-brand {
        flex: 1;
        justify-content: center;
        max-width: calc(100% - 80px);
    }
    
    .navbar-brand span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: center;
    }
    
    .navbar-toggle {
        display: flex;
        flex-shrink: 0;
        margin-left: 10px;
        z-index: 1001;
    }
    
    .slider {
        height: 300px;
    }
    
    .intro-content {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .product-content {
        padding: 30px;
    }
    
    .news-content {
        padding: 30px;
    }
    
    /* 产品页面响应式 */
    .products-layout {
        flex-direction: column;
    }
    
    .product-sidebar {
        flex: none;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .category-scroll {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .category-list {
        display: flex;
        flex-wrap: nowrap;
    }
    
    .category-list li {
        border-bottom: none;
        border-right: 1px solid #f0f0f0;
    }
    
    .category-list li:last-child {
        border-right: none;
    }
    
    .category-list a {
        white-space: nowrap;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-title {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .product-desc {
        font-size: 11px;
        margin-bottom: 8px;
    }
    
    .product-price {
        font-size: 14px;
    }
    
    /* 首页产品展示H5适配 */
    .home-products-wrapper {
        cursor: grab;
    }
    
    .home-products-wrapper:active {
        cursor: grabbing;
    }
    
    .home-products-grid {
        gap: 15px;
    }
    
    .home-product-item {
        flex: 0 0 calc(100% - 0px);
        min-width: calc(100% - 0px);
    }
    
    .home-product-image {
        height: 280px;
    }
    
    .home-product-info {
        padding: 15px;
    }
    
    .home-product-title {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .slider-dots {
        margin-top: 20px;
        gap: 8px;
    }
    
    .slider-dots .slider-dot {
        width: 8px;
        height: 8px;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 3px;
    }
    
    .pagination a,
    .pagination span {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .pagination-info {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
    
    /* 二维码容器H5适配 */
    .qrcode-container {
        gap: 20px;
        margin-top: 20px;
    }
    
    .qrcode-item img {
        width: 150px;
        height: 150px;
    }
    
    .qrcode-item h4 {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .slider {
        height: 200px;
    }
    
    .section-title h2 {
        font-size: 26px;
    }
    
    .news-item {
        flex-direction: row;
    }
    
    .news-tit {
        flex-direction: row;
    }
    
    .news-span1 {
        flex: 0 0 80px;
    }
    
    .news-time {
        padding: 10px;
        border-right: 1px solid #ccc;
        border-bottom: none;
        text-align: center;
    }
    
    .news-time-date {
        font-size: 20px;
    }
    
    .news-time-year {
        font-size: 12px;
    }
    
    .news-span2 {
        padding: 12px;
        flex: 1;
    }
    
    .news-title {
        font-size: 14px;
        line-height: 14pt;
    }
    
    .staFun {
        font-size: 10px;
        padding: 1px 4px;
    }
    
    .news-desc {
        font-size: 11px;
        height: 18px;
    }
    
    .news-item:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-content {
        padding: 20px;
    }
    
    .news-content {
        padding: 20px;
    }
}