main {
  margin: 0 auto;
  padding: 2.5rem;
}
.max-size-w {
  width: var(--main-size-w);
}
.frame-operation {
  position: fixed;
  top: var(--frame-operation-top);
  left: 50%;
  z-index: 3;
  transform: translate(-50%);
}
.page-menu-left {
  position: absolute;
  left: 0;
  top: 15rem;
  width: var(--menu-op-l);
  ul > li {
    line-height: 3rem;
    cursor: pointer;
  }
}
.page-menu-right {
  position: absolute;
  right: 0;
  top: 15rem;
  width: var(--menu-op-r);
  padding: 0.3125rem 0.125rem;
  border-radius: 0.5rem;
  background: linear-gradient(to right, #285cfc, #373ae1);
  li {
    cursor: pointer;
    padding: 0.625rem;
    border-bottom: 0.0625rem solid #fff;
    .menu-item-right {
      display: flex;
      align-items: center;
      flex-direction: column;
      gap: 0.625rem;
      font-size: 0.875rem;
      color: #fff;
      img {
        display: block;
      }
    }
  }
  li:last-child {
    margin-bottom: 0;
    border-bottom: none;
  }
}
.tab-item {
  width: fit-content;
  position: relative;
  cursor: pointer;
  font-size: 1rem;
}

.tab-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.25rem;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.tab-item.active {
  color: var(--color-primary);
}
.tab-item.active::after {
  transform: scaleX(1);
}
.tab-content-item {
  position: relative;
  min-height: 100vh;
  padding: 0
    calc(
      ((100vw - var(--main-size-w)) / 2) +
        (var(--menu-op-l) + var(--menu-op-r) / 2) - 1.25rem
    );
  padding-top: 8rem;
  background: url("/public/imgs/home_bg_01.jpg") no-repeat;
  background-size: 100% 100%;
}
.company-product-desc {
  display: flex;
  justify-content: space-between;
}
.company-product-box {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 6rem;
  .swiper-ct-left {
    width: calc(100% / 2 - 50px);
    .company-desc {
      .desc-sub-title {
        margin-top: 2.375rem;
        font-size: 1rem;
        line-height: 1.75rem;
        color: #555;
      }
    }
    .company-contact {
      margin-top: 3rem;
      display: flex;
      align-items: center;
      gap: 2rem;
      border: 0.125rem solid #fff;
      padding: 1.5625rem;
      border-radius: 1.25rem;
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;

      img {
        flex: 1 1 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
        height: auto;
        display: block;
      }
    }
  }
  .swiper-ct-right {
    position: relative;
    display: flex;
    justify-content: flex-end;
    .swiper-ct-right-mobile {
      position: relative;
      z-index: 2;
    }
    .swiper-ct-right-bg {
      position: absolute;
      /* transform: scale(0.8); */
      right: -40%;
    }
  }
}

.padding-horizontal-40 {
  padding: 0rem 2.5rem;
}
.menu-title-box {
  width: 100%;
}
.menu-title-swiper {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.line-arrow-right {
  position: relative;
  flex: 1;
  max-width: 0%;
  transition: max-width 0.718s ease-in-out;
  height: 0.0625rem;
  background-color: var(--color-primary);
}
.line-arrow-right > img {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.line-arrow-right.show {
  flex: 1;
  max-width: 100%;
}
.menu-sub-title-swiper {
  color: #666;
}
.operation-step-desc-box {
  width: var(--skeleton-width);
  margin: 2.5rem auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1.25rem;
  .step-desc-item {
    border-radius: 0.3125rem;
    flex: 1;
    max-width: 17.5rem;
    height: 15rem;
    position: relative;
    overflow: hidden;
    .title {
      position: absolute;
      bottom: 1.25rem;
      left: 1.25rem;
      color: #fff;
      text-shadow: 0.0625rem 0.0625rem 0.125rem rgba(0, 0, 0, 0.7);
      transition: transform 0.3s ease;
      font-size: 1rem;
    }
    img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-repeat: no-repeat;
      background-size: contain;
      background-position: center;
      transition: transform 0.3s ease;
      object-fit: cover;
    }
  }
  .step-desc-item:hover {
    img {
      transform: scale(1.125);
    }

    .title {
      transform: translateY(-1.25rem);
    }
  }
}

.step-contact-box {
  width: 100%;
  height: 8rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 2.5rem;
  border-radius: 0.625rem;
  background: linear-gradient(to right, #e4e8ff 10%, #cee3fe 80%, #deeeff 100%);
}
.step-contact-box > div {
  position: relative;
  text-align: center;
  line-height: 2.375rem;
}

.step-contact-box > div > p:last-child {
  color: #666;
}
.step-contact-title {
  /* font-weight: bold; */
  font-size: 1.75rem;
}
.step-contact-sub-title {
  font-size: 1.75rem;
  color: #ec5d0a;
}
.step-contact-line {
  display: block;
  width: 0.125rem;
  height: 90%;
  background-color: #b4c4dd;
}
.payorder-setp-desc {
  margin-top: 2.5rem;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  flex-wrap: no-wrap;
  gap: 1.125rem;
  justify-content: space-between;
}
@media screen and (max-width: 1919px) {
  .payorder-setp-desc {
    flex-wrap: wrap;
  }
}
@media screen and (max-width: 1625px) {
  .payorder-setp-desc {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

.service__op-box {
  margin-top: 2.5rem;
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
}

.service__op-menu-item {
  width: 10.5rem;
  height: 3rem;
  line-height: 3rem;
  text-align: center;
  font-size: 1.125rem;
  border-radius: 0.3125rem;
  cursor: pointer;
  margin-bottom: 1.25rem;
}
.service__op-menu-item :last-child {
  margin-bottom: 0;
}
.service__op-menu-item.active {
  color: #fff;
  background: linear-gradient(to right, #3d3ce1, #6d4de8);
}
.service__op-container {
  display: none;
  background: #fff;
  padding: 1.875rem 2.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.1);
  flex: 1;
}
.service__op-container-head {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  .service__op-title {
    margin-bottom: 0 !important;
  }
}
.service__op-container-head > .outside-link-log {
  height: 1rem;
}

.service__op-container.active {
  display: block;
}
.service__op-title {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
  color: #333;
  border-bottom: 0.125rem solid #4a4aff;
  display: inline-block;
  padding-bottom: 0.25rem;
}

.service__op-label {
  display: block;
  margin-top: 1.25rem;
  font-weight: bold;
  color: #3333ff;
}

.service__op-select,
.service__op-input {
  width: 100%;
  padding: 0.625rem;
  margin-top: 0.3125rem;
  border: 0.0625rem solid #ccc;
  border-radius: 0.375rem;
  box-sizing: border-box;
  font-size: 0.875rem;
}

.service__op-input-wrapper {
  position: relative;
}

.service__op-unit {
  position: absolute;
  right: 0.625rem;
  top: calc(50% + (0.625rem / 2));
  transform: translateY(-50%);
  color: #888;
  font-size: 0.875rem;
}

.service__op-volume {
  display: flex;
  gap: 0.625rem;
  margin-top: 0.3125rem;
}

.service__op-volume .service__op-input {
  flex: 1;
}

.service__op-volume-unit {
  margin-left: 0.3125rem;
  line-height: 2rem;
  color: #888;
}

.service__op-button {
  width: 100%;
  margin-top: 1.875rem;
  padding: 0.75rem;
  border: none;
  border-radius: 0.5rem;
  background: linear-gradient(90deg, #4a4aff, #6e64ff);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.service__op-button:hover {
  background: linear-gradient(90deg, #6e64ff, #4a4aff);
}
.service__op-textarea-box {
  border: 0.0625rem solid #e8e8e8;
  border-radius: 0.3125rem;
  padding: 0 1.25rem;
}
.service__op-textarea-box > textarea {
  padding: 1.25rem 0;
  width: 100%;
}

.service__op-contact-box {
  line-height: 2.625rem;
}
.service__op-contact-box > p:nth-child(odd) {
  color: var(--color-primary);
}
.service__op-contact-box > p:nth-child(even) {
  color: #333;
}
.company__detail-box {
  margin-top: 1.25rem;
  padding: 1rem 0;
  display: flex;
  align-items: flex-start;
  /* flex-wrap: wrap; */
  gap: 1.75rem;
}
.company__detail-desc {
  max-width: 30rem;
  line-height: 1.575rem;
  color: #555;
  font-size: 0.8rem;
}
.company__detail-desc > ul {
  list-style: outside;
  margin: 1.375rem 0;
  margin-left: 0.625rem;
}
.company__detail-step {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  align-items: center;
  justify-items: center;
  .step-desc-item {
    border-radius: 0.3125rem;
    flex: 1;
    position: relative;
    overflow: hidden;
    height: 10.5rem;
    max-width: 15rem;
    box-sizing: border-box;
    .title {
      position: absolute;
      bottom: 1.25rem;
      left: 1.25rem;
      color: #fff;
      text-shadow: 0.0625rem 0.0625rem 0.125rem rgba(0, 0, 0, 0.7);
      transition: transform 0.3s ease;
    }
    img {
      width: 100%;
      height: 100%;
      transition: transform 0.3s ease;
      object-fit: cover;
    }
  }
  .step-desc-item:hover {
    img {
      transform: scale(1.125);
    }

    .title {
      transform: translateY(-1.25rem);
    }
  }
}

footer {
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100vw;
  height: 8rem;
  background-color: var(--color-primary);
}

.page-footer {
  margin: auto;
  color: #fff;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9.375rem;
  font-size: 0.875rem;
}

.link-outside > ul {
  display: flex;
  align-items: center;
  gap: 3.625rem;
  li {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 0.3125rem;
  }
}
.contact-li-img {
  width: 2.75rem;
  height: 2.75rem;
  display: block;
}

.company-address {
  line-height: 2rem;
}
.contact-li,
.menu-tooltip-li {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.contact-tooltip,
.menu-tooltip {
  display: none;
  position: absolute;
  top: -9.875rem;
  left: 50%;
  transform: translateX(-50%);
  width: 11.25rem;
  padding: 0.625rem;
  background-color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.2);
  text-align: center;
  font-family: sans-serif;
  z-index: 4;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.menu-tooltip {
  top: 0;
  left: -6.25rem;
  gap: 0.625rem;
  font-size: 0.875rem;
}

.contact-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0.375rem;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}
.menu-tooltip::after {
  content: "";
  position: absolute;
  top: 0rem;
  right: -0.9375rem;
  border-width: 0.625rem;
  border-style: solid;
  border-color: transparent #fff transparent transparent;
  transform: rotate(180deg);
}

.contact-li:hover .contact-tooltip {
  display: flex;
}
.menu-tooltip-li:hover .menu-tooltip {
  display: flex;
}
.step-contact-box-mobile {
  display: none;
  .step-tagline-box {
    padding: 1.25rem 2.5rem;
    border-radius: 0.625rem;
    background: linear-gradient(95deg, #a9d1fd, #c4e0fe);
    line-height: 2rem;
    p:first-child {
      font-size: 1.375rem;
    }
    p:last-child {
      font-size: 0.875rem;
      color: #555;
    }
  }
  .step-tagline-contact {
    margin-top: 1.75rem;
    padding: 1.25rem 0rem;
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: linear-gradient(95deg, #c5dffe, #e2ebfe);
    .step-tagline-contact-line {
      width: 0.125rem;
      height: 3rem;
      background-color: #efefef;
    }
    .step-tagline-contact-item {
      flex: 1;
      text-align: center;
      line-height: 1.875rem;
      p:first-child {
        font-size: 1.125rem;
        color: #e07938;
      }
      p:last-child {
        font-size: 0.875rem;
        color: #555;
      }
    }
  }
}
.header-h5 {
  position: absolute;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  z-index: 3;
}
.country-selector-container {
  position: relative;
  /* #country-input {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.2s;
  } */

  #country-input:focus {
    outline: none;
    border-color: var(--color-primary);
  }

  .popover {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 520px;
    margin-top: 8px;
    background: #fff;
    border: 1px solid #ebeef5;
    border-radius: 4px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px;
    box-sizing: border-box;
  }

  .popover.visible {
    display: block;
  }

  .search_area {
    width: 100%;
  }
  .country.highlight {
    color: #fff;
    background: var(--color-primary) !important;
  }
  .empty-tip {
    text-align: center;
    color: #999;
    padding: 20px 0;
    font-size: 14px;
  }

  .letters {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
  }
  .letter {
    color: #777;
    cursor: pointer;
    font-size: 13px;
    padding: 2px 4px;
  }
  .letter:hover {
    font-weight: 500;
    color: #000;
  }

  .search_main {
    min-height: 80px;
    max-height: 240px;
    overflow-y: auto;
    padding-top: 10px;
    padding-right: 10px;
  }
  .letter_item {
    margin-bottom: 10px;
  }
  .letter_item .title {
    margin-bottom: 10px;
    font-size: 15px;
    color: #000;
    font-weight: 500;
  }
  .countrys {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    line-height: 24px;
    cursor: pointer;
  }
  .country {
    padding: 5px;
    border-radius: 4px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .country:hover {
    color: #fff;
    background-color: var(--color-primary);
  }
}
.countryModelPopover-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 999;
}

/* --- 弹窗容器 --- */
.countryModelPopover-container {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #fff;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

/* 当弹窗可见时的状态 */
.countryModelPopover-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.countryModelPopover-container.visible {
  transform: translateY(0);
}

/* --- 弹窗内部样式 --- */
.countryModelPopover-area {
  height: 55vh;
  /* 初始高度 */
  padding-bottom: constant(safe-area-inset-bottom);
  /* 兼容 iOS 刘海屏 */
  padding-bottom: env(safe-area-inset-bottom);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  transition: height 0.2s ease;
}

.countryModelPopover-head__sticky {
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 1;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.countryModelPopover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 15px 10px 15px;
  font-size: 16px;
  font-weight: bold;
}

.countryModelPopover-close-icon {
  font-size: 20px;
  cursor: pointer;
  color: #999;
  padding: 5px;
}

.countryModelPopover-ipt {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #f5f5f5;
  margin: 10px 20px;
  padding: 10px 20px;
  border-radius: 25px;
}

.countryModelPopover-ipt input {
  flex: 1;
  border: none;
  outline: none;
  background-color: transparent;
  font-size: 14px;
}

.countryModelPopover-scrollable-content {
  overflow-y: auto;
  flex: 1;
  padding: 0 20px;
}

.countryModelPopover-commonCountry .countryModelPopover-title {
  font-size: 14px;
  color: #666;
  margin-top: 10px;
}

.countryModelPopover-countrys {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 5px;
  padding-bottom: 20px;
}

.countryModelPopover-country {
  padding: 10px 5px;
  background-color: #f5f5f5;
  border-radius: 24px;
  text-align: center;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.countryModelPopover-active__country {
  background-color: var(--color-primary);
  color: #fff;
}

.countryModelPopover-result {
  padding-bottom: 20px;
}

.countryModelPopover-result__cell {
  font-size: 15px;
  padding: 15px 5px;
  border-bottom: 1px solid #efefef;
  cursor: pointer;
}

.countryModelPopover-result__cell:last-child {
  border-bottom: none;
}
@media (max-width: 750px) {
  .header-h5 {
    display: block;
  }
  .frame-operation {
    display: none;
  }
  .company__detail-desc {
    text-align: left;
  }
  .tab-content-item {
    padding: 1.25rem;
    position: inherit;
    width: auto;
    height: auto;
    min-height: auto;
    text-align: center;
    margin: auto;
    overflow: hidden;
    .menu-title-swiper {
      justify-content: center;
      text-align: center;
      .line-arrow-right {
        display: none;
      }
    }
  }
  .company-product-box {
    flex-direction: column;
  }
  .company-product-desc {
    padding-top: 5rem;
  }
  .padding-horizontal-40 {
    padding: 0;
  }
  .company-product-box {
    padding: 1.25rem;
    .swiper-ct-left {
      width: 100%;
      .desc-sub-title {
        margin-top: 1.75rem;
      }
      .company-contact {
        margin-top: 1.75rem;
        width: 100%;
        border-radius: 0.9375rem;
        img {
          width: calc(100% / 2 - 1rem);
          height: auto;
          display: block;
        }
      }
    }
    .swiper-ct-right {
      margin: 1.25rem 0;
      width: 100%;
      position: relative;
      display: flex;
      position: relative;
      align-items: center;
      justify-content: center;
      .swiper-ct-right-mobile {
        position: relative;
        right: 0;
        top: 0;
        z-index: 2;
        width: 80%;
        height: auto;
        transform: none;
      }
      .swiper-ct-right-bg {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
      }
    }
  }
  .compnay-step-desc {
    .operation-step-desc-box {
      margin: 2.5rem 0;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.25rem;
    }
    .step-contact-box {
      display: none;
    }
    .step-contact-box-mobile {
      display: block;
    }
  }
  .payorder-setp-desc {
    align-items: center;
    justify-content: center;
  }

  .service__op-box {
    flex-direction: column;
    .service__op-menu {
      background-color: #e9ecef;
      width: 100%;
      display: flex;
      border-radius: 0.3125rem;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      padding: 0.625rem;
      .service__op-menu-item {
        flex: 1;
        width: auto;
        border-radius: 0.3125rem;
        margin-bottom: 0rem;
        /* text-align: left; */
      }
    }
    .service__op-container {
      width: 100%;
      padding: 0.9375rem 1.25rem;
      .service__op-title {
        margin-bottom: 0.625rem;
      }
      .service__op-contact-box {
        text-align: left;
      }
    }
  }
  .company__detail-box {
    margin-top: 1.25rem;
    flex-direction: column;
    padding: 0.3125rem;
    ul {
      margin: 0.9375rem 0;
      margin-left: 0.6;
    }
    li {
      width: fit-content;
    }
    .step-desc-item {
      width: auto;
      height: auto;
    }
  }
  footer {
    position: static;
    width: auto;
    height: auto;
    border-radius: 5px;
    .page-footer {
      padding: 2rem 0;
      flex-direction: column;
      gap: 1rem;
    }
  }
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

@media (min-width: 1200px) {
  html {
    font-size: 18px;
  }
}

@media (min-width: 1920px) {
  html {
    font-size: 20px;
  }
}
@media (min-width: 2560px) {
  html {
    font-size: 25px;
  }
}
