.top-logo {
  width: 131px;
}

.h-80 {
  height: 80px;
}

.top-banner {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 999;
}

.top-tab {
  margin-left: 60px;
  display: flex;
  align-items: center;
  gap: 0 50px;
}

.top-right {
  display: flex;
  align-items: center;
}

.top-right img {
  margin-left: 20px;
  width: 24px;
  height: 24px;
}

.top-right a {
  margin-left: 12px;
  font-size: 16px;
  color: #045afe;
}

.top-right button {
  padding: 8px 24px;
}

.top-mobile-menu {
  display: none;
}

.product-dialog {
  position: fixed;
  top: -550px;
  left: 0;
  right: 0;
  z-index: 800;
  background: #ffffff;
  box-shadow: 0px 20px 60px 0px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease-out;
  opacity: 0;
}

.product-dialog.show {
  top: 80px;
  opacity: 1;
}

.product-dialog-left {
  width: 243px;
  box-shadow: 4px 0px 8px 0px #f1f1f1;
  box-sizing: border-box;
  padding: 8px 0 25px 55px;
}

.product-dialog-left-item {
  width: 172px;
  height: 40px;
  border-radius: 6px 6px 6px 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 400;
  font-size: 16px;
  color: #333333;
  margin-top: 12px;
  cursor: pointer;
}

.product-dialog-left-item.active {
  background: #e8f1fc;
  color: #0168ef;
}

.product-dialog-left-btn {
  margin-top: 55px;
}

.product-dialog-left-btn button {
  width: 172px;
  height: 36px;
  background: #045afe;
  box-shadow: 0px 4px 16px 0px rgba(4, 90, 254, 0.16);
  border-radius: 4px 4px 4px 4px;
  font-weight: 500;
  font-size: 14px;
  color: #ffffff;
  line-height: 36px;
  padding: 0;
  position: relative;
}

.product-dialog-left-btn button:before {
  content: "";
  position: absolute;
  top: -40px;
  left: 75px;
  background-image: url("./img/Group 427324103.png");
  background-size: cover;
  background-repeat: no-repeat;
  width: 105px;
  height: 38px;
}

.product-dialog-center {
  box-sizing: border-box;
  padding: 20px 0 0 75px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-content: flex-start;
  flex: 1;
}

.product-dialog-box {
  display: flex;
}

.product-dialog-center-desc {
  font-weight: 400;
  padding-left: 12px;
  font-size: 20px;
  color: #000000;
  line-height: 22px;
  width: 100%;
}

.product-dialog-center-item {
  width: 222px;
  height: 65px;
  background: #fff;
  border-radius: 8px 8px 8px 8px;
  display: flex;
  align-items: center;
  padding-left: 12px;
  box-sizing: border-box;
  cursor: pointer;
}

.product-dialog-center-item:hover {
  background: #ecf6fd;
}

.product-dialog-center-item.active {
  background: #ecf6fd;
}

.product-dialog-center-item img {
  width: 36px;
  height: 36px;
}

.product-dialog-center-item .right {
  padding-left: 12px;
}

.product-dialog-center-item .title {
  font-weight: 500;
  font-size: 14px;
  line-height: 22px;
  color: #000;
}

.product-dialog-center-item:hover .title {
  color: #055afe;
}

.product-dialog-center-item.active .title {
  color: #055afe;
}

.product-dialog-center-item .remark {
  font-weight: 400;
  font-size: 12px;
  color: #808080;
  line-height: 15px;
  margin-top: 4px;
  width: 155px;
}

.product-dialog-right {
  padding: 20px 0;
}

.product-dialog-right-bg {
  background: #f4f9ff;
  width: 265px;
  border-radius: 12px;
}

.product-dialog-right img {
  width: 265px;
  height: 212px;
}

.product-dialog-right-title {
  padding: 15px 0 0 12px;
  font-weight: 500;
  font-size: 18px;
  color: #000000;
  line-height: 22px;
}

.product-dialog-right-remark {
  padding: 10px 12px 0 12px;
  font-weight: 400;
  font-size: 14px;
  color: #656565;
  line-height: 18px;
}

.product-dialog-right-btn {
  margin-top: 25px;
  padding: 0 15px 15px 15px;
}

.product-dialog-right-btn button {
  font-weight: 400;
  font-size: 16px;
  color: #007EFF;
  line-height: 22px;
}

.product-dialog-right-btn .btn2 {
  background: linear-gradient(90deg, #045afe 0%, #675aff 100%);
}

.product-checked {
  position: relative;
}

.product-checked:before {
  content: "";
  position: absolute;
  left: -25px;
  top: -25px;
  bottom: -25px;
  right: -25px;
}

/* 移动端菜单动画关键帧 - 优化版本 */
@keyframes slideDown {
  0% {
    transform: translateY(-100%) scale(0.9);
    opacity: 0;
  }

  60% {
    transform: translateY(-10%) scale(1.02);
    opacity: 0.8;
  }

  80% {
    transform: translateY(2%) scale(0.99);
    opacity: 0.95;
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes slideUp {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  20% {
    transform: translateY(-5%) scale(1.01);
    opacity: 0.9;
  }

  100% {
    transform: translateY(-100%) scale(0.9);
    opacity: 0;
  }
}

/* 菜单项淡入动画 */
@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 移动端 */
@media screen and (max-width: 800px) {
  .fix-service {
    display: none;
  }
  .w-1280 {
    width: 100%;
  }

  .flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  img {
    max-width: 100%;
  }

  .top-banner>div {
    justify-content: space-between;
    padding: 0 15px;
  }

  .top-banner .top-tab {
    display: none;
  }

  .top-banner button {
    border: 0;
    width: fit-content;
    padding: 0;
    background: none;
    color: #007eff;
    display: none;
  }

  .top-mobile-menu {
    display: block;
  }

  .menu-icon {
    display: block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
  }

  .menu-icon:hover {
    transform: scale(1.1) rotate(90deg);
  }

  .close-icon {
    display: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
  }

  .close-icon:hover {
    transform: scale(1.1) rotate(90deg);
  }

  /* 菜单打开时的图标状态 */
  .top-mobile-menu.menu-open .menu-icon {
    transform: scale(0.9) rotate(180deg);
    opacity: 0;
  }

  .top-mobile-menu.menu-open .close-icon {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }

  .top-mobile-menu .menu-inner {
    background-color: #fff;
    overflow: hidden;
    position: fixed;
    top: 80px;
    right: 0;
    width: 100vw;
    box-sizing: border-box;
    transform: translateY(-100%) scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 16px 16px;
  }

  /* 展开状态 */
  .top-mobile-menu .menu-inner.show {
    visibility: visible;
    animation: slideDown 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }

  /* 收起状态 */
  .top-mobile-menu .menu-inner.hide {
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }

  .top-mobile-menu ul {
    height: calc(100vh - 80px);
    margin: 0;
    overflow: hidden;
    overflow-y: auto;
  }

  .top-mobile-menu ul li {
    margin-bottom: 8px;
    list-style: none;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(212, 212, 212, 0.3);
  }

  /* 菜单展开时，菜单项依次出现 */
  .top-mobile-menu .menu-inner.show ul li {
    animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }

  .top-mobile-menu .menu-inner.show ul li:nth-child(1) {
    animation-delay: 0.1s;
  }

  .top-mobile-menu .menu-inner.show ul li:nth-child(2) {
    animation-delay: 0.15s;
  }

  .top-mobile-menu .menu-inner.show ul li:nth-child(3) {
    animation-delay: 0.2s;
  }

  .top-mobile-menu .menu-inner.show ul li:nth-child(4) {
    animation-delay: 0.25s;
  }

  .top-mobile-menu .menu-inner.show ul li:nth-child(5) {
    animation-delay: 0.3s;
  }

  .top-mobile-menu .menu-inner.show ul li:nth-child(6) {
    animation-delay: 0.35s;
  }

  .top-mobile-menu ul li a {
    padding: 18px 20px;
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    margin-bottom: 4px;
  }

  .top-mobile-menu ul li a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg,
        rgba(0, 123, 255, 0.1),
        rgba(0, 123, 255, 0.05));
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
  }

  .top-mobile-menu ul li a:hover {
    color: #007bff;
    transform: translateX(8px);
    background-color: rgba(0, 123, 255, 0.02);
  }

  .top-mobile-menu ul li a:hover::before {
    width: 100%;
  }

  .top-mobile-menu ul li a:active {
    transform: translateX(8px) scale(0.98);
  }

  .top-mobile-menu dl {
    display: none;
  }

  .top-mobile-menu dd {
    padding-left: 20px;
  }

  .top-mobile-menu .has-child>a::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    background: url("../images/arrow-down.svg") no-repeat center center;
    background-size: 100% 100%;
  }
}