/**
 * ============================================
 * 美妆风格优化样式 - Beauty Style Enhancement
 * 赞声数码企业网站
 * Copyright (c) 杭州赞声数码有限公司 www.zansongtech.com
 * 基于玫瑰金色系的品牌升级
 * ============================================
 */

/* ============================================
   1. 导航栏优化
   ============================================ */

/* 顶部导航容器 */
.topic {
    height: 72px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
    border-bottom: 1px solid rgba(212, 165, 116, 0.1) !important;
    transition: all var(--transition-base);
    position: relative;
    z-index: 1000;
}

/* 顶部导航内部容器使用 flexbox 布局 */
.topic .main {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0;
    height: 72px !important;
}

/* Logo优化：高度50px，上下各11px间距，总计72px与.topic高度一致 */
.topic .logo {
    height: 50px !important;
    margin-top: 11px !important;
    margin-bottom: 11px !important;
    font-family: "微软雅黑", "Microsoft YaHei", Arial, sans-serif !important;
    display: flex !important;
    align-items: center !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    order: 1 !important;
}

.topic .logo img,
.topic .logo .logo-img {
    height: auto !important;
    max-height: 50px !important;
    width: auto !important;
    max-width: 240px !important;
    display: block !important;
    object-fit: contain !important;
    transition: transform var(--transition-base);
}

.topic .logo:hover img,
.topic .logo:hover .logo-img {
    transform: scale(1.05);
}

/* 导航菜单优化 - flex容器中占据中间剩余空间 */
.topmeau {
    height: 72px !important;
    margin-left: 40px !important;
    margin-right: 24px !important;
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    float: none !important;
    padding: 0 !important;
    list-style: none !important;
    order: 2 !important;
}

.topmeau li {
    height: 72px !important;
    margin: 0 2px;
    display: inline-flex !important;
    align-items: center !important;
    float: none !important;
}

.topmeau li a.wz {
    padding: 0 22px !important;
    line-height: 72px !important;
    font-size: 16px !important;
    font-weight: 500;
    color: var(--text-primary) !important;
    letter-spacing: 0.3px;
    transition: all var(--transition-base);
    position: relative;
    float: none !important;
    display: inline-block !important;
}

/* 语言切换按钮在flex容器中最右侧，不被压缩 */
.topic .lang-switch-wrapper {
    flex-shrink: 0 !important;
    margin-top: 0 !important;
    margin-right: 0 !important;
    align-self: center !important;
    display: inline-flex !important;
    gap: 6px;
    order: 3 !important;
}

/* 导航悬停和激活效果 - 品牌红主题（与 style.css 一致） */
.topmeau li a.wz:hover,
.topmeau ul li:hover a.wz {
    color: #e60012 !important;
    background: rgba(230, 0, 18, 0.08) !important;
}

/* 选中状态：品牌红背景 + 白字（与 style.css 中 .li_Select 一致） */
.topmeau .li_Select a.wz {
    color: #ffffff !important;
    background: #e60012 !important;
}

/* 底部边框指示器 */
.topmeau li a.wz::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--color-primary);
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.topmeau li a.wz:hover::after,
.topmeau .li_Select a.wz::after {
    width: 80%;
}

/* 下拉菜单优化 - 品牌红背景 */
.topmeau li dl {
    background: #e60012 !important;
    box-shadow: 0 8px 24px rgba(230, 0, 18, 0.25);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    min-width: 180px;
    white-space: nowrap;
}

/* 下拉菜单项样式 */
.topmeau li dl .mz {
    transition: all var(--transition-fast);
    color: #ffffff !important;  /* 确保白色文字 */
    padding: 0 20px !important;  /* 增加左右padding确保英文显示完整 */
    text-align: left !important;  /* 左对齐更适合英文 */
    display: block !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

.topmeau li dl .mz:hover {
    background: var(--color-primary) !important;
    color: var(--color-white) !important;
    transform: translateX(4px);
}

/* 修复鼠标移动到菜单时菜单消失的问题 */
.topmeau li {
    position: relative;
}

.topmeau li dl {
    display: none;  /* 默认隐藏 */
    position: absolute;
    top: 72px;  /* 紧贴导航栏 */
    left: 0;
    z-index: 999999;
}

/* 鼠标悬停在li上时显示下拉菜单，并保持显示 */
.topmeau li:hover > dl {
    display: block;
    padding: 10px 0;
    height: auto;
}

/* 确保鼠标在下拉菜单上时菜单保持显示 */
.topmeau li:hover,
.topmeau li dl:hover {
    /* 菜单保持显示 */
}

/* 语言切换按钮优化 */
.lang-switch-wrapper button {
    border: 1.5px solid var(--color-primary) !important;
    color: var(--color-primary) !important;
    background: transparent !important;
    padding: 8px 20px !important;
    border-radius: var(--radius-full) !important;
    font-size: 13px !important;
    font-weight: 500;
    transition: all var(--transition-base) !important;
}

.lang-switch-wrapper button:hover {
    background: var(--color-primary) !important;
    color: var(--color-white) !important;
    box-shadow: var(--shadow-primary-md);
    transform: translateY(-2px);
}


/* ============================================
   2. Banner轮播优化
   ============================================ */

.fullSlide {
    height: 670px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 0;
}

.fullSlide .bd li,
.fullSlide .bd li a {
    height: 670px !important;
}

/* 轮播指示器优化 */
.fullSlide .hd {
    bottom: 30px !important;
}

.fullSlide .hd ul li {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5) !important;
    border: 2px solid transparent;
    transition: all var(--transition-base);
    margin-right: 10px;
}

.fullSlide .hd ul .on {
    width: 28px !important;
    background: var(--color-primary) !important;
    border-color: rgba(255, 255, 255, 0.8);
}


/* ============================================
   3. 标题组件优化
   ============================================ */

.title {
    margin-bottom: var(--spacing-8);
}

.title .line {
    height: 4px !important;
    background: var(--gradient-primary) !important;
    border-radius: var(--radius-full);
}

/* 为标题添加装饰元素 */
.title h2,
.title h3 {
    position: relative;
    display: inline-block;
    padding-bottom: var(--spacing-3);
}

.title h2::after,
.title h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}


/* ============================================
   4. 产品列表和卡片优化
   ============================================ */

/* 产品分类卡片 */
.proclass li {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
}

.proclass li:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-primary-lg);
}

.proclass li .pic {
    border-radius: var(--radius-xl);
}

.proclass li .pname {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    transition: all var(--transition-base);
}

.proclass li:hover .pname {
    color: var(--color-primary) !important;
    transform: scale(1.05);
}

/* 产品列表卡片 */
.prolist li {
    border-radius: var(--radius-xl) !important;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
    transition: all var(--transition-slow);
    border: 1px solid rgba(212, 165, 116, 0.1);
}

.prolist li:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-primary-lg) !important;
    border-color: var(--color-primary);
}

.prolist li .pic {
    border-radius: 0 !important;
    position: relative;
    overflow: hidden;
}

.prolist li .pic img {
    transition: transform var(--transition-slow);
}

.prolist li:hover .pic img {
    transform: scale(1.1);
}

.prolist li .nr {
    background: var(--color-white);
    transition: all var(--transition-base);
}

.prolist li:hover .nr {
    background: var(--gradient-primary) !important;
}

.prolist li .btn {
    border: 1.5px solid var(--color-primary) !important;
    border-radius: var(--radius-full) !important;
    color: var(--color-primary);
    background: transparent;
    transition: all var(--transition-base);
}

.prolist li:hover .btn {
    background: var(--color-white) !important;
    border-color: var(--color-white) !important;
    color: var(--color-primary) !important;
    transform: scale(1.05);
}


/* ============================================
   5. 新闻列表优化
   ============================================ */

.nlist li {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--border-primary);
}

.nlist li:hover {
    box-shadow: var(--shadow-primary-md) !important;
    border-color: var(--color-primary);
    transform: translateX(8px);
}

.nlist li .pic {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.nlist li a.bt:hover {
    color: var(--color-primary) !important;
}

.nlist li .btn {
    background: var(--gradient-primary) !important;
    border-radius: 0 0 var(--radius-lg) 0;
    transition: all var(--transition-base);
}

.nlist li .btn:hover {
    background: var(--color-primary-700) !important;
}


/* ============================================
   6. 按钮全局优化
   ============================================ */

/* 覆盖旧的按钮样式 */
.btn,
button,
input[type="button"],
input[type="submit"] {
    border-radius: var(--radius-3xl) !important;
    font-weight: 500;
    transition: all var(--transition-base);
}

/* 主要操作按钮 */
.foot .cont1 .btn,
.foot .msg .button {
    background: transparent !important;
    border: 1.5px solid var(--color-white) !important;
    border-radius: var(--radius-3xl) !important;
    transition: all var(--transition-base);
}

.foot .cont1 .btn:hover,
.foot .msg .button:hover {
    background: var(--gradient-primary) !important;
    border-color: var(--color-primary) !important;
    color: var(--color-white) !important;
    box-shadow: var(--shadow-primary-lg);
    transform: translateY(-2px);
}


/* ============================================
   7. 表单元素优化
   ============================================ */

/* 搜索框优化 */
.prossk {
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(212, 165, 116, 0.2);
}

.prossk input[type=text],
.prossk select {
    transition: all var(--transition-base);
}

.prossk input[type=text]:focus,
.prossk select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.15);
}

/* 页脚表单优化 */
.foot .msg input[type=text],
.foot .msg textarea {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: var(--radius-md) !important;
    color: var(--color-white) !important;
    transition: all var(--transition-base);
}

.foot .msg input[type=text]:focus,
.foot .msg textarea:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.2);
}

.foot .msg input::placeholder,
.foot .msg textarea::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}


/* ============================================
   8. 页脚优化 - 智能过渡设计（适配所有页面）
   ============================================ */

/* 默认页脚 - 深色背景（适用于有深色内容区的页面） */
.foot {
    background: linear-gradient(180deg, #2E2E2E 0%, #252525 100%) !important;
    position: relative;
    overflow: visible;
    min-height: auto;
    padding: 50px 0 0 !important;
    margin-top: 0 !important;
}

/* 移除伪元素过渡层（默认不使用） */
.foot::after {
    display: none;
}

/* 柔和的背景装饰 */
.foot::before {
    content: '';
    position: absolute;
    bottom: 15%;
    right: 18%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle,
                rgba(212, 165, 116, 0.06) 0%,
                transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
}

/* ============================================
   8.1 首页专用 - 玫瑰金渐变过渡（白色背景）
   ============================================ */

/* 首页页脚 - 直接深色背景，无渐变 */
body.index .foot {
    background: #2E2E2E !important;
    padding: 50px 0 0 !important;
    margin-top: 0 !important;
    min-height: 373px !important;
}

/* 首页页脚 - 移除背景层 */
body.index .foot::after {
    display: none;
}

/* ============================================
   8.2 关于我们页面 - 专业美妆企业配色优化
   ============================================ */

/* 关于赞声数码 - 深邃蓝色专业背景 */
.about_gywm {
    position: relative;
    margin-bottom: 0 !important;
    background: linear-gradient(135deg, #1a4d7a 0%, #2d6fa8 100%) !important;
    overflow: hidden;
}

.about_gywm::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.02) 0%, transparent 50%);
    pointer-events: none;
}

/* 关于赞声数码区域 - 文字内容对齐优化 */
.about_gywm .title {
    padding-top: 20px;
    position: relative;
    z-index: 1;
}

/* 2026-09-18 布局修复：width:100% 覆盖 style.css 的 76%（双重缩窄导致正文仅 399px 宽、
   与居中标题错位）；2026-09-18 调整：去掉 900px 上限，与企业文化区块同宽
   （跟随 .main 内容区自适应，1920 视口下 1170px） */
.about_gywm .about_gywz {
    width: 100% !important;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    text-align: left;
    position: relative;
    z-index: 1;
}

/* 公司简介图文两栏（左文右图）- 2026-09-18 后台可编辑内容比例优化
   2026-09-18 布局修复：右栏无图时整栏隐藏退化为单栏通排，避免深色区右侧大片空白；
   正文取消 justify（中文两端对齐字距割裂），段落内图片改为居中大图插图 */
.about_gywz .zs-gywm-story {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* 右栏无图片时隐藏（避免空白占位），有图时恢复左文右图两栏 */
.about_gywz .zs-gywm-pic:not(:has(img)) {
    display: none;
}

.about_gywz .zs-gywm-text {
    flex: 1 1 auto;
    min-width: 0;
}

.about_gywz .zs-gywm-text p {
    margin: 0 0 22px;
    font-family: inherit !important;
    font-size: 16px;
    line-height: 2;
    color: #e8e8e8;
    text-align: left;
}

.about_gywz .zs-gywm-text p:last-child {
    margin-bottom: 0;
}

.about_gywz .zs-gywm-text p strong {
    color: #ffffff;
    font-weight: 600;
}

/* 段落内嵌图片：居中大图插图（2026-09-18） */
.about_gywz .zs-gywm-text p img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 26px auto 8px;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.about_gywz .zs-gywm-pic {
    flex: 0 0 300px;
    max-width: 36%;
}

.about_gywz .zs-gywm-pic img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

/* 后台粘贴内容兜底：防止平铺背景图/外来字体破坏版式 - 2026-09-18
   2026-09-18 补充：段落与内层文本块统一 16px/2.0 排版，兼容表格/div/span 等任意粘贴结构
   （含无 <p> 的 [VN] 旧版内容与模板/内容的行内 15px 覆盖） */
.about_gywz p,
.about_gywz div,
.about_gywz span {
    font-family: inherit !important;
    font-size: 16px !important;
    line-height: 2 !important;
}

.about_gywz table {
    width: 100% !important;
}

.about_gywz td[style*="background-image"] {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    padding: 40px !important;
}

.about_gywz img {
    max-width: 100% !important;
    height: auto !important;
}

@media (max-width: 900px) {
    .about_gywz .zs-gywm-story {
        flex-direction: column;
        gap: 24px;
    }

    .about_gywz .zs-gywm-pic {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
    }

    .about_gywz .zs-gywm-pic img {
        max-width: 380px;
        margin: 0 auto;
    }
}

/* 企业文化区域 - 简约浅色背景 */
.about_qywh {
    background: #f5f5f5 !important;
    position: relative;
}

.about_qywh::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(245,245,245,0.5) 100%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(212,165,116,0.02) 35px,
            rgba(212,165,116,0.02) 70px
        );
    pointer-events: none;
}

/* 企业荣誉 - 深邃专业背景 */
.about_honor {
    background: linear-gradient(135deg, #0a2540 0%, #1a3a5c 100%) !important;
    position: relative;
}

.about_honor::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(212,165,116,0.05) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(255,255,255,0.02) 0%, transparent 50%);
    pointer-events: none;
}

/* 发展历程区域 - 专业蓝色渐变背景 + 性能优化 */
.fzlc_bg {
    background: linear-gradient(135deg, #1e5a8e 0%, #2a75b8 100%) !important;
    position: relative;
    overflow: hidden;
}

.fzlc_bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 50px,
            rgba(255,255,255,0.02) 50px,
            rgba(255,255,255,0.02) 100px
        );
    pointer-events: none;
}

/* 发展历程卡片优化 */
.piclist .spic {
    background: rgba(255,255,255,0.98) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15) !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.piclist .spic::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212,165,116,0.08), transparent);
    transition: left 0.6s ease;
}

.piclist .spic:hover::before {
    left: 100%;
}

.piclist .spic:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.2) !important;
}

/* 发展历程文字样式 - 确保可见性和美观 */
.piclist .spic i {
    color: #1a4d7a !important;
    font-weight: bold !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
    position: relative;
    z-index: 2;
}

.piclist .spic .swz {
    color: #333333 !important;
    font-size: 14px !important;
    line-height: 22px !important;
    position: relative;
    z-index: 2;
    text-align: left !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 发展历程轮播容器 */
.fzlc_bg .piclist {
    position: relative;
    overflow: hidden !important;
    width: 1250px;
    margin: 0 auto;
}

.fzlc_bg .piclist .MtimeCon1 {
    width: 999999px !important;
    overflow: visible !important;
    position: relative;
}

.fzlc_bg .piclist .tabBox {
    float: left;
    width: 296px !important;
    margin-right: 18px;
}

.fzlc_bg .piclist .tabBox .spic {
    width: 296px !important;
    display: block !important;
}

.fzlc_bg .piclist .tabBox:last-child {
    margin-right: 0;
}

.fzlc_bg .piclist .tabBox dl {
    float: none !important;
    width: 296px !important;
}

/* 关于我们页面页脚 - 与首页保持一致的深灰色 */
body.about .foot {
    background: #2E2E2E !important;
    padding: 50px 0 0 !important;
    margin-top: 0 !important;
    min-height: 373px !important;
}

body.about .foot::after {
    display: none;
}

/* ============================================
   8.3 产品/新闻中心 - 蓝色搜索栏过渡优化
   ============================================ */

/* 搜索栏区域添加底部渐变 */
.ny_ban {
    position: relative;
    margin-bottom: 0 !important;
    background: #ffffff !important;
    min-width: 1250px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.ny_ban::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(180deg,
                rgba(255, 255, 255, 0.8) 0%,
                rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
    z-index: 1;
}

/* 产品/新闻页面页脚 - 与首页保持一致 */
body.product .foot,
body.news .foot {
    background: #2E2E2E !important;
    padding: 50px 0 0 !important;
    margin-top: 0 !important;
    min-height: 373px !important;
}

body.product .foot::after,
body.news .foot::after {
    display: none;
}

/* ============================================
   8.4 联系我们页面 - 优化过渡
   ============================================ */

/* 联系我们内容区底部间距 */
.cont_area:last-of-type {
    margin-bottom: 0 !important;
}

/* 联系我们页面页脚 - 与首页保持一致 */
body.contact .foot {
    background: #2E2E2E !important;
    padding: 50px 0 0 !important;
    margin-top: 0 !important;
    min-height: 373px !important;
}

body.contact .foot::after {
    display: none;
}

/* 确保内容在装饰层之上 */
.foot .main {
    position: relative;
    z-index: 2;
    padding-top: 30px;
    padding-bottom: 15px;
}

.foot .cont1,
.foot .qrcode,
.foot .msg {
    position: relative;
    z-index: 2;
}

/* 首页页脚内容区需要更多顶部间距 */
body.index .foot .main {
    padding-top: 30px;
}

/* 关于我们页面页脚内容区 */
body.about .foot .main {
    padding-top: 40px;
}

/* 产品/新闻/联系页面页脚内容区 */
body.product .foot .main,
body.news .foot .main,
body.contact .foot .main {
    padding-top: 30px;
}

/* 页脚标题优化 */
.foot h5.bt {
    font-size: 18px !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 10px !important;
}

.foot .bt_en {
    font-size: 9px !important;
    letter-spacing: 1.5px;
    opacity: 0.5;
    text-transform: uppercase;
    margin-top: 10px !important;
}

/* 左侧业务合作区域 */
.foot .cont1 {
    width: 200px;
}

.foot .cont1 p {
    color: rgba(255, 255, 255, 0.75) !important;
    line-height: 1.6;
    font-size: 13px;
}

.foot .cont1 strong {
    color: var(--color-primary) !important;
    font-size: 24px !important;
}

/* 二维码区域优化 */
.foot .qrcode {
    margin: 35px 0 0 70px !important;
}

.foot .qrcode .qk {
    width: 115px;
    margin-right: 12px;
    transition: all var(--transition-base);
}

.foot .qrcode img {
    width: 105px !important;
    height: 105px !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.foot .qrcode img:hover {
    border-color: var(--color-primary) !important;
    box-shadow: 0 4px 16px rgba(212, 165, 116, 0.18);
    transform: translateY(-2px);
}

.foot .qrcode span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6) !important;
    transition: color var(--transition-base);
    margin-top: 6px !important;
}

.foot .qrcode span a {
    color: rgba(255, 255, 255, 0.6) !important;
    transition: color var(--transition-base);
}

.foot .qrcode .qk:hover span,
.foot .qrcode .qk:hover span a {
    color: var(--color-primary) !important;
}

/* 右侧留言区域 */
.foot .msg {
    width: 580px;
    margin-top: 10px !important;
}

/* 底部版权区域 */
.foot .fbq {
    margin-top: 20px !important;
    padding: 16px 0 14px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    font-size: 11px !important;
    line-height: 20px !important;
    color: rgba(255, 255, 255, 0.48) !important;
    background: transparent;
    position: relative;
    z-index: 2;
}

.foot .fbq a {
    color: rgba(255, 255, 255, 0.48) !important;
    transition: color var(--transition-base);
}

.foot .fbq a:hover {
    color: var(--color-primary) !important;
}


/* ============================================
   9. 联系区域优化
   ============================================ */

.cont_area {
    border: 1.5px solid var(--border-primary) !important;
    border-radius: var(--radius-xl) !important;
    transition: all var(--transition-base);
    background: var(--color-white);
}

.cont_area:hover {
    background: var(--gradient-primary) !important;
    border-color: var(--color-primary) !important;
    box-shadow: var(--shadow-primary-lg);
    transform: translateY(-8px);
}


/* ============================================
   10. 分页优化
   ============================================ */

.page a.pa,
.page a.pb {
    border-radius: var(--radius-md) !important;
    transition: all var(--transition-base);
}

.page a.pa {
    background: var(--color-gray-400) !important;
}

.page a:hover,
.page a.pb {
    background: var(--gradient-primary) !important;
    box-shadow: var(--shadow-primary-sm);
    transform: translateY(-2px);
}


/* ============================================
   11. 响应式优化
   ============================================ */

@media (max-width: 767px) {
    .topic {
        height: 60px !important;
    }

    /* 内部容器与.topic同步高度 */
    .topic .main {
        height: 60px !important;
    }

    /* Logo区域：高度40px，上下各10px间距，总计60px与.topic高度一致 */
    .topic .logo {
        height: 40px !important;
        margin-top: 10px !important;
        margin-bottom: 10px !important;
    }

    .topic .logo img,
    .topic .logo .logo-img {
        height: auto !important;
        max-height: 40px !important;
        max-width: 200px !important;
    }

    /* 导航菜单：高度与.topic同步60px */
    .topmeau {
        height: 60px !important;
        margin-left: 20px !important;
    }

    .topmeau li {
        height: 60px !important;
    }

    .topmeau li a.wz {
        padding: 0 14px !important;
        line-height: 60px !important;
        font-size: 14px !important;
    }

    /* 语言切换按钮：移动端位置调整 */
    .topic .lang-switch-wrapper {
        margin-right: 12px !important;
    }

    .lang-btn {
        padding: 4px 8px !important;
        font-size: 12px !important;
    }
    
    .fullSlide {
        height: 400px !important;
    }
    
    .fullSlide .bd li,
    .fullSlide .bd li a {
        height: 400px !important;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .fullSlide {
        height: 500px !important;
    }
    
    .fullSlide .bd li,
    .fullSlide .bd li a {
        height: 500px !important;
    }
}


/* ============================================
   12. 动画增强
   ============================================ */

/* 页面加载动画 */
.fade-in-on-load {
    animation: fadeInUp 0.6s var(--ease-out);
}

/* 滚动触发动画准备 */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out),
                transform 0.6s var(--ease-out);
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 悬浮卡片动画 */
.hover-card {
    transition: all var(--transition-base);
}

.hover-card:hover {
    transform: translateY(-4px) scale(1.02);
}


/* ============================================
   13. 工具类扩展
   ============================================ */

/* 玫瑰金色文本 */
.text-rosegold {
    color: var(--color-primary) !important;
}

/* 玫瑰金色背景 */
.bg-rosegold {
    background: var(--gradient-primary) !important;
}

/* 玫瑰金色边框 */
.border-rosegold {
    border-color: var(--color-primary) !important;
}

/* 柔和阴影 */
.shadow-soft {
    box-shadow: 0 4px 20px rgba(212, 165, 116, 0.15);
}

/* 渐变文字 */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ============================================
   14. 页面body类名标识（用于CSS选择器）
   ============================================ */

/*
页面需要在<body>标签添加类名：
- 首页: <body class="index">
- 关于我们: <body class="about">
- 产品中心: <body class="product">
- 新闻中心: <body class="news">
- 联系我们: <body class="contact">
*/

/* ============================================
   15. 蓝色内容区域优化
   ============================================ */

/* 搜索栏 - 确保白色背景和统一样式 */
.ny_ban {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
    background: #ffffff !important;
    min-height: 100px;
    padding: 20px 0;
}

/* 蓝色内容区域（关于我们） - 底部阴影和统一页脚过渡 */
.about_gywm,
.about_qywh,
.about_honor,
.fzlc_bg {
    box-shadow: 0 4px 15px rgba(5, 57, 115, 0.08);
    position: relative;
    z-index: 1;
}

/* 新闻/产品列表 - 底部间距优化 */
.nlist li:last-child,
.prolist li:last-child {
    margin-bottom: 0;
}

/* 页面主内容区域通用优化 */
body {
    background: var(--color-white);
}

/* Banner后的内容区域 */
.fullSlide + * {
    margin-top: 0;
}
