/* 针对老版页面做的css代码，后续更新为新版页面，该css引入可删除 */
.custom-select {position: relative;width:100%;cursor: pointer;}
.custom-select-trigger {position: relative;display: flex;align-items: center; box-sizing: border-box;padding: 0 15px;font-size: 16px;line-height: 26px;color: #262626;font-family: s-medium; width: 100%;height: 40px;border-radius: 6px;background: #F5F5F5;outline: none;border: 1px solid transparent;}
.custom-select-trigger::after {
  content: '';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  width: 12px;
  height: 6px;
  background: url(/wp-content/uploads/20250909/contact/more-industries.svg) no-repeat;
  background-size: cover;
  /* border-right: 2px solid #8D9BA9;
  border-bottom: 2px solid #8D9BA9;
  transform: rotate(45deg);
  margin-left: 8px; */
  transition: transform 0.3s;
}
.custom-select.open .custom-select-trigger::after {
  top: 17px;
  transform: rotate(-180deg);
}
.custom-select.has-value .custom-select-trigger { color: #435566; }
.custom-options {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 0;
  border: 1px solid #989FA5;
  border-radius: 8px;
  background: #F1F1F2;
  box-shadow: 2px 2px 16px 0rem rgba(0,0,0,0.3);
  overflow-y: auto;
  display: none;
  z-index: 99;
}
.custom-select.open .custom-options {
  display: flex;
  flex-direction: column;
}
.custom-option {
  box-sizing: border-box;
  position: relative;
  display: block;
  height: 22px;
  line-height: 22px;
  padding: 0 20px;
  margin-bottom: 4px;
  font-size: 17px;
  color: #3A3941;
  font-family: t-tmedium;
}
.custom-option:last-of-type {margin-bottom: 0;}
.custom-option:hover {
  background: #008ECF;
  color: white;
}
.custom-option.selected::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 8px;
  background: url(/wp-content/uploads/20250909/contact/gou-click.svg) no-repeat;
  background-size: cover;
}
.custom-option.selected:hover::before {
  background: url(/wp-content/uploads/20250909/contact/gou.svg) no-repeat;
  background-size: cover;
}
.custom-select,
.custom-select * {
  user-select: none; /* 禁止文字选中 */
  -webkit-user-select: none; /* Safari/Chrome */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE/Edge */
}
.custom-select-trigger span.trigger-text {
  display: block;       /* 或 inline-block */
  white-space: nowrap;  /* 不换行 */
  overflow: hidden;     /* 超出隐藏 */
  text-overflow: ellipsis; /* 显示省略号 */
  max-width: calc(100% - 12px);      /* 根据容器宽度 */
}
.contact-item.inValid input::placeholder {color: #EA522A;}