/* ================= 基础重置 ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
    background-color: #fff;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
ul, li { list-style: none; }

/* 容器改为自适应：最大 1200px，左右留白 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 全局图片自适应 */
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* ================= 顶部整体渐变背景包裹层 ================= */
.top-wrapper {
    background: linear-gradient(135deg, #ffe6e6 0%, #ffbaba 50%, #ff8e8e 100%);
    position: relative;
    overflow: hidden; 
}

/* ================= 导航栏 ================= */
header {
    position: relative;
    /*top: 0;
    left: 0;*/
    width: 100%;
    height: 80px;
    z-index: 1000;
    /*transition: all 0.3s ease;*/
    background-color: transparent; 
    border-bottom: 1px solid transparent;
}

/*header.scrolled {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #f0f0f0;
}*/

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #ff3b41;
}
.logo .logopic{
    height: 30px;
}

.logo span {
    margin-left: 10px;
    color: #333;
}

.nav-links {
    display: flex;
    gap: 40px;
    font-size: 16px;
    color: #333;
}
.nav-links a:hover { color: #ff3b41; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-login {
    color: #ff3b41;
    border: 1px solid #ff3b41;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
}
header.scrolled .btn-login {
    background: #fff;
}

.btn-register {
    background: linear-gradient(90deg, #ff5a5f 0%, #ff3b41 100%);
    color: #fff;
    padding: 9px 24px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
}


        /* ================= 汉堡菜单按钮（默认隐藏） ================= */
        .menu-toggle {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 24px;
            height: 18px;
            cursor: pointer;
            z-index: 1001;
            margin-left: auto;
            margin-right: 0px;
        }

        .menu-toggle span {
            display: block;
            width: 100%;
            height: 2px;
            background-color: #333;
            transition: all 0.3s ease;
            border-radius: 2px;
        }

        /* ================= 移动端侧边导航栏（默认隐藏） ================= */
        .mobile-nav-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色遮罩 */
            z-index: 1002;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .mobile-nav-drawer {
            position: fixed;
            top: 0;
            right: 0;
            width: 280px; /* 侧边栏宽度 */
            height: 100%;
            background-color: #fff;
            z-index: 1003;
            box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1); /* 左侧阴影 */
            transform: translateX(100%); /* 默认向右移出屏幕 */
            transition: transform 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        /* 展开状态（通过JS添加类名） */
        .mobile-nav-overlay.show {
            opacity: 1;
            visibility: visible;
        }

        .mobile-nav-drawer.show {
            transform: translateX(0);
        }

        /* 侧边栏头部 */
        .drawer-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px;
            border-bottom: 1px solid #f0f0f0;
            font-size: 18px;
            font-weight: bold;
            color: #333;
        }

        .drawer-close {
            font-size: 30px;
            color: #999;
            cursor: pointer;
            line-height: 1;
            transition: color 0.3s;
        }

        .drawer-close:hover {
            color: #ff3b41;
        }

        /* 侧边栏链接列表 */
        .drawer-links {
            flex: 1;
            padding: 10px 0;
            overflow-y: auto; /* 链接过多时可滚动 */
        }

        .drawer-links a {
            display: block;
            padding: 15px 20px;
            font-size: 16px;
            color: #333;
            border-bottom: 1px solid #f9f9f9;
            transition: background-color 0.3s, color 0.3s, padding-left 0.3s;
        }

        .drawer-links a:hover,
        .drawer-links a:active {
            background-color: #fff5f5; /* 浅红底色 */
            color: #ff3b41;
            padding-left: 30px; /* 悬停时缩进 */
        }




/* ================= Banner 内容区 ================= */
.hero-section {
    padding-top: 40px; 
    padding-bottom: 80px;
}

.hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* 允许换行 */
}

.hero-text {
    max-width: 500px;
}

.hero-text h1 {
    font-size: 48px;
    color: #ff2442;
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: 1px;
}

.hero-text p {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.8;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(90deg, #ff3b41 0%, #ff1a22 100%);
    color: #fff;
    padding: 14px 40px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(255, 59, 65, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 59, 65, 0.4);
}

/* ================= 右侧小房子与标签布局 ================= */
.hero-image-wrapper {
    position: relative;
    width: 550px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-house-img {
    width: 320px;
    height: auto;
    z-index: 2;
}

.hero-tag {
    position: absolute;
    background: #fed4d4;
    color: #ff3b41;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 59, 65, 0.15);
    white-space: nowrap;
    z-index: 3;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.hero-tag:hover {
    transform: translateY(-3px); 
    box-shadow: 0 8px 20px rgba(255, 59, 65, 0.25);
    background: #f5e5e5;
}

.tag-1 { top: 20px; left: 10px; }
.tag-2 { top: 80px; right: 20px; }
.tag-3 { bottom: 80px; left: -30px; }
.tag-4 { bottom: 60px; right: -20px; }

/* ================= 平台图标栏 ================= */
.platforms-bar {
    padding: 40px 0;
    /*border-bottom: 1px solid #f5f5f5;*/
}

.platforms-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.platforms-list img {
    max-height: 80px;
    width: auto;
}

/* ================= 公共标题 ================= */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 { font-size: 28px; font-weight: bold; color: #333; margin-bottom: 10px; }
.section-title p { font-size: 14px; color: #999; }

/* ================= 为什么选择三三 ================= */
.why-choose { padding: 80px 0; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: #fff;
    border: 1px solid #f0f0f0;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 59, 65, 0.08);
}

.feature-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.feature-card .icon {
    width: 40px;
    height: 40px;
    background-color: transparent; 
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0; /* 防止图标被压缩 */
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 0;
    color: #333;
    font-weight: bold;
}

.feature-card p {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
    margin: 0;
}

/* ================= 礼品代发资源丰富 ================= */
.resources-section {
    padding: 80px 0;
    background-color: #fafafa;
}

.tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    font-size: 16px;
    gap: 10px;
}

.tabs a {
    color: #333;
    font-weight: normal;
    padding: 0 10px;
    transition: color 0.2s;
}

.tabs a:hover { color: #ff3b41; }

.tabs .divider {
    color: #ddd;
    font-weight: 300;
    margin: 0 5px;
}

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

.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.img-link {
    display: block;
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* 保持正方形比例，或改为具体的数值如 padding-bottom: 250px */
    background-color: #f5f5f5;
}

.product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-card .tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff3b41;
    color: #fff;
    padding: 3px 8px;
    font-size: 12px;
    border-radius: 4px;
    z-index: 2;
}

.product-card .info {
    padding: 15px;
    text-align: left;
}

.product-card .info h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card .price {
    font-size: 18px;
    color: #ff3b41;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-card .bottom-info {
    font-size: 12px;
    color: #999;
    display: flex;
    justify-content: space-between;
}

.center-btn {
    text-align: center;
    margin-top: 40px;
}

/* ================= 礼品代发解决方案 ================= */
.solution-section { padding: 80px 0; }

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.solution-card {
    background: linear-gradient(135deg, #ffdede 0%, #fff5f5 50%, #ffffff 100%);
    padding: 40px 30px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    min-height: 220px; 
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 59, 65, 0.08);
}

.text-content {
    position: relative;
    z-index: 2; 
}

.solution-card h3 { font-size: 20px; margin-bottom: 15px; color: #333; font-weight: bold; }
.solution-card p { font-size: 14px; color: #666; line-height: 1.8; margin: 0; }

.bg-img {
    position: absolute;
    bottom: -15px;
    right: 20px;
    width: 100px;
    height: 100px;
    z-index: 1;
    opacity: 0.8;
    pointer-events: none;
}
.bg-img img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ================= 下单流程 ================= */
.process-section {
    padding: 80px 0;
    background-color: #fafafa;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 0 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.step {
    position: relative;
    z-index: 2;
    width: 22%;
    text-align: center;
}

.step-text { margin-bottom: 20px; }
.step-text h4 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.step-text h4 .num { color: #ff3b41; font-size: 20px; }
.step-text p { font-size: 14px; color: #666; line-height: 1.6; }

.step-icon-wrapper { position: relative; width: 100px; height: 100px; margin: 0 auto; }

.step-icon {
    width: 100%;
    height: 100%;
    background-color: #ffe8e8;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.5);
}
.step-icon img { width: 50px; height: 50px; object-fit: contain; }

.connector {
    position: absolute;
    top: 50%;
    left: 100%;
    width: calc(100% + 100px);
    height: 2px;
    background-color: #ffdcdc;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
}
.connector .arrow-img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: auto;
}

.process-btn-wrapper { text-align: center; margin-top: 60px; }
.btn-process {
    display: inline-block;
    background: linear-gradient(90deg, #ff6b6b 0%, #ff3b41 100%);
    color: #fff;
    padding: 15px 45px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 59, 65, 0.3);
}
.btn-process:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 59, 65, 0.4); }

/* ================= 对接主流快递平台 ================= */
.express-section { padding: 60px 0; text-align: center; }
.express-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px 60px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.express-logo-item {
    width: 140px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}
.express-logo-item:hover { transform: scale(1.05); }
.express-logo-item img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }

/* ================= 30000+ 卖家选择 ================= */
.cta-section { padding: 80px 0; text-align: center; }
.cta-section .section-title { margin-bottom: 40px; }
.cta-banner-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 50px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cta-banner-wrapper:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(255, 59, 65, 0.15); }
.cta-banner-link { display: block; width: 100%; }
.cta-banner-img { width: 100%; height: auto; display: block; object-fit: contain; }

        /* --- 手机端专属 CTA 按钮的默认样式（PC端不显示） --- */
        .mobile-cta-btn {
            display: none; /* 默认隐藏，只有在媒体查询里才会显示 */
            width: 100%;
            max-width: 400px;
            margin: 0 auto;
            background: linear-gradient(90deg, #ff3b41 0%, #ff1a22 100%);
            color: #fff;
            font-size: 20px;
            font-weight: bold;
            padding: 18px 0;
            border-radius: 50px;
            text-align: center;
            box-shadow: 0 4px 15px rgba(255, 59, 65, 0.3);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .mobile-cta-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(255, 59, 65, 0.4);
        }



/* ================= 常见问题 ================= */
.faq-section { padding-bottom: 80px; }
.faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.faq-item { background-color: #fff; border: 1px solid #f0f0f0; padding: 25px; border-radius: 8px; transition: box-shadow 0.3s; }
.faq-item:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.faq-item h3 { font-size: 16px; color: #333; margin-bottom: 10px; }
.faq-item p { font-size: 13px; color: #888; line-height: 1.6; }

/* ================= 相关资讯 ================= */
.news-section { padding-bottom: 80px; }
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 100px;
    row-gap: 0;
    max-width: 1200px;
    margin: 0 auto;
}
.news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px dashed #eee;
    cursor: pointer;
    transition: color 0.3s;
}
@media (max-width: 768px) {
  .news-item:nth-child(n + 11) {
    display: none;
  }
}

.news-item:hover span:first-child { color: #ff3b41; }
.news-item span:first-child {
    color: #555;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}
.news-item span:last-child { color: #aaa; font-size: 14px; }

/* ================= 底部 ================= */
footer { background-color: #222; color: #999; padding: 50px 0 30px; font-size: 14px; }
.footer-links-section { margin-bottom: 50px; }
.footer-links-title { font-size: 14px; color: #ccc; font-weight: normal; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #333; }
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    row-gap: 15px;
    column-gap: 20px;
    /*max-width: 900px;*/
}
.footer-links-grid a {
    color: #888;
    font-size: 13px;
    transition: color 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.footer-links-grid a:hover { color: #fff; }
.footer-bottom { text-align: center; }
.copyright { font-size: 13px; color: #999; margin-bottom: 15px; }
.copyright a { color: #999; text-decoration: underline; }
.copyright a:hover { color: #fff; }
.disclaimer { font-size: 13px; color: #666; line-height: 1.8; }

/* ================= 手机端底部悬浮注册按钮（默认隐藏） ================= */
.mobile-bottom-cta {
    display: none; /* 默认隐藏，只在手机端显示 */
}

/* ================= 右侧悬浮工具栏 ================= */
.right-toolbar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}
.toolbar-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 40px;
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    width: 80px;
}
.toolbar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
    width: 100%;
    text-decoration: none;
    color: #666;
    font-size: 12px;
    transition: all 0.3s ease;
}
.toolbar-item:hover { color: #ff5a5f; transform: scale(1.05); }
.toolbar-item .icon { margin-bottom: 8px; display: flex; justify-content: center; align-items: center; transition: transform 0.3s ease; }
.toolbar-item:hover .icon svg { stroke: #ff3b41; }





/* ================= 列表页 (News List) ================= */
.list-wrapper {
    padding: 0px 0 80px;
    background-color: #fff;
}

/* 面包屑外层：灰色背景全宽 */
.breadcrumb-wrapper {
    background-color: #f7f7f7; /* 浅灰底色 */
    width: 100%;               /* 强制占满屏幕宽度 */
    padding: 15px 0;           /* 上下内边距 */
    margin-bottom: 30px;       /* 和下方内容拉开距离 */
}

/* 面包屑内层：容器内文字 */
.breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 0; 
}
.breadcrumb a:hover {
    color: #ff3b41;
}
.breadcrumb span {
    color: #999;
}

/* 列表页主布局（左右分栏） */
.list-content-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

/* 左侧内容区 */
.news-list-main {
    flex: 1;
    min-width: 0; /* 防止 flex 子项溢出 */
}

/* 列表标题 */
.list-section-title {
    display: flex;
    align-items: center;
    /*margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;*/
    padding-bottom: 15px;
}
.list-section-title .red-bar {
    display: inline-block;
    width: 4px;
    height: 18px;
    background-color: #ff3b41;
    border-radius: 2px;
    margin-right: 10px;
}
.list-section-title h2 {
    font-size: 20px;
    font-weight: normal;
    color: #333;
    margin: 0;
}

/* 资讯列表项 */
.news-list-items {
    border-top: 1px solid #f0f0f0;
}
.news-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s;
}
.news-list-item:hover {
    background-color: #fcfcfc;
    padding-left: 10px; /* 悬停时轻微缩进 */
}
.news-list-item:hover .news-title {
    color: #ff3b41;
}
.news-title {
    font-size: 15px;
    color: #333;
    max-width: 70%; /* 限制标题宽度 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.news-date {
    font-size: 13px;
    color: #aaa;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}
.page-item {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #eee;
    background-color: #fff;
    color: #666;
    font-size: 14px;
    transition: all 0.2s;
}
.page-item:hover {
    border-color: #ff3b41;
    color: #ff3b41;
}
.page-item.active {
    background-color: #ff3b41;
    border-color: #ff3b41;
    color: #fff;
}
.page-dots {
    color: #999;
    padding: 0 5px;
}

/* 右侧广告位 */
.list-sidebar {
    width: 260px;
    flex-shrink: 0; /* 固定宽度，不伸缩 */
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.ad-box {
    width: 100%;
    /*height: 240px;*/
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    border-radius: 4px;
}
.ad-red {
    background-color: #ff2a3e; /* 红色广告背景 */
}
.ad-blue {
    background-color: #3bb4f2; /* 蓝色广告背景 */
}



/* ================= 内容页 (Detail Page) ================= */
.detail-wrapper {
    padding-bottom: 80px;
}

/* 内容页主体布局 */
.detail-content-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-top: 30px;
}

/* 左侧文章主体 */
.article-main {
    flex: 1;
    min-width: 0;
}

/* 文章标题 */
.article-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* 文章元信息（来源、时间） */
.article-meta {
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}
.article-meta span {
    margin-right: 30px;
}

/* 文章正文 */
.article-body {
    font-size: 15px;
    color: #444;
    line-height: 2;
    margin-bottom: 40px;
}
.article-body p {
    margin-bottom: 20px;
    text-indent: 2em; /* 首行缩进两个字符 */
}

/* 上一篇/下一篇 */
.article-prev-next {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 30px;
}
.prev-next-item {
    font-size: 14px;
    color: #666;
    max-width: 45%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s;
}
.prev-next-item:hover {
    color: #ff3b41;
}
.prev-next-item.next {
    text-align: right;
}

/* 底部横幅广告 */
.article-bottom-banner {
    margin-bottom: 50px;
}
.article-banner-link {
    display: block;
    border-radius: 50px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.article-banner-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 59, 65, 0.15);
}
.article-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* 内容页右侧侧边栏 */
.detail-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.detail-sidebar .ad-box {
    width: 100%;
    /*height: 220px;*/
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    border-radius: 4px;
    margin-bottom: 30px;
}

/* 相关推荐 */
.related-recommend {
    background-color: #fff;
    padding: 0;
}
.related-title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}
.related-title .red-bar {
    display: inline-block;
    width: 4px;
    height: 16px;
    background-color: #ff3b41;
    border-radius: 2px;
    margin-right: 10px;
}
.related-title h3 {
    font-size: 18px;
    font-weight: normal;
    color: #333;
    margin: 0;
}
.related-links a {
    display: block;
    font-size: 14px;
    color: #666;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    transition: color 0.3s, padding-left 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.related-links a:hover {
    color: #ff3b41;
    padding-left: 5px;
}




/* ================= 响应式媒体查询 ================= */

/* 当屏幕宽度小于 1024px（平板） */
@media (max-width: 1024px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        max-width: 100%;
        margin-bottom: 40px;
    }
    .hero-text h1 { font-size: 36px; }
    .hero-image-wrapper {
        width: 100%;
        max-width: 500px;
        height: auto;
        min-height: 300px;
        margin: 0 auto;
    }
    .tag-1 { top: 0; left: 0; }
    .tag-2 { top: 20px; right: 0; }
    .tag-3 { bottom: 40px; left: 0; }
    .tag-4 { bottom: 20px; right: 0; }

    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .solution-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: 1fr; column-gap: 0; }
    
    .process-steps { flex-wrap: wrap; justify-content: center; gap: 30px; }
    .step { width: 45%; }
    .connector { display: none; } /* 隐藏连接线，防止错位 */
    
    .express-logos { gap: 20px 30px; }
    .express-logo-item { width: 100px; height: 50px; }
    
    .footer-links-grid { grid-template-columns: repeat(4, 1fr); }
}


.mhidden{}


/* 当屏幕宽度小于 768px（手机） */
@media (max-width: 768px) {

.mhidden{display:none !important;}

        /* 显示汉堡按钮 */
        .menu-toggle {
            display: flex;
        }

        /* 隐藏原有的横向导航栏 */
        .nav-links {
            display: none;
        }

        /* 隐藏头部登录注册按钮（让手机端更清爽） */
        .header-actions .btn-login,
        .header-actions .btn-register {
            display: none;
        }
    
    /* 2. Banner 区域：隐藏右侧小房子和标签 */
    .hero-image-wrapper {
        display: none; /* 新增：隐藏右侧图片区域 */
    }
    
    /* 调整 Banner 左侧文字区域，让它在手机端居中显示 */
    .hero-text {
        max-width: 100%;
        text-align: center; /* 居中文字 */
        margin: 0 auto;
    }
    
    .hero-text h1 { 
        font-size: 28px; 
    }
    
    .hero-text p { 
        font-size: 14px; 
        margin-bottom: 30px; /* 稍微减小间距 */
    }
    
    .btn-primary { 
        padding: 12px 30px; 
        font-size: 16px; 
    }
    
    /* 3. 隐藏右侧悬浮工具栏 */
    .right-toolbar {
        display: none; /* 新增：隐藏悬浮工具栏 */
    }

    

    /* ====== 以下为保持页面其他部分在手机端的适配 ====== */
    .section-title h2 { font-size: 22px; }
    
    .features-grid { grid-template-columns: 1fr; gap: 10px;}
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid .bottom-info span:last-child{
        display: none;
    }
    
    .solution-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    
    .process-steps { flex-direction: column; align-items: center; gap: 40px; }
    .step { width: 100%; }

    /* ====== 平台图标栏：手机端居中排列 ====== */
    .platforms-list {
        justify-content: center; /* 关键：改为居中，解决第二行3个图标太散的问题 */
        gap: 15px 20px; /* 设置图标之间的水平和垂直间距 */
        padding: 0 10px; /* 防止贴边 */
    }

    .platforms-list img {
        max-height: 45px; /* 手机端图标稍微缩小一点，保持两行排列 */
    }

 /* ========================================= */
    /* ====== 下单流程：改为两列布局（图1样式） ====== */
    /* ========================================= */
    .process-steps {
        display: grid; /* 改为网格布局 */
        grid-template-columns: 1fr 1fr; /* 强制分为两列 */
        gap: 30px 10px; /* 行间距 30px，列间距 10px */
        padding: 0;
    }
    
    .step {
        width: 100%; /* 宽度由网格控制，设为100% */
        text-align: center;
    }

    /* 隐藏连接线 */
    .connector {
        display: none;
    }
    
    /* 调整文字大小 */
    .step-text h4 {
        font-size: 16px; /* 缩小标题 */
        margin-bottom: 5px;
    }
    
    .step-text h4 .num {
        font-size: 18px;
    }

    .step-text p {
        font-size: 12px; /* 缩小描述文字 */
        line-height: 1.4;
    }

    /* 调整圆形图标尺寸 */
    .step-icon-wrapper {
        width: 80px; /* 缩小圆 */
        height: 80px;
        margin-top: 10px; /* 文字和图标之间的距离 */
    }
    
    .step-icon img {
        width: 40px; /* 缩小内部图标 */
        height: 40px;
    }

    /* 底部按钮在手机端稍微缩小 */
    .process-btn-wrapper {
        margin-top: 40px;
    }
    .btn-process {
        padding: 12px 30px;
        font-size: 14px;
    }

    /* ====== 对接主流快递平台：改为两列布局 ====== */
        .express-logos {
            display: grid; /* 改为网格布局 */
            grid-template-columns: 1fr 1fr; /* 强制分成两列 */
            gap: 25px 10px; /* 行间距 25px，列间距 10px */
            max-width: 100%; /* 取消最大宽度限制 */
            padding: 0 10px;
        }

        .express-logo-item {
            width: 100%; /* 让每个 logo 块自动占满整列 */
            height: 50px; /* 设定一个合适的高度 */
        }


        /* ====== 手机端 CTA 按钮切换 ====== */
        .pc-banner {
            display: none; /* 隐藏电脑端的大图链接 */
        }
        
        .mobile-cta-btn {
            display: block; /* 显示手机端的按钮链接 */
        }


    .tabs { font-size: 14px; gap: 5px; }
    .tabs .divider { display: none; } 
    


     /* ====== 相关资讯：手机端隐藏时间，标题整行显示 ====== */
        .news-item {
            /* 两端对齐不需要了，改为左对齐 */
            justify-content: flex-start; 
            padding: 15px 0; /* 稍微减小上下内边距 */
        }

        .news-item span:first-child {
            /* 标题占满整行 */
            max-width: 100%; 
            width: 100%;
            font-size: 14px;
            /* 取消省略号，允许文字折行 */
            white-space: normal; 
            overflow: visible;
            text-overflow: clip;
        }

        .news-item span:last-child {
            /* 隐藏时间 */
            display: none; 
        }

        /* ====== 底部：隐藏友情链接和免责声明 ====== */
        footer{
            padding-top: 20px;
        }
        .footer-links-section {
            display: none; /* 隐藏友情链接区域 */
        }

        .disclaimer {
            display: none; /* 隐藏免责声明 */
        }

        /* 底部版权信息调整（可选，让居中更自然） */
        .footer-bottom {
            padding-top: 20px; /* 给顶部留一点空间，因为上面的友情链接没了 */
        }

        .copyright {
            margin-bottom: 0; /* 如果只剩一行，去掉下边距 */
        }

        /* ====== 手机端底部悬浮注册按钮 ====== */
        .mobile-bottom-cta {
            display: block;
            position: fixed; /* 固定定位 */
            bottom: 20px;     /* 距离底部 20px */
            left: 50%;        /* 水平居中定位起始 */
            transform: translateX(-50%); /* 精确水平居中 */
            z-index: 998;     /* 保证悬浮在内容之上，低于侧边栏和遮罩层 */
            width: 85%;       /* 宽度占屏幕的 85% */
            max-width: 400px; /* 最大宽度限制 */
            background: linear-gradient(90deg, #ff3b41 0%, #ff1a22 100%); /* 红色渐变 */
            color: #fff;
            font-size: 18px;
            font-weight: bold;
            text-align: center;
            padding: 15px 0;
            border-radius: 50px; /* 胶囊形状 */
            box-shadow: 0 6px 20px rgba(255, 59, 65, 0.4); /* 红色阴影，增加悬浮感 */
            transition: transform 0.3s, box-shadow 0.3s;
            /* 默认文字不换行 */
            white-space: nowrap; 
        }

        /* 点击时稍微变暗，产生交互感 */
        .mobile-bottom-cta:active {
            transform: translateX(-50%) scale(0.98);
            box-shadow: 0 4px 10px rgba(255, 59, 65, 0.3);
        }
        
        /******缩小间距********/
        .express-section, .process-section, .resources-section, .solution-section, .why-choose, .cta-section, .faq-section{
            padding: 30px 0;
        }




    /* ================= 列表页手机端适配 ================= */
    .list-wrapper {
        padding: 0px 0 60px;
    }
    
    .breadcrumb {
        font-size: 12px;
    }

    .list-content-layout {
        flex-direction: column; /* 改为上下堆叠 */
        gap: 30px;
    }

    .news-list-main {
        width: 100%;
    }

    .list-section-title h2 {
        font-size: 18px;
    }

    /* 资讯列表项 */
    .news-list-item {
        padding: 15px 0;
        justify-content: flex-start; /* 改为左对齐 */
    }
    .news-title {
        font-size: 14px;
        max-width: 100%; /* 标题占满整行 */
        width: 100%;
        white-space: normal; /* 允许标题折行，不再截断 */
        overflow: visible;
        text-overflow: clip;
    }
    .news-date {
        display: none; /* 隐藏时间 */
    }
    
    /* 分页 */
    .pagination {
        flex-wrap: wrap; /* 允许换行 */
        gap: 5px;
        margin-top: 30px;
    }
    .page-item {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
        padding: 0 6px;
    }

    /* 右侧广告位 */
    .list-sidebar {
        width: 100%;
        flex-direction: row; /* 手机端广告位横向排列 */
        gap: 15px;
    }
    .ad-box {
        /*height: 120px;*/ 
        font-size: 18px;
        flex: 1;
    }


    /* ================= 内容页手机端适配 ================= */
    .detail-wrapper {
        padding-bottom: 40px;
    }

    .detail-content-layout {
        flex-direction: column; /* 改为上下堆叠 */
        gap: 30px;
        margin-top: 20px;
    }

    .article-main {
        width: 100%;
    }

    .article-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .article-meta {
        font-size: 12px;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    .article-meta span {
        margin-right: 15px;
    }

    .article-body {
        font-size: 14px;
        line-height: 1.8;
    }
    .article-body p {
        text-indent: 2em;
        margin-bottom: 15px;
    }

    .article-prev-next {
        flex-direction: column; /* 上下两篇改为垂直排列 */
        gap: 10px;
        padding: 15px 0;
    }
    .prev-next-item {
        max-width: 100%;
        font-size: 13px;
    }
    .prev-next-item.next {
        text-align: left;
    }

    .article-bottom-banner {
        margin-bottom: 30px;
    }

    /* 内容页手机端：侧边栏改为普通块级布局 */
    .detail-sidebar {
        width: 100%;
        display: block; /* 关键：改为块级布局，不再用 flex 挤压子元素 */
    }
    
    .detail-sidebar .ad-box {
        /*height: 180px;*/ 
        font-size: 20px;
        margin-bottom: 20px; /* 用 margin 分隔广告位，代替 flex 的 gap */
    }
    
    /* 最后一个广告位不需要底部间距 */
    .detail-sidebar .ad-box:last-of-type {
        margin-bottom: 0;
    }
    
    .related-title h3 {
        font-size: 16px;
    }
    .related-links a {
        font-size: 13px;
        padding: 8px 0;
    }



}