@charset "UTF-8";
.new-wrap {
  width: 1400px;
  margin: 0 auto;
  display: block;
}

.icon-btn {
  width: 32px;
  height: 32px;
  background: #e8e8e8;
  border-radius: 8px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-right: 16px !important;
  vertical-align: middle;
  margin-left: 0 !important;
  box-sizing: border-box;
  padding-top: 0 !important;
}

.icon-btn:last-child {
  margin-right: 0 !important;
}

.icon-btn:hover .icon-cart-new {
  background: url(https://static.nextpcb.com/images/common/icons/head-cart-h.svg);
}

.icon-btn:hover .icon-msg-new {
  background: url(https://static.nextpcb.com/images/common/icons/head-msg-h.svg);
}

.icon-btn:hover .icon-help-new {
  background: url(https://static.nextpcb.com/images/common/icons/head-help-h.svg);
}

.icon-btn:hover .icon-user-new {
  background: url(https://static.nextpcb.com/images/common/icons/head-user-h.svg);
}

.icon-btn:hover .icon-coupon-new {
  background: url(https://static.nextpcb.com/images/common/icons/head-coupon-h.svg) no-repeat;
}

.icon-img {
  width: 18px;
  height: 18px;
}

.user-name {
  background: #CC0000;
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  box-sizing: border-box;
  overflow: hidden;
  white-space: nowrap;
  margin-right: 0;
}

.user-name .first-Name {
  display: block;
  overflow: hidden;
}

.user-name .first-Name::first-letter {
  text-transform: uppercase;
}

.no-login-name {
  height: 32px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  padding: 0 10px;
  cursor: default;
}

.icon-cart-new {
  background: url(https://static.nextpcb.com/images/common/icons/head-cart.svg) no-repeat;
  background-size: contain;
}

.icon-msg-new {
  background: url(https://static.nextpcb.com/images/common/icons/head-msg.svg) no-repeat;
  background-size: contain;
}

.icon-help-new {
  background: url(https://static.nextpcb.com/images/common/icons/head-help.svg) no-repeat;
  background-size: contain;
}

.icon-user-new {
  background: url(https://static.nextpcb.com/images/common/icons/head-user.svg) no-repeat;
  background-size: contain;
}

.icon-user-new-login {
  background: url(https://static.nextpcb.com/images/common/icons/head-user-h.svg) no-repeat;
}

.icon-coupon-new {
  background: url(https://static.nextpcb.com/images/common/icons/head-coupon.svg) no-repeat;
  background-size: contain;
}

.cart-num {
  height: 16px;
  background: #cc0000;
  border-radius: 8px;
  color: #fff;
  position: absolute;
  top: -7px;
  left: 24px;
  box-sizing: border-box;
  padding: 0 4px;
  line-height: 16px;
  font-size: 12px;
  display: block;
}

.icon-country {
  width: 18px;
  height: 12px !important;
  margin: 0 !important;
}

.jp-icon {
  margin-right: 0;
  margin-top: -2px;
}

.footer-subscribe {
  width: 100%;
  box-sizing: border-box;
  padding: 28px 30px;
  background: #FFF;
  margin-top: 10px;
}

.footer-subscribe p {
  color: #333 !important;
  font-size: 12px;
  line-height: 20px;
  white-space: nowrap;
}

.footer-subscribe .input {
  padding: 0 10px;
  width: 90%;
  height: 40px;
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid #e8e8e8;
  margin-top: 30px;
  outline: none;
}

.footer-subscribe .input-error {
  font-size: 12px;
  color: #CC0000 !important;
  font-weight: normal;
  display: none;
  line-height: 20px;
}

.footer-subscribe .btn-subscribe {
  width: 120px;
  height: 32px;
  background: #cc0000;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  color: #FFF;
  cursor: pointer;
}

.footer-subscribe .btn-subscribe-disable {
  cursor: not-allowed;
  background: #bdbdbd;
}

.top-user-menu {
  top: 32px !important;
}

.rightnav-sub {
  right: 40px !important;
}

.rightnav-sub .rightnav-sub-lt img[src="//mobile.nextpcb.com/static/mobile/img/icon/avast.png"] {
  content: url("http://mobile.nextpcb.com/static/mobile/img/icon/avast.svg") !important;
}

.new-right-nav {
  width: 40px !important;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 21px;
  box-sizing: border-box;
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 99999;
}

.new-right-nav li {
  width: 100%;
  height: 40px;
  position: relative;
  box-sizing: border-box;
  padding: 8px;
  border-bottom: 1px solid #E8E8E8 !important;
}

.new-right-nav li:first-child {
  border-radius: 21px 21px 0 0;
}

.new-right-nav li:hover {
  background: #CC0000;
  border-bottom: 1px solid #FFF !important;
}

.new-right-nav li:hover .go-top {
  background: url(https://static.nextpcb.com/images/common/icons/slide-top-h.svg);
}

.new-right-nav li:hover .cart {
  background: url(https://static.nextpcb.com/images/common/icons/slide-cart-h.svg);
  position: relative;
}

.new-right-nav li:hover .help {
  background: url(https://static.nextpcb.com/images/common/icons/slide-help-h.svg);
}

.new-right-nav li:hover .email {
  background: url(https://static.nextpcb.com/images/common/icons/slide-email-h.svg);
}

.new-right-nav li:hover .sky {
  background: url(https://static.nextpcb.com/images/common/icons/slide-sky-h.svg);
}

.new-right-nav li:last-child {
  border-bottom: none !important;
  border-radius: 0 0 21px 21px;
}

.new-right-nav .icon-item {
  width: 24px;
  height: 24px;
  position: relative;
  margin-bottom: 19px;
  cursor: pointer;
}

.new-right-nav .icon-item:last-child {
  margin-bottom: 0;
}

.new-right-nav .slide-cart-num {
  top: 0;
  left: 22px;
}

.new-right-nav .go-top {
  background: url(https://static.nextpcb.com/images/common/icons/slide-top.svg);
}

.new-right-nav .cart {
  background: url(https://static.nextpcb.com/images/common/icons/slide-cart.svg);
  position: relative;
}

.new-right-nav .help {
  background: url(https://static.nextpcb.com/images/common/icons/slide-help.svg);
}

.new-right-nav .email {
  background: url(https://static.nextpcb.com/images/common/icons/slide-email.svg);
}

.new-right-nav .sky {
  background: url(https://static.nextpcb.com/images/common/icons/slide-sky.svg);
}

.contact-us-new {
  width: 160px;
  height: 40px !important;
  background: #cc0000;
  border-radius: 20px;
  box-shadow: 0px 0px 16px 0px rgba(43, 46, 51, 0.2);
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: fixed;
  right: 80px;
  bottom: 100px;
  z-index: 9999;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  line-height: revert !important;
}

.contact-us-new img {
  margin-left: 10px;
}

.contact-us-new:hover {
  background: #DB1A1A;
}

.contact-us-skin {
  border-radius: 16px !important;
}

.contact-us-skin .layui-layer-title {
  background-color: #fff;
  border-bottom: none;
  border-radius: 16px 16px 0 0;
}

@media screen and (max-width: 1399px) {
  .new-wrap {
    width: 1200px;
  }
}

.hq-cookie-notice {
  width: 440px;
  height: 240px;
  position: fixed;
  bottom: 32px;
  left: 32px;
  z-index: 1003;
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0px 0px 32px 0px rgba(80, 107, 138, 0.1);
}

.hq-cookie-notice .notice-wrap {
  width: 100%;
  box-sizing: border-box;
  padding: 24px;
}

.hq-cookie-notice .notice-wrap .notice-title {
  font-size: 24px;
  font-weight: 700;
}

.hq-cookie-notice .notice-wrap .notice-body-text {
  width: 100%;
  font-size: 14px;
  line-height: 24px;
  margin-top: 10px;
}

.hq-cookie-notice .notice-wrap .notice-body-text a {
  color: #cc0000;
  font-weight: bold;
}

.hq-cookie-notice .notice-wrap .notice-body-text a:hover {
  text-decoration: underline;
}

.hq-cookie-notice .notice-wrap .notice-body-btn-box {
  display: flex;
  justify-content: flex-end;
}

.hq-cookie-notice .notice-wrap .notice-body-btn-box .hq-notice-btn {
  height: 32px;
  background: #cc0000;
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  border-radius: 4px;
  padding: 0 16px;
  color: #ffffff;
  font-size: 14px;
  line-height: 40px;
  white-space: nowrap;
  border-radius: 16px;
  cursor: pointer;
  margin-top: 24px;
}

.hq-cookie-notice .notice-wrap .notice-body-btn-box .hq-notice-btn:hover {
  background: #990C12;
}

.hq-cookie-notice .notice-wrap .notice-body-btn-box .hq-notice-btn:first-child {
  background: #fff;
  color: #CC0000;
  border: 1px solid #cc0000;
}

.hq-cookie-notice .notice-wrap .notice-body-btn-box .hq-notice-btn:first-child:hover {
  color: #990C12;
  border: 1px solid #990C12;
}

.hq-cookie-notice .notice-wrap .notice-body-btn-box .hq-notice-btn + .hq-notice-btn {
  margin-left: 20px;
}

.logo-title {
  position: absolute;
  right: -8px;
  top: 15px;
  font-size: 12px;
  font-weight: 700;
  transform: scale(0.9);
  pointer-events: none;
  color: transparent;
}

.note-err {
  border: 1px solid #C00 !important;
}

.popup-mask {
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1333;
}

.popup-body {
  height: 100vh;
  display: flex;
  justify-content: center;
  position: relative;
}

.coupon-popup {
  width: 395px;
  height: 399px;
  background: url("https://static.nextpcb.com/images/common/coupon/bg.webp");
  position: absolute;
  top: 211px;
  right: 50%;
  transform: translateX(50%) scale(1);
}

.coupon-popup .btn-close {
  width: 33px;
  height: 33px;
  background: url("https://static.nextpcb.com/images/common/coupon/icon-close.svg");
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  top: -33px;
  right: -10px;
  cursor: pointer;
}

.coupon-popup .content {
  width: 100%;
  height: 265px;
  box-sizing: border-box;
  padding: 30px 73px 30px 83px;
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
}

.coupon-popup .content .name {
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  color: #761d06;
  text-align: center;
  word-break: break-word;
}

.coupon-popup .content .discount {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #f53520;
}

.coupon-popup .content .discount .unit {
  font-size: 67px;
  font-weight: 800;
}

.coupon-popup .content .discount .num {
  font-size: 77px;
  font-weight: 800;
}

.coupon-popup .content .desc, .coupon-popup .content .date {
  font-size: 12px;
  font-weight: 400;
  text-align: center;
  color: #be610d;
}

.coupon-popup .content .desc {
  width: 100%;
  word-break: break-word;
}

.coupon-popup .content .date {
  display: none;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.coupon-popup .use-now {
  position: absolute;
  left: 76px;
  bottom: 40px;
  width: 255px;
  height: 83px;
  background: url("https://static.nextpcb.com/images/common/coupon/btn-bg1.webp");
  font-size: 36px;
  font-weight: 700;
  color: #f53520;
  cursor: pointer;
  display: flex;
  justify-content: center;
  padding-top: 12px;
}

.coupon-popup .use-now:hover {
  background: url("https://static.nextpcb.com/images/common/coupon/btn-bg1-h.webp");
}

.coupon-popup .coupon-link {
  position: absolute;
  left: 160px;
  bottom: 19px;
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.no-scroll {
  overflow: hidden;
}

.icon-shake {
  display: inline-block;
  will-change: transform;
  animation: shake 0.5s steps(7, end);
}

@keyframes shake {
  0%, 100% {
    transform: translate(0, 0);
  }
  14% {
    transform: translate(-5px, -5px);
  }
  28% {
    transform: translate(5px, 5px);
  }
  42% {
    transform: translate(-5px, 5px);
  }
  56% {
    transform: translate(5px, -5px);
  }
  70% {
    transform: translate(-5px, 0);
  }
  84% {
    transform: translate(0, 5px);
  }
}

@keyframes seesaw {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(15deg);
  }
  50% {
    transform: rotate(-15deg);
  }
  75% {
    transform: rotate(7.5deg);
  }
}

/* 应用动画 */
.icon-seesaw {
  animation: seesaw 0.5s linear infinite;
  display: inline-block;
}

/* Transition classes */
.zoom-enter-active,
.zoom-leave-active {
  transition: all 0.5s ease-in-out;
  /* Animation duration and timing function */
}

.zoom-enter {
  transform: translateX(50%) scale(0);
}

.zoom-enter-from,
.zoom-enter-to {
  opacity: 1;
  /* Fade out on leave */
  transform: translateX(50%) scale(1);
  /* Start at 50% size */
}

.scale-min {
  transform: scale(0.06);
  transform-origin: top;
  transition: all 0.5s ease-in-out;
  top: 16px;
  right: 6.5%;
}

.scale-min-ad {
  transform: scale(0.06);
  transform-origin: top;
  transition: all 0.5s ease-in-out;
  top: 76px;
  right: 6.5%;
}

.newcoupon-list {
  display: flex;
  flex-wrap: wrap;
}

.newcoupon-list .newcoupon-item {
  width: 400px;
  height: 136px;
  display: flex;
  margin-bottom: 20px;
  cursor: pointer;
}

.newcoupon-list .newcoupon-item:nth-child(2n + 1) {
  margin-right: 20px;
}

.newcoupon-list .newcoupon-item .left {
  height: 100%;
  width: 137px;
  background: url("https://static.nextpcb.com/images/common/coupon/bg-canuse1.webp");
  min-width: 137px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.newcoupon-list .newcoupon-item .left .type {
  height: 23px;
  background: #fcf4eec2;
  border-radius: 4px 0px 4px 0px;
  font-size: 12px;
  line-height: 23px;
  color: #E65400;
  box-sizing: border-box;
  padding: 0 9px;
  position: absolute;
  top: 0;
  left: 0;
}

.newcoupon-list .newcoupon-item .left .type span {
  display: inline-block;
  transform: scale(0.83);
  white-space: nowrap;
}

.newcoupon-list .newcoupon-item .left .discount {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #FFF;
  margin-top: 38px;
}

.newcoupon-list .newcoupon-item .left .discount span {
  display: block;
}

.newcoupon-list .newcoupon-item .left .discount span + span {
  margin-left: 5px;
}

.newcoupon-list .newcoupon-item .left .discount .unit {
  font-size: 28px;
  font-weight: 700;
}

.newcoupon-list .newcoupon-item .left .discount .num {
  font-size: 36px;
  font-weight: 700;
}

.newcoupon-list .newcoupon-item .left .limit {
  font-size: 12px;
  color: #FFF;
  margin-top: 16px;
  text-align: center;
}

.newcoupon-list .newcoupon-item .left .limit span {
  display: inline-block;
}

.newcoupon-list .newcoupon-item .right {
  width: 264px;
  height: 100%;
  background: #fffaf8;
  border: 1px solid rgba(204, 0, 0, 0.1);
  border-radius: 0 4px 4px 0;
  box-sizing: border-box;
  padding: 16px 18px;
}

.newcoupon-list .newcoupon-item .right .name {
  width: 100%;
  font-size: 16px;
  font-weight: 700;
  color: #34373F;
  line-height: 20px;
  position: relative;
}

.newcoupon-list .newcoupon-item .right .name .show-name {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 1;
}

.newcoupon-list .newcoupon-item .right .name .hidden-name {
  visibility: hidden;
  position: absolute;
  left: 0;
  top: 0;
}

.newcoupon-list .newcoupon-item .right .desc {
  height: 53px;
  font-size: 12px;
  margin: 8px 0;
  overflow: hidden;
  line-height: 18px;
  position: relative;
}

.newcoupon-list .newcoupon-item .right .desc .show-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 3;
}

.newcoupon-list .newcoupon-item .right .desc .hidden-text {
  visibility: hidden;
  position: absolute;
  left: 0;
  top: 0;
}

.newcoupon-list .newcoupon-item .right .date {
  font-size: 12px;
  color: #999;
  line-height: 18px;
}

.newcoupon-list .disable {
  cursor: not-allowed !important;
}

.newcoupon-list .disable .left {
  background: url("https://static.nextpcb.com/images/common/coupon/bg-gray1.webp");
}

.newcoupon-list .disable .left .type {
  background: #d2d2d2;
  color: #FFF;
}

.newcoupon-list .disable .right {
  color: #B2B2B2 !important;
}

.newcoupon-list .disable .right .name {
  color: #B2B2B2 !important;
}

.cart-coupon-list {
  display: flex;
  flex-wrap: wrap;
}

.cart-coupon-list .cart-coupon-item {
  box-sizing: border-box;
  padding: 2px 10px;
  font-size: 14px;
  color: #F0700A;
  border: 1px solid #e38909;
  border-radius: 4px;
  margin-right: 10px;
  margin-bottom: 10px;
  background: #FFFBF3;
}

.cart-coupon-list .cart-coupon-item:last-child {
  margin-right: 0;
}

.cart-coupon-list .cart-coupon-item .num {
  font-weight: 700;
}

.coupon-num {
  background: #f77718;
}

.download-bomfile a {
  color: #3284D4;
}

.download-bomfile a:hover {
  color: #3284D4 !important;
}

.fc-blue {
  color: #3284D4;
}

.icon-plate {
  display: block;
  width: 60px;
  height: 60px;
  background-size: 100% 100%;
}

.icon-fpc {
  background-image: url("../png/icon-fpc07c3.png");
}

.icon-rpc {
  background-image: url("../png/icon-rpc07c3.png");
}

.icon-aluminum {
  background-image: url("../png/icon-aluminum07c3.png");
}

.icon-copper {
  background-image: url("../png/icon-copper07c3.png");
}

.icon-pcb {
  background-image: url("../png/icon-pcb07c3.png");
}

.icon-pcb-high {
  background-image: url("https://static.nextpcb.com/images/quote/quote-pcb-high.webp");
}

.analyse-success:hover {
  background-image: url("../png/gerbesimgon07c3.png");
}

/* 隐藏Chrome和Safari中的上下箭头 */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* 隐藏Firefox中的上下箭头 */
input[type="number"] {
  -moz-appearance: textfield;
}

.hide-hover-sub {
  opacity: 0 !important;
  visibility: hidden !important;
  z-index: -1 !important;
}

@media screen and (max-width: 1399px) {
  .index-topad-box img {
    transform: scale(0.865);
    transform-origin: top;
  }
}
