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

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background-color: #B78053;
    color: #333;
    line-height: 1.6;
    min-width: 320px;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

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

ul, li {
    list-style: none;
}

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

/* 顶部区域样式 */
.header {
    width: 100%;
    height: 60px;
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: relative;
}

/* 内容容器通用样式 - 用于对齐 */
.content-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* 左侧logo区域 */
.logo-container {
    display: flex;
    align-items: center;
    margin-left: calc((100% - 1200px) / 2); /* 与产品容器左边距对齐 */
}

.logo-container img {
    width: 200px; /* 将logo宽度从160px增加到200px */
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}

/* 右侧按钮区域 */
.button-container {
    display: flex;
    gap: 10px;
    /* 计算按钮区域右边距，使其与第一行最右侧产品项对齐 */
    /* 总宽度1200px，左侧图440px，右侧网格760px，产品项宽度180px*4=720px，右边距为(100% - 720px - 440px - 10px) / 2 */
    /* 其中10px是product-grid的padding-left */
    margin-right: calc((100% - 1170px) / 2 + 30px); /* 与最右侧产品项右边对齐，再往左移动30px */
}

.button {
    width: 110px;
    height: 36px;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
    cursor: pointer;
    border: 1px solid #8b4513;
    color: #8b4513;
    background-color: #fff;
    transition: all 0.3s;
    text-align: center;
    line-height: 34px;
    padding: 0;
}

.button.primary {
    background-color: #8b4513;
    color: #fff;
}

.button:hover {
    opacity: 0.8;
}

/* banner图区域 */
.banner {
    width: 100%;
    margin-top: 0;
    overflow: hidden;
    position: relative;
}

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

.desktop-banner {
    display: block;
}

.mobile-banner {
    display: none;
}

.mobile-banner img {
    width: 100%;
    display: block;
}

.desktop-only {
    display: flex;
}

.banner-slide {
    width: 100%;
    display: none;
    transition: opacity 0.5s ease-in-out;
}

.banner-slide.active {
    display: block;
    animation: fadeIn 0.8s;
}

.banner-slide img {
    width: 100%;
    display: block;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.banner-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.banner-dots .dot.active {
    background-color: #fff;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 产品展示区域 */
.product-showcase {
    width: 100%;
    background-color: #FDF6EC;
    padding: 0;
}

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

/* 产品行 */
.product-row {
    display: flex;
    margin-bottom: 5px;
    width: 100%;
}

/* 第一个产品行添加顶部边距 */
.product-row:first-child {
    margin-top: 10px;
}

/* 左侧分类大图 */
.category-image {
    width: 440px;
    height: 190px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.category-image:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

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

.category-image:hover img {
    transform: scale(1.03);
}

/* 右侧产品网格 */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% - 440px);
    padding-left: 10px;
}

/* 产品项 */
.product-item {
    width: 180px;
    height: 190px;
    margin-right: 0.1%;
    margin-bottom: 10px;
    position: relative;
    text-align: center;
    box-sizing: border-box;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

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

.product-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 69, 19, 0.1);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.product-item:hover::after {
    opacity: 1;
}

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

.product-item:hover img {
    transform: scale(1.05);
}

.product-item .product-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(139, 69, 19, 0.8);
    color: #fff;
    padding: 8px 5px;
    font-size: 14px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    text-align: center;
    font-weight: bold;
}

.product-item:hover .product-title {
    transform: translateY(0);
}

.product-item .scan-mask {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1;
    pointer-events: none;
    border-radius: 8px;
}

.product-item:hover .scan-mask {
    opacity: 1;
}

.product-item .scan-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130px;
    height: 130px;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 2;
}

.product-item:hover .scan-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* 底部宣传图 */
.bottom-banner {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
    line-height: 0;  /* 移除行高导致的间隙 */
    font-size: 0;    /* 移除字体导致的间隙 */
}

.bottom-banner > img {
    width: 100%;
    height: auto;
    min-height: 20vw;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
}

/* 块级二维码区域样式 */
.qr-codes-block {
    position: static;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    background: transparent;
    margin: 0 auto 10px auto;
    padding: 20px 0 0 0;
    z-index: 2;
}

.qr-codes-block .qr-code-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.qr-codes-block .qr-code-item img {
    width: 120px;
    height: 120px;
    background: #fff;
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.qr-codes-block .qr-code-item p {
    color: #5D2E1C;
    font-size: 16px;
    margin: 0;
    font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
}

/* 覆盖底图的二维码区域样式 */
.qr-codes-absolute {
    position: absolute;
    left: 50%;
    top: 50%; /* 垂直居中 */
    transform: translate(-50%, -50%); /* 完全居中 */
    display: flex;
    gap: 10%; /* 使用百分比单位 */
    justify-content: center;
    align-items: center;
    width: 80%; /* 控制整体宽度 */
    z-index: 2;
    pointer-events: none;
}

.qr-codes-absolute .qr-code-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    pointer-events: auto;
    width: 40%; /* 控制每个项目的宽度 */
    max-width: 120px; /* 最大宽度限制 */
}

.qr-codes-absolute .qr-code-item img {
    width: 100%; /* 宽度100%自适应 */
    height: auto; /* 高度自适应 */
    background: #fff;
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 6px;
    aspect-ratio: 1/1; /* 保持正方形 */
    object-fit: contain; /* 保持图像比例 */
    max-width: 120px; /* 最大宽度限制 */
}

.qr-codes-absolute .qr-code-item p {
    color: #fff;
    font-size: clamp(10px, 3vw, 16px); /* 响应式字体大小 */
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    width: 100%;
}

/* 页脚区域样式 */
.footer {
    width: 100%;
    background-color: #8b4513;
    color: #fff;
    padding: 20px 0;  /* 增加垂直内边距 */
    text-align: center;
    margin-top: -4px;  /* 负边距消除可能的间隙 */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer p {
    margin: 8px 0;  /* 增加段落间距 */
    font-size: 13px;  /* 增大字号 */
    line-height: 1.6;  /* 增加行高 */
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* 内容区域 */
.content {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    background-color: #fff;
}

/* 响应式设计 */
@media (max-width: 1280px) {
    .logo-container {
        left: 50px;
    }
    
    .button-container {
        right: 50px;
        left: auto;
    }
    
    .product-container {
        padding: 10px 15px;
    }
    
    .category-image {
        width: 35%;
        height: auto;
    }
    
    .product-grid {
        width: 65%;
    }
    
    .product-item {
        width: calc(25% - 8px);
        height: auto;
        aspect-ratio: 1/1;
    }
}

@media (max-width: 992px) {
    .product-item {
        width: calc(33.333% - 8px);
    }
}

@media (max-width: 768px) {
    /* 调整header区域高度 */
    .header {
        height: 60px; /* 减小高度 */
        padding: 0;
        margin: 0;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }
    
    /* 将LOGO居中 */
    .logo-container {
        position: relative;
        width: 100%;
        height: 60px; /* 减小高度 */
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
        background: #fff;
        border-bottom: none;
        box-shadow: none;
        font-size: 0;
        line-height: 0;
        box-sizing: border-box;
    }
    
    .logo-container img {
        width: 200px; /* 将logo宽度从160px增加到200px */
        height: auto;
        display: block;
        margin: 0;
        padding: 0;
    }
    
    /* 调整banner区域 */
    .banner {
        margin: 0;
        padding: 0;
        font-size: 0;  /* 消除可能的文本间隙 */
        line-height: 0;  /* 消除可能的行高间隙 */
    }

    .banner-slider {
        margin: 0;
        padding: 0;
        font-size: 0;
        line-height: 0;
    }
    
    .banner-slide {
        margin: 0;
        padding: 0;
        font-size: 0;
        line-height: 0;
    }
    
    .banner img {
        display: block;
        width: 100%;
        height: 99px;
        object-fit: cover;
        margin: 0;
        padding: 0;
        border: none;
        vertical-align: top;  /* 消除图片底部可能的间隙 */
    }
    
    /* 移动端内容区域紧凑布局 */
    .content {
        padding: 0;
        background: none;
        margin: 0;
    }
    
    /* 移动端产品展示区域紧凑布局 */
    .product-showcase {
        padding: 0;
        margin: 0;
    }
    
    .product-container {
        padding: 0;
        margin: 0;
    }
    
    /* 产品行之间无间距 */
    .product-row {
        margin: 0;
        padding: 0;
    }
    
    /* 第一个产品行无顶部间距 */
    .product-row:first-child {
        margin-top: 0;
    }
    
    /* 移动端登录区域紧凑布局 */
    .mobile-login-container {
        display: block;
        margin: 0;
        padding: 0;
    }
    
    /* 分界线紧凑布局 */
    .section-divider {
        display: none;  /* 完全隐藏分界线 */
    }
    
    /* 隐藏底部二维码 */
    .bottom-banner .qr-codes-absolute {
        display: flex; /* 显示底部二维码 */
        top: 40%; /* 从50%调整到40%，使二维码往上移 */
        transform: translate(-50%, -50%);
        width: 80%;
        max-width: 300px;
    }
    
    .bottom-banner .qr-codes-absolute .qr-code-item {
        max-width: 130px; /* 增大最大宽度 */
    }
    
    .bottom-banner .qr-codes-absolute .qr-code-item img {
        width: 110px; /* 增大图片宽度 */
        height: 110px; /* 增大图片高度 */
        padding: 5px;
        background-color: #fff; /* 白色背景 */
        border: none; /* 移除边框 */
        box-shadow: 0 3px 8px rgba(0,0,0,0.3); /* 阴影效果 */
        border-radius: 8px; /* 圆角 */
    }
    
    .bottom-banner .qr-codes-absolute .qr-code-item p {
        font-size: 14px; /* 增大字体大小 */
        font-weight: bold; /* 加粗文字 */
        color: #fff; /* 白色文字 */
        text-shadow: 1px 1px 3px rgba(0,0,0,0.8); /* 深色阴影效果 */
    }
    
    .bottom-banner > img {
        min-height: 180px; /* 增加底部图片高度以适应更大的二维码 */
        object-fit: cover;
    }
    
    .button {
        padding: 5px 12px;
        font-size: 12px;
        width: 90px;
        height: 30px;
        line-height: 28px;
    }
    
    .product-row {
        flex-direction: column;
        margin-bottom: 15px;
    }
    
    /* 移动端分类图片调整 */
    .category-image {
        margin: 0;
        padding: 0;
    }
    
    .category-image img {
        max-height: 120px;
        object-fit: contain;
    }
    
    /* 移动端产品网格调整 */
    .product-grid {
        margin: 0;
        padding: 0;
        gap: 0;  /* 移除产品项之间的间隙 */
    }
    
    .product-item {
        margin: 0;
        padding: 0;
    }
    
    .product-item img {
        width: 100%;
        height: 100%;
        max-width: 100%;
    }
    
    .footer-content {
        padding: 0 10px;
    }
    
    .footer p {
        font-size: 10px;
    }
    
    .qr-codes-block {
        gap: 20px;
        padding: 10px 0 0 0;
    }
    .qr-codes-block .qr-code-item img {
        width: 90px;
        height: 90px;
        padding: 5px;
    }
    .qr-codes-block .qr-code-item p {
        font-size: 13px;
    }

    .qr-codes-absolute {
        gap: 8%; /* 中等屏幕减小间距 */
    }
    
    .qr-codes-absolute .qr-code-item {
        max-width: 80px;
    }
    
    .qr-codes-absolute .qr-code-item img {
        padding: 4px;
        max-width: 80px;
    }

    /* 移动端QR码保持水平对齐 */
    .qr-codes-absolute {
        align-items: center; /* 确保垂直居中 */
    }
    
    /* 确保QR码图片尺寸一致 */
    .qr-codes-absolute .qr-code-item {
        display: flex;
        flex-direction: column;
        justify-content: flex-start; /* 从顶部开始对齐内容 */
        height: 100px; /* 固定高度 */
    }

    .qr-codes-absolute .qr-code-item img {
        width: 60px;
        height: 60px;
        padding: 4px;
        margin-bottom: 5px; /* 统一底部间距 */
    }

    .qr-codes-absolute .qr-code-item p {
        margin: 0;
        line-height: 1.2;
    }

    /* 显示移动端登录区域 */
    .mobile-login-container {
        display: block;
        border-top: none;
        border-bottom: 1px solid #C8A675; /* 添加底部分隔线，使用棕色系 */
        background: #FDF6EC;
        padding: 15px 0; /* 添加一些内边距 */
        margin-bottom: 0;
    }
    
    /* 显示分界线 */
    .section-divider {
        display: none;  /* 完全隐藏分界线 */
    }
    
    /* 调整banner下方间距 */
    .banner {
        margin-bottom: 0;
    }
    
    /* 调整header高度 */
    .header {
        height: auto;
        padding: 0;
        margin-bottom: 0; /* 确保header没有下边距 */
    }
    
    /* 调整banner上方间距 */
    .banner {
        margin-top: 0;
        margin-bottom: 0;
    }
    
    /* 隐藏底部二维码 */
    .bottom-banner .qr-codes-absolute {
        display: flex; /* 修改为显示 */
    }

    .desktop-banner, .desktop-only {
        display: none;
    }
    
    .mobile-banner {
        display: block;
    }

    /* 确保图片无间隙 */
    img {
        display: block;  /* 移除图片默认的行内元素间隙 */
        margin: 0;
        padding: 0;
    }

    /* 确保底部区域无棕色线条 */
    .footer {
        margin: 0;
        padding: 20px 0;  /* 增加垂直内边距 */
        background-color: #8b4513;
        border: none;
        color: #fff;
        display: block;
        margin-top: -5px;  /* 确保与上方无缝衔接 */
    }
    
    /* 产品展示区背景调整 */
    .product-showcase {
        background-color: #FDF6EC;
        border: none;
    }
    
    /* 底部banner区域调整 */
    .bottom-banner {
        margin: 0;
        padding: 0;
        border: none;
        background: none;
        position: relative;
    }
    
    .bottom-banner > img {
        min-height: 150px; /* 确保底部图片有足够的高度显示二维码 */
        object-fit: cover;
    }
    
    /* 移动端的二维码区域 */
    .mobile-qrcodes {
        margin: 0;
        padding: 10px 0;
        border: none;
        background: #FDF6EC;
    }
    
    body {
        background-color: #FDF6EC;
    }

    /* 调整底部宣传图和页脚的衔接 */
    .bottom-banner {
        line-height: 0;
        font-size: 0;
    }
    
    .footer p {
        margin: 8px 0;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .header {
        flex-direction: column;
        padding: 10px;
    }
    
    .logo-container {
        position: static;
        margin-bottom: 10px;
    }
    
    .button-container {
        position: static;
        width: 100%;
        justify-content: center;
    }
    
    .product-showcase {
        padding: 0 5px;
    }
    
    .product-container {
        padding: 5px 0;
    }
    
    .product-row:first-child {
        margin-top: 5px;
    }
    
    .category-image {
        margin-bottom: 5px;
    }
    
    .product-item {
        width: 100%;
        margin-right: 0;
        margin-bottom: 5px;
        height: auto;
        max-height: 200px;
    }
    
    .footer p {
        font-size: 9px;
    }

    .qr-codes-absolute {
        gap: 10%;
        width: 80%;
    }
    
    .qr-codes-absolute .qr-code-item {
        max-width: 60px;
    }
    
    .qr-codes-absolute .qr-code-item img {
        padding: 3px;
        max-width: 60px;
    }
    
    .bottom-banner > img {
        min-height: 30vw;
    }

    /* 保持相同高度对齐，调整小屏设备尺寸 */
    .qr-codes-absolute .qr-code-item {
        height: 80px; /* 缩小固定高度 */
    }
    
    .qr-codes-absolute .qr-code-item img {
        width: 50px;
        height: 50px;
        padding: 3px;
        margin-bottom: 4px;
    }

    /* 底部二维码在小屏幕上的样式 */
    .bottom-banner .qr-codes-absolute {
        width: 90%;
        top: 38%; /* 在小屏幕上位置更高一些 */
    }
    
    .bottom-banner .qr-codes-absolute .qr-code-item {
        max-width: 100px; /* 增大最大宽度 */
    }
    
    .bottom-banner .qr-codes-absolute .qr-code-item img {
        width: 80px; /* 增大图片宽度 */
        height: 80px; /* 增大图片高度 */
        padding: 4px;
        background-color: #fff; /* 白色背景 */
        border: none; /* 移除边框 */
        box-shadow: 0 2px 6px rgba(0,0,0,0.3); /* 阴影效果 */
        border-radius: 6px; /* 圆角 */
    }
    
    .bottom-banner .qr-codes-absolute .qr-code-item p {
        font-size: 12px;
        font-weight: bold;
        color: #fff; /* 白色文字 */
        text-shadow: 1px 1px 3px rgba(0,0,0,0.8); /* 深色阴影效果 */
    }
}

@media (max-width: 360px) {
    .qr-codes-absolute {
        width: 85%;
        gap: 12%;
    }
    
    .qr-codes-absolute .qr-code-item {
        max-width: 45px;
        height: 70px; /* 进一步缩小固定高度 */
    }
    
    .qr-codes-absolute .qr-code-item img {
        width: 45px;
        height: 45px;
        padding: 2px;
        max-width: 45px;
        margin-bottom: 3px;
    }
    
    .bottom-banner > img {
        min-height: 140px;
    }

    /* 超小屏幕上的底部二维码 */
    .bottom-banner .qr-codes-absolute {
        width: 95%;
        top: 35%; /* 在超小屏幕上位置更高一些 */
    }
    
    .bottom-banner .qr-codes-absolute .qr-code-item {
        max-width: 60px;
    }
    
    .bottom-banner .qr-codes-absolute .qr-code-item img {
        width: 50px;
        height: 50px;
        padding: 2px;
        background-color: #fff; /* 白色背景 */
        border: none; /* 移除边框 */
        box-shadow: 0 2px 4px rgba(0,0,0,0.3); /* 阴影效果 */
        border-radius: 5px; /* 圆角 */
    }
    
    .bottom-banner .qr-codes-absolute .qr-code-item p {
        font-size: 9px;
        color: #fff; /* 白色文字 */
        text-shadow: 1px 1px 2px rgba(0,0,0,0.8); /* 深色阴影效果 */
        font-weight: bold;
    }
}

/* 移动端响应式样式 */
@media screen and (max-width: 768px) {
    /* 恢复产品展示区域原始布局 */
    .product-row {
        flex-direction: column;
        margin-bottom: 15px;
    }

    .category-image {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }

    .category-image img {
        max-height: 120px;
        object-fit: contain;
    }

    .product-grid {
        width: 100%;
        padding-left: 0;
        justify-content: space-between;
        display: flex;
        flex-wrap: wrap;
    }

    .product-item {
        width: calc(50% - 5px);
        height: auto;
        aspect-ratio: 1/1;
        margin-right: 0;
        margin-bottom: 10px;
        max-width: none;
    }

    .product-item img {
        width: 100%;
        height: 100%;
        max-width: 100%;
    }

    /* 保留调整后的header布局 */
    .header {
        flex-direction: column;
        padding: 3vw;
        height: auto;
        min-height: 100px;
    }

    .logo-container {
        position: static;
        margin-bottom: 3vw;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .logo-container img {
        width: 60%;
        max-width: 200px;
        height: auto;
    }
    
    .button-container {
        position: static;
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 5vw;
    }
    
    .button {
        padding: 1vw 3vw;
        font-size: clamp(12px, 3vw, 14px); /* 响应式字体 */
        width: auto;
        min-width: 90px;
        height: auto;
        line-height: 1.5;
    }

    /* 保留页脚响应式设计 */
    .footer-content {
        padding: 2vw;
    }
    
    .footer p {
        font-size: clamp(9px, 2.5vw, 12px);
        line-height: 1.4;
        margin: 1vw 0;
    }
}

/* 移动端二维码区域 */
.mobile-login-container {
    display: none;
    width: 100%;
    padding: 20px 0;
    background: #FDF6EC;
    text-align: center;
    border-bottom: 1px solid #e0d0b8;
    margin-bottom: 15px;
}

.mobile-qrcodes {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.mobile-login-container .qr-code-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-login-container .qr-code-item img {
    width: 100px;
    height: 100px;
    background: #fff;
    padding: 5px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.mobile-login-container .qr-code-item p {
    color: #5D2E1C;
    font-size: 14px;
    margin: 0;
    font-weight: bold;
}

/* 分界线 */
.section-divider {
    height: 8px;
    background: linear-gradient(to right, #8b4513, #d2a679, #8b4513);
    margin: 0;
    display: none; /* 默认隐藏 */
}

/* 媒体查询调整 */
@media (max-width: 768px) {
    /* 隐藏顶部按钮 */
    .header .button-container {
        display: none;
    }
    
    /* 将LOGO居中并调整间距 */
    .logo-container {
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 20px 0 10px;
    }
    
    .logo-container img {
        width: 200px;
        height: auto;
    }
    
    /* 调整header和banner之间的间距 */
    .header {
        height: auto;
        padding: 0;
        margin-bottom: 0;
    }
    
    /* 调整banner上方间距 */
    .banner {
        margin-top: 0;
        margin-bottom: 0;
    }
    
    /* 显示移动端登录区域 */
    .mobile-login-container {
        display: block;
    }
    
    /* 显示分界线 */
    .section-divider {
        display: none;  /* 完全隐藏分界线 */
    }
    
    /* 隐藏底部二维码 */
    .bottom-banner .qr-codes-absolute {
        display: flex; /* 修改为显示 */
    }
}

@media (max-width: 1220px) {
    /* 在较小屏幕上调整边距 */
    .logo-container {
        margin-left: 10px;
    }
    
    .button-container {
        margin-right: 40px; /* 增加右边距，使按钮区域往左移 */
    }
} 