/**
 * XingCMS 前台样式
 */

/* ==================== 浏览器兼容性修复 ==================== */

/* IE盒模型兼容 */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* IE Flexbox兼容 */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

/* 清除IE10+输入框X按钮 */
input::-ms-clear,
input::-ms-reveal {
    display: none;
}

/* IE隐藏滚动条但保持滚动功能 */
.hide-scrollbar {
    -ms-overflow-style: none;
}

/* IE不支持object-fit的图片处理 */
.object-fit-cover {
    font-family: 'object-fit: cover;';
}

.object-fit-contain {
    font-family: 'object-fit: contain;';
}

/* IE不支持position:sticky的替代方案 */
.sticky-fallback {
    position: fixed;
    top: 0;
    width: 100%;
}

/* IE Grid布局降级 - 使用Flexbox */
.grid-fallback {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.grid-fallback > * {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}

/* IE gap降级 - 使用margin */
.gap-fallback {
    margin: -10px;
}
.gap-fallback > * {
    margin: 10px;
}

/* ==================== 重置样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Microsoft YaHei', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    color: #333;
    text-decoration: none;
    -webkit-transition: color 0.3s;
    -moz-transition: color 0.3s;
    -o-transition: color 0.3s;
    transition: color 0.3s;
}

a:hover {
    color: #e74c3c;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
    -ms-interpolation-mode: bicubic;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部栏 */
.top-bar {
    background: #2c3e50;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.top-info span {
    margin-left: 30px;
}

/* 头部 */
.header {
    background: #fff;
    -webkit-box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* IE不支持sticky的降级 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }
    .header-placeholder {
        height: 80px;
    }
}

.header .container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    height: 80px;
}

.logo img {
    max-height: 50px;
    max-width: 180px;
}

.logo h1 {
    font-size: 28px;
    color: #e74c3c;
}

.nav ul {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    list-style: none;
}

.nav li {
    margin-left: 40px;
}

.nav a {
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0;
    display: inline-block;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #e74c3c;
    -webkit-transition: width 0.3s;
    -moz-transition: width 0.3s;
    -o-transition: width 0.3s;
    transition: width 0.3s;
}

.nav a:hover::after,
.nav li.active a::after {
    width: 100%;
}

.nav li.active a {
    color: #e74c3c;
}

/* 下拉菜单 */
.nav li.has-dropdown {
    position: relative;
}

.nav li.has-dropdown > a {
    padding-right: 18px;
}

/* 下拉箭头 */
.nav li.has-dropdown > a .dropdown-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #333;
    -webkit-transition: border-top-color 0.3s;
    -moz-transition: border-top-color 0.3s;
    -o-transition: border-top-color 0.3s;
    transition: border-top-color 0.3s;
    pointer-events: none;
}

.nav li.has-dropdown:hover > a .dropdown-arrow {
    border-top-color: #e74c3c;
}

.nav .dropdown {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    -webkit-box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    -webkit-border-radius: 0 0 8px 8px;
    border-radius: 0 0 8px 8px;
    padding: 8px 0;
    min-width: 140px;
    z-index: 100;
    -webkit-transition: opacity 0.2s, visibility 0.2s;
    -moz-transition: opacity 0.2s, visibility 0.2s;
    -o-transition: opacity 0.2s, visibility 0.2s;
    transition: opacity 0.2s, visibility 0.2s;
    flex-direction: column;
}

.nav li.has-dropdown:hover .dropdown {
    visibility: visible;
    opacity: 1;
}

.nav .dropdown::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.nav .dropdown li {
    margin: 0;
    display: block;
    width: 100%;
}

.nav .dropdown a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    white-space: nowrap;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

.nav .dropdown a::after {
    display: none;
}

.nav .dropdown a:hover {
    color: #fff;
    background: #e74c3c;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* 轮播图 */
.banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    filter: alpha(opacity=0); /* IE8 */
    -webkit-transition: opacity 0.5s;
    -moz-transition: opacity 0.5s;
    -o-transition: opacity 0.5s;
    transition: opacity 0.5s;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 轮播图链接样式 */
.banner-slide a.banner-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-decoration: none;
    z-index: 5;
}

.banner-slide a.banner-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 焦点图箭头 */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 80px;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner:hover .banner-arrow {
    opacity: 1;
}

.banner-arrow:hover {
    background: rgba(0, 0, 0, 0.5);
}

.banner-prev {
    left: 0;
    border-radius: 0 4px 4px 0;
}

.banner-next {
    right: 0;
    border-radius: 4px 0 0 4px;
}

.banner-content {
    position: absolute;
    top: 45%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align:left;
    color: #fff;
}

.banner-content h2 {
    font-size: 40px;
    font-style: italic; /* 斜体 */
}

.banner-content p,
.banner-subtitle {
    font-size: 18px;
    margin: 0;
    opacity: 0.9;
    font-weight: 300;
}

.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

/* gap降级 - 使用margin */
.banner-dots span {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    -webkit-transition: background 0.3s;
    -moz-transition: background 0.3s;
    -o-transition: background 0.3s;
    transition: background 0.3s;
}

.banner-dots span.active {
    background: #fff;
}

/* 区块标题 */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    color: #333;
    margin-bottom:2px;
    padding-top: 25px;
}

.section-title p {
    color: #666;
    font-size: 16px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #e74c3c;
    margin: 20px auto 0;
}

/* 内容区块 */
.section {
    padding: 10px 0px 80px 0px;
}

.section-gray {
    background: #f5f7fa;
}

/* 产品列表 */
.product-grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 30px 1fr 30px 1fr 30px 1fr;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 30px;
    gap: 30px;
}

/* IE Grid布局兼容 */
.product-grid > *:nth-child(1) { -ms-grid-column: 1; }
.product-grid > *:nth-child(2) { -ms-grid-column: 3; }
.product-grid > *:nth-child(3) { -ms-grid-column: 5; }
.product-grid > *:nth-child(4) { -ms-grid-column: 7; }
.product-grid > *:nth-child(n+5) { -ms-grid-column: auto; }

/* Flexbox降级方案 - 为不支持grid的浏览器 */
@supports not (display: grid) {
    .product-grid {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin: -15px;
    }
    .product-grid > * {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 calc(25% - 30px);
        -ms-flex: 0 0 calc(25% - 30px);
        flex: 0 0 calc(25% - 30px);
        margin: 15px;
    }
}

.product-item {
    background: #fff;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    overflow: hidden;
    -webkit-box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    -webkit-transition: -webkit-transform 0.3s, box-shadow 0.3s;
    -moz-transition: -moz-transform 0.3s, box-shadow 0.3s;
    -o-transition: -o-transform 0.3s, box-shadow 0.3s;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-item:hover {
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    -o-transform: translateY(-10px);
    transform: translateY(-10px);
    -webkit-box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.product-item .product-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    background: #f5f5f5;
    overflow: hidden;
}

.product-item .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-item h3 {
    padding: 15px 15px 10px;
    font-size: 16px;
}

.product-item p {
    padding: 0 15px 15px;
    color: #666;
    font-size: 14px;
}

.product-item .price {
    padding: 0 15px 15px;
    color: #e74c3c;
    font-size: 20px;
    font-weight: bold;
}

/* 新闻列表 */
.news-list {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 30px 1fr 30px 1fr;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
    gap: 30px;
}

/* IE Grid布局兼容 */
.news-list > *:nth-child(1) { -ms-grid-column: 1; }
.news-list > *:nth-child(2) { -ms-grid-column: 3; }
.news-list > *:nth-child(3) { -ms-grid-column: 5; }
.news-list > *:nth-child(n+4) { -ms-grid-column: auto; }

/* Flexbox降级方案 */
@supports not (display: grid) {
    .news-list {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin: -15px;
    }
    .news-list > * {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 calc(33.333% - 30px);
        -ms-flex: 0 0 calc(33.333% - 30px);
        flex: 0 0 calc(33.333% - 30px);
        margin: 15px;
    }
}

.news-item {
    background: #fff;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    overflow: hidden;
    -webkit-box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.news-item .news-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: 200px;
    background: #f5f5f5;
    overflow: hidden;
}

.news-item .news-img img {
    width: 100%;
    height:200px;
    object-fit: cover;
    object-position: center;
}

/* ==================== 新闻文字列表样式 ==================== */
.news-text-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* 左侧栏 */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-box {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    padding: 15px 20px;
    margin: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-bottom: 2px solid #e74c3c;
}

.sidebar-cats {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-cats li {
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-cats li:last-child {
    border-bottom: none;
}

.sidebar-cats li a {
    display: block;
    padding: 12px 20px;
    color: #666;
    transition: all 0.3s;
}

.sidebar-cats li a:hover {
    color: #e74c3c;
    background: #fff5f5;
}

.sidebar-cats li.active a {
    color: #fff;
    background: #e74c3c;
}

/* 侧边栏产品 */
.sidebar-products {
    padding: 15px;
}

.sidebar-product-item {
    margin-bottom: 15px;
}

.sidebar-product-item:last-child {
    margin-bottom: 0;
}

.sidebar-product-item a {
    display: flex;
    gap: 12px;
    align-items: center;
}

.sidebar-product-img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
}

.sidebar-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-product-info {
    flex: 1;
    min-width: 0;
}

.sidebar-product-info h4 {
    font-size: 14px;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-product-item a:hover .sidebar-product-info h4 {
    color: #e74c3c;
}

.sidebar-price {
    font-size: 16px;
    color: #e74c3c;
    font-weight: 600;
    margin: 0;
}

/* 侧边栏资讯推荐 */
.sidebar-news {
    padding: 15px;
}

.sidebar-news-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.sidebar-news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-news-item a {
    display: block;
}

.sidebar-news-item h4 {
    font-size: 14px;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sidebar-news-item a:hover h4 {
    color: #e74c3c;
}

.sidebar-date {
    font-size: 12px;
    color: #999;
}

/* 右侧文字列表 */
.news-text-main {
    min-width: 0;
}

/* 栏目标题 */
.news-text-header {
    background: #fff;
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.news-text-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #333;
    padding-left: 15px;
    border-left: 4px solid #e74c3c;
}

.news-text-list {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}

.news-text-item {
    padding: 20px 25px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.3s;
}

.news-text-item:last-child {
    border-bottom: none;
}

.news-text-item:hover {
    background: #fafafa;
}

.news-text-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.news-text-left {
    flex: 1;
    min-width: 0;
}

.news-text-right {
    flex-shrink: 0;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.news-text-title {
    font-size: 17px;
    font-weight: 500;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.news-text-title:hover {
    color: #e74c3c;
}

.news-text-title {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.5;
    word-wrap: break-word;
    word-break: break-word;
}

.news-text-title .tag-top,
.news-text-title .tag-recommend {
    display: inline-block;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 8px;
    vertical-align: middle;
    white-space: nowrap;
}

.news-text-title .tag-top {
    background: #e74c3c;
    color: #fff;
}

.news-text-title .tag-recommend {
    background: #ff9800;
    color: #fff;
}

.news-text-cat {
    color: #e74c3c;
    font-size: 13px;
}

.news-text-date {
    color: #999;
    font-size: 13px;
}

.news-text-summary {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* 文字列表响应式 */
@media (max-width: 992px) {
    .news-text-layout {
        grid-template-columns: 220px 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .news-text-layout {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        gap: 20px;
    }

    .news-sidebar {
        order: 2;
        width: 100%;
    }

    .sidebar-products {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .sidebar-product-item {
        margin-bottom: 0;
    }

    .sidebar-product-item a {
        flex-direction: column;
        align-items: flex-start;
    }

    .sidebar-product-img {
        width: 100%;
        height: 0;
        padding-bottom: 100%;
        position: relative;
    }

    .sidebar-product-img img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .sidebar-product-info {
        width: 100%;
    }

    .sidebar-product-info h4 {
        font-size: 14px;
        word-wrap: break-word;
        word-break: break-word;
    }

    .news-text-main {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .news-text-header {
        padding: 15px;
    }

    .news-text-header h2 {
        font-size: 18px;
    }

    .news-text-item {
        padding: 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .news-text-content {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .news-text-left {
        width: 100%;
        min-width: 0;
    }

    .news-text-title {
        font-size: 16px;
        word-wrap: break-word;
        word-break: break-word;
        line-height: 1.5;
    }

    .news-text-summary {
        font-size: 14px;
        word-wrap: break-word;
        word-break: break-word;
    }

    .news-text-right {
        flex-direction: row;
        gap: 15px;
        text-align: left;
        align-items: center;
        width: 100%;
    }

    .news-text-cat,
    .news-text-date {
        font-size: 12px;
    }
}

.news-item h3 {
    padding: 15px 15px 10px;
    font-size: 18px;
}

.news-item h3 a:hover {
    color: #e74c3c;
}

.news-item .date {
    padding: 0 15px;
    color: #999;
    font-size: 14px;
}

.news-item p {
    padding: 10px 15px 15px;
    color: #666;
    font-size: 14px;
}

/* 案例列表 */
.case-grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 30px 1fr 30px 1fr;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
    gap: 30px;
}

/* IE Grid布局兼容 */
.case-grid > *:nth-child(1) { -ms-grid-column: 1; }
.case-grid > *:nth-child(2) { -ms-grid-column: 3; }
.case-grid > *:nth-child(3) { -ms-grid-column: 5; }
.case-grid > *:nth-child(n+4) { -ms-grid-column: auto; }

/* Flexbox降级方案 */
@supports not (display: grid) {
    .case-grid {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin: -15px;
    }
    .case-grid > * {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 calc(33.333% - 30px);
        -ms-flex: 0 0 calc(33.333% - 30px);
        flex: 0 0 calc(33.333% - 30px);
        margin: 15px;
    }
}

.case-item {
    position: relative;
    overflow: hidden;
    -webkit-border-radius: 8px;
    border-radius: 8px;
}

.case-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    -webkit-transition: -webkit-transform 0.5s;
    -moz-transition: -moz-transform 0.5s;
    -o-transition: -o-transform 0.5s;
    transition: transform 0.5s;
}

/* IE object-fit 降级 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .case-item img {
        background-size: cover;
        background-position: center;
    }
}

.case-item:hover img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

.case-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    opacity: 0;
    filter: alpha(opacity=0); /* IE8 */
    -webkit-transition: opacity 0.3s;
    -moz-transition: opacity 0.3s;
    -o-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

.case-item:hover .overlay {
    opacity: 1;
}

.case-item .overlay h3 {
    color: #fff;
    font-size: 18px;
}

/* 关于我们 */
.about-content {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 50px 1fr;
    grid-template-columns: 1fr 1fr;
    grid-gap: 50px;
    gap: 50px;
    -ms-grid-row-align: center;
    align-items: center;
}

.about-content > *:nth-child(1) { -ms-grid-column: 1; }
.about-content > *:nth-child(2) { -ms-grid-column: 3; }

/* Flexbox降级方案 */
@supports not (display: grid) {
    .about-content {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .about-content > * {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 calc(50% - 25px);
        -ms-flex: 0 0 calc(50% - 25px);
        flex: 0 0 calc(50% - 25px);
    }
}

.about-text h2 {
    font-size: 22px;
    margin-bottom: 20px;
}

.about-text p {
    color: #666;
    margin-bottom: 15px;
}

.about-image img {
    -webkit-border-radius: 8px;
    border-radius: 8px;
}

.about-page-content {
    padding-top: 35px;
}

/* 联系表单 */
.contact-section {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 50px 1fr;
    grid-template-columns: 1fr 1fr;
    grid-gap: 50px;
    gap: 50px;
}

.contact-section > *:nth-child(1) { -ms-grid-column: 1; }
.contact-section > *:nth-child(2) { -ms-grid-column: 3; }

/* Flexbox降级方案 */
@supports not (display: grid) {
    .contact-section {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .contact-section > * {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 calc(50% - 25px);
        -ms-flex: 0 0 calc(50% - 25px);
        flex: 0 0 calc(50% - 25px);
    }
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    font-size: 16px;
    margin-bottom: 15px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #e74c3c;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    background: #e74c3c;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    cursor: pointer;
    -webkit-transition: background 0.3s;
    -moz-transition: background 0.3s;
    -o-transition: background 0.3s;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #c0392b;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    color: #666;
}

/* 地图 */
.map-container {
    height: 400px;
    background: #f0f0f0;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 30px;
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: #fff;
    padding: 60px 0 30px;
    margin-top: 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px;
    gap: 40px;
    margin-bottom: 40px;
}

/* Flexbox降级方案 */
@supports not (display: grid) {
    .footer-content {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin: -20px;
    }
    .footer-content > * {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 calc(33.333% - 40px);
        -ms-flex: 0 0 calc(33.333% - 40px);
        flex: 0 0 calc(33.333% - 40px);
        margin: 20px;
    }
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-section p {
    color: #bdc3c7;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul a {
    color: #bdc3c7;
}

.footer-section ul a:hover {
    color: #fff;
}

/* 快速链接网格布局 - 一行两个 */
.footer-links-section {
    /* 显示在联系方式右边，不独占一行 */
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
}

.footer-link-item {
    display: block;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    color: #bdc3c7;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
    font-size: 14px;
}

.footer-link-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

.footer-bottom p {
    margin-bottom: 8px;
}

.footer-icp {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-icp a {
    color: #95a5a6;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-icp a:hover {
    color: #bdc3c7;
}

.footer-icp .police-icp {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-icp .police-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

/* 友情链接 */
.friend-links {
    padding: 15px 0;
    border-top: 1px solid #34495e;
    margin-top: 20px;
    font-size: 13px;
    color: #95a5a6;
}

.friend-links span {
    margin-right: 10px;
}

.friend-links a {
    color: #7f8c8d;
    margin-right: 15px;
    transition: color 0.3s;
}

.friend-links a:hover {
    color: #e74c3c;
}

.friend-link-logo {
    height: 20px;
    width: auto;
    vertical-align: middle;
    margin-right: 5px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.friend-links a:hover .friend-link-logo {
    opacity: 1;
}

/* 面包屑 */
.breadcrumb {
    background: #f5f7fa;
    margin-bottom: 20px;
    height: 40px;
    padding-top: 5px;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb span {
    color: #999;
    margin: 0 10px;
}

/* 内容详情页 */
.content-detail {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.content-detail h1 {
    font-size: 28px;
    margin-bottom: 5px;
    text-align: center;
}

.content-meta {
    color: #999;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

/* 分页 */
.pagination {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    margin: 0 5px;
}

.pagination a,
.pagination span {
    padding: 8px 15px;
    border: 1px solid #ddd;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    color: #666;
}

.pagination a:hover {
    background: #f5f7fa;
}

.pagination .current {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

/* 响应式 */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .news-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-section {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        display: none;
    }

    .nav.active {
        display: block;
    }

    .nav ul {
        flex-direction: column;
        padding: 20px;
    }

    .nav li {
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav li:last-child {
        border-bottom: none;
    }

    .nav li a {
        display: block;
        padding: 15px 20px;
    }

    /* 移动端下拉菜单 */
    .nav li.has-dropdown > a .dropdown-arrow {
        right: 20px;
        border-top-color: #666;
    }

    .nav li.has-dropdown.open > a .dropdown-arrow {
        transform: translateY(-50%) rotate(180deg);
    }

    .nav li.has-dropdown > a {
        padding-right: 40px;
    }

    /* 移动端快速链接样式 */
    .footer-links-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* 移动端新闻列表修复 */
    .news-list {
        gap: 15px;
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
    }

    .news-item {
        width: 100%;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
        overflow: hidden;
    }

    .news-item a {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .news-item .news-img {
        width: 100%;
        height: 0;
        padding-bottom: 56.25%; /* 16:9 */
        position: relative;
        aspect-ratio: auto;
    }

    .news-item .news-img img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .news-item h3 {
        font-size: 16px;
        word-wrap: break-word;
        word-break: break-word;
        padding: 15px 15px 10px;
    }

    .news-item p {
        word-wrap: break-word;
        word-break: break-word;
        padding: 10px 15px 15px;
    }

    .news-item .date {
        padding: 0 15px;
    }

    /* 修复容器溢出 */
    .container {
        padding: 0px 15px !important;
        overflow-x: hidden !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .section {
        width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    /* 面包屑修复 */
    .breadcrumb {
        overflow-x: hidden;
    }

    /* 分类筛选修复 */
    .breadcrumb + .section > .container > div[style*="flex"] {
        width: 100%;
        box-sizing: border-box;
    }

    /* 分页修复 */
    .pagination {
        flex-wrap: wrap;
        max-width: 100%;
    }

    .pagination a,
    .pagination span {
        margin: 2px;
        padding: 6px 12px;
        font-size: 14px;
    }

    .nav .dropdown {
        visibility: visible;
        opacity: 1;
        position: static;
        box-shadow: none;
        border-radius: 0;
        border-top: none;
        padding: 0;
        min-width: auto;
        background: #f9f9f9;
        display: none;
    }

    .nav li.has-dropdown.open .dropdown {
        display: block;
    }

    .nav .dropdown li {
        border-bottom: none;
    }

    .nav .dropdown a {
        padding: 12px 20px 12px 35px;
        font-size: 14px;
        color: #666;
    }

    .nav .dropdown a:hover {
        background: #f0f0f0;
        color: #e74c3c;
    }

    .banner {
        height: 300px;
    }
    
    /* 移动端隐藏焦点图箭头 */
    .banner-arrow {
        display: none;
    }
    
    .banner-content h2 {
        font-size: 25px;
        font-style: italic; /* 斜体 */
        margin-bottom:2px;
    }
    
    .banner-content p,
    .banner-subtitle {
        font-size: 14px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-list {
        grid-template-columns: 1fr;
    }
    
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section {
        padding: 5px 0;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .case-grid {
        grid-template-columns: 1fr;
    }
    
    .top-info span {
        display: none;
    }
    
    .top-info span:first-child {
        display: inline;
    }
}

/* 内容详情页样式 */
.content-body {
    line-height: 1.8;
    font-size: 16px;
    overflow: hidden;
}

/* 内链样式 */
.content-body a[title] {
    color: #1890ff;
    text-decoration: none;
    border-bottom: 1px dashed #1890ff;
    transition: all 0.3s ease;
}

.content-body a[title]:hover {
    color: #0056b3;
    border-bottom-color: #0056b3;
}

.content-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 4px;
}

.content-body p {
    margin-bottom: 15px;
}

.content-body h2, .content-body h3, .content-body h4 {
    margin: 25px 0 15px;
}

/* 产品详情页 */
.product-gallery {
    flex: 0 0 420px;
}

.gallery-main {
    width: 420px;
    height: 420px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.thumb-item {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    object-fit: cover;
    transition: all 0.3s;
}

.thumb-item:hover, .thumb-item.active {
    border-color: #e74c3c;
}

.product-attrs {
    flex: 1;
}

.product-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.product-price {
    background: #fff5f5;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.price-label {
    color: #666;
    font-size: 14px;
    margin-right: 15px;
}

.price-value {
    color: #e74c3c;
    font-size: 28px;
    font-weight: bold;
}

.product-specs {
    background: #fff;
    padding: 15px 0px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.specs-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 15px;
}

.specs-content {
    color: #666;
    line-height: 1.8;
    font-size: 14px;
}

.detail-title {
    font-size: 18px;
    color: #333;
    padding-bottom: 15px;
    border-bottom: 2px solid #e74c3c;
    margin-bottom: 20px;
}

/* 文章上下篇导航 */
.article-nav {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.article-nav p {
    margin: 0;
}

/* 返回列表按钮 */
.btn-back {
    display: inline-block;
    padding: 10px 25px;
    background: #e74c3c;
    color: #fff;
    border-radius: 4px;
    margin-top: 20px;
}

.btn-back:hover {
    background: #c0392b;
    color: #fff;
}

/* 产品详情响应式 */
@media (max-width: 768px) {
    .product-info-box {
        flex-direction: column;
        gap: 20px;
    }
    
    .product-gallery {
        flex: none;
    }
    
    .gallery-main {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }
    
    .content-detail h1 {
        font-size: 24px;
        text-align: left;
    }
    
    .content-meta {
        text-align: left;
    }
    
    .article-nav {
        flex-direction: column;
        gap: 10px;
    }
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #e74c3c;
    color: #fff;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn:hover {
    background: #c0392b;
    color: #fff;
}

/* 页面横幅响应式 */
@media (max-width: 768px) {
    .page-banner h1 {
        font-size: 28px !important;
    }
}

/* 案例列表页样式 */
.case-item {
    display: block;
    text-decoration: none;
}

.case-item:hover h3 {
    color: #fff;
}

/* 联系页样式 */
.contact-form h3, .contact-info h3 {
    margin-bottom: 20px;
}

/* 联系页面布局 */
.contact-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.contact-left,
.contact-right {
    min-width: 0;
}

.contact-right {
    display: flex;
    flex-direction: column;
}

.contact-info-box {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    flex: 1;
}

.contact-info-box:last-child {
    margin-bottom: 0;
}

.contact-info-box h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e74c3c;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-icon .icon {
    width: 28px;
    height: 28px;
}

.contact-item h4 {
    font-size: 15px;
    color: #333;
    margin-bottom: 5px;
}

.contact-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.wechat-qrcode {
    margin-top: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    display: inline-block;
}

.wechat-qrcode img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 4px;
}

/* 社交媒体横向布局 */
.social-media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.social-media-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qrcode-wrapper {
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 12px;
}

.qrcode-wrapper img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: 4px;
}

.social-media-name {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.contact-form-box {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.contact-form-box h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e74c3c;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-form .form-group {
    margin-bottom: 5px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.contact-form .required {
    color: #e74c3c;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #e74c3c;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
}

/* 地图区域 */
.contact-map-wrapper {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.contact-map-wrapper h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e74c3c;
}

.contact-map {
    border-radius: 8px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .contact-page-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .social-media-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-box {
        flex: none;
    }
}

/* 页面横幅 */
.page-banner {
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    text-align: center;
}

.page-banner h1 {
    color: #fff;
    font-size: 42px;
}

.page-banner .page-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    font-weight: 400;
}

/* 联系表单 */
.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* 地图占位 */
.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.map-placeholder p {
    color: #999;
}

/* 空数据提示 */
.empty-tip {
    text-align: center;
    color: #999;
}

/* 关于我们页特色区块 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.feature-item {
    padding: 30px;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-item h3 {
    margin-bottom: 10px;
}

.feature-item p {
    color: #666;
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* 空数据提示 */
.empty-tip-grid {
    text-align: center;
    color: #999;
    grid-column: 1/-1;
}

/* 查看更多按钮区域 */
.section-more {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* 单页内容 */
.page-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    line-height: 1.8;
}

.page-content h1,
.page-content h2,
.page-content h3 {
    margin-top: 20px;
    margin-bottom: 15px;
    color: #333;
}

.page-content p {
    margin-bottom: 15px;
    color: #555;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 15px 0;
}

.page-content ul,
.page-content ol {
    margin-bottom: 15px;
    padding-left: 30px;
}

.page-content li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .page-content {
        padding: 20px;
    }
}

/* 图标样式 */
.icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
}

.top-bar .icon {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    vertical-align: text-bottom;
}

.mobile-menu-btn .icon {
    width: 26px;
    height: 26px;
    margin-right: 0;
}

/* ==================== 动态表单样式 ==================== */
/* 整体容器 - 非悬浮模式（页面内显示） */
.dynamic-form {
    max-width: 580px;
    margin: 0 auto;
    padding: 0 15px;
}

.dynamic-form .form-container {
    padding: 35px 40px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.dynamic-form.no-custom-bg .form-container {
    background: #fff;
}

/* ==================== 悬浮表单紧凑样式 ==================== */
/* 悬浮模式下的紧凑样式 */
.form-float-wrapper .dynamic-form .form-container {
    padding: 20px 24px;
    border-radius: 12px;
}



/* 悬浮模式 - 内容选择更紧凑 */
.form-float-wrapper .dynamic-form .content-option {
    padding: 10px 8px;
    border-radius: 8px;
}

.form-float-wrapper .dynamic-form .option-image {
    width: 50px;
    height: 50px;
}

.form-float-wrapper .dynamic-form .option-name {
    font-size: 11px;
}

/* 悬浮模式 - 图片上传更紧凑 */
.form-float-wrapper .dynamic-form .form-image-field {
    padding: 10px;
    gap: 10px;
    border-width: 1px;
    border-radius: 8px;
}

.form-float-wrapper .dynamic-form .image-title {
    font-size: 13px;
    margin-bottom: 6px;
}

.form-float-wrapper .dynamic-form .image-left input[type="file"] {
    font-size: 12px;
}

.form-float-wrapper .dynamic-form .image-left input[type="file"]::file-selector-button {
    padding: 6px 12px;
    font-size: 12px;
}

.form-float-wrapper .dynamic-form .image-right {
    width: 90px;
    height: 68px;
}

/* 悬浮模式 - 活动说明图片更小 */
.form-float-wrapper .dynamic-form .form-notice-image {
    margin-bottom: 15px;
}

.form-float-wrapper .dynamic-form .form-notice-image img {
    max-width: 100%;
    max-height: 120px;
    border-radius: 8px;
}

/* 悬浮模式 - 活动说明文字更小 */
.form-float-wrapper .dynamic-form .form-notice-text {
    padding: 12px;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;
    background: transparent;
    border: none;
    border-radius: 0;
}

/* 悬浮模式 - 表单标题（活动说明）18号加粗，无底色无边框 */
.form-float-wrapper .dynamic-form .form-notice {
    text-align: left;
    margin-bottom: 15px;
}

.form-float-wrapper .dynamic-form .form-notice-text {
    padding: 0;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;
    background: transparent;
    border: none;
    border-radius: 0;
    color: #2980b9;
    text-align: center; 
}

/* 悬浮模式 - 左右布局：标题在左，输入框在右 */
.form-float-wrapper .dynamic-form .form-group {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 10px;
}

.form-float-wrapper .dynamic-form .form-group label {
    flex: 0 0 auto;
    min-width: 50px;
    margin-bottom: 0;
    font-size: 13px;
    font-weight: 500;
    text-align:left;
}

.form-float-wrapper .dynamic-form .form-group input[type="text"],
.form-float-wrapper .dynamic-form .form-group input[type="tel"],
.form-float-wrapper .dynamic-form .form-group input[type="email"],
.form-float-wrapper .dynamic-form .form-group select,
.form-float-wrapper .dynamic-form .form-input-phone,
.form-float-wrapper .dynamic-form .form-input-email {
    flex: 1;
    min-width: 0;
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 6px;
}

.form-float-wrapper .dynamic-form .form-group select {
    padding: 8px 32px 8px 12px;
}

/* 悬浮模式 - textarea 保持上下布局（多行文本） */
.form-float-wrapper .dynamic-form .form-group:has(textarea) {
    display: block;
}

.form-float-wrapper .dynamic-form .form-group:has(textarea) label {
    display: block;
    margin-bottom: 6px;
    text-align: left;
}

.form-float-wrapper .dynamic-form .form-group:has(textarea) textarea {
    display: block;
    width: 100%;
    min-height: 70px;
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 6px;
}

/* 悬浮模式 - 提示文字 */
.form-float-wrapper .dynamic-form .form-hint {
    font-size: 11px;
    margin-top: 4px;
    margin-left: 0;
}

/* 悬浮模式 - 提交按钮更紧凑 */
.form-float-wrapper .dynamic-form .btn {
    padding: 10px 20px;
    margin-top: 15px;
    font-size: 14px;
    border-radius: 6px;
    width: 100%;
}

/* ==================== 非悬浮表单样式 ==================== */
/* 表单组 - 保持原有大小 */
.dynamic-form .form-group {
    margin-bottom: 10px;
}

.dynamic-form .form-group:last-child {
    margin-bottom: 0;
}

/* 标签 */
.dynamic-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: #2c3e50;
    letter-spacing: 0.3px;
}

.dynamic-form .form-group label .required {
    color: #e74c3c;
    margin-left: 2px;
}

/* 输入框通用样式 */
.dynamic-form .form-group input[type="text"],
.dynamic-form .form-group input[type="tel"],
.dynamic-form .form-group input[type="email"],
.dynamic-form .form-group textarea,
.dynamic-form .form-input-phone,
.dynamic-form .form-input-email {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e8ecf1;
    border-radius: 10px;
    font-size: 14px;
    color: #2c3e50;
    background: #fafbfc;
    transition: all 0.25s ease;
}

.dynamic-form .form-group input[type="text"]:hover,
.dynamic-form .form-group input[type="tel"]:hover,
.dynamic-form .form-group input[type="email"]:hover,
.dynamic-form .form-group textarea:hover,
.dynamic-form .form-input-phone:hover,
.dynamic-form .form-input-email:hover {
    border-color: #c5cdd8;
    background: #fff;
}

.dynamic-form .form-group input[type="text"]:focus,
.dynamic-form .form-group input[type="tel"]:focus,
.dynamic-form .form-group input[type="email"]:focus,
.dynamic-form .form-group textarea:focus,
.dynamic-form .form-input-phone:focus,
.dynamic-form .form-input-email:focus {
    outline: none;
    border-color: #3498db;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(52,152,219,0.1);
}

.dynamic-form .form-group textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

/* 提交按钮 */
.dynamic-form .btn {
    display: block;
    width: 100%;
    padding: 14px 32px;
    margin-top: 28px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(52,152,219,0.35);
}

.dynamic-form .btn:hover {
    background: linear-gradient(135deg, #2980b9 0%, #2471a3 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52,152,219,0.4);
}

.dynamic-form .btn:active {
    transform: translateY(0);
}

.dynamic-form .btn:disabled {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 提示信息 */
.dynamic-form .form-hint {
    display: block;
    margin-top: 6px;
    color: #95a5a6;
    font-size: 12px;
}

.dynamic-form .form-message {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
}

.dynamic-form .form-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.dynamic-form .form-error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* ==================== 下拉选择框 ==================== */
.dynamic-form .form-select {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 1.5px solid #e8ecf1;
    border-radius: 10px;
    font-size: 15px;
    color: #2c3e50;
    background-color: #fafbfc;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2395a5a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.25s ease;
}

.dynamic-form .form-select:hover {
    border-color: #c5cdd8;
    background-color: #fff;
}

.dynamic-form .form-select:focus {
    outline: none;
    border-color: #3498db;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(52,152,219,0.1);
}

.dynamic-form .form-select option {
    padding: 10px;
    color: #2c3e50;
}

/* ==================== 图片上传字段 ==================== */
.dynamic-form .form-image-field {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 18px;
    border: 1.5px dashed #d4e6f1;
    border-radius: 12px;
    background: linear-gradient(135deg, #fafcff 0%, #f5f9fc 100%);
    transition: all 0.25s ease;
}

.dynamic-form .form-image-field:hover {
    border-color: #a9cce3;
    background: linear-gradient(135deg, #f5f9fc 0%, #eef4f9 100%);
}

.dynamic-form .image-left {
    flex: 1;
    min-width: 0;
}

.dynamic-form .image-title {
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 14px;
}

.dynamic-form .image-title .required {
    color: #e74c3c;
}

.dynamic-form .image-left input[type="file"] {
    width: 100%;
    padding: 10px 0;
    font-size: 13px;
    color: #5d6d7e;
    cursor: pointer;
}

.dynamic-form .image-left input[type="file"]::file-selector-button {
    padding: 9px 18px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    margin-right: 12px;
    transition: all 0.25s ease;
}

.dynamic-form .image-left input[type="file"]::file-selector-button:hover {
    background: linear-gradient(135deg, #2980b9 0%, #2471a3 100%);
}

.dynamic-form .image-right {
    width: 120px;
    height: 90px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 10px;
    border: 1.5px solid #e8ecf1;
}

.dynamic-form .image-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dynamic-form .image-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* ==================== 表单类别（标签选择） ==================== */
.dynamic-form .form-category-field {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dynamic-form .category-tag {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    background: #f8fafc;
    border: 1.5px solid #e8ecf1;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 14px;
    color: #5d6d7e;
    user-select: none;
}

.dynamic-form .category-tag:hover {
    background: #e8f4fc;
    border-color: #85c1e9;
    color: #2980b9;
}

.dynamic-form .category-tag.active {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 3px 10px rgba(52,152,219,0.3);
}

/* ==================== 内容选择（带图片选项） ==================== */
.dynamic-form .form-content-select {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
}

.dynamic-form .content-option {
    border: 1.5px solid #e8ecf1;
    border-radius: 12px;
    padding: 14px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    background: #fff;
    position: relative;
}

.dynamic-form .content-option:hover {
    border-color: #85c1e9;
    background: #f8fbfd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.dynamic-form .content-option.active {
    border-color: #3498db;
    background: linear-gradient(135deg, #e8f4fc 0%, #d6eaf8 100%);
    box-shadow: 0 4px 12px rgba(52,152,219,0.15);
}

.dynamic-form .option-image {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    overflow: hidden;
    border-radius: 10px;
    background: #f5f7fa;
}

.dynamic-form .option-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dynamic-form .option-name {
    font-size: 12px;
    color: #2c3e50;
    word-break: break-all;
    line-height: 1.4;
}

/* 多选勾选标记 */
.dynamic-form .option-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    border: 1.5px solid #c5cdd8;
    border-radius: 5px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.dynamic-form .option-check span {
    display: none;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 3px;
}

.dynamic-form .content-option.active .option-check {
    border-color: #3498db;
}

.dynamic-form .content-option.active .option-check span {
    display: block;
}

/* 单选模式下的选中标记 */
.dynamic-form .form-content-select[data-mode="single"] .content-option.active::after {
    content: "✓";
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    line-height: 20px;
    font-weight: bold;
}

/* ==================== 地址选择 ==================== */
.dynamic-form .form-address-field {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dynamic-form .address-region {
    display: flex;
    gap: 10px;
}

.dynamic-form .address-region select,
.dynamic-form .address-region .district-wrapper {
    flex: 1;
}

.dynamic-form .address-region .district-wrapper {
    display: flex;
}

.dynamic-form .address-region select {
    width: 100%;
    padding: 12px 10px;
    border: 1.5px solid #e8ecf1;
    border-radius: 10px;
    font-size: 14px;
    color: #2c3e50;
    background: #fafbfc;
    cursor: pointer;
    transition: all 0.25s ease;
}

.dynamic-form .address-region select:hover {
    border-color: #c5cdd8;
    background: #fff;
}

.dynamic-form .address-region select:focus {
    border-color: #3498db;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(52,152,219,0.1);
}

.dynamic-form .address-region select:disabled {
    background: #f5f7fa;
    color: #95a5a6;
    cursor: not-allowed;
}

.dynamic-form .address-region .address-district-text {
    width: 100%;
    padding: 12px 10px;
    border: 1.5px solid #e8ecf1;
    border-radius: 10px;
    font-size: 14px;
    color: #2c3e50;
    background: #fafbfc;
    transition: all 0.25s ease;
}

.dynamic-form .address-region .address-district-text:focus {
    border-color: #3498db;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(52,152,219,0.1);
}

.dynamic-form .address-detail {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e8ecf1;
    border-radius: 10px;
    font-size: 15px;
    color: #2c3e50;
    background: #fafbfc;
    transition: all 0.25s ease;
}

.dynamic-form .address-detail:hover {
    border-color: #c5cdd8;
    background: #fff;
}

.dynamic-form .address-detail:focus {
    border-color: #3498db;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(52,152,219,0.1);
}

/* ==================== 日期选择 ==================== */
.dynamic-form .form-date-field {
    display: flex;
    gap: 10px;
    align-items: center;
}

.dynamic-form .form-date-field select {
    flex: 1;
    padding: 12px 10px;
    border: 1.5px solid #e8ecf1;
    border-radius: 10px;
    font-size: 14px;
    color: #2c3e50;
    background: #fafbfc;
    cursor: pointer;
    transition: all 0.25s ease;
}

.dynamic-form .form-date-field select:hover {
    border-color: #c5cdd8;
    background: #fff;
}

.dynamic-form .form-date-field select:focus {
    border-color: #3498db;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(52,152,219,0.1);
}

.dynamic-form .form-date-field select:disabled {
    background: #f5f7fa;
    color: #95a5a6;
    cursor: not-allowed;
}

/* ==================== 悬浮表单 - 地址和日期紧凑样式 ==================== */
/* 悬浮模式 - 地址字段保持上下布局 */
.form-float-wrapper .dynamic-form .form-group:has(.form-address-field) {
    display: block;
}

.form-float-wrapper .dynamic-form .form-group:has(.form-address-field) label {
    display: block;
    margin-bottom: 6px;
    text-align: left;
}

.form-float-wrapper .dynamic-form .form-address-field {
    display: block;
    gap: 8px;
}

.form-float-wrapper .dynamic-form .address-region {
    display: flex;
    gap: 8px;
}

.form-float-wrapper .dynamic-form .address-region select,
.form-float-wrapper .dynamic-form .address-region .address-district-text {
    flex: 1;
    padding: 8px 10px;
    font-size: 13px;
    border-radius: 6px;
}

.form-float-wrapper .dynamic-form .address-detail {
    width: 100%;
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 6px;
}

/* 悬浮模式 - 日期字段保持上下布局 */
.form-float-wrapper .dynamic-form .form-group:has(.form-date-field) {
    display: block;
}

.form-float-wrapper .dynamic-form .form-group:has(.form-date-field) label {
    display: block;
    margin-bottom: 6px;
    text-align: left;
}

.form-float-wrapper .dynamic-form .form-date-field {
    display: flex;
    gap: 8px;
}

.form-float-wrapper .dynamic-form .form-date-field select {
    flex: 1;
    padding: 8px 10px;
    font-size: 13px;
    border-radius: 6px;
}

/* ==================== 表单弹窗提示 ==================== */
.form-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    text-align: center;
    min-width: 200px;
    max-width: 80%;
    line-height: 1.5;
}

.form-toast-show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.form-toast-success {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: #fff;
}

.form-toast-error {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
}

/* ==================== 表单响应式 ==================== */
@media (max-width: 640px) {
    .dynamic-form .form-container {
        padding: 25px 20px;
        border-radius: 12px;
    }
    
    .dynamic-form .form-image-field {
        flex-direction: column;
        align-items: stretch;
    }
    
    .dynamic-form .image-right {
        width: 100%;
        height: 100px;
        order: -1;
    }
    
    .dynamic-form .form-content-select {
        grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
        gap: 10px;
    }
    
    .dynamic-form .content-option {
        padding: 12px 8px;
    }
    
    .dynamic-form .option-image {
        width: 50px;
        height: 50px;
    }
    
    .dynamic-form .address-region {
        flex-direction: column;
    }
    
    .dynamic-form .category-tag {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .dynamic-form .btn {
        padding: 13px 28px;
        font-size: 15px;
    }
}
 
/* 相册页面样式 */

/* 404页面 */
.gallery-404 {
    padding: 60px 20px;
    text-align: center;
}
/* 相册列表样式 */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.category-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.category-cover {
    position: relative;
    width: 100%;
    height: 350px;
    padding-top: 60%;
    overflow: hidden;
    background: #f5f5f5;
}

.category-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.category-card:hover .category-cover img{
    transform: scale(1.05);
}

.category-cover .no-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 64px;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.category-card:hover .category-overlay{
    opacity: 1;
}

.view-btn {
    color: #fff;
    padding: 10px 25px;
    border: 2px solid #fff;
    border-radius: 25px;
    font-size: 14px;
    transition: background 0.3s, color 0.3s;
}

.category-card:hover .view-btn{
    background: #fff;
    color: #333;
}

.category-info{
    padding: 20px;
}

.category-info h3{
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #333;
}

.image-count{
    color: #999;
    font-size: 14px;
    margin: 0 0 8px 0;
}

.category-desc{
    color: #666;
    font-size: 13px;
    margin: 0;
    line-height: 1.6;
}

/* 图片列表样式 */
.category-description{
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    margin-top: 10px;
    line-height: 1.8;
    color: #666;
}

.gallery-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item{
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.gallery-item:hover{
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-thumb{
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
}

.gallery-thumb img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover .gallery-thumb img{
    transform: scale(1.05);
}

.gallery-overlay{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay{
    opacity: 1;
}

.overlay-content{
    text-align: center;
}

.icon-search{
    display: block;
    color: #fff;
    font-size: 24px;
    margin-bottom: 10px;
}

.gallery-overlay .gallery-title{
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.back-link{
    margin-top: 40px;
    text-align: center;
}

.btn-outline{
    display: inline-block;
    padding: 10px 25px;
        
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.btn-outline:hover{
    background: #3498db;
    color: #fff;
}

.empty-content{
    text-align: center;
    padding: 80px 20px;
    color: #999;
}

.pagination-wrapper{
    margin-top: 40px;
}

/* 灯箱样式 */
.lightbox{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active{
    display: flex;
}

.lightbox-content{
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img{
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close{
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-title{
    position: absolute;
    bottom: 120px;
    left: 0;
    right: 0;
    text-align: center;
    color: #ffffff;
    font-size: 16px;
    padding: 0 20px;
}

/* ==================== 相册灯箱增强样式 ==================== */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox.active {
    display: flex;
}

.gallery-lightbox .lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    z-index: 10001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s;
}

.gallery-lightbox .lightbox-close:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

/* 左右箭头 */
.gallery-lightbox .lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    opacity: 0;
}

.gallery-lightbox.show-controls .lightbox-arrow {
    opacity: 1;
}

.gallery-lightbox .lightbox-arrow:hover {
    background: rgba(231,76,60,0.8);
}

.gallery-lightbox .lightbox-prev {
    left: 20px;
    border-radius: 0 4px 4px 0;
}

.gallery-lightbox .lightbox-next {
    right: 20px;
    border-radius: 4px 0 0 4px;
}

/* 幻灯片容器 */
.gallery-lightbox .lightbox-slide-container {
    width: 100%;
    max-width: 100vw;
    height: calc(100vh - 180px);
    overflow: hidden;
    position: relative;
}

.gallery-lightbox .lightbox-slide-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.3s ease-out;
}

.gallery-lightbox .lightbox-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 80px;
}

.gallery-lightbox .lightbox-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: pointer;
    user-select: none;
    -webkit-user-drag: none;
}

/* 图片信息栏 - 60px高半透明黑色底色 */
.gallery-lightbox .lightbox-info-bar {
    max-width: 100vw;
    height: 60px;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    flex-shrink: 0;
}

.gallery-lightbox .lightbox-title {
    color: #ffffff;
    font-size: 18px;
    padding: 8px;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background-color: rgba(0, 0, 0, 0.5); /* 黑色半透明 */
}

.gallery-lightbox .lightbox-counter {
    color: #777777;
    font-size: 16px;
    flex-shrink: 0;
    white-space: nowrap;
}

/* 缩略图导航 */
.gallery-lightbox .lightbox-thumbs {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    max-width: 90%;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) transparent;
}

.gallery-lightbox .lightbox-thumbs::-webkit-scrollbar {
    height: 4px;
}

.gallery-lightbox .lightbox-thumbs::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

.gallery-lightbox .lightbox-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 45px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.gallery-lightbox .lightbox-thumb:hover {
    opacity: 0.8;
}

.gallery-lightbox .lightbox-thumb.active {
    opacity: 1;
    border-color: #e74c3c;
}

.gallery-lightbox .lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 响应式 */
@media (max-width: 768px) {
    .gallery-lightbox .lightbox-arrow {
        display: none;
    }
    
    .gallery-lightbox .lightbox-slide {
        padding: 0 10px;
    }
    
    .gallery-lightbox .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 28px;
        width: 40px;
        height: 40px;
    }
    
    .gallery-lightbox .lightbox-slide-container {
        height: calc(100vh - 120px);
    }
    
    .gallery-lightbox .lightbox-info-bar {
        height: 50px;
        padding: 0 15px;
    }
    
    .gallery-lightbox .lightbox-title {
        font-size: 20px;
        color: #b3b3b3;
    }
    
    .gallery-lightbox .lightbox-counter {
        font-size: 12px;
        margin-bottom: 80px;
    }
    
    .gallery-lightbox .lightbox-thumbs {
        bottom: 5px;
    }
    
    .gallery-lightbox .lightbox-thumb {
        width: 50px;
        height: 38px;
    }
}

/* 原有gallery-grid样式保留 */

/* 内容卡片网格 - 相册页面 */
.content-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.content-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.content-card-thumb {
    position: relative;
    width: 100%;
    height:350px;
    background: #f5f5f5;
    overflow: hidden;
}

.content-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.content-card:hover .content-card-thumb img {
    transform: scale(1.05);
}

.content-card-thumb .no-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 48px;
}

.content-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.content-card:hover .content-card-overlay {
    opacity: 1;
}

.content-card-overlay .view-btn {
    padding: 10px 24px;
    background: #fff;
    color: #333;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
}

.content-card-info {
    padding: 16px;
}

.content-card-info h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.content-card-info .content-card-desc {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.content-card-info .content-card-meta {
    margin: 0;
    font-size: 13px;
    color: #999;
}

.content-card-info .image-count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Video.js H5播放器优化 */
.video-js {
    max-width: 100%;
}

/* 默认居中显示（无浮动且无居中样式时） */
.video-js:not([style*="float"]):not([style*="margin"]) {
    width: 100%;
}

/* 视频容器 */
.video-js .vjs-tech {
    object-fit: contain;
}

/* 浮动视频的外层容器样式 - 通过JS添加的class */
.video-js.video-float-left,
.video-js.video-float-right,
.video-js.video-align-center {
    width: auto !important;
}

.video-js.video-float-left {
    float: left;
    margin: 0 15px 10px 0;
}

.video-js.video-float-right {
    float: right;
    margin: 0 0 10px 15px;
}

.video-js.video-align-center {
    display: block;
    margin: 0 auto;
}

/* 播放按钮悬停效果 */
.vjs-default-skin:hover .vjs-big-play-button {
    background-color: rgba(231, 76, 60, 0.9) !important;
}

/* 控制栏样式优化 */
.video-js .vjs-control-bar {
    background: rgba(0, 0, 0, 0.7);
}

/* 进度条颜色 */
.video-js .vjs-play-progress {
    background-color: #e74c3c;
}

.video-js .vjs-slider {
    background: rgba(255, 255, 255, 0.2);
}

/* 未初始化时的视频元素样式 */
video.edui-faked-video {
    width: 100%;
    max-width: 100%;
    height: auto;
    background: #000;
}

/* ==================== 表单活动说明 ==================== */
.form-notice {
    text-align: center;
    margin-bottom: 20px;
}

.form-notice-image {
    margin-bottom: 20px;
}

.form-notice-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.form-notice-text {
    padding: 15px 20px;
    border-radius: 10px;
    color: #2980b9;
    font-size: 24px;
    line-height: 1.6;
    background: #f8fafc;
    border: 1px solid #e8ecf1;
}

/* ==================== 悬浮表单 ==================== */
.form-float-wrapper {
    position: fixed;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-float-wrapper.show {
    opacity: 1;
}

/* 左下角 */
.form-float-wrapper[data-position="left-bottom"] {
    left: 20px;
    bottom: 20px;
}

/* 右下角 */
.form-float-wrapper[data-position="right-bottom"] {
    right: 20px;
    bottom: 20px;
}

/* 网站正中 */
.form-float-wrapper[data-position="center"] {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-float-overlay {
    display: none;
}

.form-float-wrapper[data-position="center"] .form-float-overlay {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.form-float-wrapper[data-position="center"] .form-float-content {
    position: relative;
    z-index: 1;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

/* 角落模式的表单容器 */
.form-float-wrapper[data-position="left-bottom"] .form-float-content,
.form-float-wrapper[data-position="right-bottom"] .form-float-content {
    max-width: 360px;
    max-height: 75vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.form-float-wrapper[data-position="left-bottom"] .dynamic-form,
.form-float-wrapper[data-position="right-bottom"] .dynamic-form {
    max-width: none;
}

.form-float-wrapper[data-position="left-bottom"] .form-container,
.form-float-wrapper[data-position="right-bottom"] .form-container {
    padding: 25px;
}

/* 关闭按钮 */
.form-float-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    color: #666;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.form-float-close:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #333;
}

/* center模式的关闭按钮 */
.form-float-wrapper[data-position="center"] .form-float-close {
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    font-size: 24px;
    line-height: 36px;
    background: rgba(255, 255, 255, 0.9);
}

/* 悬浮表单响应式 */
@media (max-width: 480px) {
    .form-float-wrapper[data-position="left-bottom"],
    .form-float-wrapper[data-position="right-bottom"] {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .form-float-wrapper[data-position="left-bottom"] .form-float-content,
    .form-float-wrapper[data-position="right-bottom"] .form-float-content {
        max-width: none;
        max-height: 70vh;
    }

    /* 悬浮模式移动端优化 - 改为上下布局 */
    .form-float-wrapper .dynamic-form .form-group {
        display: block;
    }

    .form-float-wrapper .dynamic-form .form-group label {
        display: block;
        margin-bottom: 6px;
        text-align: left;
        font-size: 13px;
        min-width: auto;
    }

    .form-float-wrapper .dynamic-form .form-group input[type="text"],
    .form-float-wrapper .dynamic-form .form-group input[type="tel"],
    .form-float-wrapper .dynamic-form .form-group input[type="email"],
    .form-float-wrapper .dynamic-form .form-group select,
    .form-float-wrapper .dynamic-form .form-group textarea {
        width: 100%;
        font-size: 14px;
        padding: 10px 12px;
    }

    .form-float-wrapper .dynamic-form .form-group select {
        padding: 10px 32px 10px 12px;
    }

    .form-float-wrapper .dynamic-form .btn {
        font-size: 15px;
        padding: 12px 24px;
    }
}

/* ==================== 验证码样式 ==================== */
.form-captcha-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-captcha-input {
    width: 50%;
    padding: 12px 16px;
    border: 1.5px solid #e8ecf1;
    border-radius: 10px;
    font-size: 15px;
    color: #2c3e50;
    background: #fafbfc;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-sizing: border-box;
}

.form-captcha-input:hover {
    border-color: #c5cdd8;
    background: #fff;
}

.form-captcha-input:focus {
    outline: none;
    border-color: #3498db;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(52,152,219,0.1);
}

.form-captcha-img {
    height: 46px;
    border-radius: 10px;
    cursor: pointer;
    border: 1.5px solid #e8ecf1;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.form-captcha-img:hover {
    border-color: #3498db;
    box-shadow: 0 2px 8px rgba(52,152,219,0.2);
}

/* 悬浮模式 - 验证码紧凑样式 */
.form-float-wrapper .dynamic-form .form-group:has(.form-captcha-row) {
    display: block;
}

.form-float-wrapper .dynamic-form .form-group:has(.form-captcha-row) label {
    display: block;
    margin-bottom: 6px;
    text-align: left;
}

.form-float-wrapper .dynamic-form .form-captcha-row {
    gap: 8px;
    align-items: center;
}

.form-float-wrapper .dynamic-form .form-captcha-input {
    flex: 1;
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 6px;
}

.form-float-wrapper .dynamic-form .form-captcha-img {
    height: 36px;
    border-radius: 6px;
}

/* 联系页面验证码样式 */
.contact-form .captcha-group .captcha-input {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-form .captcha-group .captcha-input input {
    width: 50% !important;
    padding: 12px 16px;
    border: 1.5px solid #e8ecf1;
    border-radius: 10px;
    font-size: 15px;
    color: #2c3e50;
    background: #fafbfc;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.contact-form .captcha-group .captcha-input input:hover {
    border-color: #c5cdd8;
    background: #fff;
}

.contact-form .captcha-group .captcha-input input:focus {
    outline: none;
    border-color: #3498db;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(52,152,219,0.1);
}

.contact-form .captcha-group .captcha-input img {
    height: 46px;
    border-radius: 10px;
    cursor: pointer;
    border: 1.5px solid #e8ecf1;
    transition: all 0.2s ease;
    vertical-align: middle;
}

.contact-form .captcha-group .captcha-input img:hover {
    border-color: #3498db;
    box-shadow: 0 2px 8px rgba(52,152,219,0.2);
}

/* ==================== 产品详情页样式 ==================== */

/* 产品信息区域 */
.product-info-box {
    display: flex;
    gap: 50px;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

/* 产品图库 */
.product-gallery {
    flex-shrink: 0;
    width: 450px;
}

.gallery-main-wrapper {
    position: relative;
}

.gallery-main {
    width: 450px;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid #eee;
}

.gallery-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.gallery-slide.active {
    opacity: 1;
    z-index: 1;
}

.gallery-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 左右箭头 - 悬浮半透明 */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.7);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #666;
    font-size: 18px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(2px);
}

.gallery-arrow:hover {
    background: rgba(231,76,60,0.9);
    color: #fff;
}

.gallery-prev {
    left: 10px;
}

.gallery-next {
    right: 10px;
}

/* 缩略图导航 */
.gallery-thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding: 5px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.gallery-thumbs::-webkit-scrollbar {
    height: 1px;
}

.gallery-thumbs::-webkit-scrollbar-track {
    background: transparent;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
    background: #ccc;
}

.thumb-item {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid #eee;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f5f5f5;
}

.thumb-item:hover {
    border-color: #e74c3c;
}

.thumb-item.active {
    border-color: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231,76,60,0.2);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 图片指示器 */
.gallery-indicator {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    z-index: 5;
}

/* 产品选项卡 */
.product-tabs {
    background: #fff;
}

.tab-nav {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
}

.tab-btn {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: #e74c3c;
}

.tab-btn.active {
    color: #e74c3c;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e74c3c;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* 规格参数表格（纯文本模式） */
.specs-table {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.specs-row {
    display: flex;
    border-bottom: 1px solid #eee;
}

.specs-row:last-child {
    border-bottom: none;
}

.specs-key {
    width: 140px;
    padding: 15px 20px;
    background: #f0f2f5;
    font-size: 14px;
    color: #666;
    flex-shrink: 0;
}

.specs-val {
    flex: 1;
    padding: 15px 20px;
    font-size: 14px;
    color: #333;
}

/* 规格参数内容（富文本模式） */
.specs-content {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    max-width: 100%;
}

/* 表格包裹层，确保滚动和边框显示 */
.specs-content .table-wrapper {
    overflow-x: auto;
    overflow-y: visible;
    width: 100%;
    max-width: 100%;
    -webkit-overflow-scrolling: touch; /* iOS平滑滚动 */
}

.specs-content table {
    width: 100%;
    max-width: 100%; /* 确保表格不超过容器宽度 */
    border-collapse: collapse;
    border-spacing: 0;
    margin: 10px 0;
    table-layout: auto; /* 自动布局，内容宽度自适应 */
    word-wrap: break-word;
    overflow-wrap: break-word;
    border: 1px solid #ddd; /* 表格外边框 */
}

.specs-content table thead th {
    border: 1px solid #ddd;
    background: #f8f9fa;
    font-weight: 600;
}

.specs-content table tbody td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal; /* 允许文字换行 */
}

.specs-content th,
.specs-content td {
    padding: 12px;
    text-align: left;
}

/* 隐藏滚动条但保留滚动功能 */
.specs-content .table-wrapper::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.specs-content .table-wrapper {
    -ms-overflow-style: none; /* IE/Edge */
    scrollbar-width: none; /* Firefox */
}

.specs-content p {
    margin: 10px 0;
    line-height: 1.8;
    max-width: 100%;
    word-wrap: break-word;
}

.specs-content ul,
.specs-content ol {
    margin: 10px 0;
    padding-left: 25px;
    max-width: 100%;
}

.specs-content li {
    margin: 5px 0;
    line-height: 1.8;
    word-wrap: break-word;
}

/* 富文本内容中的其他元素 */
.specs-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
}

.specs-content div,
.specs-content span {
    max-width: 100%;
    word-wrap: break-word;
}

.specs-content pre {
    overflow-x: auto;
    max-width: 100%;
    background: #f5f5f5;
    padding: 10px;
    border-radius: 4px;
}

/* 产品属性区域 */
.product-attrs {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.content-detail .product-title {
    font-size: 26px;
    font-weight: 600;
    color: #333;
    margin: 0 0 25px 0;
    padding-bottom: 20px;
    line-height: 1.4;
    text-align: left;
    border-bottom: 1px solid #eee;
}

/* 价格区域 */
.product-price-box {
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
    border: 1px solid #ffe8e8;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.price-label {
    font-size: 14px;
    color: #999;
    display: block;
    margin-bottom: 8px;
}

.price-value {
    font-size: 32px;
    font-weight: 700;
    color: #e74c3c;
}

/* 规格区域 */
.product-specs-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.specs-label {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
    font-weight: 500;
}

.specs-content {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
}

/* 产品摘要区域 */
.product-excerpt-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.excerpt-content {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
}

/* 产品补充信息 */
.product-extra-info {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.extra-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

.extra-item:last-child {
    border-bottom: none;
}

.extra-label {
    width: 80px;
    flex-shrink: 0;
    font-size: 14px;
    color: #999;
}

.extra-value {
    font-size: 14px;
    color: #666;
}

/* 产品详情区块 */
.product-detail-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.section-title-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.section-title-bar h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
    white-space: nowrap;
}

.title-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #e74c3c 0%, #eee 100%);
}

/* 上下篇导航 */
.article-nav {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 18px 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-item:hover {
    border-color: #e74c3c;
    box-shadow: 0 4px 12px rgba(231,76,60,0.15);
}

.nav-item:hover .nav-label {
    color: #e74c3c;
}

.nav-empty {
    background: #f9f9f9;
    cursor: default;
}

.nav-empty:hover {
    border-color: #eee;
    box-shadow: none;
}

.nav-label {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 返回按钮 */
.back-list {
    text-align: center;
    margin-bottom: 30px;
}

.btn-back {
    display: inline-block;
    padding: 12px 40px;
    background: #e74c3c;
    color: #fff;
    border-radius: 25px;
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-back:hover {
    background: #c0392b;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231,76,60,0.3);
}

/* 手机端产品页 */
.product-mobile-section {
    padding-top: 15px;
}

/* 产品详情页响应式 */
@media (max-width: 992px) {
    .product-info-box {
        gap: 30px;
        padding: 25px;
    }
    
    .product-gallery {
        width: 350px;
    }
    
    .gallery-main {
        width: 350px;
        height: 350px;
    }
    
    .content-detail .product-title {
        font-size: 22px;
    }
    
    .price-value {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .product-info-box {
        flex-direction: column;
        gap: 20px;
        padding: 0;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
    }
    
    .product-gallery {
        width: 100%;
    }
    
    .gallery-main-wrapper {
        width: 100%;
    }
    
    .gallery-main {
        width: 100%;
        height: 0;
        padding-bottom: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-top: none;
        border-bottom: 1px solid #eee;
    }
    
    .gallery-slide {
        padding: 10px;
    }
    
    .gallery-arrow {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .gallery-prev {
        left: 8px;
    }
    
    .gallery-next {
        right: 8px;
    }
    
    /* 移动端缩略图样式 */
    .gallery-thumbs {
        margin-top: 10px;
        padding: 10px 15px;
        background: #fff;
        -webkit-overflow-scrolling: touch;
    }
    
    .thumb-item {
        width: 60px;
        height: 60px;
        border-radius: 4px;
    }
    
    /* 移动端产品属性区域 */
    .product-attrs {
        padding: 15px;
        background: #fff;
    }
    
    .content-detail .product-title {
        font-size: 18px;
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    
    .product-price-box {
        padding: 12px 15px;
    }
    
    .price-value {
        font-size: 22px;
    }
    
    /* 移动端选项卡样式 */
    .product-detail-section {
        padding: 0;
        background: #fff;
        margin-top: 15px;
        border-radius: 0;
        box-shadow: none;
    }
    
    .tab-nav {
        position: sticky;
        top: 60px;
        background: #fff;
        z-index: 10;
        margin-bottom: 0;
    }
    
    .tab-btn {
        flex: 1;
        padding: 12px 15px;
        font-size: 14px;
        text-align: center;
    }
    
    .tab-content {
        padding: 15px;
    }
    
    /* 移动端规格表格 */
    .specs-key {
        width: 100px;
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .specs-val {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .section-title-bar h3 {
        font-size: 18px;
    }
    
    .article-nav {
        flex-direction: column;
        gap: 12px;
    }
    
    .nav-item {
        padding: 15px;
    }
    
    .btn-back {
        padding: 10px 30px;
    }
}

/* ==================== 产品询价表单样式 ==================== */

/* 我要询价按钮 */
.product-inquiry-btn {
    margin-top: 20px;
}

.product-inquiry-btn .btn-inquiry {
    width: 100%;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-inquiry-btn .btn-inquiry:hover {
    background: linear-gradient(135deg, #2980b9 0%, #2471a3 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.product-inquiry-btn .btn-inquiry .icon {
    font-size: 18px;
}

/* 询价弹窗 */
.inquiry-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.inquiry-modal.active {
    display: flex;
}

.inquiry-modal-content {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
}

.inquiry-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid #e8ecf1;
}

.inquiry-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
}

.inquiry-modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f7fa;
    border-radius: 8px;
    font-size: 24px;
    color: #7f8c8d;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}

.inquiry-modal-close:hover {
    background: #e8ecf1;
    color: #2c3e50;
}

.inquiry-modal-body {
    padding: 25px;
}

.inquiry-form {
    max-width: 100%;
}

.inquiry-form-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.inquiry-form-section .section-title {
    text-align: center;
    margin-bottom: 30px;
}

.inquiry-form-section .section-title h2 {
    font-size: 24px;
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.inquiry-form-section .section-title p {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0;
}

.inquiry-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.inquiry-form .form-row .form-group {
    flex: 1;
}

.inquiry-form .form-group {
    margin-bottom: 18px;
}

/* 弹窗内的表单间距调整 */
.inquiry-modal-body .inquiry-form .form-group {
    margin-bottom: 16px;
}

.inquiry-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #2c3e50;
    font-weight: 500;
}

.inquiry-form .required {
    color: #ff4d4f;
    margin-left: 2px;
}

/* 弹窗内的标签字体调整 */
.inquiry-modal-body .inquiry-form label {
    font-size: 13px;
}

.inquiry-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid #e8ecf1;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.inquiry-form .form-control:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.inquiry-form .form-control::placeholder {
    color: #bdc3c7;
}

.inquiry-form textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.inquiry-form .captcha-box {
    display: flex;
    gap: 15px;
    align-items: center;
}

.inquiry-form .captcha-box .form-control.captcha-input {
    flex: 0 0 120px;
}

.inquiry-form .captcha-box .form-control {
    flex: 1;
}

.inquiry-form .captcha-img {
    height: 42px;
    border-radius: 8px;
    cursor: pointer;
    border: 1.5px solid #e8ecf1;
    transition: all 0.25s ease;
}

.inquiry-form .captcha-img:hover {
    border-color: #3498db;
}

.inquiry-form .btn-submit {
    width: 100%;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.inquiry-form .btn-submit:hover {
    background: linear-gradient(135deg, #2980b9 0%, #2471a3 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.inquiry-form .btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 询价表单响应式 */
@media (max-width: 768px) {
    .inquiry-form-section {
        padding: 20px;
        margin-top: 20px;
    }

    .inquiry-form-section .section-title h2 {
        font-size: 20px;
    }

    .inquiry-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    /* 询价弹窗移动端 */
    .inquiry-modal-content {
        width: 95%;
        max-width: 100%;
        max-height: 85vh;
        margin: 10px;
    }

    .inquiry-modal-header {
        padding: 15px 20px;
    }

    .inquiry-modal-header h3 {
        font-size: 18px;
    }

    .inquiry-modal-close {
        width: 28px;
        height: 28px;
        font-size: 20px;
    }

    .inquiry-modal-body {
        padding: 20px;
    }

    .inquiry-modal-body .inquiry-form .form-group {
        margin-bottom: 14px;
    }

    .inquiry-form .captcha-box .form-control.captcha-input {
        flex: 0 0 100px;
    }

    .captcha-box {
        gap: 10px;
    }

    .inquiry-form .captcha-img {
        height: 38px;
    }
}

/* 百度地图样式修复 */
#map img[src*="iws3.png"] {
    display: none !important;
}

/* ==================== 前台居中提示弹窗 ==================== */
.front-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    padding: 18px 40px;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    text-align: center;
    min-width: 200px;
    max-width: 80%;
    line-height: 1.5;
}

.front-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.front-toast.toast-success {
    background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
}

.front-toast.toast-error {
    background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
}

.front-toast.toast-warning {
    background: linear-gradient(135deg, #faad14 0%, #ffc53d 100%);
}

.front-toast.toast-info {
    background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
}

/* ==================== 文字列表模式专用样式 ==================== */
/* 文字列表模式下，右侧网格统一为一排三个 */

/* 产品网格 - 文字列表模式 */
.news-text-main .product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-text-main .product-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.news-text-main .product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.news-text-main .product-item .product-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f5f5f5;
    overflow: hidden;
}

.news-text-main .product-item .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-text-main .product-item:hover .product-img img {
    transform: scale(1.05);
}

.news-text-main .product-item h3 {
    padding: 12px 15px 8px;
    font-size: 16px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-text-main .product-item p {
    padding: 0 15px 10px;
    font-size: 13px;
    color: #999;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-text-main .product-item .price {
    padding: 0 15px 15px;
    font-size: 18px;
    font-weight: 600;
}

/* 案例网格 - 文字列表模式 */
.news-text-main .case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-text-main .case-item {
    display: block;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    background: #fff;
}

.news-text-main .case-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.news-text-main .case-item:hover img {
    transform: scale(1.1);
}

.news-text-main .case-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 10px;
}

.news-text-main .case-item:hover .overlay {
    opacity: 1;
}

.news-text-main .case-item .overlay h3 {
    color: #fff;
    font-size: 16px;
    margin: 0;
    text-align: center;
    padding: 0 15px;
}

/* 相册内容卡片网格 - 文字列表模式 */
.news-text-main .content-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-text-main .content-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.news-text-main .content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.news-text-main .content-card-thumb {
    width: 100%;
    height: 180px;
    background: #f5f5f5;
    overflow: hidden;
    position: relative;
}

.news-text-main .content-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-text-main .content-card:hover .content-card-thumb img {
    transform: scale(1.05);
}

.news-text-main .content-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.news-text-main .content-card:hover .content-card-overlay {
    opacity: 1;
}

.news-text-main .content-card-overlay .view-btn {
    padding: 8px 20px;
    background: #fff;
    color: #333;
    border-radius: 20px;
    font-size: 13px;
}

.news-text-main .content-card-info {
    padding: 12px 15px;
}

.news-text-main .content-card-info h3 {
    font-size: 15px;
    margin: 0 0 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-text-main .content-card-desc {
    font-size: 13px;
    color: #666;
    margin: 0 0 8px;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-text-main .content-card-meta {
    font-size: 12px;
    color: #999;
    margin: 0;
}

/* 相册栏目卡片网格 - 文字列表模式 */
.news-text-main .category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-text-main .category-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-text-main .category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.news-text-main .category-cover {
    width: 100%;
    height: 180px;
    background: #f5f5f5;
    overflow: hidden;
    position: relative;
}

.news-text-main .category-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-text-main .category-card:hover .category-cover img {
    transform: scale(1.05);
}

.news-text-main .category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.news-text-main .category-card:hover .category-overlay {
    opacity: 1;
}

.news-text-main .category-overlay .view-btn {
    padding: 8px 20px;
    background: #fff;
    color: #333;
    border-radius: 20px;
    font-size: 13px;
}

.news-text-main .category-info {
    padding: 12px 15px;
}

.news-text-main .category-info h3 {
    font-size: 15px;
    margin: 0 0 5px;
}

.news-text-main .category-info .image-count {
    font-size: 12px;
    color: #999;
    margin: 0 0 5px;
}

.news-text-main .category-desc {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 文字列表模式响应式 */
@media (max-width: 1200px) {
    .news-text-main .product-grid,
    .news-text-main .case-grid,
    .news-text-main .content-card-grid,
    .news-text-main .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .news-text-main .product-grid,
    .news-text-main .case-grid,
    .news-text-main .content-card-grid,
    .news-text-main .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .news-text-main .case-item img,
    .news-text-main .content-card-thumb,
    .news-text-main .category-cover {
        height: 150px;
    }
    
    .news-text-main .product-item h3 {
        font-size: 14px;
        padding: 10px 12px 6px;
    }
    
    .news-text-main .product-item p {
        font-size: 12px;
        padding: 0 12px 8px;
    }
    
    .news-text-main .product-item .price {
        font-size: 16px;
        padding: 0 12px 12px;
    }
}

@media (max-width: 480px) {
    .news-text-main .product-grid,
    .news-text-main .case-grid,
    .news-text-main .content-card-grid,
    .news-text-main .category-grid {
        grid-template-columns: 1fr;
    }
    
    .news-text-main .case-item img,
    .news-text-main .content-card-thumb,
    .news-text-main .category-cover {
        height: 200px;
    }
}

/* 空状态提示 */
.news-text-main .empty-tip {
    text-align: center;
    color: #999;
    padding: 60px 20px;
    background: #fff;
    border-radius: 8px;
    font-size: 15px;
}
