/* 主容器自适应样式 */
.main-panel {
  width: 100% !important;
}

a,
a:hover {
  text-decoration: none;
}

/* 顶部导航区域样式 */
.top-header {
  background-color: #ffffff;
  padding: 0;
  /* position: sticky; */
  /* top: 0; */
  z-index: 1000;
}

.header-container {
  max-width: 140rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* padding: 0 20px; */
  height: 5rem;
}

/* 左侧区域样式 */
.header-left {
  display: flex;
  align-items: center;
  gap: 4.5rem;
}

.brand-name {
  font-size: 1.8rem;
  font-weight: bold;
  color: #007bff;
  text-decoration: none;
  cursor: default;
  position: relative;
  z-index: 1001;
  height: 5rem;
  line-height: 5rem;
  display: inline-block;
}

.brand-name a {
  color: #007bff;
}

/* 下拉菜单样式 */
.dropdown-menu {
  position: absolute;
  top: 5rem;
  left: 0;

  /* width: 100vw; */
  /*height: 37.4rem;*/
  background-color: #ffffff;
  border: none;
  border-radius: 0;
  box-shadow: none;
  z-index: 1000;
  display: none;
  margin: 0;
  overflow: hidden;
  box-sizing: border-box;
  max-width: none;
  min-width: 99vw;
  padding: 0;
}

/* 下拉菜单内容容器 */
.dropdown-content {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: 100%;
  padding: 2rem 4rem;
  box-sizing: border-box;
  align-content: flex-start;
}

/* 显示下拉菜单 - 使用flex布局 */
.nav-dropdown:hover .dropdown-menu,
.dropdown-menu.show {
  display: block !important;
}

/* 调试完成，移除临时样式 */


/* 下拉菜单列样式 */
.dropdown-column {
  flex: 1;
  padding: 3rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  border-right: 1px solid #f0f0f0;
  min-width: 0;
  word-wrap: break-word;
  max-width: 33.333%;
  box-sizing: border-box;
}

.index_category_item {
  width: calc(33.33% - 1rem);
  line-height: 3rem;
  height: 3rem;
  font-size: 1.4rem;
  margin: 0.5rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.index_category_item .dropdown-link {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #333;
  border-radius: 0.4rem;
  transition: background-color 0.3s ease;
}

.index_category_item .dropdown-link:hover {
  background-color: #f8f9fa;
  color: #007bff;
}

.dropdown-column:last-child {
  border-right: none;
}

/* 下拉菜单链接样式 */
.dropdown-link {
  color: #333333;
  text-decoration: none;
  font-size: 1.8rem;
  padding: 0.8rem 1.2rem;
  border-radius: 0.4rem;
  transition: all 0.3s ease;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.dropdown-link:hover {
  background-color: #f0f8ff;
  color: #007bff;
}

/* 全局重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter !important;
}

html {
  font-size: 10px;
}

html,
body {
  background-color: #efefef !important;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  width: 100%;
  font-family: Inter !important;
}

.page-content {
  background-color: #efefef !important;
  min-height: 100vh;
  width: 100%;
}


/* 页脚样式 */
.site-footer {
  width: 100%;
  background: #1473E6;
}

.footer-main {
  max-width: 140rem;
  margin: 2rem auto 0;
  padding: 3rem 2.4rem 1.6rem 7rem;
  position: relative;
  color: #fff;
  background: #1473E6;
  display: flex;
  min-height: 22rem;
}

.footer-col {
  display: inline-block;
  vertical-align: top;
}

.footer-left {
  width: 64%;
}

.footer-right {
  font-size: 1.6rem;
  margin-top: 5rem;
}

.footer-brand {
  font-size: 2.6rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  margin-left: -2.5rem;
}

.footer-links {
  list-style: none;
  margin: 0.8rem 0 1.4rem 0;
  font-size: 1.6rem;
}

.footer-links li {
  margin: 1rem 0;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  opacity: 0.95;
}

.footer-social {
  display: flex;
  gap: 1.2rem;
}

.social-icon {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.4rem;
  background: #fff;
  color: #1473E6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-decoration: none;
}

.contact-item {
  color: #fff;
  margin: 0.6rem 0;
}

.footer-bottom {
  position: absolute;
  right: 0;
  height: 4.8rem;
  bottom: 0;
  background: #fff;
  color: #666;
  font-size: 1.2rem;
  border-top-left-radius: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  width: 56rem;
}

.footer-bottom a {
  color: #101010;
  text-decoration: none;
}

.bootom-line {
  color: #101010 !important;
  margin: 0 1rem !important;
}



.main-nav {
  display: flex;
  gap: 4.5rem;
}

.nav-dropdown .nav-link {
  text-decoration: none;
  color: #101010;
  font-size: 1.4rem;
  transition: color 0.3s ease;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  z-index: 1001;
  height: 5rem;
  line-height: 5rem;
  padding: 0 !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0.2rem;
  background-color: #007bff;
  transition: width 0.3s ease;
}

.nav-dropdown:hover .nav-link::after {
  width: 100%;
}

/* 导航下拉菜单容器 */
.nav-dropdown {
  display: inline-block;
}

/* 右侧功能按钮区域样式 */
.header-right {
  display: flex;
  align-items: center;
}

.action-buttons {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.8rem 1.2rem;
  border-radius: 0.4rem;
  transition: background-color 0.3s ease;
}

.action-btn a {
  color: #101010;
  font-weight: 500;
}

.btn-icon {
  width: 2rem;
  height: 2rem;
}

/* 图标字体样式 */
.iconfont {
  font-size: 1.8rem;
  font-family: "iconfont" !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-gouwuche {
  font-size: 2.6rem !important;
  color: #007bff;
}

.btn-text {
  font-size: 1.4rem;
  font-weight: 500;
  color: #101010;
}

/* 购物车按钮特殊样式（只有图标） */
.cart-btn {
  padding: 0.8rem;
}

.cart-btn .btn-text {
  display: none;
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.language-selector:hover {
  background-color: #f0f8ff;
}

.dropdown-arrow {
  width: 1.2rem;
  height: 1.2rem;
  transition: transform 0.3s ease;
}


/* 联系我们下拉菜单容器 */
.contact-dropdown {
  position: relative;
  display: inline-block;
}

/* My Account下拉菜单容器 */
.account-dropdown {
  position: relative;
  display: inline-block;
  z-index: 1002;
}

/* 联系我们下拉菜单样式 */
.contact-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 1rem;
  width: 28rem;
  background-color: #ffffff;
  border: 0.1rem solid #e0e0e0;
  border-radius: 0.8rem;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.15);
  z-index: 1001;
  display: block;
  padding: 0;
  margin-top: 0.2rem;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  /* 添加一个小的间隙区域，方便鼠标移动 */
  padding-top: 0.3rem;
}

/* 显示联系我们下拉菜单 */
.contact-dropdown:hover .contact-dropdown-menu,
.contact-dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
}

/* 联系信息头部 */
.contact-header {
  color: #0d65f8;
  padding-top: 1.5rem;
  margin: 0;
  text-align: center;
}

.contact-header h4 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: bold;
}

/* 联系信息内容 */
.contact-info {
  padding: 1.5rem 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 0.1rem solid #f0f0f0;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  font-size: 1.6rem;
  width: 2rem;
  text-align: center;
}

.contact-text {
  flex: 1;
  font-size: 1.4rem;
  color: #333;
}

.copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  padding: 0.2rem 0.6rem;
  border-radius: 0.3rem;
  transition: background-color 0.3s ease;
}

.copy-btn:hover {
  background-color: #f0f8ff;
}

/* My Account下拉菜单样式 */
.account-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 24rem;
  background-color: #ffffff;
  border: 0.1rem solid #e0e0e0;
  border-radius: 0.8rem;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.15);
  z-index: 1001;
  display: none;
  padding: 0;
  margin-top: 0.2rem;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  /* 添加一个小的间隙区域，方便鼠标移动 */
  padding-top: 0.3rem;
}

/* 显示My Account下拉菜单 */
.account-dropdown:hover .account-dropdown-menu,
.account-dropdown-menu:hover {
  display: block !important;
  opacity: 1;
  visibility: visible;
}

/* 为下拉菜单容器添加延迟隐藏效果 */
.account-dropdown {
  position: relative;
  display: inline-block;
  z-index: 1002;
}

/* 当鼠标悬停在整个下拉区域时保持显示 */
.account-dropdown:hover .account-dropdown-menu,
.account-dropdown .account-dropdown-menu:hover {
  display: block !important;
  opacity: 1;
  visibility: visible;
}


/* My Account头部 - 用户邮箱 */
.account-header {
  padding: 1.5rem 2rem;
  background-color: #f0f8ff;
  border-bottom: 0.1rem solid #e0e0e0;
}

.user-email {
  background: rgba(13, 101, 248, 0.1);
  color: #0D65F8;
  padding: 0.8rem 1.2rem;
  border-radius: 1.6rem;
  font-size: 1.4rem;
  text-align: center;
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  font-weight: 500;
}

/* My Account菜单项容器 */
.account-menu-items {
  padding: 1rem 0;
}

.account-menu-items-every {
  padding: 10px 0;
}

/* My Account菜单项 */
.account-menu-item {
  display: flex;
  align-items: center;
  /* gap: 1.2rem;
  padding: 1.2rem 2rem; */
  text-decoration: none !important;
  color: #5A607F;
  font-size: 1.4rem;
  transition: background-color 0.3s ease;
  position: relative;
}

.account-menu-item:hover {
  background-color: #f0f8ff;
  color: #007bff;
  text-decoration: none;
}

/* My Account图标 */
.account-icon {
  font-size: 1.6rem;
  width: 2rem;
  text-align: center;
}

/* My Account文本 */
.account-text {
  flex: 1;
  font-size: 1.4rem;
}

/* 右侧箭头 */
.arrow-right {
  font-size: 1.2rem;
  color: #999;
}

/* 下拉箭头样式 */
.account-dropdown .dropdown-arrow {
  font-size: 1rem;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.account-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* My Companys 嵌套下拉菜单样式 */
.company-item {
  position: relative;
}

.company-item:hover {
  background-color: #f0f8ff;
  color: #007bff;
}

.company-dropdown-menu {
  position: fixed;
  left: calc(50% + 20rem);
  top: 8rem;
  width: 20rem;
  background-color: #ffffff;
  border: 0.1rem solid #e0e0e0;
  border-radius: 0.8rem;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.15);
  z-index: 1003;
  display: none;
  padding: 0.8rem 0;
  overflow: hidden;
}

/* 显示公司下拉菜单 */
.company-item:hover .company-dropdown-menu {
  display: block !important;
}



/* My Companys悬停效果 */
.company-item:hover {
  background-color: #f0f8ff;
  color: #007bff;
}



/* 公司选项样式 */
.company-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.6rem;
  text-decoration: none !important;
  color: #5A607F;
  font-size: 1.4rem;
  transition: background-color 0.3s ease;
  position: relative;
}

.company-option:hover {
  background-color: #f0f8ff;
  color: #007bff;
  text-decoration: none !important;
}

/* 选中的公司选项 */
.company-option.selected {
  background-color: #f0f0f0;
  color: #333;
}

.company-option.selected:hover {
  background-color: #e0e0e0;
  color: #007bff;
}

/* 公司文本 */
.company-text {
  flex: 1;
  font-size: 1.4rem;
}

/* 选中标记 */
.checkmark {
  font-size: 1.4rem;
  color: #007bff;
  font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    height: auto;
    padding: 1.5rem 2rem;
    gap: 5rem;
  }

  .header-left {
    width: 100%;
    justify-content: space-between;
  }

  .main-nav {
    gap: 2rem;
  }

  .action-buttons {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .btn-text {
    display: none;
  }

  .action-btn {
    padding: 0.8rem;
  }

  /* 移动端下拉菜单样式 */
  .dropdown-menu {
    width: 100vw;
    height: auto;
    max-height: 40rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 1.5rem;
    flex-direction: column;
  }

  .dropdown-column {
    padding: 0 0.5rem;
    margin-bottom: 1.5rem;
  }

  .dropdown-link {
    font-size: 1.3rem;
    padding: 0.6rem 1rem;
  }
}

#loginModal .modal-dialog {
  min-width: 1160px;
  width: 60%;
  display: flex;
  align-items: center;
  z-index: 10000;
  height: 480px;
  top: 200px;
}

/* Logo样式 */
/* #loginModal .modal-logo {
  position: absolute;
  width: 68px;
  height: 68px;
  top: 37px;
  left: 50%;
  transform: translateX(-50%);
} */


/* 弹窗内容样式 */
#loginModal .modal-content {
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  width: 100%;
  /* 修改为100%以填充父容器 */
  height: 100%;
  /* 修改为100%以填充父容器 */
  overflow: auto;
  /* 添加滚动条以防内容溢出 */
}

.modal-content-body-b {
  height: 100%;
  display: flex;
  padding: 30px 80px;
}

#loginModal .body-left {
  width: 50%;
  border-right: 1px solid #d7dbec;
  position: relative;
}

#loginModal .left-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 22%;
}

#loginModal .left-header {
  height: 100px;
  margin: 0;
  padding: 0;
}

#loginModal .title-left {
  font-weight: bold;
  font-size: 32px;
  color: #131523;
  line-height: 44px;
  font-style: normal;
  text-transform: none;
  margin: 0;
  padding: 0;
}

#loginModal .title-small {
  margin: 10px 0 0 0;
  padding: 0;
  width: 419px;
  height: 48px;
  font-weight: 400;
  font-size: 14px;
  color: #0d65f8;
  line-height: 24px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

#loginModal .user-name {
  margin: 0;
  padding: 0;
  font-weight: bold;
  font-size: 16px;
  color: rgba(9, 17, 45, 0.8);
  line-height: 20px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

#loginModal .input-css {
  padding-right: 15%;
}

#loginModal .pass-word {
  margin-top: 40px;
}

#loginModal .remember {
  font-weight: 400;
  font-size: 14px;
  color: #3a4057;
  line-height: 20px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 768px) {
  #loginModal .custom-modal {
    width: 95%;
    top: 50px;
  }

  #loginModal .modal-content-body {
    flex-direction: column;
    padding: 0 20px;
  }

  #loginModal .body-left {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #d7dbec;
    padding-bottom: 20px;
  }

  #loginModal .body-right {
    width: 100%;
    margin-top: 20px;
  }
}

#loginModal .left-footer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#loginModal .text-left {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 15%;
}

#loginModal .forgot {
  font-family: Inter, Inter;
  font-weight: 400;
  font-size: 14px;
  color: #1e5eff;
  line-height: 20px;
  text-align: right;
  font-style: normal;
  text-transform: none;
  cursor: pointer;
}

#loginModal .body-right {
  padding-left: 7%;
  width: 50%;
  position: relative;
}

#loginModal .right-img {
  width: 28px;
  height: 25px;
  margin-right: 9px;
}

#loginModal .right-text {
  height: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  font-family: Inter, Inter;
  font-weight: 400;
  font-size: 14px;
  color: rgba(9, 17, 45, 0.8);
  line-height: 20px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

#loginModal .text-css {
  font-family: Inter, Inter;
  font-weight: 500;
  font-size: 18px;
  color: rgba(9, 17, 45, 0.8);
  line-height: 20px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

#loginModal .right-footer {
  position: absolute;
  /* 改为绝对定位 */
  bottom: 0;
  /* 固定在底部 */
  left: 70px;
  right: 0;
  height: 22%;
  /* background-color: aquamarine; */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#loginModal .remember-out {
  display: flex;
  align-items: center;
}

#loginModal .oneInput-css {
  height: 48px;
}

/* 宽度限定 */
.si-container {
  width: 140rem;
  margin: 0 auto;
}

@media screen and (max-width: 1440px) {
  .si-container {
    width: 100%;
  }
}