﻿/* 公共导航样式（含收款硬件悬停面板），供 header.html 统一使用 2026-08 */
.nav-header {
  width: 100%;
  height: 60px;
  flex-shrink: 0;
  backdrop-filter: blur(12px);
  background: transparent;
  /* box-shadow: 0px 2px 4px 1px rgba(8, 19, 74, 0.16); */
  border: 1px solid #ffffff;
  background-color: rgba(255, 255, 255, 0.6);
  box-shadow: rgb(0 0 0 / 10%) 0px 2px 12px 0px;
}

.sticky {
  position: fixed;
  top: 0px;
  z-index: 9999;
}

.nav-header .container {
  display: flex;
  align-items: center;
  height: 100%;
  justify-content: space-between;
}
.nav-header .container .left {
  display: flex;
  align-items: center;
  height: 100%;
}
.nav-header .container .left .logo {
  display: flex;
  align-items: center;
  margin-right: 60px;
  height: 100%;
}
.nav-header .container .left .logo img {
  height: 30px;
  margin-right: 10px;
}

.nav-header .container .left .others {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-header .container .left a {
  cursor: pointer;
  margin-right: 40px;

  font-size: 16px;
  color: #000000;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-header .container .left a:last-child {
  margin-right: 0;
}
.nav-header .container .left a:hover {
  color: #3762ec;
}

.nav-header .container .left a .image-box {
  background-image: url('../assets/zk (2).png');
  background-repeat: no-repeat;
  background-size: contain;
  width: 12px;
  height: 8px;
  margin-left: 10px;
}
.nav-header .container .left .solution:hover .image-box {
  background-image: url('../assets/sq (2).png');
}
.nav-header .container .left .solution:hover .industry-solution {
  display: flex;
}
/* .solution 不再作为定位上下文，面板相对 .nav-header（fixed）定位 */
.nav-header .container .left .solution {
  position: static;
}

/* 新“行业方案”悬浮菜单（由 ceshi 行业方案菜单改造，不采用大模块背景色） */
/* .solution 作为 div 时保持导航项样式（index/erqing/xvnihu 等页面） */
.nav-header .container .left .others .solution {
  cursor: pointer;
  margin-right: 40px;
  font-size: 16px;
  color: #000000;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-header .container .left .others .solution:hover {
  color: #3762ec;
}
.nav-header .container .left .solution .industry-solution {
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100vw;
  background: #ffffff;
  box-shadow: 0px 6px 18px 1px rgba(0, 0, 0, 0.14);
  position: absolute;
  top: 55px;
  left: 50%;
  transform: translateX(-50%);
  padding: 17px max(0px, calc((100vw - 1200px) / 2)) 5px;
  z-index: 999;
}
.nav-header
  .container
  .left
  .solution
  .industry-solution
  .industry-solution-item {
  width: 190px;
  height: 88px;
  background: #ffffff;
  box-shadow: 0px 0px 16px 1px rgba(44, 101, 255, 0.06);
  border-radius: 12px;
  margin: 0 12px 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.nav-header
  .container
  .left
  .solution
  .industry-solution
  .industry-solution-item:nth-child(6n) {
  margin-right: 0;
}
.nav-header
  .container
  .left
  .solution
  .industry-solution
  .industry-solution-item
  img {
  width: 48px;
  height: 48px;
  margin-right: 10px;
}
.nav-header
  .container
  .left
  .solution
  .industry-solution
  .industry-solution-item
  span {
  font-weight: bold;
  font-size: 20px;
  color: #333333;
}
.nav-header
  .container
  .left
  .solution
  .industry-solution
  .industry-solution-item:hover
  span {
  color: #3762ec;
}

.nav-header .container .right {
  display: flex;
  align-items: center;
  position: relative;
}
.nav-header .container .right .phone {
  display: flex;
  align-items: center;
  margin-right: 32px;
  cursor: pointer;
}
.nav-header .container .right .phone img {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}
.nav-header .container .right .phone span {
  font-weight: bold;
  font-size: 16px;
  color: #333333;
}

.nav-header .container .right .phone span:hover {
  color: #5d94ff;
}

.nav-header .container .right .contact-us {
  width: 100px;
  height: 36px;
  background: #3378fe;
  border-radius: 4px 4px 4px 4px;
  font-size: 16px;
  color: #ffffff;
  text-align: center;
  line-height: 36px;
  cursor: pointer;
}
.nav-header .container .right .contact-us:hover {
  background-color: #5d94ff;
}

/* ===== 导航栏"收款硬件"模块（由 ceshi 项目迁移 2026-08） ===== */
.nav-header .container .left .hardware-btn {
  position: relative;
}
.nav-header .container .left .hardware-btn .listBox {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.nav-header .container .left .hardware-btn .title-icon1,
.nav-header .container .left .hardware-btn .title-icon2 {
  width: 12px;
  height: 8px;
  margin-left: 6px;
}
.nav-header .container .left .hardware-btn .title-icon1 {
  display: block;
}
.nav-header .container .left .hardware-btn .title-icon2 {
  display: none;
}
.nav-header .container .left .hardware-btn.active .title-icon1 {
  display: none;
}
.nav-header .container .left .hardware-btn.active .title-icon2 {
  display: block;
}

/* 导航栏"行业解决方案"箭头图标（与收款硬件一致） */
.nav-header .container .left .solution .title-icon1,
.nav-header .container .left .solution .title-icon2 {
  width: 12px;
  height: 8px;
  margin-left: 6px;
}
.nav-header .container .left .solution .title-icon1 {
  display: block;
}
.nav-header .container .left .solution .title-icon2 {
  display: none;
}
.nav-header .container .left .solution:hover .title-icon1 {
  display: none;
}
.nav-header .container .left .solution:hover .title-icon2 {
  display: block;
}

/* 悬停收款硬件窗口 */
.hover-development-tools-window {
  display: none;
  position: fixed;
  top: 59px;
  left: 0;
  height: 238px;
  width: 100vw;
  z-index: 99999;
}
.hover-development-tools {
  width: 100vw;
  height: 238px;
  font-weight: bold;
  background: #fff;
  box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hover-development-tools a{
      margin-right: 65px !important;
}
.hover-development-tools .brand,
.hover-development-tools .speaker-box,
.hover-development-tools .code-scanner-king,
.hover-development-tools .pos,
.hover-development-tools .code-scanning-box,
.hover-development-tools .cash-register,
.hover-development-tools .peng,
.hover-development-tools .yun-dayin {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-right: 80px;
  width: 90px;
}
.hover-development-tools .brand span,
.hover-development-tools .speaker-box span,
.hover-development-tools .code-scanner-king span,
.hover-development-tools .pos span,
.hover-development-tools .code-scanning-box span,
.hover-development-tools .cash-register span,
.hover-development-tools .peng span,
.hover-development-tools .yun-dayin span {
  font-size: 16px;
  color: #000000;
  white-space: nowrap;
}
.hover-development-tools .image {
  margin-bottom: 20px;
  background-size: contain;
  background-repeat: no-repeat;
}
.hover-development-tools .brand .image {
  width: 66px;
  height: 100px;
  background-image: url('../assets/sy/m2_img_1.png');
}
.hover-development-tools .speaker-box .image {
  width: 67px;
  height: 100px;
  background-image: url('../assets/sy/m2_img_2.png');
}
.hover-development-tools .code-scanner-king .image {
  width: 42px;
  height: 100px;
  background-image: url('../assets/sy/m2_img_3.png');
}
.hover-development-tools .pos .image {
  width: 42px;
  height: 100px;
  background-image: url('../assets/sy/m2_img_4.png');
}
.hover-development-tools .code-scanning-box .image {
  width: 130px;
  height: 100px;
  background-image: url('../assets/sy/m2_img_5.png');
}
.hover-development-tools .cash-register .image {
  width: 108px;
  height: 100px;
  background-image: url('../assets/sy/m2_img_6.png');
}
.hover-development-tools .peng .image {
  width: 42px;
  height: 100px;
  background-image: url('../assets/sy/m2_img_8.png');
}
.hover-development-tools .yun-dayin .image {
  width: 100px;
  height: 100px;
  background-image: url('../assets/sy/dayin.png');
}
.hover-development-tools .brand:hover,
.hover-development-tools .speaker-box:hover,
.hover-development-tools .code-scanner-king:hover,
.hover-development-tools .pos:hover,
.hover-development-tools .code-scanning-box:hover,
.hover-development-tools .cash-register:hover,
.hover-development-tools .peng:hover,
.hover-development-tools .yun-dayin:hover span {
  font-weight: bolder;
  color: #3762EC;
}
.hover-development-tools .brand:hover,
.hover-development-tools .speaker-box:hover,
.hover-development-tools .pos:hover,
.hover-development-tools .code-scanning-box:hover,
.hover-development-tools .cash-register:hover,
.hover-development-tools .peng:hover,
.hover-development-tools .yun-dayin:hover {
  transform: translateY(-5px);
  cursor: pointer;
}

