/* ===== 全局精简基础样式 ===== */
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:Helvetica Neue,Arial,PingFang SC,Microsoft YaHei,sans-serif;color:#333;background:#f5f7fa;line-height:1.6;padding-bottom:60px}
.container{width:100%;max-width:1200px;margin:0 auto;padding:0 15px}
ul{list-style:none}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}

/* ===== 头部导航 ===== */
header{background:#fff;box-shadow:0 2px 4px rgba(0,0,0,.08);position:sticky;top:0;z-index:50}
.header-content{display:flex;justify-content:space-between;align-items:center;padding:15px 0}
.logo{height:50px}
.desktop-nav ul{display:flex;gap:20px}
.nav-item{position:relative}
.nav-link{color:#2d3748;font-weight:500}
.nav-link:hover{color:#3182ce}
.nav-item.has-children > a::after{content:"\f078";font-family:"Font Awesome 6 Free";font-weight:900;font-size:12px;margin-left:5px}
.dropdown-menu{position:absolute;top:100%;left:0;min-width:200px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.1);border-radius:4px;opacity:0;visibility:hidden;padding:10px 0}
.nav-item:hover .dropdown-menu{opacity:1;visibility:visible}
.dropdown-menu a{display:block;padding:8px 20px}
.dropdown-menu a:hover{background:#f5f5f5}

/* ===== 移动端菜单【滚动修复】 ===== */
.mobile-menu-btn{display:none;background:none;border:none;font-size:24px;color:#2d3748;cursor:pointer}
.nav-menu{
    position:fixed;
    top:0;
    right:0;
    width:85%;
    max-width:300px;
    height:100vh;
    max-height: calc(100vh - 70px);
    background:#fff;
    z-index:100;
    transform:translateX(100%);
    transition:.3s;
    box-shadow:-3px 0 10px rgba(0,0,0,.1);
    padding:80px 20px 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.nav-menu.show{transform:translateX(0)}
.overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:99;opacity:0;visibility:hidden;transition:.3s}
.overlay.show{opacity:1;visibility:visible}
.mobile-menu-close{position:absolute;top:20px;right:20px;border:none;background:none;font-size:24px;cursor:pointer}
.mobile-nav{padding-bottom:20px;}
.mobile-nav-item{border-bottom:1px solid #eee}
.mobile-nav-item > a{display:flex;justify-content:space-between;align-items:center;padding:15px 0;color:#2d3748}
.mobile-nav-item > a::after{content:"\f054";font-family:"Font Awesome 6 Free";font-weight:900;font-size:14px}
.mobile-subnav{display:none;padding-left:15px}
.mobile-subnav a{display:block;padding:12px 0;color:#666}

/* ===== 轮播横幅 ===== */
.hero-slider{height:500px;position:relative;overflow:hidden}
.hero-slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity 1s}
.hero-slide.active{opacity:1}
.hero-content{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#fff;text-align:center;padding:0 20px;z-index:3}
.hero-title{font-size:2.5rem;margin-bottom:20px;text-shadow:0 2px 4px rgba(0,0,0,.5)}
.hero-subtitle{font-size:1.25rem;margin-bottom:30px;text-shadow:0 2px 4px rgba(0,0,0,.5)}
.cta-button{background:#3182ce;color:#fff;padding:12px 30px;border-radius:50px;font-weight:500;display:inline-flex;align-items:center}
.cta-button:hover{background:#dd6b20}
.cta-button i{margin-right:8px}

/* ========== 页面通用通栏Banner（所有内页共用） ========== */
.banner{
    /* 渐变底色，可自行替换background-image:url(图片) */
    background:linear-gradient(135deg,#007bff,#28a745);
    color:#fff;
    padding:60px 0;
    text-align:center;
    margin-bottom:40px;
}
.banner .banner-title{
    font-size:2.5rem;
    margin-bottom:15px;
    font-weight:700;
}
.banner .banner-subtitle{
    font-size:1.2rem;
    opacity:0.9;
}

/* ========== 关于页面内容区块 ========== */
.about-section {
    padding: 60px 0;
}
.about-section .content{
    line-height:1.8;
    font-size:16px;
    color:#333;
}
/* 内容内图片自适应，排版优化 */
.about-section .content img{
    max-width:100%;
    height:auto;
    border-radius:6px;
    margin:15px auto;
    display:block;
}
.about-section .content p{
    margin-bottom:16px;
}

/* ========== 全局通用标题样式（复用首页title-line，统一风格） ========== */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}
.title-line {
    width: 80px;
    height: 3px;
    background-color: #3182ce;
    margin: 0 auto;
}

/* ====================== 产品列表页面样式 ====================== */
/* 分类筛选标签 */
.category-tabs {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
    gap: 10px;
}
.category-tab {
    display: inline-block;
    padding: 10px 20px;
    background: #e2e8f0;
    border-radius: 50px;
    font-weight: 500;
    transition: 0.2s ease;
    color: #333;
}
.category-tab.active,
.category-tab:hover {
    background: #3182ce;
    color: #fff;
}

/* 产品网格布局 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}
.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* 产品图片区域 */
.product-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.product-card:hover .product-image img {
    transform: scale(1.03);
}

/* 商品角标 */
.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ed8936;
    color: #fff;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 14px;
}

/* 产品文字信息 */
.product-details {
    padding: 20px;
}
.product-name {
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
}
.product-name a {
    color: inherit;
}
.product-desc {
    color: #718096;
    margin-bottom: 20px;
    line-height: 1.6;
}
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.product-price {
    color: #ed8936;
    font-weight: 700;
    font-size: 20px;
}

/* 查看详情按钮 */
.buy-button {
    display: inline-block;
    background: #3182ce;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.2s ease;
}
.buy-button:hover {
    background: #2c5282;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 40px 0;
}
.pagination .page-link {
    padding: 8px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    color: #333;
    transition: 0.2s;
}
.pagination .page-link:hover {
    background: #3182ce;
    color: #fff;
    border-color: #3182ce;
}
.pagination .current {
    background: #3182ce;
    color: #fff;
    border-color: #3182ce;
}

/* 无数据提示 */
.empty-tips {
    color: #718096;
    padding: 40px 0;
    font-size: 16px;
}

/* 服务优势四宫格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 60px 0 20px;
}
.feature-item {
    text-align: center;
    padding: 25px 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.feature-icon {
    font-size: 32px;
    color: #3182ce;
    margin-bottom: 12px;
}
.feature-title {
    font-size: 18px;
    color: #2d3748;
    margin-bottom: 8px;
}
.feature-item p {
    color: #718096;
    line-height: 1.6;
}

/* ====================== 产品详情页样式 ====================== */
/* 面包屑 */
.breadcrumb-container {
    padding: 15px 0;
    font-size: 14px;
    color: #718096;
    overflow-x: auto;
    white-space: nowrap;
}
.breadcrumb-container a {
    color: #3182ce;
}
.breadcrumb-container a:hover {
    text-decoration: underline;
}

/* 详情主体左右布局 */
.product-detail {
    display: flex;
    gap: 40px;
    margin: 30px 0 60px;
}
.product-gallery,
.product-info {
    flex: 1;
}

/* 图片预览区域 */
.main-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.main-image img {
    width: 100%;
    display: block;
}
.thumbnail-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}
.thumbnail {
    width: 70px;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid transparent;
    flex-shrink: 0;
    cursor: pointer;
}
.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.thumbnail.active,
.thumbnail:hover {
    border-color: #3182ce;
}

/* 产品信息文字 */
.product-title {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}
.product-subtitle {
    color: #718096;
    margin-bottom: 20px;
}
.product-meta {
    margin-bottom: 35px;
}
.meta-item {
    display: flex;
    margin-bottom: 12px;
}
.meta-label {
    width: 100px;
    color: #718096;
    flex-shrink: 0;
}
.meta-value {
    color: #2d3748;
    font-weight: 500;
}

/* 立即预订按钮（加大加宽） */
.action-buttons {
    margin-top: 10px;
}
.buy-now {
    display: inline-block;
    background: #ed8936;
    color: #fff;
    padding: 16px 45px;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    transition: background 0.2s ease;
}
.buy-now:hover {
    background: #dd6b20;
}

/* Tab标签切换区域 */
.product-tabs {
    margin-top: 60px;
}
.tab-header {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 20px;
    overflow-x: auto;
    white-space: nowrap;
}
.tab-btn {
    padding: 12px 22px;
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: #718096;
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
}
.tab-btn.active {
    color: #3182ce;
}
.tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #3182ce;
}
.tab-content {
    padding: 20px 0;
    line-height: 1.8;
    color: #333;
    display: none;
}
.tab-content.active {
    display: block;
}

/* 详情内富文本、表格通用样式 */
.tab-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2d3748;
}
.tab-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}
.tab-content td {
    padding: 10px;
    border: 1px solid #e2e8f0;
}
.tab-content img {
    max-width: 100%;
    height: auto;
    margin: 10px auto;
    display: block;
}
.tab-content p {
    margin-bottom: 12px;
}

/* ====================== 新闻列表 newslist 样式 ====================== */
.section {
    padding: 40px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}
.title-line {
    width: 80px;
    height: 3px;
    background: #3182ce;
    margin: 0 auto;
}

.news-container {
    max-width: 900px;
    margin: 0 auto;
}
.news-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    padding: 25px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.news-date {
    color: #3182ce;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}
.news-title {
    font-size: 24px;
    font-weight: 600;
    color: #2d3748;
    line-height: 1.3;
    margin-bottom: 15px;
}
.news-title a {
    color: inherit;
    text-decoration: none;
}
/* 文章标签角标 */
.tag {
    font-size: 13px;
    padding: 2px 6px;
    border-radius: 3px;
    color: #fff;
    margin-left: 6px;
}
.tag-top { background: #e53e3e; }
.tag-rec { background: #dd6b20; }
.tag-hot { background: #3182ce; }

.news-excerpt {
    color: #718096;
    margin-bottom: 20px;
    line-height: 1.6;
}
.read-more {
    display: inline-flex;
    align-items: center;
    color: #3182ce;
    font-weight: 500;
    text-decoration: none;
}
.read-more i {
    margin-left: 5px;
    transition: transform 0.2s;
}
.read-more:hover {
    color: #2c5282;
}
.read-more:hover i {
    transform: translateX(3px);
}

/* 分页 */
.pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}
.page-numbers {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.page-btn,
.page-numbers .current {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    border: 1px solid #e2e8f0;
}
.page-btn.page-pre,
.page-btn.page-next {
    width: auto;
    padding: 0 14px;
}
.page-btn:hover,
.page-numbers .current {
    background: #3182ce;
    color: #fff;
    border-color: #3182ce;
}
.empty-tips {
    text-align: center;
    padding: 40px 0;
    color: #718096;
}

/* ====================== 新闻详情 news 样式 ====================== */
.news-detail {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 40px;
    margin-bottom: 60px;
}
.news-title {
    font-size: 28px;
    color: #2d3748;
    line-height: 1.4;
    margin-bottom: 20px;
}
.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #718096;
    margin-bottom: 30px;
}
.meta-item {
    display: flex;
    align-items: center;
}
.meta-item i {
    margin-right: 6px;
}
.news-content {
    color: #4a5568;
    line-height: 1.8;
}
.news-content p {
    margin-bottom: 20px;
}
.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 25px auto;
    display: block;
}
.news-pre-next {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #718096;
}
.news-pre-next p {
    margin-bottom: 10px;
}


/* ========== 留言表单 message.html 样式 ========== */
.section {
    padding: 40px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}
.title-line {
    width: 80px;
    height: 3px;
    background: #3182ce;
    margin: 0 auto;
}
.section-title p {
    margin-top: 10px;
    color: #718096;
}

/* 表单容器 */
.message-form {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}
.form-group,
.form-row {
    margin-bottom: 25px;
}
.form-row {
    display: flex;
    gap: 20px;
}
.form-col {
    flex: 1;
}

/* 标签与必填星号 */
label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2d3748;
}
.required::after {
    content: "*";
    color: #e53e3e;
    margin-left: 4px;
}

/* 输入框、下拉、文本域统一样式 */
input[type="text"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 16px;
}
textarea {
    min-height: 120px;
    resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #3182ce;
}

/* 验证码区域 */
.captcha-group {
    display: flex;
    align-items: center;
    gap: 15px;
}
.captcha-input {
    flex: 1;
}
.captcha-img {
    width: 120px;
    height: 40px;
    background: #f0f0f0;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.codeimg {
    height: 33px;
}

/* 按钮区域 */
.form-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}
.btn {
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}
.btn-primary {
    background: #3182ce;
    color: #fff;
}
.btn-primary:hover {
    background: #2c5282;
}

/* ========== 联系我们 contact.html 专用样式 ========== */
.section {
    padding: 40px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}
.title-line {
    width: 80px;
    height: 3px;
    background: #3182ce;
    margin: 0 auto;
}

/* 配送服务简介区块 */
.contact-intro {
    background: #fff;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    margin-bottom: 40px;
}
.contact-intro h3 {
    font-size: 22px;
    color: #2d3748;
    margin-bottom: 15px;
}
.contact-intro p {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 12px;
}

/* 联系方式容器布局 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.contact-info {
    background: #fff;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    grid-column: 1 / -1; /* 整行铺满，内部两列展示联系项 */
}
.contact-info h3 {
    font-size: 22px;
    color: #2d3748;
    margin-bottom: 25px;
}

/* 联系信息 内部两列并排 */
.contact-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
}
.contact-icon {
    background: #3182ce;
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 16px;
    font-size: 18px;
}
.contact-text h4 {
    font-size: 17px;
    color: #2d3748;
    margin-bottom: 6px;
}
.contact-text p {
    color: #718096;
    line-height: 1.6;
}

/* 地图模块 */
.map-container {
    margin-top: 60px;
}
.map-title {
    text-align: center;
    font-size: 22px;
    color: #2d3748;
    margin-bottom: 25px;
}
.map-wrapper {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== 通用区块 ===== */
.section{padding:60px 0}
.section-title{text-align:center;margin-bottom:40px}
.section-title h2{font-size:2rem;color:#2d3748;margin-bottom:10px}
.title-line{width:80px;height:3px;background:#3182ce;margin:0 auto}
.text-center{text-align:center}
.mt-4{margin-top:1.5rem}
.view-more{display:inline-block;border:1px solid #3182ce;color:#3182ce;padding:10px 30px;border-radius:4px;margin-top:30px}
.view-more:hover{background:#3182ce;color:#fff}

/* ===== 产品模块 ===== */
.products-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.product-card{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 6px rgba(0,0,0,.08)}
.product-image{height:250px;position:relative;overflow:hidden}
.product-badge{position:absolute;top:15px;right:15px;background:#ed8936;color:#fff;padding:3px 10px;border-radius:50px;font-size:.875rem}
.product-details{padding:20px}
.product-name{font-size:1.25rem;color:#2d3748;margin-bottom:10px}
.product-desc{color:#718096;margin-bottom:20px}
.product-footer{display:flex;justify-content:space-between;align-items:center}
.product-price{color:#ed8936;font-weight:700;font-size:1.25rem}
.buy-button{background:#3182ce;color:#fff;padding:8px 20px;border-radius:4px;font-size:.875rem}
.buy-button:hover{background:#2c5282}

/* ===== 关于我们 ===== */
.about-content{display:flex;align-items:center;gap:40px}
.about-image{flex:1;border-radius:8px;overflow:hidden;box-shadow:0 4px 10px rgba(0,0,0,.08)}
.about-text{flex:1}
.about-text p{color:#718096;margin:20px 0}
.learn-more{background:#3182ce;color:#fff;padding:12px 30px;border-radius:4px;display:inline-block}
.learn-more:hover{background:#2c5282}

/* ===== 新闻动态 ===== */
.news-list{max-width:800px;margin:0 auto}
.news-item{padding:20px 0;border-bottom:1px solid #e2e8f0}
.news-item h3{font-size:1.25rem;color:#2d3748}
.news-date{color:#718096;font-size:.875rem;margin:5px 0 10px}
.news-item p{color:#718096}

/* ===== 页脚 ===== */
footer{background:#126137;color:#fff;padding:60px 0 30px}
.footer-content{display:flex;flex-wrap:wrap;gap:30px}
.footer-column{flex:1;min-width:200px}
.footer-column h3{font-size:1.25rem;margin-bottom:20px}
.footer-column li{margin-bottom:12px;display:flex;align-items:flex-start}
.footer-column i{margin-right:10px;margin-top:3px}
.footer-bottom{text-align:center;margin-top:50px;padding-top:20px;border-top:1px solid rgba(255,255,255,.2)}
.footer-bottom p,.footer-bottom a{color:rgba(255,255,255,.7);font-size:.875rem}

/* ===== 移动端底部悬浮栏 ===== */
.mobile-bottom-bar{position:fixed;bottom:0;left:0;right:0;background:#fff;box-shadow:0 -2px 6px rgba(0,0,0,.08);display:flex;padding:10px 0;z-index:90}
.mobile-bottom-bar a{flex:1;display:flex;flex-direction:column;align-items:center;color:#718096;font-size:.75rem}
.mobile-bottom-bar i{font-size:20px;margin-bottom:5px}

/* ========== 全局统一响应式（放置CSS最底部，仅此一处） ========== */
/* 平板：992px以下 */
@media (max-width: 992px) {
    /* 首页 */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-content {
        flex-direction: column;
    }
    /* 产品列表页 */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 手机大屏：768px以下 */
@media (max-width: 768px) {
    /* 全局通用区块 */
    .section {
        padding: 25px 0;
    }
    /* 首页导航、轮播、底部 */
    .desktop-nav {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero-slider {
        height: 350px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    .footer-content {
        flex-direction: column;
    }
    /* 首页banner、关于我们 */
    .banner {
        padding: 40px 0;
    }
    .banner .banner-title {
        font-size: 1.8rem;
    }
    .banner .banner-subtitle {
        font-size: 1rem;
    }
    .about-section {
        padding: 30px 0;
    }
    /* 产品列表通用 */
    .features-grid {
        grid-template-columns: 1fr;
    }
    .product-image {
        height: 200px;
    }
    .category-tabs {
        margin: 20px 0;
    }
    .pagination .page-link {
        padding: 10px 12px;
    }
    /* 产品详情页 */
    .product-detail {
        flex-direction: column;
        gap: 30px;
    }
    .product-title {
        font-size: 22px;
    }
    .buy-now {
        width: 100%;
        text-align: center;
        padding: 14px 0;
    }
    .tab-btn {
        padding: 10px 16px;
        font-size: 15px;
    }
    /* 新闻页 */
    .news-card {
        padding: 20px 15px;
    }
    .news-title {
        font-size: 20px;
    }
    .news-detail {
        padding: 25px 15px;
    }
    .page-btn {
        width: 36px;
        height: 36px;
    }
    /* 留言表单 */
    .message-form {
        padding: 20px 15px;
    }
    .form-row {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 15px;
    }
    .form-group {
        margin-bottom: 15px;
    }
    .form-actions {
        flex-direction: column;
    }
    .btn {
        width: 100%;
    }
    /* 联系我们页面 */
    .contact-intro,
    .contact-info {
        padding: 20px 15px;
    }
    .contact-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .map-wrapper {
        height: 300px;
    }
}

/* 小屏手机：576px以下 */
@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }
    .nav-menu {
        width: 85%;
    }
    .product-image {
        height: 200px;
    }
}