﻿/* 上海汪步网络科技有限公司 - 公共样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* 顶部导航 */
.top-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 17px;
    font-weight: bold;
    color: #1a6dff;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #1a6dff, #00c6ff);
    border-radius: 8px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: nowrap;
}

.main-nav a {
    padding: 8px 10px;
    font-size: 14px;
    color: #333;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: #1a6dff;
    background: rgba(26,109,255,0.08);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: #1a6dff;
}

.auth-btns {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
}

.btn-login {
    background: transparent;
    color: #1a6dff;
    border: 1px solid #1a6dff;
}

.btn-login:hover {
    background: #1a6dff;
    color: #fff;
}

.btn-register {
    background: #1a6dff;
    color: #fff;
    border: 1px solid #1a6dff;
}

.btn-register:hover {
    background: #0d5ae8;
    border-color: #0d5ae8;
}

.btn-primary {
    background: linear-gradient(135deg, #1a6dff, #00c6ff);
    color: #fff;
    padding: 12px 32px;
    font-size: 15px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26,109,255,0.4);
}

.btn-more {
    display: inline-block;
    padding: 10px 28px;
    border: 1px solid #1a6dff;
    color: #1a6dff;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-more:hover {
    background: #1a6dff;
    color: #fff;
}

/* Banner区域 */
.banner {
    position: relative;
    height: 560px;
    overflow: hidden;
    background: linear-gradient(135deg, #0c1e3f 0%, #1a6dff 100%);
}

.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    background-size: cover;
    background-position: center;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide .banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.banner-slide h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.banner-slide p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.8;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(12,30,63,0.55) 0%, rgba(26,109,255,0.35) 100%);
    z-index: 1;
}

/* 页面横幅 Banner */
.page-banner {
    height: 280px;
    background-color: #0c1e3f;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(12,30,63,0.72) 0%, rgba(26,109,255,0.5) 100%);
}

.page-banner-content {
    text-align: center;
    color: #fff;
    z-index: 2;
}

.page-banner-content h1 {
    font-size: 36px;
    margin-bottom: 10px;
    letter-spacing: 3px;
}

.page-banner-content p {
    font-size: 15px;
    opacity: 0.85;
}

/* 面包屑 */
.breadcrumb {
    padding: 16px 0;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.breadcrumb a {
    color: #666;
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #1a6dff;
}

.breadcrumb .sep {
    margin: 0 8px;
    color: #ccc;
}

.breadcrumb .current {
    color: #1a6dff;
}

/* 区块标题 */
.section {
    padding: 80px 0;
}

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

.section-title h2 {
    font-size: 32px;
    color: #222;
    margin-bottom: 12px;
    font-weight: 600;
}

.section-title .en-title {
    font-size: 14px;
    color: #1a6dff;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.section-title .title-line {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #1a6dff, #00c6ff);
    margin: 16px auto 0;
}

/* 特色服务卡片网格 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(26,109,255,0.15);
    border-color: rgba(26,109,255,0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(26,109,255,0.1), rgba(0,198,255,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    fill: #1a6dff;
}

.feature-card h3 {
    font-size: 20px;
    color: #222;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* 产品卡片封面图（区别于 SVG 图标用的 .feature-icon） */
.feature-cover {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 18px;
}

.feature-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-cover img {
    transform: scale(1.06);
}

/* 解决方案列表 */
.solution-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.solution-item {
    display: flex;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.solution-item:hover {
    box-shadow: 0 12px 40px rgba(26,109,255,0.15);
    transform: translateX(4px);
}

.solution-img {
    width: 280px;
    min-height: 200px;
    background: linear-gradient(135deg, #1a6dff, #00c6ff);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.solution-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.solution-content h3 {
    font-size: 20px;
    color: #222;
    margin-bottom: 12px;
}

.solution-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* 案例卡片 */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.case-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(26,109,255,0.15);
}

.case-img {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #1a6dff, #00c6ff);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.case-info {
    padding: 24px;
}

.case-info .case-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(26,109,255,0.1);
    color: #1a6dff;
    font-size: 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.case-info h3 {
    font-size: 18px;
    color: #222;
    margin-bottom: 8px;
}

.case-info p {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
}

/* 新闻列表（高级方案） */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    align-items: flex-start;
    background: #fff;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.news-item:hover {
    box-shadow: 0 6px 24px rgba(26,109,255,0.12);
}

.news-date {
    width: 80px;
    text-align: center;
    padding: 12px 0;
    background: linear-gradient(135deg, #1a6dff, #00c6ff);
    border-radius: 8px;
    color: #fff;
    flex-shrink: 0;
    margin-right: 20px;
}

.news-date .day {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
}

.news-date .month {
    font-size: 13px;
    margin-top: 4px;
    opacity: 0.9;
}

.news-content {
    flex: 1;
}

.news-content h3 {
    font-size: 17px;
    color: #222;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.news-item:hover .news-content h3 {
    color: #1a6dff;
}

.news-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

.news-content .read-more {
    display: inline-block;
    margin-top: 12px;
    color: #1a6dff;
    font-size: 13px;
}

/* 新闻/方案封面图 */
.news-img {
    width: 220px;
    height: 146px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 20px;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-item:hover .news-img img {
    transform: scale(1.06);
}

/* 服务与支持封面图 */
.support-cover {
    width: 100%;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 18px;
}

.support-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.support-card:hover .support-cover img {
    transform: scale(1.06);
}

/* 关于我们/公司形象图 */
.about-img {
    max-width: 860px;
    margin: 0 auto 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* 企业文化/核心价值 */
.culture-section {
    background: linear-gradient(135deg, #f5f8ff 0%, #fff 100%);
}

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

.culture-item {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.culture-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(26,109,255,0.12);
}

.culture-item .culture-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(26,109,255,0.1), rgba(0,198,255,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}

.culture-item img {
    width: 32px;
    height: 32px;
}

.culture-item h4 {
    font-size: 18px;
    color: #222;
    margin-bottom: 8px;
}

.culture-item p {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.mission-card, .vision-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.mission-card .label, .vision-card .label {
    display: inline-block;
    padding: 6px 20px;
    background: linear-gradient(135deg, #1a6dff, #00c6ff);
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 20px;
}

.mission-card h3, .vision-card h3 {
    font-size: 24px;
    color: #222;
    margin-bottom: 12px;
}

.mission-card p, .vision-card p {
    font-size: 15px;
    color: #666;
}

/* 关于我们内容 */
.about-content {
    background: #fff;
    padding: 60px 0;
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-text h2 {
    font-size: 28px;
    color: #222;
    margin-bottom: 30px;
}

.about-text p {
    font-size: 16px;
    color: #555;
    line-height: 2;
    margin-bottom: 20px;
    text-align: left;
    text-indent: 2em;
}

/* 高级会员区域 */
.premium-cta {
    background: linear-gradient(135deg, #0c1e3f 0%, #1a6dff 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.premium-cta h2 {
    font-size: 28px;
    margin-bottom: 16px;
}

.premium-cta p {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.btn-premium {
    display: inline-block;
    padding: 14px 48px;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #fff;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255,170,0,0.4);
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,170,0,0.6);
}

/* 页脚 */
.footer {
    background: #0c1e3f;
    color: #aaa;
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.footer-contact h4, .footer-links h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-contact ul li {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-contact ul li i {
    color: #1a6dff;
    margin-right: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 16px;
}

.footer-bottom p {
    margin-bottom: 6px;
}

.footer-bottom a {
    color: #1a6dff;
}

.footer-bottom a:hover {
    color: #00c6ff;
}

/* 表单样式 */
.form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f8ff 0%, #fff 100%);
}

.form-wrapper {
    max-width: 520px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}

.form-wrapper h2 {
    text-align: center;
    font-size: 26px;
    color: #222;
    margin-bottom: 8px;
}

.form-wrapper .form-subtitle {
    text-align: center;
    color: #888;
    font-size: 14px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #1a6dff;
    box-shadow: 0 0 0 3px rgba(26,109,255,0.1);
}

.form-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1a6dff, #00c6ff);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26,109,255,0.4);
}

.form-switch {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #888;
}

.form-switch a {
    color: #1a6dff;
}

/* 服务与支持 */
.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.support-card {
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.support-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(26,109,255,0.15);
}

.support-card .support-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(26,109,255,0.1), rgba(0,198,255,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.support-card h3 {
    font-size: 20px;
    color: #222;
    margin-bottom: 12px;
}

.support-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* 产品详情页 */
.detail-hero {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 60px 0;
}

.detail-hero-img {
    flex: 1;
    min-height: 320px;
    background: linear-gradient(135deg, #f5f8ff, #e8f4ff);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.detail-hero-text {
    flex: 1;
}

.detail-hero-text h1 {
    font-size: 28px;
    color: #222;
    margin-bottom: 20px;
}

.detail-hero-text p {
    font-size: 15px;
    color: #555;
    line-height: 2;
    margin-bottom: 16px;
}

/* 案例详情页 */
.case-detail-header {
    padding: 40px 0;
    text-align: center;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.case-detail-header h1 {
    font-size: 28px;
    color: #222;
    margin-bottom: 12px;
}

.case-detail-header .meta {
    font-size: 14px;
    color: #888;
}

.case-detail-body {
    padding: 50px 0;
}

.case-detail-body img {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
}

.case-detail-body p {
    font-size: 15px;
    color: #555;
    line-height: 2;
    margin-bottom: 16px;
    text-indent: 2em;
}

.case-detail-body h3 {
    font-size: 20px;
    color: #222;
    margin: 30px 0 16px;
    padding-left: 12px;
    border-left: 4px solid #1a6dff;
}

/* 响应式 */
@media (max-width: 1180px) {
    .nav-bar {
        flex-wrap: wrap;
        height: auto;
        padding: 12px 0;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
        flex-wrap: wrap;
    }

    .banner-slide h2 {
        font-size: 28px;
    }

    .banner {
        height: 400px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .culture-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mission-vision {
        grid-template-columns: 1fr;
    }

    .solution-item {
        flex-direction: column;
    }

    .solution-img {
        width: 100%;
        min-height: 180px;
    }

    .news-img {
        width: 100%;
        height: 180px;
        margin-right: 0;
        margin-bottom: 16px;
    }

    .news-item {
        flex-direction: column;
    }

    .support-grid {
        grid-template-columns: 1fr;
    }

    .detail-hero {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .culture-grid {
        grid-template-columns: 1fr;
    }

    .banner-slide h2 {
        font-size: 22px;
    }

    .banner-slide p {
        font-size: 14px;
    }

    .section {
        padding: 50px 0;
    }
}

/* ==================== 商城中心 ==================== */
.mall-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* 商城页版块间距收紧 */
.mall-page .section {
    padding: 28px 0;
}

.mall-page .section-title {
    margin-bottom: 24px;
}

/* 商城页左侧分类导航布局 */
.mall-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.mall-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 8px;
    position: sticky;
    top: 90px;
}

.mall-side-title {
    font-size: 15px;
    font-weight: 600;
    color: #0c1e3f;
    padding: 10px 14px 12px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 6px;
}

.mall-side-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mall-side-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    font-size: 14px;
    color: #444;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.mall-side-nav a svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.mall-side-nav a:hover {
    color: #1a6dff;
    border-color: #1a6dff;
}

.mall-side-nav a.active {
    color: #1a6dff;
    background: rgba(26,109,255,0.08);
    font-weight: 600;
}

.mall-content {
    flex: 1;
    min-width: 0;
}

.mall-content-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 18px;
}

.mall-content-head h2 {
    font-size: 22px;
    color: #0c1e3f;
    font-weight: 600;
    padding-left: 12px;
    border-left: 4px solid #1a6dff;
}

.mall-count {
    font-size: 13px;
    color: #999;
}

.mall-page .mall-grid {
    grid-template-columns: repeat(5, 1fr);
    margin-bottom: 0;
}

.mall-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.page-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 6px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.page-btn:hover:not(:disabled):not(.active) {
    border-color: #1a6dff;
    color: #1a6dff;
}

.page-btn.active {
    background: #1a6dff;
    color: #fff;
    border-color: #1a6dff;
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.mall-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.mall-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(26,109,255,0.15);
}

.mall-img {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.mall-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mall-card:hover .mall-img img {
    transform: scale(1.08);
}

.mall-info {
    padding: 14px;
}

.mall-info h3 {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.mall-price {
    font-size: 16px;
    color: #e63946;
    font-weight: bold;
}

/* 产品详情页 */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.product-detail-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

.product-detail-img img {
    width: 100%;
    height: auto;
    display: block;
}

.product-detail-info h2 {
    font-size: 28px;
    color: #0c1e3f;
    margin-bottom: 12px;
}

.product-category {
    font-size: 14px;
    color: #1a6dff;
    margin-bottom: 16px;
}

.product-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.9;
    margin-bottom: 24px;
}

.product-specs {
    background: #f8f9fc;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 28px;
}

.product-specs h3 {
    font-size: 16px;
    color: #0c1e3f;
    margin-bottom: 12px;
}

.product-specs ul {
    list-style: none;
}

.product-specs li {
    font-size: 14px;
    color: #555;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

.product-specs li:last-child {
    border-bottom: none;
}

.product-price-detail {
    font-size: 26px;
    color: #e63946;
    font-weight: bold;
    margin-bottom: 16px;
}

.product-price-detail small {
    font-size: 13px;
    color: #999;
    font-weight: normal;
}

.product-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.intro-block {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.intro-block h3 {
    font-size: 18px;
    color: #0c1e3f;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 4px solid #1a6dff;
}

.intro-block ul {
    list-style: none;
}

.intro-block li {
    font-size: 14px;
    color: #555;
    padding: 8px 0 8px 22px;
    position: relative;
    border-bottom: 1px dashed #eee;
    line-height: 1.6;
}

.intro-block li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #1a6dff;
    font-weight: bold;
}

.intro-block li:last-child {
    border-bottom: none;
}

.intro-block p {
    font-size: 14px;
    color: #555;
    line-height: 1.9;
}

.product-actions {
    display: flex;
    gap: 16px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 32px;
    background: #1a6dff;
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #0d5aE8;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 32px;
    background: #fff;
    color: #1a6dff;
    border: 1px solid #1a6dff;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #1a6dff;
    color: #fff;
}

/* 商城页响应式 */
@media (max-width: 1200px) {
    .mall-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .mall-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .mall-layout {
        flex-direction: column;
    }
    .mall-sidebar {
        width: 100%;
        position: static;
    }
    .mall-side-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .mall-side-nav a {
        padding: 8px 12px;
    }
    .product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .product-intro {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mall-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .mall-grid {
        grid-template-columns: 1fr;
    }
}