@charset "utf-8";
/*
Theme ID: sansan6
Author: 懒鸟飞移植
Author QQ：1430826160
Author Email：1430826160@qq.com
Author URL: http://www.lanniaofei.com/
*/

/* ============================================================
   一、基础重置与通用工具
   ============================================================ */
* {
    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; }

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

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

/* 通用隐藏类 */
.mhidden {}
.mobile-cta-btn { display: none; }

/* 手机端隐藏 .mhidden 元素、PC端大图，显示手机端按钮 */
@media (max-width: 768px) {
    .mhidden { display: none !important; }
    
    /* 手机端 CTA 按钮切换 */
    .pc-banner {
        display: none !important; /* 隐藏电脑端的大图链接 */
    }
        .mobile-cta-btn {
        display: block;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        background: linear-gradient(90deg, #ff6600 0%, #ff8533 100%); 
        color: #fff;
        font-size: 18px;
        font-weight: bold;
        padding: 16px 0;
        border-radius: 50px;
        text-align: center;
        box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4); 
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .mobile-cta-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(46, 158, 91, 0.4);
    }
}

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

/* 通用按钮 */
.btn-blue {
    display: inline-block;
    background: linear-gradient(90deg, #ff6600 0%, #ff8533 100%); /* 改为橙色渐变 */
    color: #fff;
    padding: 14px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}
.btn-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 158, 91, 0.4);
}


/* ============================================================
   二、页面头部（双层结构）
   ============================================================ */
header {
    position: relative;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
}

/* --- 第一层：Logo与搜索 --- */
.header-top {
    padding: 15px 0;
}
.header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo-text {
    font-size: 26px;
    font-weight: bold;
    color: #ff6600;
    letter-spacing: 1px;
}

/* 搜索框 */
.header-search {
    flex: 1;
    max-width: 300px;
    margin: 0 40px;
}
.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #ff6600;
    border-radius: 25px;
    padding: 2px 2px 2px 20px;
    background-color: #fff;
}
.search-placeholder {
    flex: 1;
    font-size: 14px;
    color: #ff6600;
}
.search-btn {
    background-color: #ff6600;
    color: #fff;
    padding: 8px 25px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s;
}
.search-btn:hover {
    background-color: #cc5200;
}

/* 登录注册按钮 */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.btn-login {
    color: #ff6600;
    border: 1px solid #ff6600;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    background: #fff;
    transition: all 0.3s ease;
}
.btn-login:hover { background: #fff5eb; }

.btn-register {
    background: #ff6600;
    color: #fff;
    padding: 7px 20px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    border: none;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-register:hover { background: #cc5200; }


/* --- 第二层：分类与导航 --- */
.header-nav-inner {
    display: flex;
    align-items: flex-end; /* 底部对齐 */
    height: 50px; 
    /* 关键1：移除右侧 padding 限制，让 all-categories 和 hero 左侧对齐 */
    padding-left: 20px; /* 保持与 container 默认 padding 一致 */
    padding-right: 20px;
}

/* “所有分类”按钮 */
.all-categories {
    background-color: #ff6600;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    height: 50px;
    padding: 0 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 200px;
    cursor: pointer;
    border-radius: 10px 10px 0 0;
    box-sizing: border-box;
    margin-left: -20px; /* 关键2：抵消 container 的 padding-left，让按钮和下面的列表左对齐 */
}
.menu-icon { margin-right: 5px; }

/* 主导航链接 */
.nav-links {
    display: flex;
    gap: 65px;
    margin-left: 80px;
    padding-bottom: 18px; /* 关键：增加底部留白，让文字往上抬 */
    align-items: center;  /* 确保文字垂直居中 */
}

.nav-links a {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    transition: color 0.3s;
    /* 如果需要文字稍微往下沉一点，让底部对齐更好看，可以加一点 padding-top */
    padding-top: 5px; 
}
.nav-links a:hover, .nav-links a.active {
    color: #ff6600;
}

/* ============================================================
   移动端导航专属样式（汉堡按钮 + 侧滑抽屉）
   ============================================================ */
/* 汉堡按钮 */
.menu-toggle {
    display: none; /* 默认PC端隐藏 */
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
    margin-left: auto;
}
.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    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: #ff6600; }

/* 抽屉链接列表 */
.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: #fff5eb; /* 浅橙底色 */
    color: #ff6600;            /* 橙色文字 */
    padding-left: 30px;        /* 悬停缩进 */
}

/* 手机端显示控制 */
@media (max-width: 768px) {
    .header-search, .header-actions, .header-nav { 
        display: none; /* 手机端隐藏搜索、登录注册和分类导航 */
    }
    .menu-toggle { 
        display: flex; /* 显示汉堡按钮 */
    }
}






/* ============================================================
   列表页专属单层导航 (list.php)
   ============================================================ */
.list-page-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 70px; /* 单层高度稍微紧凑一点 */
}

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

/* 列表页导航链接居中，并清除首页的偏移 */
.list-page-header .nav-links {
    display: flex;
    gap: 40px;
    margin-left: 0;      /* 覆盖首页的左偏移 */
    padding-bottom: 0;   /* 覆盖首页的底部内边距 */
    flex: 1;
    justify-content: center; /* 让导航链接整体居中 */
}

.list-page-header .nav-links a {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    transition: color 0.3s;
}

.list-page-header .nav-links a:hover,
.list-page-header .nav-links a.active {
    color: #ff6600;
}

/* 手机端适配 */
@media (max-width: 768px) {
    .list-page-header {
        height: 60px;
    }
    /* 列表页的手机端导航同样复用全局的隐藏/显示逻辑 */
}









/* ============================================================
   四、Banner 内容区
   ============================================================ */
/* Banner 区域 */
.hero-section {
    background-image: url('../images/banner-bg.png'); 
    background-size: cover;
    background-position: center;
    background-color: #ff6600;
    position: relative;
    overflow: hidden;
    padding-top: 0; 
    padding-bottom: 0; /* 关键3：去掉底部 padding，让菜单贴底 */
}

/* 右侧隐约的同心圆装饰 */
.hero-decor-circle {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 0 80px rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

/* Banner 内部容器 */
.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch; 
    position: relative;
    z-index: 2;
    padding: 0; /* 关键4：清空 container 默认的左右 padding，由我们手动控制 */
}
.container-full-left {
    padding-right: 20px;
    padding-left: 0; /* 左侧不留白，让深色菜单靠边 */
}
.hero-main, .hero-user-card {
    margin-left: 30px; /* 让中间文字距离左侧菜单远一点 */
}

/* 左侧常驻分类菜单 */
.category-menu {
    width: 200px; 
    background-color: #5a230b; 
    /* 去掉底部圆角，让它像设计图一样直接贴到底部 */
    border-radius: 0; 
    padding: 0; /* 去掉内边距，让高度自动撑开 */
    margin: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 垂直居中内容 */
}
.category-menu ul {
    margin: 0;
    padding: 0;
}

.category-menu ul li a {
    display: flex;
    align-items: center;
    padding: 12px 20px 12px 35px; 
    color: #fff;
    font-size: 15px;
    transition: all 0.3s;
}

/* 图标样式 */
.category-menu ul li a i {
    margin-right: 12px; 
    font-size: 18px;    
    width: 22px;        
    text-align: center;
}

.category-menu ul li a:hover {
    background-color: #ff6600; 
}

/* 中间主内容 */
.hero-main {
    flex: 1;
    padding: 80px 50px; /* 调整内边距，让中间内容不显得太挤 */
    color: #fff;
}

/* 保持原有的文字和图标大小不变 */
.hero-main h1 {
    font-size: 46px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 2px;
}
.hero-subtitle {
    font-size: 22px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    font-weight: 500;
}
/* 平台图标 */
.hero-platforms {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}
.hero-platforms img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
}

/* 白色按钮 */
.btn-hero-white {
    display: inline-block;
    background-color: #fff;
    color: #ff6600;
    padding: 5px 30px;
    border-radius: 30px;
    font-size: 18px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}
.btn-hero-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* 右侧用户卡片 */
.hero-user-card {
    width: 240px;
    background-color: #fff;
    border-radius: 12px;
    padding: 30px 20px 0;
    margin-top: 60px; /* 往下沉一点 */
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
    height: fit-content;
}
.user-avatar {
    width: 64px;
    height: 64px;
    background-color: #fff5eb;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.user-avatar svg {
    width: 36px;
    height: 36px;
}
.greeting {
    font-size: 16px;
    color: #333;
    margin-bottom: 25px;
}
.user-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}
.btn-card-outline, .btn-card-fill {
    flex: 1;
    padding: 8px 0;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}
.btn-card-outline {
    color: #ff6600;
    border: 1px solid #ff6600;
}
.btn-card-outline:hover { background-color: #fff5eb; }

.btn-card-fill {
    background-color: #ff6600;
    color: #fff;
    border: 1px solid #ff6600;
}
.btn-card-fill:hover { background-color: #cc5200; }

.user-links {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #f0f0f0;
    padding: 15px 10px;
}
.user-links a {
    font-size: 13px;
    color: #666;
}
.user-links a:hover { color: #ff6600; }


/* --- 移动端适配 --- */
@media (max-width: 768px) {
    .header-search, .header-actions { display: none; }
    .header-nav { display: none !important; } 
    
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        cursor: pointer;
        margin-left: auto;
    }
    .menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #333;
        border-radius: 2px;
    }

    /* Banner 手机端简化 */
    .hero-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .category-menu, .hero-user-card {
        display: none; /* 手机端隐藏左侧菜单和右侧卡片 */
    }
    .hero-main {
        padding: 30px 0;
    }
    .hero-main h1 { font-size: 30px; }
    .hero-subtitle { font-size: 16px; }
    .hero-platforms { justify-content: center; flex-wrap: wrap;}
    .hero-platforms img { width: 35px; height: 35px; }
}



/* ================= 快捷入口板块 ================= */
.quick-entry-section {
    padding: 30px 0; /* 上下留白 */
    background-color: #fff;
}

.quick-entry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4列等宽 */
    gap: 20px;
}

.entry-card {
    display: block;
    position: relative;
    border-radius: 12px;
    /* 调整内边距：右边留出更多空间给图标，上下稍微缩小一点让排版更紧凑 */
    padding: 25px 20px; 
    overflow: hidden; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    /* 关键：背景图自适应调整 */
    background-repeat: no-repeat;
    background-position: right bottom; /* 图标靠右下角 */
    background-size: auto 100%; /* 高度撑满卡片，宽度自动缩放 */
}

.entry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* 文字容器 */
.entry-text {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 60%; /* 关键：文字最多占60%宽度，把右边让给图标 */
}

.entry-text h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.entry-text p {
    font-size: 14px;
    margin-bottom: 20px;
    color: #666;
}

/* 按钮胶囊 */
.entry-btn {
    display: inline-block;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid transparent;
    transition: all 0.3s;
}

/* --- 各个卡片的背景色、文字颜色和占位图设置 --- */

/* 卡片1：粉红 */
.card-pink {
    background-color: #ffebeb;
    /* 请在这里替换你的背景图路径，下同 */
     background-image: url('../images/entry-bg1.png'); 
}
.card-pink .entry-text h3 { color: #333; }
.card-pink .entry-text p { color: #666; }
.card-pink .entry-btn { color: #ff3b30; border-color: #ff3b30; }
.card-pink:hover .entry-btn { background-color: #ff3b30; color: #fff; }

/* 卡片2：黄绿 */
.card-yellow {
    background-color: #f9faeb;
    background-image: url('../images/entry-bg2.png'); 
}
.card-yellow .entry-text h3 { color: #333; }
.card-yellow .entry-text p { color: #666; }
.card-yellow .entry-btn { color: #a4c639; border-color: #a4c639; }
.card-yellow:hover .entry-btn { background-color: #a4c639; color: #fff; }

/* 卡片3：浅橙 */
.card-orange {
    background-color: #fff0e6;
    background-image: url('../images/entry-bg3.png'); 
}
.card-orange .entry-text h3 { color: #333; }
.card-orange .entry-text p { color: #666; }
.card-orange .entry-btn { color: #ff6600; border-color: #ff6600; }
.card-orange:hover .entry-btn { background-color: #ff6600; color: #fff; }

/* 卡片4：浅蓝 */
.card-blue {
    background-color: #eef5fc;
    background-image: url('../images/entry-bg4.png'); 
}
.card-blue .entry-text h3 { color: #333; }
.card-blue .entry-text p { color: #666; }
.card-blue .entry-btn { color: #3b82f6; border-color: #3b82f6; }
.card-blue:hover .entry-btn { background-color: #3b82f6; color: #fff; }


/* 平板端适配 */
@media (max-width: 1024px) {
    .quick-entry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 手机端适配 */
@media (max-width: 768px) {
    .quick-entry-section { padding: 20px 0; }
    .quick-entry-grid { grid-template-columns: 1fr; gap: 15px; }
    .entry-card { padding: 20px 15px; }
    .entry-text h3 { font-size: 18px; }
    .entry-text p { margin-bottom: 15px; }
}




/* ================= 新品上架板块 ================= */
.new-arrival-section {
    padding: 40px 0;
    background-color: #fff;
}

/* 左对齐标题 */
.section-title-left {
    margin-bottom: 25px;
}
.section-title-left h2 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

/* 覆盖/微调新品卡片的文字样式 */
.new-arrival-section .product-card .info {
    padding: 15px 0 0 0; /* 去掉左右 padding，让文字与图片左边缘对齐 */
}

.new-arrival-section .product-card .info h4 {
    font-size: 14px;
    color: #666; /* 文字颜色偏灰，符合设计图 */
    margin-bottom: 0;
    font-weight: normal;
}

/* 鼠标悬停时标题变橙色（可选） */
.new-arrival-section .product-card:hover .info h4 {
    color: #ff6600;
}



/* ================= 新品上架板块（简化交互） ================= */
/* 1. 取消整个卡片的悬停浮动和阴影 */
.new-arrival-section .product-card:hover {
    transform: none; /* 取消上浮 */
    box-shadow: none; /* 取消阴影 */
}

/* 2. 确保鼠标经过图片时没有任何放大或其他特效（如果主样式里有的话） */
.new-arrival-section .product-card:hover .product-img {
    transform: none; 
}

/* 3. 只有文字标题在悬停时变色 */
.new-arrival-section .product-card .info h4 a {
    transition: color 0.3s ease;
    color: #666; /* 默认文字颜色 */
}

.new-arrival-section .product-card .info h4 a:hover {
    color: #ff6600; /* 悬停时变成主题橙色 */
}





/* ============================================================
   热销礼品展示板块
   ============================================================ */
.resources-section {
    padding: 40px 0;
    background-color: #f7f7f7; /* 关键：整个大板块改为浅灰背景 */
}

/* 1. 顶部标题与查看更多 */
.section-title-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
}
.section-title-flex h2 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0;
}
.view-more {
    font-size: 14px;
    color: #666;
}
.view-more:hover {
    color: #ff6600;
}

/* 2. 筛选区块 */
.filter-box {
    background-color: #fff; /* 关键：筛选框改为纯白背景 */
    border-radius: 8px;
    padding: 20px 30px;
    margin-bottom: 30px;
    /* 因为大背景是浅灰，加一点极淡的阴影可以让白框更有立体感，如果不想要可以删掉这行 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03); 
}
.filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 14px;
    margin-bottom: 10px;
}
.filter-row:last-child {
    margin-bottom: 0;
}
.filter-label {
    color: #ff6600; /* 关键：标题文字改为橙色 */
    width: 80px; 
    flex-shrink: 0;
    font-weight: 500; /* 稍微加粗一点点，让橙色文字更清晰 */
}
.filter-row a {
    color: #333;
    margin-right: 20px;
    text-decoration: none;
}
.filter-row a:hover {
    color: #ff6600;
}
.filter-row a.active {
    color: #ff6600;
    font-weight: bold;
}

/* 3. 商品卡片 (复用之前的，稍微修改颜色) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}
.product-card {
    background-color: #fff;
    overflow: hidden;
    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%;
}
.product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    border: 1px solid #f0f0f0; /* 浅色边框 */
}
.product-card .info { padding: 15px 15px; text-align: left; }
.product-card .info h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    font-weight: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-card .price {
    font-size: 18px;
    color: #ff6600; /* 价格变成橙色 */
    font-weight: bold;
    margin-bottom: 0;
}
.product-card .bottom-info {
    font-size: 12px;
    color: #999;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 手机端适配 */
@media (max-width: 768px) {
    .section-title-flex h2 { font-size: 22px; }
    .filter-box { padding: 15px; }
    .filter-label { width: 100%; margin-bottom: 5px; } /* 手机端标签独占一行 */
    .filter-row a { margin-right: 15px; margin-bottom: 5px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid .bottom-info span:last-child { display: none; } /* 隐藏仓库信息 */
}




/* ================= 关于代发旺达礼品网板块 ================= */
.about-section {
    padding: 60px 0;
    background-color: #fff;
}

.about-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 25px;
    text-align: left;
}

/* 整体卡片 */
.about-card {
    background-color: #f8f9fa; /* 极浅的灰底色 */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03); /* 微微的阴影 */
}

/* 顶部橙色栏 */
.about-card-header {
    background: linear-gradient(90deg, #ff6600 0%, #ff8533 100%);
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 40px;
    position: relative;
    overflow: hidden;
}

.about-card-header span {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

/* 右侧半透明圆环装饰 */
.about-decor-circle {
    position: absolute;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.15); /* 半透明白色边框 */
}

.about-decor-circle.c1 {
    width: 120px;
    height: 120px;
    right: 100px;
    top: -30px;
}

.about-decor-circle.c2 {
    width: 180px;
    height: 180px;
    right: -40px;
    top: -60px;
    border-width: 8px;
}

/* 文字内容区 */
.about-card-body {
    padding: 35px 40px 40px;
}

.about-card-body p {
    font-size: 14px;
    color: #555;
    line-height: 2; /* 行高调大，增加阅读舒适度 */
    margin-bottom: 20px;
    text-align: justify; /* 两端对齐，让文字排版更整齐 */
}

.about-card-body p:last-child {
    margin-bottom: 0;
}

/* 手机端适配 */
@media (max-width: 768px) {
    .about-section { padding: 30px 0; }
    .about-title { font-size: 22px; margin-bottom: 15px; }
    .about-card-header { height: 50px; padding: 0 20px; }
    .about-card-body { padding: 20px; }
    .about-card-body p { font-size: 13px; line-height: 1.8; }
}



/* ================= 旺达礼品网服务类型板块 ================= */
.service-type-section {
    padding: 40px 0 60px;
    background-color: #fff;
}

/* 左对齐标题（复用之前的样式） */
.service-type-section .section-title-left {
    margin-bottom: 25px;
}
.service-type-section .section-title-left {
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

/* 4列网格布局 */
.service-type-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* 单个服务卡片 */
.service-card {
    background-color: #f9f9f9; /* 浅灰底色 */
    border-radius: 16px; /* 圆角 */
    padding: 35px 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05); /* 悬停微阴影 */
}

/* 卡片标题（橙色） */
.service-card h3 {
    font-size: 20px;
    font-weight: bold;
    color: #ff6600; /* 橙色文字 */
    margin-bottom: 15px;
}

/* 卡片正文 */
.service-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* 平板端适配 */
@media (max-width: 1024px) {
    .service-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 手机端适配 */
@media (max-width: 768px) {
    .service-type-section { padding: 30px 0; }
    .service-type-section .section-title-left { font-size: 22px; }
    .service-type-grid { grid-template-columns: 1fr; gap: 15px; }
    .service-card { padding: 25px 20px; }
    .service-card h3 { font-size: 18px; }
    .service-card p { font-size: 13px; }
}









/* ============================================================
   对接主流快递平台板块
   ============================================================ */
.express-section { 
    padding: 20px 0 40px; /* 调整上下间距 */
}

/* 左对齐标题 */
.express-section .section-title-left {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

/* 浅灰色背景卡片 */
.express-card {
    background-color: #f9f9f9; /* 关键：改为浅灰背景 */
    border-radius: 12px;       /* 圆角稍微缩小 */
    padding: 40px 40px;
    margin: 0 auto;
    width: 100%;               /* 撑满容器 */
}

/* 快递 Logo 网格 */
.express-logos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px 20px;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.express-logo-item {
    width: 100%;
    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;
}

/* 手机端适配 */
@media (max-width: 768px) {
    .express-section { padding: 30px 0; }
    .express-section .section-title-left { font-size: 22px; }
    .express-card { padding: 25px 15px; border-radius: 8px; }
    .express-logos { grid-template-columns: repeat(2, 1fr); gap: 25px 10px; }
    .express-logo-item { width: 100%; height: 50px; }
}







/* ============================================================
   了解旺达礼品网（常见问题）
   ============================================================ */
.faq-section { 
    padding: 40px 0 60px; 
    background-color: #fff;
}

/* 左对齐标题（确保有这段） */
.section-title-left {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 25px;
}

/* 3列网格布局 */
.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: 15px;
    font-weight: bold;
}

/* 描述文字（稍浅的灰色） */
.faq-item p {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* 平板端适配 */
@media (max-width: 1024px) {
    .faq-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 手机端适配 */
@media (max-width: 768px) {
    .faq-section { padding: 30px 0; }
    .section-title-left { font-size: 22px; }
    .faq-grid { grid-template-columns: 1fr; }
}





/* ============================================================
   十三、小礼品代发相关资讯
   ============================================================ */
.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;
}
.news-item:hover span:first-child { color: #ff6e1d; }
.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; }

/* 平板端适配 */
@media (max-width: 1024px) {
    .news-grid { grid-template-columns: 1fr; column-gap: 0; }
    .news-section { padding-bottom: 40px; }
}

/* 手机端适配 */
@media (max-width: 768px) {
    .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; }
    .news-item:nth-child(n+11) { display: none; }
}


/* ============================================================
   十四、页面底部 Footer
   ============================================================ */
footer { background-color: #000; color: #999; padding: 30px 0 30px; font-size: 14px; }
.footer-links-section { margin-bottom: 10px; }
.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;
}
.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 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left; /* 取消原来的居中 */
    padding-top: 10px;
    padding-bottom: 10px;
}


/* 右侧备案信息 */
.copyright {
    font-size: 13px;
    color: #888;
    margin: 0;
}
.copyright a {
    color: #888;
    text-decoration: none; /* 设计图没有下划线 */
}
.copyright a:hover { 
    color: #fff; /* 悬停变白 */
}
/* 左侧免责声明 */
.disclaimer {
    font-size: 13px;
    color: #888; /* 设计图颜色偏灰 */
    line-height: 1.8;
    margin: 0;
}

/* 平板端适配 */
@media (max-width: 1024px) {
    .footer-links-grid { grid-template-columns: repeat(4, 1fr); }
}

/* 手机端适配 */
@media (max-width: 768px) {
    footer { padding-top: 20px; }
    .footer-links-section { display: none; }
    .disclaimer { display: none; }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .copyright { margin-bottom: 0; }
}


/* ============================================================
   十五、手机端底部悬浮注册按钮
   ============================================================ */
.mobile-bottom-cta { display: none; }

@media (max-width: 768px) {
        /* ====== 手机端底部悬浮注册按钮 ====== */
    .mobile-bottom-cta {
        display: block;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 998;
        width: 85%;
        max-width: 400px;
        background: linear-gradient(90deg, #ff6600 0%, #ff8533 100%);
        color: #fff;
        font-size: 18px;
        font-weight: bold;
        text-align: center;
        padding: 10px 0;
        border-radius: 50px;
        box-shadow: 0 6px 20px rgba(255, 102, 0, 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(46, 158, 91, 0.3);
    }
}


/* ============================================================
   右侧悬浮工具栏
   ============================================================ */
.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 #ff6600; /* 关键：边框改为橙色 */
    border-radius: 45px;
    padding: 20px 0;
    /* 设计图没有明显的发光阴影，这里去掉或改为极弱的阴影 */
    box-shadow: 0 4px 10px rgba(255, 102, 0, 0.05); 
    width: 90px;
}

.toolbar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 0;
    width: 100%;
    text-decoration: none;
    color: #333; /* 文字颜色保持深灰 */
    font-size: 13px;
    transition: all 0.3s ease;
}

.toolbar-item:hover { 
    color: #ff6600; /* 悬停文字变橙色 */
    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: #cc5200; 
}

/* 手机端隐藏悬浮工具栏 */
@media (max-width: 768px) {
    .right-toolbar { display: none; }
}


/* ============================================================
   十七、列表页 (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: #ff6e1d; }
.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; }

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

.news-list-items {}
.news-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s;
    padding-bottom: 18px;
    margin-bottom: 18px;
}
.news-list-item:hover {
    background-color: #fcfcfc;
    padding-left: 10px;
}
.news-list-item:hover .news-title { color: #ff6e1d; }
.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: #ff6e1d; color: #ff6e1d; }
.page-item.active {
    background-color: #ff6e1d;
    border-color: #ff6e1d;
    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%;
    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; }

/* 手机端列表页适配 */
@media (max-width: 768px) {
    .list-wrapper { padding: 0 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; }
}


/* ============================================================
   十八、内容页 (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: #ff6e1d; }
.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%;
    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: #ff6e1d;
    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: #ff6e1d; padding-left: 5px; }

/* 手机端内容页适配 */
@media (max-width: 768px) {
    .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; }
    .detail-sidebar .ad-box { font-size: 20px; margin-bottom: 20px; }
    .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; }
}