/* 基础重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    position: relative;
}

/* 为所有p标签添加响应式字体大小基础设置 */
p {
    font-size: clamp(14px, 1.5vw, 16px); /* 基础字体大小响应式设置 */
    white-space: normal; /* 允许文本换行 */
    word-break: break-word; /* 防止长单词导致溢出 */
    max-width: 100%; /* 限制最大宽度 */
    box-sizing: border-box; /* 包含padding在宽度计算中 */
    line-height: 1.6; /* 良好的行高 */
    text-align: left;
}

/* 底部p标签样式 - 暂时移除，使用下面更完整的定义 */

/* 导航栏样式 - 改为固定定位，开始时透明背景，滚动时变化 */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: transparent;
    z-index: 1000;
    padding: 0;
    border-bottom: none;
    transition: all 0.5s ease-in-out;
    transform: translateY(0);
    opacity: 1;
}

/* 导航栏隐藏状态 */
header.hidden {
    transform: translateY(-100%); /* 向上移动到屏幕外 */
    opacity: 0; /* 完全透明 */
}

/* 导航栏滚动显示状态 - 添加背景和阴影 */
header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0;
}

/* 滚动时导航文字变为黑色 */
header.scrolled .main-nav ul li a {
    color: #333;
}

/* 滚动时导航文字悬停效果 */
header.scrolled .main-nav ul li a:hover,
header.scrolled .main-nav ul li a.active {
    color: #007bff;
}

/* 滚动时汉堡菜单图标变为黑色 */
header.scrolled .menu-icon {
    background-color: #333;
}

.header-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    height: 80px;
    box-sizing: border-box;
}

/* Logo样式 - 使用Grid布局实现绝对稳定的居中 */
.logo {
    grid-column: 2;
    justify-self: center;
    z-index: 1003;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    width: auto;
    height: auto;
    box-sizing: border-box;
}

.logo img {
    max-height: 50px;
    width: auto;
    transition: max-height 0.3s ease; /* 添加平滑大小过渡 */
}

/* 汉堡菜单样式 */
.menu-toggle {
    display: none; /* 默认隐藏，只在响应式断点处显示 */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    grid-column: 1;
    justify-self: flex-start;
}

.menu-icon {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

/* 汉堡菜单激活状态 - 转换为X图标 */
.menu-toggle.active .menu-icon:nth-child(1) {
    transform: rotate(45deg) translateY(9px);
}

.menu-toggle.active .menu-icon:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .menu-icon:nth-child(3) {
    transform: rotate(-45deg) translateY(-9px);
}

/* 主导航样式 - 使用Grid布局 */
.main-nav {
    grid-column: 3;
    justify-self: flex-end;
    display: flex;
    width: auto;
    background-color: transparent;
    opacity: 1;
    transform: translateX(0);
    position: static;
    height: auto;
    box-shadow: none;
    padding-top: 0;
    margin-right: 0;
}

/* 桌面端导航链接样式 - 使用白色文字以适应深色背景 */
.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap; /* 防止菜单项换行 */
}

.main-nav ul li {
    margin-right: 25px; /* 将margin-left改为margin-right，因为导航在左侧 */
    margin-left: 0; /* 重置左侧边距 */
}

.main-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: #007bff;
}

/* 响应式导航栏样式 - 当水平菜单不能完全显示时切换为折叠菜单 */
/* 使用更适合的断点，确保水平菜单在空间不足时自动切换 */
@media (max-width: 992px) { /* 增大断点，提前适应较窄的屏幕 */
    /* 显示汉堡菜单 - 白色图标以适应深色背景 */
    .menu-toggle {
        display: flex !important; /* 确保强制显示 */
        position: relative;
        z-index: 1002;
        margin-right: 15px; /* 给汉堡菜单右侧添加一些空间 */
    }
    
    /* 导航图标显示为黑色 */
    .menu-icon {
        background-color: #333;
    }
    
    /* 隐藏水平导航菜单，使用折叠菜单替代 */
    .main-nav {
        display: block;
    }
    
    /* 默认隐藏导航菜单 - 靠左显示 */
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: auto;
        min-width: 150px;
        z-index: 1001;
        visibility: hidden;
        opacity: 0;
        transform: translateX(-100%); /* 初始位置在屏幕左侧外 */
        transition: visibility 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
        padding-top: 80px;
        margin-top: 0;
        box-shadow: 3px 0 10px rgba(0,0,0,0.1);
        text-align: left;
        background-color: rgba(255, 255, 255, 0.9);
    }
    
    /* 导航激活状态 - 靠左显示 */
    .main-nav.active {
        visibility: visible;
        opacity: 1;
        transform: translateX(0); /* 移动到左侧显示位置 */
    }
    
    /* 关闭图标默认保持黑色 */
    .menu-toggle.active .menu-icon {
        background-color: #333;
    }
    
    /* 移动端导航列表样式 - 使用黑色文字以适应浅色背景 */
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
    }
    
    .main-nav ul li {
        margin-left: 0;
        margin-bottom: 20px;
        width: 100%;
        text-align: left;
        margin: 10px 0;
    }
    
    .main-nav ul li a {
        color: #333;
        font-size: 18px;
        display: block;
        padding: 10px 0;
        letter-spacing: 1px;
    }
    
    .main-nav ul li a:hover,
    .main-nav ul li a.active {
        color: #007bff;
    }
    
    /* 移动端Logo调整 */
    .logo img {
        max-height: 40px;
    }
    
    /* 移动端导航容器调整 - 保持Grid布局 */
    .header-container {
        height: 70px;
        padding: 0 5px;
    }
    
    /* 移动端轮播图特殊处理 */
    .hero-slider {
        margin-top: 0 !important;
        padding-top: 0 !important;
        height: 100vh; /* 全屏高度 */
        max-height: 1680px; /* 最大高度限制 */
        min-height: 400px;
    }
    
    /* 移动端轮播图文字调整 */
    .slide h4 {
        font-size: 2rem !important;
        padding: 0 15px;
    }
    
    /* 商品网格两列显示 */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 超小屏幕响应式调整 */
@media (max-width: 576px) {
    /* 进一步调整汉堡菜单和导航菜单 */
    .menu-toggle {
        width: 26px; /* 小屏幕上缩小汉堡菜单尺寸 */
    }
    
    .main-nav {
        width: auto;
        min-width: 150px;
        max-width: 90%; /* 小屏幕上导航菜单最大宽度限制 */
        background-color: rgba(255, 255, 255, 0.9);
    }
    
    /* 小屏幕Logo进一步缩小 */
    .logo img {
        max-height: 30px;
    }
    
    /* 调整导航容器内边距 */
    .header-container {
        padding: 0 10px;
    }
    
    /* 轮播图文字进一步调整 */
    .slide h4 {
        font-size: 1.5rem !important;
        padding: 0 15px;
    }
    
    /* 超小屏幕轮播图高度设置 */
    .hero-slider {
        height: 100vh; /* 全屏高度 */
        max-height: 1680px; /* 最大高度限制 */
        min-height: 400px;
    }
    
    /* 轮播图控制按钮调整 */
    .control-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    /* 内容区域进一步调整 */
    .content-section h1 {
        font-size: 1.6rem;
    }
    
    .content-section h2 {
        font-size: 1.2rem;
    }
    
    /* 商品网格单列显示 */
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.main-nav ul {
        display: flex;
        justify-content: center;
        list-style: none;
        margin-bottom: 10px;
        padding: 0;
    }

/* 确保在超小屏幕下也有统一的边距 */
@media (max-width: 576px) {
    .main-nav ul {
        align-items: flex-start;
        padding-left: 20px;
    }
}

.main-nav ul li {
    margin: 0 15px;
}

.main-nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: #007bff;
}

/* 已在顶部合并.logo样式定义 */

/* 主要内容区域 */
main {
    margin-top: 120px;
}

/* 内容区域样式 */
.content-section {
    padding: 40px 0;
    background-color: #fff;
}

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

.content-section h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
    font-weight: normal;
    text-align: center;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #666;
}

.content-section h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #333;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

/* 商品分类导航 */
.shop-categories {
    margin-bottom: 40px;
}

.category-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #eee;
    justify-content: center;
    flex-wrap: wrap;
}

.category-item {
    padding: 15px 30px;
    cursor: pointer;
    color: #666;
    font-size: 16px;
    position: relative;
    transition: color 0.3s;
}

.category-item:hover {
    color: #000;
}

.category-item.active {
    color: #000;
    font-weight: 500;
}

.category-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 30px;
    right: 30px;
    height: 2px;
    background-color: #000;
}

/* 商品网格布局 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-item {
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-info h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.product-info p {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-price {
    font-size: 18px;
    font-weight: 500;
    color: #000;
    margin-top: auto;
}

.seasonal-note {
    font-size: 14px;
    color: #999;
    font-style: italic;
    margin-top: 10px;
}

.coffee-category, .product-category, .store-location, .contact-info {
    margin: 30px 0;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 5px;
    background-color: #fafafa;
}

.coffee-category h2, .product-category h2, .store-location h2, .contact-info h2 {
    font-size: 1.5rem;
    text-align: center;
    margin: 0 0 15px 0;
}

.coffee-category p, .product-category p, .store-location p, .contact-info p {
    font-size: 1rem;
    text-align: center;
    margin: 0;
}

ul {
    max-width: 800px;
    margin: 20px auto;
    padding-left: 20px;
}

ul li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #555;
}

/* 轮播图区域 - 作为导航栏的背景 */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh; /* 全屏高度 */
    max-height: 1680px; /* 最大高度限制 */
    min-height: 600px;
    overflow: hidden;
    margin-top: 0 !important; /* 确保与导航栏紧密贴合，使用!important覆盖其他可能的样式 */
    padding-top: 0 !important;
    z-index: 1; /* 低于导航栏 */
    background-color: #333; /* 确保有背景色 */
}

/* 主内容区域样式调整 - 确保在所有尺寸下都紧贴页面顶部 */
main {
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: relative;
}

/* 轮播图容器 */
.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 为幻灯片添加深色背景，确保文字清晰可见 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* 激活状态的幻灯片 */
.slide.active {
    opacity: 1;
}

/* 轮播图文字样式 - 桌面端 */
.slide h4 {
    color: white;
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-align: left;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    line-height: 1.3;
    margin: 0;
    position: absolute;
    bottom: 20%;
    left: 0%;
    right: 0%;
    width: 100%;
    z-index: 10;
    white-space: normal;
}

/* 确保轮播图在不同屏幕尺寸下正确显示 */
@media (min-width: 768px) {
    .slide h4 {
        font-size: 2.5rem;
        left: 10%;
    }
}

@media (min-width: 992px) {
    .slide h4 {
        left: 20%;
        font-size: 3rem;
    }
}

@media (min-width: 1200px) {
    .slide {
        background-size: cover;
        background-position: center center;
    }
    
    .slide h4 {
        left: 20%;
        font-size: 3.5rem;
        text-align: left;
    }
}

@media (min-width: 1400px) {
    .slide h4 {
        font-size: 4rem;
    }
}

.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

/* 轮播图控制按钮样式 - 精致设计 */
.control-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background-color: transparent;
    color: white;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 10px;
    font-weight: 200;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.control-btn:hover {
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.control-btn.active {
    background-color: rgba(255, 255, 255, 0.95);
    color: #333;
    border-color: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

/* 引用区域默认样式 */
.quote-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #fff;
}

.quote-section h4 {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}

.quote-section p {
    font-size: 1rem;
    color: #666;
    font-style: italic;
}

/* 页脚样式 - 左对齐 - 100%宽度 */
footer {
    background-color: #222;
    padding: 40px 20px;
    text-align: left;
    border-top: 1px solid #eee;
    width: 100%;
    box-sizing: border-box;
}

footer p {
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0 0 20px 0; /* 明确设置所有边距 */
    padding: 0;
    color: #ccc;
    text-align: left;
    white-space: nowrap;
}

.social-links {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    color: #ccc;
}

/* 社交媒体图标样式 - 蓝瓶咖啡风格 */
.social-icon {
    display: inline-block;
    cursor: pointer;
    background-color: #222;
    position: relative;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    transition: all 0.3s ease-in-out;
}
.social-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* 二维码弹出框样式 - 使用ID选择器 */
#wechat-qr-popup {
    display: none;
    position: absolute;
    top: -170px !important; /* 向上调整位置 */
    left: 50% !important;
    margin-left: -75px !important; /* 宽度的一半 */
    background-color: white !important;
    padding: 8px !important; /* 添加内边距，让框和图片之间有距离 */
    border-radius: 8px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
    z-index: 9999 !important;
    width: 150px !important; /* 进一步缩小尺寸 */
    height: 150px !important;
    box-sizing: border-box !important;
}

/* 二维码弹出框三角形指示器 - 确保可见 */
#wechat-qr-popup::after {
    content: '' !important;
    position: absolute !important;
    top: 100% !important; /* 三角形在底部 */
    left: 50% !important;
    margin-left: -8px !important;
    margin-top: -1px !important; /* 稍微调整以消除间隙 */
    width: 0 !important;
    height: 0 !important;
    border-left: 8px solid transparent !important;
    border-right: 8px solid transparent !important;
    border-top: 8px solid white !important;
    z-index: 9998 !important; /* 略低于弹窗但确保可见 */
}

/* 使用ID选择器 - 最高优先级 */
#wechat-qr-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    max-width: none !important;
    max-height: none !important;
    background: none !important;
    box-sizing: border-box !important;
}

/* 社交图标容器样式 */
.social-icon {
    position: relative !important;
    display: inline-block !important;
}

/* 通用类选择器 - 确保所有弹窗都在上方 */
.qr-code-popup {
    display: none !important;
    position: absolute !important;
    top: -170px !important; /* 与微信弹窗保持一致 */
    left: 50% !important;
    margin-left: -75px !important;
    padding: 8px !important; /* 添加内边距，让框和图片之间有距离 */
    width: 150px !important; /* 与微信弹窗保持一致 */
    height: 150px !important;
    box-sizing: border-box !important;
    background-color: white !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
    z-index: 9999 !important;
}

/* 为所有弹窗添加三角形指示器 - 确保可见 */
.qr-code-popup::after {
    content: '' !important;
    position: absolute !important;
    top: 100% !important; /* 三角形在底部 */
    left: 50% !important;
    margin-left: -8px !important;
    margin-top: -1px !important; /* 稍微调整以消除间隙 */
    width: 0 !important;
    height: 0 !important;
    border-left: 8px solid transparent !important;
    border-right: 8px solid transparent !important;
    border-top: 8px solid white !important;
    z-index: 9998 !important; /* 略低于弹窗但确保可见 */
}

.qr-code-popup .qr-img,
.qr-code-popup img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 重置所有图片的可能限制 */
img {
    max-width: none !important; /* 覆盖可能的全局max-width限制 */
}

/* 显示二维码的类 - 同时支持类选择器和ID选择器 */
.qr-code-popup.show,
#wechat-qr-popup.show {
    display: block !important;
}

/* 确保.social-icon能正确显示子元素 */
.social-icon {
    position: relative;
    overflow: visible !important;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* 调整二维码显示容器样式 */
.qr-code-container {
    display: none;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    width: 150px;
    height: 150px;
    text-align: center;
}

.qr-code-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 确保二维码在悬停时显示 */
.social-icon:hover .qr-code-container {
    display: block;
}

.footer-links {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links span {
    color: #aaa;
    font-size: 1rem;
}

.footer-links a {
    text-decoration: none;
    color: #aaa;
    font-size: 1rem;
    display: inline-block;
    white-space: nowrap; /* 禁止换行 */
}

.footer-links a.active {
    color: #333;
    font-weight: bold;
}

/* 响应式设计 - 空间不足时分两行显示 */
@media (max-width: 600px) {
    .footer-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .footer-links span {
        font-size:1rem;
        width: 100%;
        white-space: nowrap;
        align-items: flex-start;
        text-align: left;
        margin-top: 5px;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 显示汉堡菜单 */
    .menu-toggle {
        display: flex;
    }
    
    /* 隐藏默认导航 */
    
    /* 引用区域响应式样式 */
    .quote-section {
        padding: 30px 15px !important;
   
    }
    .quote-section p {
        font-size: 0.9rem !important;
    }
    .quote-section h4 {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: auto;
        min-width: 150px;
        max-width: 80%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.9);
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 80px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
        visibility: hidden;
        opacity: 0;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    }
    
    /* 导航打开状态 */
    .main-nav.active {
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
    }
    
    /* 移动设备导航样式 */
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
        margin-top: 0;
    }
    
    .main-nav ul li {
        margin: 10px 0;
    }
    
    .main-nav ul li a {
        font-size: 16px;
        letter-spacing: 1px;
    }
    
    /* 调整页头样式 */
    header {
        padding: 10px 0;
    }
    
    .header-container {
        padding: 0 15px;
    }
    
    /* 轮播图适配 */
    .hero-slider {
        height: 100vh; /* 全屏高度 */
        max-height: 1680px; /* 最大高度限制 */
        min-height: 400px;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .slide h4 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    /* 内容区域适配 */
    .content-section {
        padding: 30px 15px;
    }
    
    .content-section h1 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .content-section h2 {
        font-size: 1.3rem;
        margin: 30px 0 15px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* 商品分类导航响应式 */
    .category-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .category-item {
        padding: 12px 20px;
        width: 100%;
        text-align: center;
    }
    
    .category-item.active::after {
        left: 20px;
        right: 20px;
    }
    
    /* 商品网格布局响应式 */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-item {
        min-height: 100px;
        padding: 15px;
    }
    
    .product-info h3 {
        font-size: 16px;
    }
    
    .product-info p {
        font-size: 12px;
    }
    
    .product-price {
        font-size: 16px;
    }
    
    /* 页脚适配 */
    footer {
        padding: 30px 15px;
    }
    
    .social-links {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .footer-links a {
        display: block;
        margin: 10px 0;
    }
}
.footer-icp {
    font-size:0.8rem;
    align-items: center;
    text-align: center;
    color: #444;
}
