/* 合并的CSS文件 */

/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* 导航栏样式 */
#navigation {
    position:relative;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 0 16px;
    box-sizing: border-box;
    height: 60px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: hidden;
}

.nav-content {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-left: 16px;
}

.logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
}

.logo-top {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: bold;
}

.logo-bottom {
    font-size: clamp(0.6rem, 1vw, 0.75rem);
    margin-top: -0.5rem; /* 调整同上一行的距离 */
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 10px;
}

nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    display: block;
    padding: 10px 8px;
    text-decoration: none;
    color: #333;
    white-space: nowrap;
    font-size: 1rem;
}

nav ul li a:hover {
    color: #007bff;
}

.language-switcher {
    display: flex;
    align-items: center;
    background-color: cadetblue;
    margin-left: 30px;
    margin-right: 0;
}

.language-switcher a {
    margin-left: 1px;
    color: white;
    font-weight: bold;
    padding: 10px;
}

/* 产品展示样式 - 通用 */
#product-showcase {
    background-color: #f8f9fa;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
    box-sizing: border-box;
}

#product-showcase h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

#product-showcase h3 {
    margin-top: 0;
    margin-bottom: 2rem;
}

/* 首页的产品展示容器 */
#product-showcase .container {
    padding: 0;
}

/* 产品页面的flex布局 - 只在产品页面应用 */
#product-showcase .small-images {
    display: flex;
    flex-direction: column;
    margin-right: 5px;
}

#product-showcase .large-image {
    position: relative;
    width: 385px;
    height: 385px;
    margin-right: 5px;
    flex-shrink: 0;
}

#product-showcase .product-description {
    flex: 1;
    margin-left: 15px;
    max-width: 100%;
    min-width: 0;
    background-color: #f9f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

/* 产品页面的flex布局 */
#product-showcase:has(.small-images) {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.small-images img {
    width: 60px;
    height: 60px;
    margin-bottom: 5px;
    cursor: pointer;
    object-fit: cover;
    border: 2px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
    max-width: 100%;
}

.large-image {
    position: relative;
    width: 385px;
    height: 385px;
    margin-right: 5px;
    flex-shrink: 0;
}

.large-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
}

#zoom-layer {
    position: absolute;
    top: 0;
    right: -385px;
    width: 385px;
    height: 385px;
    background-color: #fff;
    display: none;
    z-index: 10;
    overflow: hidden;
}

.product-description {
    flex: 1;
    margin-left: 15px;
    max-width: 100%;
    min-width: 0;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.product-description h2,
.product-description h3 {
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: clamp(16px, 2.5vw, 22px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
}

/* 只有当文字超出时才显示工具提示 */
.product-description h2.overflow:hover,
.product-description h3.overflow:hover {
    cursor: help;
}

.product-description h2.overflow:hover::after,
.product-description h3.overflow:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    white-space: normal;
    max-width: 300px;
    z-index: 100;
    margin-bottom: 5px;
}

/* 核心信息 */
.core-info {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    text-align: left;
    justify-content: flex-start;
    box-sizing: border-box;
    overflow: hidden;
}

.info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    background-color: #e3f2fd;
}

.info-item i {
    margin-right: 10px;
    color: #007bff;
    font-size: 18px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.info-item span {
    font-weight: 600;
    color: #333;
    font-size: 13px;
    line-height: 1.4;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

/* 规格容器 */
.specs-container {
    margin-bottom: 20px;
}

.toggle-specs {
    width: 100%;
    padding: 10px;
    background-color: #f1f1f1;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-weight: bold;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.toggle-specs i {
    margin-left: 10px;
}

.specs-content {
    display: none;
    margin-top: 15px;
}

.specs-content.active {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.specs-column {
    flex: 1;
    margin-right: 0;
    margin-bottom: 30px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.specs-column h3 {
    margin-top: 0;
    color: #333;
    font-size: 16px;
    margin-bottom: 5px;
    text-align: center;
    padding-bottom: 5px;
    border-bottom: 1px solid #e0e0e0;
}

.specs-column ul {
    padding-left: 20px;
    margin: 10px 0 0 0;
    text-align: left;
}

.specs-column li {
    margin-bottom: 5px;
    text-align: left !important;
    list-style-position: inside;
}

/* 按钮样式 */
.price-button {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-right: 10px;
}

.price-button:hover {
    background-color: #0056b3;
}

.more-details {
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    padding: 12px 0;
    font-weight: bold;
}

.more-details:hover {
    text-decoration: underline;
}

/* 参数信息样式 */
#parameter-info {
    padding: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    background-color: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
    margin-top: 20px;
}

/* 导航栏容器 */
.info-nav {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    z-index: 90;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px;
}

/* 导航按钮基础样式 */
.info-nav a {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 15px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

/* 导航按钮悬停效果 */
.info-nav a:hover {
    background-color: #0056b3;
}

/* 内容区域默认隐藏 */
.info-content {
    display: none;
    padding: 20px;
}

/* 激活状态显示内容 */
.info-content.active {
    display: block;
}

/* 内容段落样式 */
.info-content p {
    line-height: 1.6;
    word-wrap: break-word;
}

/* 内容图片通用样式 */
.info-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 图片和型号标注样式 */
.image-with-model {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 600px;
    height: auto;
    border: 6px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    margin: 10px;
    box-sizing: border-box;
}

/* 图片填充容器 */
.image-with-model img {
    width: 100%;
    height: auto;
}

/* 图片型号标签样式 */
.image-with-model .product-model {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

/* PARAMETER 部分图片垂直排列 */
#parameters img {
    display: block;
    margin-bottom: 0px;
}

/* 参数卡片容器 */
#parameters .info-content p {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 参数卡片样式 - 恢复卡片效果 */
.parameter-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 0;
    animation: fadeIn 0.5s ease-out forwards;
}

.parameter-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* 参数标题样式 */
.parameter-card h3 {
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #3498db;
    font-weight: 600;
}

/* 参数列表样式 */
.parameter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

/* 参数项样式 */
.parameter-item {
    display: flex;
    align-items: center;
    padding: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    transition: background 0.3s ease;
}

.parameter-item:hover {
    background: rgba(255, 255, 255, 1);
}

/* 参数图标 */
.parameter-icon {
    width: 24px;
    height: 24px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 12px;
    flex-shrink: 0;
}

/* 参数内容 */
.parameter-content {
    flex: 1;
}

/* 参数标签 */
.parameter-label {
    font-weight: 600;
    color: #2c3e50;
    display: block;
    margin-bottom: 2px;
    font-size: 13px;
}

/* 参数值 */
.parameter-value {
    color: #555;
    font-size: 12px;
}

/* 参数图片容器 */
.parameter-images {
    margin-top: 20px;
    max-width: 100%;
}

/* 图片列表 - 垂直堆叠 */
.image-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 图片列表项 */
.image-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* 图片 - 自适应大小 */
.image-list li img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.image-list li:hover img {
    transform: scale(1.02);
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.parameter-card:nth-child(2) {
    animation-delay: 0.1s;
}

.parameter-card:nth-child(3) {
    animation-delay: 0.2s;
}

/* 联系信息卡片样式 */
.contact-cards-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.card-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.contact-card {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.contact-card h2 {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
    font-weight: 600;
}

.contact-card .info-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
}

.contact-card .info-item i {
    width: 24px;
    height: 24px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 12px;
    flex-shrink: 0;
}

.contact-card .info-item span,
.contact-card .info-item a {
    color: #555;
    text-decoration: none;
}

.contact-card .info-item a:hover {
    color: #3498db;
    text-decoration: underline;
}

.contact-card.full-width {
    width: 100%;
    min-width: 100%;
}

/* 地图容器样式 */
#map-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 社交按钮样式 */
#social-buttons {
    position: fixed;
    bottom: 20px;
    right: 10px;
    display: flex;
    flex-direction: column;
    z-index: 999;
    transform: scale(0.8);
}

.share-button {
    position: relative;
    background-color: #007bff;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-bottom: 15px;
    cursor: pointer;
}

.share-button i {
    font-size: 16px;
    color: #fff !important;
    line-height: 40px;
    display: inline-block !important;
}

.share-options {
    position: absolute;
    top: 0;
    right: 45px;
    display: none;
}

.share-options a {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 5px;
    text-decoration: none;
}

.share-options a i {
    font-size: 16px;
    color: #fff !important;
    line-height: 40px;
    display: inline-block !important;
}

.email-button,
.whatsapp-button,
#back-to-top {
    background-color: #007bff;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-bottom: 15px;
    text-decoration: none;
}

.email-button i,
#back-to-top i,
.whatsapp-button i {
    font-size: 16px;
    color: #fff !important;
    line-height: 40px;
    display: inline-block !important;
}

#back-to-top {
    display: none;
}

/* 版权信息 */
#copyright {
    text-align: center;
    padding: 10px;
    background-color: #f8f9fa;
    border-top: 1px solid #ddd;
    font-size: 14px;
    color: #666;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
}

/* 确保 tag 部分文本居中 */
#tag {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    font-size: 18px;
}

#tag p {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

/* 确保按钮有底色 */
#tag .view-btn {
    display: inline-block;
    background-color: #007bff !important;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 15px;
    margin-bottom: 0;
    margin-left: 10px;
    transition: background-color 0.3s ease;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    nav ul li {
        margin: 0 10px;
    }
    nav ul li a {
        padding: 8px;
    }
    .logo-top {
        font-size: 1.125rem;
    }
    .logo-bottom {
        font-size: 0.625rem;
        margin-top: -0.375rem;
    }
    .language-switcher {
        margin-left: 20px;
    }
}

@media (max-width: 992px) {
    nav ul li {
        margin: 0 8px;
    }
    nav ul li a {
        padding: 6px;
    }
    .logo-top {
        font-size: 1rem;
    }
    .logo-bottom {
        font-size: 0.5625rem;
        margin-top: -0.3125rem;
    }
    .language-switcher {
        margin-left: 15px;
    }
}

@media (max-width: 768px) {
    #navigation {
        height: 40px;
        padding: 0 10px;
    }
    .logo-top {
        font-size: 0.875rem;
    }
    .logo-bottom {
        font-size: 0.4375rem;
        margin-top: -0.1875rem;
    }
    .nav-toggle {
        display: block;
    }
    nav {
        display: none;
        position: fixed;
        top: 40px;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    nav.show {
        display: block;
    }
    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    nav ul li {
        width: 100%;
        margin: 0;
    }
    nav ul li a {
        padding: 10px 20px;
    }
    .language-switcher {
        margin-left: 0;
        flex-direction: column;
        align-items: flex-start;
    }
    .language-switcher a {
        padding: 10px 20px;
    }
    
    /* 产品展示响应式 */
    .product-description {
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }
    
    .core-info {
        flex-direction: column;
        align-items: stretch;
    }
    
    .info-item {
        margin-right: 0;
        width: 100%;
        min-width: 100%;
    }
    
    .specs-content.active {
        flex-direction: column;
    }
    
    .specs-column {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    /* 小屏幕样式 */
    .info-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .info-nav a {
        padding: 8px 12px;
        margin-right: 0;
        font-size: 11px;
        flex: 1 1 calc(50% - 5px);
        text-align: center;
    }

    #product-showcase:has(.small-images) {
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
        padding: 10px;
    }

    #product-showcase .small-images {
        flex-direction: row;
        justify-content: center;
        margin-bottom: 10px;
        width: 100%;
        overflow-x: auto;
    }

    .small-images img {
        margin: 0 2px;
        width: 35px;
        height: 35px;
        max-width: 35px;
        max-height: 35px;
        flex-shrink: 0;
    }

    .large-image {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }

    #zoom-layer {
        display: none !important;
    }

    .product-description {
        width: 100%;
        margin-left: 0px;
        padding: 15px;
        box-sizing: border-box;
    }
    
    .product-description h2 {
        font-size: 14px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .core-info {
        padding: 10px;
        gap: 8px;
        margin-bottom: 10px;
        width: 100%;
        max-width: 100%;
    }

    .info-item {
        padding: 8px 12px;
        min-width: 100%;
        flex: 1 1 100%;
        max-width: 100%;
    }

    .info-item i {
        font-size: 16px;
        width: 20px;
        margin-right: 8px;
    }

    .info-item span {
        font-size: 12px;
    }

    .image-with-model {
        width: 90vw;
        max-width: 100vw;
        margin: 0;
        border-width: 3px;
    }

    .image-with-model img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    /* PARAMETER 部分图片移除间距 */
    #parameters img {
        margin-bottom: 0 !important;
        display: block;
    }
    
    /* 内容区域内边距缩小 */
    .info-content {
        padding: 0px;
    }

    #social-buttons {
        right: 5px;
    }
}

/* 动画效果 */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 通用容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
    box-sizing: border-box;
}

/* 产品网格样式 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    grid-gap: 30px;
    width: 100%;
    box-sizing: border-box;
}

.product {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 650px;
}

.product-image-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    margin-bottom: 20px;
    overflow: hidden;
}

.product-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
}

.product-image-container img:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.product h3 {
    font-size: 1.25rem;
    margin: 0 0 5px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
}

.product p {
    font-size: 1rem;
    line-height: 1.4;
    margin: 0 0 20px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex-grow: 1;
}

.btn {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    line-height: 1.2;
    text-align: center;
}

.btn:hover {
    background-color: #0056b3;
}

/* 产品列表样式 */
.product-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.product-container h1 {
    text-align: center;
    margin-bottom: 5px;
}

.product-container h2 {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 0;
    margin-bottom: 20px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-gap: 25px;
    width: 100%;
    box-sizing: border-box;
}

.product-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.product-item-image-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    margin-bottom: 15px;
    overflow: hidden;
}

.product-item-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
}

.product-item-image-container img:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.product-item h2 {
    font-size: 1.1rem;
    margin: 0 0 5px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
}

.product-item i {
    background-color: #007bff;
    color: transparent;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 6px;
    margin-right: 8px;
    padding: 0;
    border: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
}

.product-item i::before {
    color: #fff;
    font-size: 8px;
}

.product-item p {
    font-size: 1rem;
    line-height: 1.4;
    margin: 0 0 20px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex-grow: 1;
}

.product-btn {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    line-height: 1.2;
    text-align: center;
}

.product-btn:hover {
    background-color: #0056b3;
}

/* 关于我们简要介绍部分样式 */
#about-brief {
    text-align: center;
}

#about-brief h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

#about-brief p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* 联系我们引导部分样式 */
#contact-cta {
    background-color: #f8f9fa;
    text-align: center;
}

/* 小屏幕响应式 */
@media (max-width: 480px) {
    /* 强制所有元素适应屏幕 */
    * {
        box-sizing: border-box !important;
        max-width: 100% !important;
    }
    
    html, body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* 社交按钮修复 */
    #social-buttons {
        display: flex !important;
        position: fixed !important;
        right: 5px !important;
        bottom: 5px !important;
        z-index: 9999 !important;
        transform: scale(0.9) !important;
        max-width: auto !important;
    }
    
    /* 小屏幕社交按钮图标居中 */
    #social-buttons i {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 100% !important;
        line-height: 1 !important;
    }
    
    /* 所有容器强制适应屏幕 */
    #product-showcase,
    .container,
    .product-container,
    #product-section,
    main,
    header,
    nav,
    ul,
    li,
    a {
        max-width: 100% !important;
        width: 100% !important;
        padding: 5px !important;
        margin: 0 auto !important;
    }
    
    /* 产品网格修复 */
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 10px !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* 产品项修复 */
    .product-item {
        min-height: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px !important;
        margin: 0 !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
        border: 1px solid #ddd !important;
        border-radius: 5px !important;
    }
    
    /* 主页产品容器修复 */
    .product {
        min-height: auto !important;
        padding: 15px !important;
        margin: 0 !important;
    }
    
    /* 图片强制适应 - 保持等比缩放并居中 */
    .product-item-image-container img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        border: 2px solid #ccc !important;
        border-radius: 5px !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
    }
    
    /* 文字大小调整 */
    .product-item h2 {
        font-size: 0.9rem !important;
        margin: 5px 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }
    
    .product-item p {
        font-size: 0.7rem !important;
        margin: 5px 0 !important;
        padding: 0 5px !important;
    }
    
    .product-btn {
        font-size: 0.75rem !important;
        padding: 5px 10px !important;
        margin: 5px 0 !important;
        text-align: center !important;
    }
    
    /* 产品展示栏响应式 */
    #product-showcase {
        display: block !important;
        max-width: 100% !important;
        padding: 5px !important;
        margin: 0 !important;
    }
    
    #product-showcase:has(.small-images) {
        display: block !important;
    }
    
    #product-showcase .small-images {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        margin: 0 !important;
        padding: 5px !important;
    }
    
    #product-showcase .small-images img {
        width: 50px !important;
        height: 50px !important;
        margin: 0 2px !important;
    }
    
    #product-showcase .large-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 5px 0 !important;
    }
    
    #product-showcase .large-image img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }
    
    #product-showcase .product-description {
        width: 100% !important;
        max-width: 100% !important;
        margin: 5px 0 !important;
        padding: 10px !important;
    }
    
    #product-showcase h2 {
        font-size: 1.2rem !important;
    }
    
    /* 参数信息栏响应式 */
    #parameter-info {
        max-width: 100% !important;
        padding: 5px !important;
    }
    
    .info-nav {
        flex-direction: column !important;
        gap: 5px !important;
    }
    
    .info-nav a {
        font-size: 0.8rem !important;
        padding: 5px !important;
    }
    
    .parameter-card {
        padding: 10px !important;
    }
    
    .parameter-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 2px !important;
    }
    
    .parameter-label {
        font-size: 0.8rem !important;
    }
    
    .parameter-value {
        font-size: 0.9rem !important;
    }
    
    /* 标题调整 */
    .product-container h1 {
        font-size: 1rem !important;
        margin: 5px 0 !important;
        padding: 0 !important;
    }
    
    .product-container h2 {
        font-size: 0.7rem !important;
        margin: 5px 0 !important;
        padding: 0 !important;
    }
    
    /* 链接和按钮 */
    a {
        max-width: 100% !important;
        word-wrap: break-word !important;
    }
    
    button {
        max-width: 100% !important;
    }
    
    /* 防止水平溢出，但允许垂直滚动 */
    * {
        overflow-x: hidden !important;
        word-wrap: break-word !important;
    }
}