/* Language switcher EN/中文 */
/* 导航菜单与 Try Now 按钮整体左移 70px，并保持同一行不换行 */
.box-container-fluid.header-wrapper .box-container,
.header-wrapper .box-container {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
}
.box-container-fluid.header-wrapper .box-container .pc-nav-box,
.header-wrapper .box-container .pc-nav-box {
  transform: translateX(0px) !important;
  flex-shrink: 1;
  min-width: 0;
}
.box-container-fluid.header-wrapper .box-container .other-box,
.header-wrapper .box-container .other-box {
  transform: translateX(0px) !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  white-space: nowrap !important;
}

/* 产品下拉列表：仅在悬停时应用布局，避免 display:flex 覆盖 main 的 display:none 导致鼠标离开后不收缩 */
.header-wrapper .pc-nav-box .cat:hover .hide-box {
  width: 145% !important;
  min-width: 520px !important;
  max-width: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 20px !important;
}
/* 下拉箭头对准「產品/Product」：英文 95px 对准 Product，中文 118px 对准 產品（避免指到首頁） */
.header-wrapper .pc-nav-box .cat .hide-box::before,
.header-wrapper .pc-nav-box .cat .hide-box::after {
  left: 95px !important;
  right: auto !important;
  margin-left: 0 !important;
}
body.lang-zh .header-wrapper .pc-nav-box .cat .hide-box::before,
body.lang-zh .header-wrapper .pc-nav-box .cat .hide-box::after {
  left: 138px !important;
}
/* 两块统一用 2 列网格，右列同一起点，三行不再错位 */
.header-wrapper .pc-nav-box .hide-box .item {
  display: grid !important;
  grid-template-columns: 240px 1fr !important;
  column-gap: 32px !important;
  row-gap: 8px !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  box-sizing: border-box !important;
}
.header-wrapper .pc-nav-box .hide-box .item .name {
  grid-column: 1 / -1 !important;
  white-space: nowrap !important;
  min-width: min-content !important; /* 标题不被压缩，避免 "Global E-commerce Independent Website" 折行 */
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
/* 跨境電商獨立站 左侧图标：独立样式，不与列表项重复（店铺/电商轮廓） */
.header-wrapper .pc-nav-box .hide-box .item:first-child .name::before {
  content: "" !important;
  display: inline-block !important;
  width: 24px !important;
  height: 24px !important;
  flex-shrink: 0 !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a7bf6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9h18v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V9z'/%3E%3Cpath d='M3 9l2.45-4.9A2 2 0 0 1 7.24 3h9.52a2 2 0 0 1 1.79 1.1L21 9'/%3E%3Cpath d='M12 3v6'/%3E%3C/svg%3E") no-repeat center !important;
  background-size: contain !important;
}
/* 雲計算 左侧图标：独立样式，不与列表项重复（云朵轮廓） */
.header-wrapper .pc-nav-box .hide-box .item:last-child .name::before {
  content: "" !important;
  display: inline-block !important;
  width: 24px !important;
  height: 24px !important;
  flex-shrink: 0 !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a7bf6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z'/%3E%3C/svg%3E") no-repeat center !important;
  background-size: contain !important;
}
/* 第一块：左列 1、3 项，右列 2、4 项 */
.header-wrapper .pc-nav-box .hide-box .item:first-child > a:nth-child(2) { grid-column: 1 !important; }
.header-wrapper .pc-nav-box .hide-box .item:first-child > a:nth-child(3) { grid-column: 2 !important; }
.header-wrapper .pc-nav-box .hide-box .item:first-child > a:nth-child(4) { grid-column: 1 !important; }
.header-wrapper .pc-nav-box .hide-box .item:first-child > a:nth-child(5) { grid-column: 2 !important; }
/* 第二块：左列 1、3 项，右列 2 项 */
.header-wrapper .pc-nav-box .hide-box .item:last-child > a:nth-child(2) { grid-column: 1 !important; }
.header-wrapper .pc-nav-box .hide-box .item:last-child > a:nth-child(3) { grid-column: 2 !important; }
.header-wrapper .pc-nav-box .hide-box .item:last-child > a:nth-child(4) { grid-column: 1 !important; }
.header-wrapper .pc-nav-box .hide-box .item .name a {
  white-space: nowrap !important;
  max-width: none !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  text-align: left !important;
  display: block !important;
}
/* 每条链接图标+文字不折行 */
.header-wrapper .pc-nav-box .hide-box .item > a {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  min-width: 0 !important;
  margin-bottom: 0 !important;
}
.header-wrapper .pc-nav-box .hide-box .item > a img {
  flex-shrink: 0 !important;
  width: 22px !important;
  min-width: 22px !important;
  height: 22px !important;
  object-fit: contain !important;
  margin-right: 6px !important;
}
.header-wrapper .pc-nav-box .hide-box .item a span {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* 仅保留语言切换组件样式，导航菜单恢复由 main.min.css 控制 */
.lan-wrap {
  display: inline-flex;
  align-items: center;
  margin-left: 0;
  position: relative;
}
.lan-select {
  cursor: pointer;
  padding: 1px 4px;
  border: none;
  border-radius: 0;
  font-size: 12px;
  color: inherit;
  background: none;
}
.lan-select:hover {
  opacity: 0.85;
}
.header-wrapper.on .lan-select {
  color: #333;
}
.header-wrapper.on .lan-select:hover {
  opacity: 0.85;
}
.sel-box {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 2px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  z-index: 999;
  min-width: 90px;
}
.sel-box a {
  display: block;
  padding: 5px 8px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}
.sel-box a:hover {
  background: #f5f5f5;
}

/* Footer: Solutions column – avoid overlap for longer English labels (e.g. Manufacturing, Amazon Sellers, B2B Platform Sellers) */
.footer-wrapper .inner-2 {
  min-width: 165px;
}
.footer-wrapper .inner-2 .box {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  align-content: flex-start;
}
.footer-wrapper .inner-2 .box a {
  display: block;
  white-space: nowrap;
}
