/* common.css - site-wide shared styles (2026-11-20, extracted from cp.css three-way split)
   Scope: footer/socket, shared classes (.nw-section-title base / .nw-bg-white), header nav v3, mobile drawer v4
   Loaded on ALL pages; page-level styles live in page.css (subpages) / index.css (homepage) */

/* ============================================================    底部公共区域美化（footer.htm）    背景沿用主题 footer_color #333，强调色 #2f4994    ============================================================ */  /* ---- 四列 flex 布局 ---- */ #footer.nw-footer{padding:0;border-top:3px solid #2f4994;} .nw-footer-inner{display:-webkit-flex;display:flex;flex-wrap:wrap;align-items:flex-start;padding:50px 0 40px;} .nw-footer-col{box-sizing:border-box;width:25%;padding:0 20px;} .nw-footer-col:first-child{padding-left:0;} .nw-footer-col:last-child{padding-right:0;}  /* ---- 统一 widget 间距清理 ---- */ #footer.nw-footer .widget{margin:0;padding:0;overflow:visible;} #footer.nw-footer .widgettitle{position:relative;margin:0 0 22px;padding-bottom:14px;font-size:16px;font-weight:700;letter-spacing:.5px;color:#fff;text-transform:uppercase;} #footer.nw-footer .widgettitle:after{content:"";position:absolute;left:0;bottom:0;width:36px;height:3px;background:#2f4994;border-radius:2px;} #footer.nw-footer .textwidget{color:#bdbdbd;font-size:14px;line-height:1.8;}  /* ---- 联系方式列表 ---- */ .nw-contact-list .nw-contact-item{margin:0 0 12px;padding:0;line-height:1.7;} .nw-contact-list .nw-contact-item:last-child{margin-bottom:0;} .nw-contact-label{display:block;color:#fff;font-weight:600;font-size:13px;margin-bottom:2px;letter-spacing:.3px;} .nw-contact-val{color:#bdbdbd;font-size:14px;word-break:break-word;} a.nw-contact-val{color:#bdbdbd;text-decoration:none;-webkit-transition:color .2s ease;transition:color .2s ease;} /* 提高选择器优先级覆盖 main.css 的 .footer_color a:hover{color:#fff}；亮蓝色在深色底部背景上层次分明 */ #footer.nw-footer a.nw-contact-val:hover{color:#6f92d8;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;}  /* ---- Products / Service 链接列表 ---- */ .nw-link-list{display:-webkit-flex;display:flex;flex-direction:column;} .nw-footer-link{display:block;padding:7px 0;color:#bdbdbd;font-size:14px;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.08);-webkit-transition:all .2s ease;transition:all .2s ease;} .nw-footer-link:last-child{border-bottom:none;} .nw-footer-link:hover{color:#fff;padding-left:8px;background:linear-gradient(90deg,rgba(47,73,148,.15),transparent);}  /* ---- 社交图标（圆形描边风格，参考用户提供图）---- */ #footer.nw-footer .nw-social-list{list-style:none;margin:0 0 40px;padding:0;display:-webkit-flex;display:flex;flex-wrap:wrap;gap:12px;} .nw-social-item{display:block;} .nw-social-item a{display:-webkit-flex;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:transparent;color:#fff;text-decoration:none;font-size:0;-webkit-transition:all .25s ease;transition:all .25s ease;border:1px solid rgba(255,255,255,.35);} .nw-social-item a span{font-size:0;} .nw-social-item a:before{content:"";font-size:16px;line-height:1;} .nw-social-facebook a:before{content:"f";font-family:Arial,sans-serif;font-weight:bold;font-size:18px;} .nw-social-twitter a:before{content:"X";font-family:Arial,sans-serif;font-weight:bold;font-size:14px;} .nw-social-linkedin a:before{content:"in";font-family:Arial,sans-serif;font-weight:bold;font-size:13px;} .nw-social-gplus a:before{content:"g+";font-family:Arial,sans-serif;font-weight:bold;font-size:11px;} .nw-social-pinterest a:before{content:"P";font-family:Arial,sans-serif;font-weight:bold;font-size:15px;} .nw-social-skype a:before{content:"S";font-family:Arial,sans-serif;font-weight:bold;font-size:15px;} .nw-social-youtube a:before{content:"▶";font-size:13px;} .nw-social-item a:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.7);color:#fff;}  /* ---- 信任徽章（支付/物流/认证）---- */ .nw-trust-badges{display:-webkit-flex;display:flex;flex-direction:column;gap:10px;} .nw-trust-badges img{display:block;max-width:100%;height:auto;opacity:.9;-webkit-transition:opacity .2s ease;transition:opacity .2s ease;} .nw-trust-badges img:hover{opacity:1;}  /* ============================================================    Socket 底部版权 + 语言选择    ============================================================ */ #socket.nw-socket{background:#2a2a2a;border-top:1px solid rgba(255,255,255,.08);font-size:12px;} .nw-socket-inner{display:-webkit-flex;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:20px 0;} .nw-lang-switch{display:-webkit-flex;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;width:100%;} .nw-lang-label{color:#888;font-size:12px;white-space:nowrap;} .nw-lang-list{display:-webkit-flex;display:flex;flex-wrap:wrap;justify-content:center;gap:4px 10px;} .nw-lang-list a{display:-webkit-inline-flex;display:inline-flex;align-items:center;gap:4px;color:#bdbdbd;font-size:12px;text-decoration:none;padding:2px 0;-webkit-transition:color .2s ease;transition:color .2s ease;} .nw-lang-list a img{vertical-align:middle;border:1px solid rgba(255,255,255,.15);} .nw-lang-list a:hover{color:#fff;} .nw-copyright{color:#888;font-size:12px;line-height:1.6;width:100%;text-align:center;} .nw-copyright a{color:#bdbdbd;text-decoration:none;-webkit-transition:color .2s ease;transition:color .2s ease;} .nw-copyright a:hover{color:#2f4994;}  /* ============================================================    响应式：平板端（≤1024px）两列    ============================================================ */ @media only screen and (max-width:1024px){ .nw-footer-col{width:50%;padding:0 16px;margin-bottom:36px;} .nw-footer-col:nth-child(odd){padding-left:0;} .nw-footer-col:nth-child(even){padding-right:0;} .nw-footer-col:nth-last-child(-n+2){margin-bottom:0;} }  /* ============================================================    响应式：移动端（≤767px）单列堆叠    ============================================================ */ @media only screen and (max-width:767px){ .nw-footer-inner{padding:36px 0 20px;} .nw-footer-col{width:100%;padding:0 0 30px 0;margin-bottom:0;} .nw-footer-col:last-child{padding-bottom:0;} #footer.nw-footer .widgettitle{margin-bottom:16px;font-size:15px;} #footer.nw-footer .textwidget{font-size:13px;} .nw-contact-label{font-size:12px;} .nw-contact-val{font-size:13px;} .nw-footer-link{font-size:13px;padding:8px 0;} .nw-social-list{gap:8px;} .nw-social-item a{width:34px;height:34px;} .nw-trust-badges{align-items:flex-start;} .nw-trust-badges img{max-width:180px;}  .nw-socket-inner{align-items:center;gap:12px;padding:16px 0;} .nw-lang-switch{width:100%;} .nw-lang-label{width:auto;margin-bottom:0;} .nw-lang-list{width:100%;} .nw-lang-list a{font-size:11px;} .nw-copyright{font-size:11px;text-align:center;width:100%;} }  /* ============================================================    响应式：小屏手机（≤479px）    ============================================================ */ @media only screen and (max-width:479px){ #footer.nw-footer .widgettitle{font-size:14px;} .nw-social-list{gap:6px;} .nw-social-item a{width:32px;height:32px;} .nw-trust-badges img{max-width:160px;} .nw-lang-list a{font-size:10px;gap:3px;} }

#top .nw-section-title{margin:0 0 10px;text-align:center;font-size:30px;line-height:1.3;font-weight:600;color:#333}
#top .nw-section-title:after{content:'';display:block;width:60px;height:2px;background:#2f4a95;margin:12px auto 0}

/* lists_single_about 重构（2026-11-18） */
#top .nw-bg-white{background-color:#fff}

/* ============================================================
 * 头部导航重构 v3（2026-11-19）
 * 1. 头部容器全屏宽度：logo 左 + 导航紧随 + 搜索框右，占满整个视口
 * 2. 修复 main.css 全局 #top form / input[type=text] 的 margin-bottom:20px 污染，
 *    消除胶囊搜索框垂直偏移；form 改 flex 垂直居中 input 文本
 * 3. 胶囊搜索框：默认浅蓝底，≥1200px hover/聚焦白底+阴影+加宽(230→290)
 * 4. 响应式：≤989 强制汉堡菜单模式；≤767 隐藏顶栏搜索框，由 JS 注入抽屉
 * 5. 移动端抽屉：蓝色面板 + 白色文字 + 细分隔线；.av-burger-overlay-inner 改
 *    flex 列布局，搜索框用 margin-top:auto 固定在抽屉底部（参考图2，自定义风格）
 * ============================================================ */
/* —— 桌面：全屏背景 + space-between 均匀分布三模块 —— */
#top #wrap_all #header .av-logo-container{max-width:100%;width:100%;padding:0 36px;box-sizing:border-box}
/* justify-content:space-between → logo贴左 / 菜单居中偏左 / 搜索贴右，间距自动相等 */
#top #wrap_all #header .av-logo-container .inner-container{display:flex;align-items:center;width:100%;justify-content:space-between}
#top #header .av-logo-container .logo{position:relative;float:none;flex:0 0 auto}
/* 菜单：space-between 自动分配位置，不再硬写 margin/padding */
#top #header .av-logo-container .main_menu{position:static;left:auto;right:auto;height:auto;padding-left:0;margin-left:0;display:flex;align-items:center;flex:0 1 auto}
#top #header .av-logo-container .main_menu .av-main-nav-wrap{float:none}
/* 菜单项内距 14px（字号继承 main.css:3198 的 17px） */
#top #header .av-logo-container .main_menu ul:first-child > li > a{padding:0 14px}
/* —— 搜索框：flex 右侧子项（space-between 推到最右），不再硬写 margin-left:auto —— */
#top .nw-nav-search{margin-left:0;flex:0 1 230px;min-width:180px;display:flex;align-items:center}
/* pill：有 inset 描边线 */
#top .nw-search-form{margin:0;position:relative;display:flex;align-items:center;width:100%;height:34px;box-sizing:border-box;background:#f3f4f6;border:none;border-radius:999px;box-shadow:inset 0 0 0 1px #e2e6eb;-webkit-transition:background-color .2s ease,box-shadow .2s ease;transition:background-color .2s ease,box-shadow .2s ease}
#top .nw-search-form:hover,#top .nw-search-form:focus-within{background:#ffffff;box-shadow:inset 0 0 0 1px rgba(0,161,233,0.45),0 4px 14px rgba(17,24,39,0.14)}
#top .nw-search-btn{position:absolute;left:8px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:26px;height:26px;display:flex;align-items:center;justify-content:center;background:transparent;border:0;padding:0;cursor:pointer;color:#9aa5b1;-webkit-transition:transform .15s ease,color .15s ease;transition:transform .15s ease,color .15s ease}
#top .nw-search-btn:hover{color:#00A1E9}
#top .nw-search-form input[type=text]{margin:0;height:100%;box-sizing:border-box;display:block;width:100%;border:0;outline:0;background:transparent;padding:0 34px 0 42px;font-size:13px;color:#333333;text-align:left;font-family:inherit;-webkit-appearance:none;appearance:none}
#top .nw-search-form input[type=text]::placeholder{color:#8a97a5;font-size:12px;opacity:1}
#top .nw-search-form:hover input[type=text],#top .nw-search-form:focus-within input[type=text]{color:#222222}
#top .nw-search-form:hover input[type=text]::placeholder,#top .nw-search-form:focus-within input[type=text]::placeholder{color:#aaaaaa}
/* —— 汉堡抽屉内搜索框：默认隐藏，≤989 由 JS 注入后显示 —— */
#top .nw-burger-search{display:none}
/* ≥1200px：hover/聚焦加宽胶囊（230→290） */
@media only screen and (min-width:1200px){
#top .nw-nav-search{-webkit-transition:flex-basis .25s ease;transition:flex-basis .25s ease}
#top .nw-nav-search:hover,#top .nw-nav-search:focus-within{flex-basis:290px}
}
/* 990-1349px：收窄菜单内距与搜索框，hover 不加宽避免溢出 */
@media only screen and (min-width:990px) and (max-width:1349px){
#top #header .av-logo-container .main_menu ul:first-child > li > a{padding:0 6px}
#top #header .av-logo-container .main_menu ul:first-child > li > a .avia-menu-text{font-size:15px;white-space:nowrap}
#top .nw-nav-search{flex:0 1 170px;min-width:150px}
}
/* 990-1149px：中间档再压一档字号与内距，确保菜单不换行 */
@media only screen and (min-width:990px) and (max-width:1149px){
#top #header .av-logo-container .main_menu ul:first-child > li > a{padding:0 5px}
#top #header .av-logo-container .main_menu ul:first-child > li > a .avia-menu-text{font-size:14px}
}
/* 1200-1349px：覆盖 ≥1200 的 hover 加宽搜索框规则（290px 会导致菜单溢出换行） */
@media only screen and (min-width:1200px) and (max-width:1349px){
#top .nw-nav-search:hover,#top .nw-nav-search:focus-within{flex-basis:170px}
}
/* ≤989px：强制汉堡菜单模式（顶部仅 logo + 搜索胶囊 + 汉堡按钮） */
@media only screen and (max-width:989px){
#top #header .av-logo-container .main_menu{position:absolute;top:0;right:0;left:auto;height:100%;padding-left:0}
#top #header .av-main-nav > li.menu-item{display:none}
#top #header .av-main-nav > li.menu-item-avia-special{display:block}
#top #header .av-burger-menu-main{display:block}
#top .nw-nav-search{flex-basis:180px;padding-right:60px}
}
/* ≤767px：顶栏搜索框隐藏，搜索框由 JS 注入汉堡抽屉；头部收窄左右留白 */
@media only screen and (max-width:767px){
#top #wrap_all #header .av-logo-container{padding:0 16px}
#top .nw-nav-search{display:none}
}

/* ============================================================
 * 移动端抽屉 v4（2026-11-19）
 * 纯白面板 + 左侧品牌蓝细条 + 紧凑行高 + 聚焦描蓝边
 * —— 替代旧版整片深蓝色块，改干净现代风格
 * 关键：custom.js 给 UL 写内联 padding: headerHeight 0（~88px），
 *       必须用 !important 覆盖才生效
 * ============================================================ */
@media only screen and (max-width:989px){
/* 1) 纯白面板 + 右侧投影 + 左侧品牌蓝 3px 细条 */
.html_av-overlay-side #top .av-burger-overlay-scroll{background:#ffffff !important;-webkit-box-shadow:-6px 0 28px rgba(18,28,56,.14);box-shadow:-6px 0 28px rgba(18,28,56,.14);border-left:3px solid #00A1E9}
/* 汉堡按钮：白色面板上保持深色（覆盖 main.css:463 抽屉打开时 hamburger-inner 变 #fff） */
.av-burger-overlay-active #top .av-hamburger-inner,.av-burger-overlay-active #top .av-hamburger-inner::before,.av-burger-overlay-active #top .av-hamburger-inner::after{background-color:#2a2f3a !important}
/* 2) inner 铺满 overlay-scroll（= 视口高），main.css:457 的 min-height:700px 要清掉 */
#top .av-burger-overlay-inner{display:flex !important;flex-direction:column;vertical-align:top;text-align:left;height:100% !important;min-height:0 !important}
/* 3) UL：覆盖 custom.js 内联 padding:headerHeight 0，+ flex:1 撑中间空间（菜单顶、搜索底，参考图2） */
#top #av-burger-menu-ul{display:block !important;flex:1 1 auto !important;min-height:0;width:100%;margin:0 !important;padding:12px 0 0 !important}
/* 菜单项 li：左位移归 0（覆盖 main.css:490 left:18px 动画偏移） */
#top #wrap_all #av-burger-menu-ul > li{left:0 !important;right:0}
/* 4) 隐藏装饰性 bullet / arrow 伪元素（面板风格不需要） */
.html_av-overlay-side #top #wrap_all .av-burger-overlay-scroll .avia-bullet,.html_av-overlay-side #top #wrap_all .av-burger-overlay-scroll .avia-menu-fx{display:none !important}
/* 5) 顶级菜单：紧凑 padding，深灰字，细分隔线 */
.html_av-overlay-side #top #wrap_all #av-burger-menu-ul > li > a{color:#2a2f3a !important;font-size:15px;font-weight:500;padding:14px 24px !important;line-height:1.2;border-bottom:1px solid rgba(0,0,0,.06) !important;position:relative;-webkit-transition:background-color .15s ease,color .15s ease;transition:background-color .15s ease,color .15s ease}
/* hover / 激活态：淡蓝底 + 左侧蓝条 3px */
.html_av-overlay-side #top #wrap_all #av-burger-menu-ul > li > a:hover,.html_av-overlay-side #top #wrap_all #av-burger-menu-ul > li > a.active,.html_av-overlay-side #top #wrap_all #av-burger-menu-ul > li.current-menu-item > a{background-color:rgba(0,161,233,.08) !important;color:#0077b6 !important}
.html_av-overlay-side #top #wrap_all #av-burger-menu-ul > li > a:hover::before,.html_av-overlay-side #top #wrap_all #av-burger-menu-ul > li > a.active::before,.html_av-overlay-side #top #wrap_all #av-burger-menu-ul > li.current-menu-item > a::before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:#00A1E9}
/* 6) 子菜单：默认隐藏（覆盖 main.css:508 已有的 display:none）；展开后显示 + 过渡 */
.html_av-submenu-hidden #top #wrap_all #av-burger-menu-ul li ul.sub-menu{display:none !important}
.html_av-submenu-hidden #top #wrap_all #av-burger-menu-ul li.av-show-submenu > ul.sub-menu{display:block !important}
/* 子菜单项 */
.html_av-overlay-side #top #wrap_all #av-burger-menu-ul .sub-menu > li > a{color:#5a6275 !important;font-size:13px;font-weight:400;padding:10px 24px 10px 44px !important;line-height:1.35;border-bottom:1px solid rgba(0,0,0,.04) !important;-webkit-transition:background-color .15s ease,color .15s ease;transition:background-color .15s ease,color .15s ease}
.html_av-overlay-side #top #wrap_all #av-burger-menu-ul .sub-menu > li > a:hover{background-color:rgba(0,161,233,.05) !important;color:#0077b6 !important}
/* 子菜单无链接项（纯 span）：更淡更矮 */
.html_av-overlay-side #top #wrap_all #av-burger-menu-ul .sub-menu > li > span{color:#8a94a6;font-size:13px;font-weight:400;padding:10px 24px 10px 44px;display:block;line-height:1.35;border-bottom:1px solid rgba(0,0,0,.04)}
/* 7) 子菜单折叠箭头 + 展开态旋转 */
#top #wrap_all #av-burger-menu-ul .av-submenu-indicator{color:#9aa5b1 !important;font-size:11px !important;right:24px !important;top:50% !important;margin-top:-7px !important;padding:0 !important;opacity:.7;-webkit-transition:-webkit-transform .2s ease;transition:transform .2s ease}
#top #wrap_all #av-burger-menu-ul li.av-show-submenu > a > .av-submenu-indicator{-webkit-transform:rotate(90deg);transform:rotate(90deg)}
/* ===== 8) 搜索框：margin-top:auto 钉 inner 底部（参考图2 设计）；input 高度 100% ===== */
#top .nw-burger-search{display:block;width:100%;margin-top:auto;padding:14px 20px 22px;box-sizing:border-box}
/* 关键：去掉 border 改用 box-shadow inset 模拟描边（border 占 2px 导致 input 只能铺到 40px） */
#top .nw-burger-search .nw-search-form{height:42px;background:#f2f5f9;border:none;border-radius:10px;box-shadow:inset 0 0 0 1px #e4e9f0;-webkit-transition:background-color .15s ease,box-shadow .15s ease;transition:background-color .15s ease,box-shadow .15s ease}
#top .nw-burger-search .nw-search-form:focus-within{background:#ffffff;box-shadow:inset 0 0 0 1px #00A1E9,0 0 0 3px rgba(0,161,233,.12)}
#top .nw-burger-search .nw-search-btn{color:#6b7280}
#top .nw-burger-search .nw-search-form:focus-within .nw-search-btn{color:#00A1E9}
/* input 显式 height:100% + box-sizing:border-box 铺满 42px 外层（现在外层无 border 占位） */
#top .nw-burger-search .nw-search-form input[type=text]{margin:0;height:100%;box-sizing:border-box;font-size:14px;text-align:left;padding:0 34px 0 42px;color:#2a2f3a;-webkit-appearance:none;appearance:none}
#top .nw-burger-search .nw-search-form input[type=text]::placeholder{color:#9aa5b1}
}

/* ===== floating contact sidebar (merged from xflx/css/xflx.css, 2026-11-20) ===== */
.im{position:fixed;right:2px;top:auto;bottom:40px;z-index:11;}.im-l{color:#fff;width:32px;height:60px;cursor:pointer;background-color:#4dc7ff;box-shadow:0 0 8px #eaf0f6;border-radius:4px 0px 0px 4px;display:block;text-align:center;line-height:60px;float:left;}.im-l i{font-size:20px;}#select{display:none;}.im .box{float:right;width:100px;background-color:#4dc7ff;border-radius:0 4px 4px 4px;display:none;}.im .box ul{background-color:#fff;list-style-type:none;margin:5px;padding:15px 0 1px 0;}.im .box ul li{overflow:hidden;text-align:center;margin-bottom:15px;}.im .box ul li a{text-decoration:none;display:block;}.im .box ul li a span{display:block;font-size:12px;font-weight:normal;font-family:Arial;color:#666;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;}.im .box ul li i{font-size:24px;color:#f39d22;}.im .box ul li a:hover i{color:#343537;}#select:checked + .box{display:block;}@media screen and (min-width:768px){.im{width:132px;position:fixed;right:-100px;top:250px;transition:right 0.5s;bottom:auto;z-index:11;}.im:hover{right:0;}.im .box{position:absolute;display:block;width:100px;right:0;top:0;}}

.f-ke{display:none;}@media (max-width:991px){.f-ke{width:100%;float:left;position:fixed;bottom:0;height:40px;line-height:40px;display:block;z-index:99999;}.f-ke ul li{width:50%;float:left;text-align:center;line-height:40px;background-color:#00A0E9;}.f-ke ul li.f-ke_a{background-color:#80d7ff;}.f-ke ul li a{color:#fff;}}

.im-l{background-color:#00A0E9 !important;}.im .box{background-color:#80d7ff !important;}

@media (max-width: 991px){
.f-ke ul li.f-ke_a {
    background-color: #00A0E9;
}
.f-ke ul li{
    background-color: #80d7ff;
}
}