.text-ellipsis-1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.text-ellipsis-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.text-ellipsis-4 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: 4;
  -webkit-line-clamp: 4;
  overflow: hidden;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
::-webkit-scrollbar {
  width: 0;
  height: 6px;
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}
::-webkit-scrollbar-thumb:active {
  background: rgba(0, 0, 0, 0.4);
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}
html {
  font-size: 16px;
}
body {
  font-family: Source Han Sans SC, Source Han Sans SC, Arial, sans-serif, Arial,
    sans-serif;
  line-height: 1.5;
  min-width: 85.625rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  overscroll-behavior: none;
  -webkit-overflow-scrolling: touch;
}
.container {
  width: 85.625rem;
  margin: 0 auto;
}
.fixed-width {
  width: 85.625rem;
  margin: 0 auto;
}
a {
  text-decoration: none;
}
.common-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.common-title .section-title {
  font-weight: bold;
  font-size: 2rem;
  color: #181818;
  line-height: 2.375rem;
  text-align: left;
  font-style: normal;
  text-transform: none;
}
.common-title .tit-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.common-title .tit-left img {
  width: 1.875rem;
  height: 1.875rem;
}
.common-title .tit-right {
  width: 2.875rem;
  height: 2.875rem;
  cursor: pointer;
}
.common-title .tit-right img {
  width: 100%;
  height: 100%;
}
.header {
  display: flex;
  align-items: center;
  height: 4.375rem;
}
.header .header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
}
.header .header-container .header-container-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 85.625rem;
  max-width: 85.625rem;
}
.header .header-container .header-container-box .header-left-logo {
  width: 14.625rem;
  height: 1.875rem;
  flex-shrink: 0;
  background: url("../assets/logo/logo-header.png"), #fff 50% / cover no-repeat;
  background-size: 100% 100%;
}
.header .header-container .header-container-box .header-right-search {
  display: flex;
  align-items: center;
  height: 2.25rem;
}
.header .header-container .header-container-box .header-right-search input {
  width: 11.25rem;
  height: 100%;
  outline: none;
  font-size: 0.75rem;
  color: #1d2129;
  border: 1px solid #dcdcdc;
  border-radius: 0.375rem 0 0 0.375rem;
  padding-left: 0.8125rem;
}
.header
  .header-container
  .header-container-box
  .header-right-search
  input::placeholder {
  color: rgba(33, 44, 76, 0.5);
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1.125rem;
  text-align: justified;
  font-style: normal;
  text-transform: none;
}
.header
  .header-container
  .header-container-box
  .header-right-search
  .signin-btn {
  width: 2.625rem;
  height: 2.25rem;
  background: #fff;
  border-radius: 0 0.375rem 0.375rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.header
  .header-container
  .header-container-box
  .header-right-search
  .signin-btn:hover {
  background: #1067f8;
  color: #fff;
}
/* .header .header-container .header-container-box .header-right-search .signin-btn img {
  width: 1.5rem;
  height: 1.5rem;
} */
.header
  .header-container
  .header-container-box
  .header-right-search
  .login-btn {
  width: 2.625rem;
  height: 2.25rem;
  background: #fff;
  border-radius: 0 0.375rem 0.375rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.header
  .header-container
  .header-container-box
  .header-right-search
  .login-btn:hover {
  background: #1067f8;
  color: #fff;
}
.header
  .header-container
  .header-container-box
  .header-right-search
  .search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 1.75rem;
  margin-left: 0.5rem;
  background: #2976bc;
  color: #fff;
  border-radius: 0.5rem;
  font-size: 0.8rem;
}
.header
  .header-container
  .header-container-box
  .header-right-search
  .search-btn:hover {
  cursor: pointer;
}
.banner {
  width: 100%;
}
.banner .swiper {
  width: 100%;
  height: 28rem;
  background-color: #0b6df4;
}
.banner .swiper-slide img {
  width: 100%;
  object-fit: cover;
  background-color: #0b6df4;
  display: block;
  margin: 0 auto;
}
.nav {
  width: 100%;
  height: 3.75rem;
  background-color: #2765cd;
  position: sticky;
  top: 0;
  z-index: 999;
  overflow: visible;
}
.nav .nav-container {
  width: 85.625rem;
  height: 100%;
  margin: 0 auto;
  overflow: visible;
}
.nav .nav-list {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  flex-wrap: nowrap;
  padding: 0;
  margin: 0;
  overflow: visible;
}
.nav .nav-list > li {
  height: 100%;
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav .nav-list > li > a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 1rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
}
.nav .nav-list > li > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.375rem;
  border-top: 0.25rem solid rgba(255, 255, 255, 0.7);
  border-right: 0.25rem solid transparent;
  border-left: 0.25rem solid transparent;
  transition: transform 0.3s ease;
}
.nav .nav-list > li > a.active {
  color: #ffffff;
}
.nav .nav-list > li > a.active::after {
  border-top-color: #ffffff;
}
.nav .nav-list > li > a:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}
.nav .nav-list > li > a:hover::after {
  border-top-color: #ffffff;
  transform: rotate(180deg);
}
.nav .nav-list > li:first-child > a::after {
  display: none;
}
.nav .nav-list > li .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  width: max-content;
  min-width: 100%;
  background: #fff;
  box-shadow: 0 2px 0.5rem rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.625rem);
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 0.3125rem 0;
}
.nav .nav-list > li .submenu li {
  list-style: none;
}
.nav .nav-list > li .submenu li a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: #666;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.nav .nav-list > li .submenu li a:hover {
  color: #2765cd;
  background-color: #f5f5f5;
}
.nav .nav-list > li:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.footer {
  width: 100%;
  background: #11215b;
  overflow: hidden;
}
.footer .container {
  max-width: 85.625rem;
  margin: 0 auto;
  padding-top: 2.5rem;
  padding-bottom: 2.0625rem;
}
.footer .footer-top {
  display: flex;
  align-items: flex-start;
}
.footer .footer-top .footer-left {
  flex: 1 0 46.6%;
}
.footer .footer-top .footer-left h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.4375rem;
  line-height: 1.75rem;
}
.footer .footer-top .footer-left .phone-number {
  font-family: Source Han Sans SC, Source Han Sans SC, Arial, sans-serif, Arial,
    sans-serif;
  font-weight: 500;
  font-size: 2.25rem;
  color: #ffab25;
  line-height: 2.625rem;
}
.footer .footer-top .footer-center {
  flex: 1 0 43.4%;
}
.footer .footer-top .footer-center h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 1.1875rem;
  line-height: 1.75rem;
}
.footer .footer-top .footer-center p {
  font-size: 0.875rem;
  color: #ffffff;
  line-height: 1rem;
  margin-bottom: 0.625rem;
}
.footer .footer-top .footer-center p span {
  color: rgba(255, 255, 255, 0.7);
}
.footer .footer-top .footer-right {
  flex: 1 1 10%;
  width: 7.625rem;
  height: 7.625rem;
  margin-right: 15px;
}
.footer .footer-top .footer-right .qrcode {
  width: 100%;
  height: 100%;
}
.footer .split-line {
  position: relative;
  padding-bottom: 0.9375rem;
  margin-top: 1rem;
}
.footer .split-line::before {
  content: "";
  width: 1000%;
  height: 1px;
  position: absolute;
  left: -50%;
  top: 0;
  background: #29386c;
}
.footer .footer-bottom {
  display: flex;
}
.footer .footer-bottom .nav-links {
  flex: 1 0 46.6%;
  display: flex;
  flex-wrap: wrap;
  column-gap: 2.4375rem;
}
.footer .footer-bottom .nav-links a {
  color: #ffffff;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}
.footer .footer-bottom .nav-links a:hover {
  color: rgba(255, 255, 255, 0.9);
}
.footer .footer-bottom .nav-links a:not(:last-child) {
  position: relative;
}
.footer .footer-bottom .nav-links a:not(:last-child)::after {
  content: "";
  width: 1px;
  height: 0.875rem;
  background: #29386c;
  position: absolute;
  right: -1.25rem;
  top: 0.25rem;
}
.footer .footer-bottom .footer-info {
  flex: 1 0 53%;
}
.footer .footer-bottom .footer-info .copyright {
  display: flex;
  gap: 3rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  line-height: 1.375rem;
}
.footer .footer-bottom .footer-info .copyright > span:nth-child(1):before {
  content: "©";
}
.footer .footer-bottom .footer-info .copyright span {
  display: flex;
  align-items: center;
}
.footer .footer-bottom .footer-info .copyright span:not(:last-child) {
  position: relative;
}
.footer .footer-bottom .footer-info .copyright span:not(:last-child)::after {
  content: "";
  width: 1px;
  height: 0.875rem;
  background: #29386c;
  position: absolute;
  right: -1.5rem;
  top: 0.25rem;
}
.footer .footer-bottom .footer-info .copyright a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}
.footer .footer-bottom .footer-info .copyright a:hover {
  color: rgba(255, 255, 255, 0.8);
}
.footer .footer-bottom .footer-info .browser-recommend {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  line-height: 1.375rem;
}
.hotline {
  position: fixed;
  right: 18px;
  top: 75%;
  width: 6.875rem;
  height: 8.125rem;
  background: linear-gradient(180deg, #e0f3ff 0%, #ffffff 100%);
  box-shadow: 0rem 0.1875rem 1.125rem 0rem rgba(57, 89, 142, 0.15);
  border-radius: 1rem;
  border: 1px solid #ffffff;
  display: flex;
  flex-direction: column;
  z-index: 999;
  transition: all 0.3s ease;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
}
.hotline-content {
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.hotline-header {
  display: flex;
  align-items: center;
  height: 3.25rem;
  padding-left: 0.1875rem;
  transition: all 0.3s ease;
}
.hotline-header img {
  width: 2rem;
  height: 2rem;
}
.hotline-header span {
  font-weight: 400;
  font-size: 1rem;
  color: #404040;
  line-height: 1.1875rem;
}
.hotline-numbers {
  font-family: HarmonyOS Sans SC, HarmonyOS Sans SC, Arial, sans-serif, Arial,
    sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  color: #404040;
  line-height: 1.25rem;
  letter-spacing: 0.0625rem;
  text-align: center;
  padding-top: 0.5rem;
  transition: all 0.3s ease;
  transform-origin: top;
  border-top: 0.0625rem solid #fff;
}
.hotline-numbers p {
  margin: 0;
  padding: 0;
  line-height: 1.75;
}
.hotline-toggle {
  pointer-events: auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
}
.hotline-toggle img {
  width: 0.75rem;
  height: 0.6875rem;
  transition: transform 0.3s ease;
}
.hotline.collapsed {
  height: 3.25rem;
  cursor: pointer;
  pointer-events: auto;
}
.hotline.collapsed .hotline-header {
  border-bottom: none;
  padding-left: 0.1875rem;
}
.hotline.collapsed .hotline-numbers {
  height: 0;
  margin: 0;
  opacity: 0;
  transform: translateY(-100%);
}
.hotline.collapsed .hotline-toggle {
  display: none;
}
.hotline:hover {
  box-shadow: 0rem 0.25rem 1.5rem 0rem rgba(57, 89, 142, 0.2);
}

/* 亳州药材网新加代码 start */

.header
  .header-container
  .header-container-box
  .header-right-search
  .login-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 1rem;
  width: 5rem;
  height: 2.5rem;
  line-height: 1;
  color: #fff;
  border-radius: 30rem;
  cursor: pointer;
  font-size: 1rem;
  /* margin-bottom: 0.8125rem; */
  border: 1px solid #666;
  color: #666;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
}

.header
  .header-container
  .header-container-box
  .header-right-search
  .signin-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  width: 5rem;
  height: 2.5rem;
  line-height: 1;
  color: #fff;
  border-radius: 30rem;
  cursor: pointer;
  font-size: 1rem;
  /* margin-bottom: 0.8125rem; */
  border: 1px solid #0052d9;
  color: #0052d9;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
}

.separate-line {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f2f3f5;
  /* width: 85.625rem; */
  margin: 0 auto;
  margin-bottom: 1.25rem;
}

/* 基础下拉框样式 */

.select-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

select {
  width: 20%;
  padding: 8px 12px;
  border: 2px solid #ddd;
  border-radius: 10px;
  background-color: white;
  font-size: 1rem;
  color: #333;
  appearance: auto; /* 隐藏默认下拉箭头 */
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

select:focus {
  outline: none;
  border-color: #4a69bd;
  box-shadow: 0 0 0 3px rgba(74, 105, 189, 0.2);
}

/* 9.10新加代码 */
/* 自定义搜索下拉框样式 */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

#customSearch {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}

.custom-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 4px 4px;
  background: white;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
}

.option {
  padding: 8px 12px;
  cursor: pointer;
}

.option:hover {
  background-color: #f5f5f5;
}

.hidden {
  display: none;
}

/* 为自定义下拉框添加固定的下拉箭头 */
.custom-select-wrapper {
  position: relative;
}

.custom-select-wrapper::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #d2dee3;
  pointer-events: none; /* 确保点击箭头时不会阻止输入框的事件 */
}

/* 确保搜索框的文本不会被箭头遮挡 */
#customSearch {
  padding-right: 30px !important; /* 添加 !important 以确保覆盖其他样式 */
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  font-size: 12px !important;
}

#regionSelect {
  height: 28px;
  border: 1px solid #999;
  border-radius: 4px;
  font-size: 12px;
  color: #333;
  font-weight: normal;
  padding: 0 8px;
  background-color: white;
  outline: none;
  min-width: 100px;
}

.select-wrapper select.uniform-select {
  height: 28px !important;
  border: 1px solid #999 !important;
  border-radius: 4px !important;
  font-size: 12px !important;
  color: #333 !important;
  font-weight: normal !important;
  padding: 0 8px !important;
  background-color: white !important;
  outline: none !important;
}

/* 亳州药材网新加代码 end */
