* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  width: 100%;
}
body .app {
  width: 100%;
}
body .app .container {
  width: 1440px;
  height: 100%;
  margin: 0 auto;
}
body .app .banner {
  width: 100%;
  height: 660px;
  position: relative;
  overflow: hidden;
}
body .app .banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}
body .app .banner .container .banner-main {
  position: relative;
  z-index: 2;
  width: 447px;
  margin-top: 217px;
  margin-left: 119px;
}
body .app .banner .container .banner-main span {
  display: block;
  height: 48px;
  color: #ffffff;
  font-family: "Alibaba PuHuiTi";
  font-weight: 700;
  font-size: 35px;
  line-height: 48px;
  margin-bottom: 33px;
}
body .app .banner .container .banner-main .text {
  width: 447px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
body .app .banner .container .banner-main .text div {
  width: 4px;
  height: 31px;
  background: #ffffff;
}
body .app .banner .container .banner-main .text p {
  width: 431px;
  height: 66px;
  color: #ffffff;
  font-family: "Alibaba PuHuiTi";
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
}
body .app .page2 {
  height: auto;
  position: relative;
  overflow: visible;
}
body .app .page2 .container .search {
  width: 54.16%;
  height: 48px;
  display: flex;
  align-items: center;
  padding: 9px 13px;
  border-radius: 6px;
  background: #ececec;
  margin-top: 28px;
  margin-left: 442px;
  margin-left: 30%;
}
body .app .page2 .container .search img {
  width: 30px;
  height: 30px;
  margin-right: 12px;
  cursor: pointer;
}
body .app .page2 .container .search div {
  width: 1px;
  height: 34px;
  border-radius: 6px;
  background: #b9b9b9;
  margin-right: 12px;
}
body .app .page2 .container .search input {
  width: 699px;
  max-width: 100%;
  flex: 1;
  margin-top: 4px;
  border: none;
  outline: none;
  background: transparent;
}
body .app .page2 .container .search input::placeholder {
  color: #000000;
  font-family: "Alibaba PuHuiTi";
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
}
body .app .page2 .container .categories {
  position: absolute;
  top: 48px;
  left: 37px;
  width: 14.72%;
  height: auto;
  border-radius: 22px;
  border: 1px solid #ff7860;
  overflow: hidden;
}
body .app .page2 .container .categories .title {
  width: 100%;
  height: 56px;
  display: flex;
  place-content: center;
  place-items: center;
  background: #ff7860;
}
body .app .page2 .container .categories .title span {
  color: #ffffff;
  font-family: "Alibaba PuHuiTi";
  font-weight: 400;
  font-size: 18px;
  line-height: 25px;
}
body .app .page2 .container .categories .category {
  border-top: 1px solid #ff7860;
  width: 100%;
  min-height: 110px;
  padding: 16px 8px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  color: #767676;
}
body .app .page2 .container .categories .category img,
body .app .page2 .container .categories .category svg {
  width: 55px;
  height: 55px;
  flex-shrink: 0;
}
body .app .page2 .container .categories .category span {
  width: 110px;
  text-align: center;
  color: #888888;
  font-family: "Alibaba PuHuiTi";
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.3px;
}
body .app .page2 .container .categories .category:hover {
  color: #57a6df;
}
body .app .page2 .container .categories .category:hover span {
  color: #57a6df;
  font-family: "Alibaba PuHuiTi";
  font-weight: 700;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: -0.3px;
}
body .app .page2 .container .categories .active {
  color: #57a6df;
}
body .app .page2 .container .categories .active span {
  color: #57a6df;
  font-family: "Alibaba PuHuiTi";
  font-weight: 700;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: -0.3px;
}
body .app .page2 .container .categories .active .trailer-icon {
  width: 55px;
  height: 55px;
}
body .app .page2 .container .products {
  width: 78%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 58px 42px;
  margin-top: 49px;
  margin-left: 20.13%;
}
body .app .page2 .container .products .empty-tip {
  grid-column: -1;
  text-align: center;
  padding: 80px 0;
  color: rgba(74, 85, 101, 0.7);
  font-family: "Alibaba PuHuiTi";
  font-size: 16px;
}
body .app .page2 .container .products .product {
  width: 100%;
  aspect-ratio: 0.97916667;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0px 1px 2px -1px rgba(0, 0, 0, 0.1), 0px 1px 3px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  overflow: hidden;
}
body .app .page2 .container .products .product:hover .img img {
  transform: scale(1.05);
}
body .app .page2 .container .products .product .img {
  width: 100%;
  overflow: hidden;
  background-color: #e5e7eb;
}
body .app .page2 .container .products .product .img img {
  width: 100%;
  display: block;
  transition: all 0.3s ease-in-out;
}
body .app .page2 .container .products .product .text {
  width: 100%;
  height: 84px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4%;
}
body .app .page2 .container .products .product .text .xq {
  width: 80%;
  height: 100%;
  overflow: hidden;
}
body .app .page2 .container .products .product .text .xq span {
  display: block;
  color: #000000;
  font-family: "Alibaba PuHuiTi";
  font-weight: 700;
  font-size: 18px;
  line-height: 25px;
  margin-top: 5%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body .app .page2 .container .products .product .text .xq p {
  margin-top: 4px;
  color: #4a5565;
  font-family: Inter;
  font-weight: 400;
  font-size: 13px;
  line-height: 24px;
  letter-spacing: -0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body .app .page2 .container .products .product .text .right {
  display: flex;
  place-content: center;
  place-items: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 73, 41, 0.26);
  border-radius: 50%;
}
body .app .page2 .container .products .product .text .right img {
  width: 41.66%;
  height: 41.66%;
}
body .app .page2 .container .need {
  width: 74.44%;
  height: 97px;
  border-radius: 12px;
  background: #f8fafc;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  margin-top: 58px;
  margin-left: 20.13%;
}
body .app .page2 .container .need span {
  display: block;
  color: #000000;
  font-family: "Alibaba PuHuiTi";
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-transform: uppercase;
  margin-left: 6em;
}
body .app .page2 .container .need button,
body .app .page2 .container .need a {
  width: 218px;
  height: 52px;
  border-radius: 8px;
  border: 1px solid #57a6df;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}
body .app .page2 .container .need button:hover,
body .app .page2 .container .need a:hover {
  transform: scale(1.05);
}
body .app .page2 .container .need button p,
body .app .page2 .container .need a p {
  display: block;
  font-family: "Alibaba PuHuiTi";
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
}
body .app .page2 .container .need button img,
body .app .page2 .container .need a img {
  width: 27px;
  height: 27px;
}
body .app .page2 .container .need .get {
  margin-left: 77px;
  margin-right: 45px;
  color: #57a6df;
  background: #f8fafc;
}
body .app .page2 .container .need .learn {
  color: #ffffff;
  background: #57a6df;
}
body .app .page2 .container .navigation {
  width: 70%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 50px;
  margin-left: 23.13%;
}
body .app .page2 .container .navigation .prev {
  height: 35px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #57a6df;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}
body .app .page2 .container .navigation .prev.disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
body .app .page2 .container .navigation .prev img {
  width: 20px;
}
body .app .page2 .container .navigation .prev p {
  color: #ffffff;
  font-family: "Alibaba PuHuiTi";
  font-weight: 400;
  font-size: 18px;
  line-height: 25px;
  margin: 0;
}
body .app .page2 .container .navigation .next {
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1% 2%;
  border-radius: 8px;
  background: #ff4929;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}
body .app .page2 .container .navigation .next.disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
body .app .page2 .container .navigation .next img {
  width: 20px;
}
body .app .page2 .container .navigation .next p {
  color: #ffffff;
  font-family: "Alibaba PuHuiTi";
  font-weight: 400;
  font-size: 18px;
  line-height: 25px;
  margin: 0;
}
body .app .page2 .container .navigation .nums {
  width: fit-content;
  height: fit-content;
  display: inline-flex;
  place-content: flex-start;
  place-items: center;
  gap: 39px;
}
body .app .page2 .container .navigation .nums .num {
  width: 53px;
  height: 54px;
  color: #ff4929;
  font-family: "DIN Alternate";
  font-weight: 700;
  font-size: 30px;
  line-height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: #fff;
  border: 2px solid #ff4929;
  box-sizing: border-box;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
body .app .page2 .container .navigation .nums .num.active,
body .app .page2 .container .navigation .nums .num:hover {
  color: #fff;
  background: #ff4929;
}
body .app .page2 .container .navigation .nums .ell {
  font-size: 30px;
  color: #ff4929;
  width: fit-content;
  height: fit-content;
  display: inline-flex;
  place-content: center;
  place-items: center;
  gap: 17px;
  padding: 33px 22px;
}
/* 鈹€鈹€ Responsive 鈹€鈹€ */
@media only screen and (max-width: 1700px) {
  body .productcenter .container {
    width: 92%;
    max-width: 1440px;
  }
}
@media only screen and (max-width: 1470px) {
  body .productcenter .banner {
    height: 560px;
  }
  body .productcenter .banner .container .banner-main .text h1 {
    font-size: 44px;
    line-height: 56px;
  }
  body .productcenter .page2 {
    height: auto;
    padding: 60px 0;
  }
}
@media only screen and (max-width: 1280px) {
  body .productcenter .banner {
    height: 480px;
  }
  body .productcenter .banner .container .banner-main .text h1 {
    font-size: 36px;
    line-height: 46px;
  }
  body .productcenter .page2 .container {
    flex-direction: column;
    gap: 24px;
  }
  body .productcenter .page2 .container .products {
    width: 100%;
  }
  body .productcenter .page2 .container .categories .title {
    flex-wrap: wrap;
    gap: 8px;
  }
  body .productcenter .page2 .container .categories .title .category {
    width: auto;
  }
  body .productcenter .page2 .container .products {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
    gap: 24px;
  }
  body .productcenter .page2 .container .products .product {
    width: 100%;
  }
  body .app .page2 .container .navigation .nums {
    gap: 30px;
  }
}
@media only screen and (max-width: 1024px) {
  body .productcenter .banner {
    height: 400px;
  }
  body .productcenter .banner .container .banner-main .text h1 {
    font-size: 30px;
    line-height: 40px;
  }
  body .productcenter .page2 {
    padding: 50px 0;
  }
  body .productcenter .page2 .container .products .product .text h2 {
    font-size: 16px !important;
  }
  body .productcenter .page2 .container .products .product .text p {
    font-size: 13px !important;
  }
  body .app .page2 .container .navigation .prev p {
    font-size: 10px !important;
  }
  body .app .page2 .container .navigation .next p {
    font-size: 10px !important;
  }
  body .app .page2 .container .navigation .nums {
    gap: 10px;
  }
}
@media only screen and (max-width: 800px) {
  body .productcenter .banner {
    height: 320px;
  }
  body .productcenter .banner .container .banner-main .text h1 {
    font-size: 24px;
    line-height: 32px;
  }
  body .productcenter .page2 {
    padding: 40px 0;
  }
  body .productcenter .page2 .container .products {
    grid-template-columns: 1fr;
  }
  body .productcenter .page2 .container .search {
    height: 42px;
    margin-top: 16px;
    padding: 6px 12px;
  }
  body .productcenter .page2 .container .search img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
  }
  body .productcenter .page2 .container .search div {
    height: 26px;
    margin-right: 8px;
  }
  body .productcenter .page2 .container .search input {
    font-size: 13px !important;
  }
  body .productcenter .page2 .container .search input::placeholder {
    font-size: 13px;
  }
  body .productcenter .page2 .container .products .product {
    width: 80%;
  }
  body .app .page2 .container .categories .title span {
    font-size: 13px !important;
  }
  body .app .page2 .container .navigation .prev,
  body .app .page2 .container .navigation .next {
    width: fit-content !important;
  }
  body .app .page2 .container .navigation .prev p,
  body .app .page2 .container .navigation .next p {
    font-size: 7px !important;
  }
  body .app .page2 .container .navigation .prev img,
  body .app .page2 .container .navigation .next img {
    width: 16px;
  }
  body .app .page2 .container .navigation .nums .num {
    width: 38px !important;
    height: 38px !important;
    font-size: 20px !important;
  }
  body .app .page2 .container .navigation .nums .ell {
    padding: 0;
  }
}
@media only screen and (max-width: 640px) {
  body .productcenter .banner {
    height: 260px;
  }
  body .productcenter .banner .container .banner-main .text h1 {
    font-size: 20px;
    line-height: 28px;
  }
  body .productcenter .page2 {
    padding: 30px 0;
  }
  body .productcenter .page2 .container .search {
    height: 38px;
    margin-top: 12px;
    padding: 5px 10px;
    border-radius: 4px;
  }
  body .productcenter .page2 .container .search img {
    width: 20px;
    height: 20px;
    margin-right: 6px;
  }
  body .productcenter .page2 .container .search div {
    height: 22px;
    margin-right: 6px;
  }
  body .productcenter .page2 .container .search input {
    font-size: 12px !important;
  }
  body .productcenter .page2 .container .search input::placeholder {
    font-size: 12px;
  }
  body .productcenter .page2 .container .products .product .text h2 {
    font-size: 14px !important;
  }
  body .productcenter .page2 .container .products {
    width: 78% !important;
  }
  body .productcenter .page2 .container .products .product {
    width: 45% !important;
    height: 210px !important;
  }
  body .app .page2 .container .categories .title span {
    font-size: 10px !important;
  }
  body .app .page2 .container .need {
    justify-content: center;
    padding: 0 10px;
    gap: 10px;
  }
  body .app .page2 .container .need span {
    font-size: 12px !important;
    margin: 0;
    width: fit-content !important;
  }
  body .app .page2 .container .need .get,
  body .app .page2 .container .need .learn {
    margin: 0 !important;
    width: fit-content;
  }
  body .app .page2 .container .need .get img,
  body .app .page2 .container .need .learn img {
    width: 16px;
    height: 16px;
  }
}
/* ── productcenter 移动端修复（categories 不再绝对定位 / 写死宽高全部去掉 / 卡片自适应 / 分页+need 自适应）── */
@media only screen and (max-width: 1280px) {
  /* === 关键修复：categories 从绝对定位改为正常文档流，stack 在 products 上方 === */
  body .productcenter .page2 .container .categories {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
  }
  /* 搜索框：去掉左偏移，全宽自适应 */
  body .productcenter .page2 .container .search {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* 去掉为 absolute categories 让位的 left margin */
  body .productcenter .page2 .container .products,
  body .productcenter .page2 .container .need,
  body .productcenter .page2 .container .navigation {
    width: 100% !important;
    margin-left: 0 !important;
  }
}
@media only screen and (max-width: 1024px) {
  /* === categories 横向类目排列，节省纵向空间 === */
  body .productcenter .page2 .container .categories {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
  }
  body .productcenter .page2 .container .categories .title {
    width: 100% !important;
    height: auto !important;
    padding: 10px 14px;
    flex-basis: 100%;
  }
  body .productcenter .page2 .container .categories .category {
    min-height: 0 !important;
    height: auto !important;
    width: auto !important;
    padding: 10px 12px;
    gap: 8px;
    flex-direction: row;
    border-top: none;
    border: 1px solid rgba(255, 120, 96, 0.4);
    border-radius: 10px;
  }
  body .productcenter .page2 .container .categories .category img,
  body .productcenter .page2 .container .categories .category .trailer-icon {
    width: 28px !important;
    height: 28px !important;
  }
  body .productcenter .page2 .container .categories .category span {
    width: auto !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
  }
  /* === 产品卡片：去掉 aspect-ratio + 写死高度，自适应 === */
  body .productcenter .page2 .container .products .product {
    aspect-ratio: auto !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
  }
  body .productcenter .page2 .container .products .product .img {
    aspect-ratio: 1.45454545;
    height: auto !important;
  }
  body .productcenter .page2 .container .products .product .img img {
    height: 100%;
    object-fit: cover;
  }
  body .productcenter .page2 .container .products .product .text {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 12px;
    gap: 8px;
    align-items: flex-start;
  }
  body .productcenter .page2 .container .products .product .text .xq {
    width: auto !important;
    height: auto !important;
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
  }
  body .productcenter .page2 .container .products .product .text .xq span {
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
    text-overflow: ellipsis;
    font-size: 16px !important;
    line-height: 1.3 !important;
    margin: 0 !important;
  }
  body .productcenter .page2 .container .products .product .text .xq p {
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
    text-overflow: ellipsis;
    font-size: 12px !important;
    line-height: 1.4 !important;
    margin: 4px 0 0 !important;
  }
  body .productcenter .page2 .container .products .product .text .right {
    width: 32px !important;
    height: 32px !important;
    flex-shrink: 0;
  }
  /* === Need section: 自适应布局 === */
  body .productcenter .page2 .container .need {
    width: 100% !important;
    height: auto !important;
    margin: 32px 0 0 !important;
    padding: 16px;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    box-sizing: border-box;
  }
  body .productcenter .page2 .container .need span {
    margin: 0 !important;
    width: 100%;
    font-size: 14px !important;
    line-height: 1.4 !important;
    text-align: center;
  }
  body .productcenter .page2 .container .need a,
  body .productcenter .page2 .container .need button {
    width: auto !important;
    min-width: 130px;
    max-width: 100%;
    height: auto !important;
    min-height: 40px;
    padding: 8px 14px;
    margin: 0 !important;
    gap: 6px;
  }
  body .productcenter .page2 .container .need a p,
  body .productcenter .page2 .container .need button p {
    font-size: 13px !important;
    white-space: nowrap;
  }
  body .productcenter .page2 .container .need a img,
  body .productcenter .page2 .container .need button img {
    width: 18px !important;
    height: 18px !important;
  }
  /* === Navigation: 自适应 + prev/next 文字不换行 === */
  body .productcenter .page2 .container .navigation {
    width: 100% !important;
    height: auto !important;
    margin: 32px 0 0 !important;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }
  body .productcenter .page2 .container .navigation .prev,
  body .productcenter .page2 .container .navigation .next {
    height: auto !important;
    min-height: 36px;
    padding: 6px 12px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  body .productcenter .page2 .container .navigation .prev p,
  body .productcenter .page2 .container .navigation .next p {
    white-space: nowrap !important;
    font-size: 13px !important;
  }
  body .productcenter .page2 .container .navigation .nums {
    gap: 6px !important;
    flex-wrap: wrap;
    justify-content: center;
  }
  body .productcenter .page2 .container .navigation .nums .num {
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
    border-radius: 8px;
  }
}
@media only screen and (max-width: 800px) {
  /* 单列产品卡 */
  body .productcenter .page2 .container .products {
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }
  body .productcenter .page2 .container .products .product {
    width: 100% !important;
    max-width: none !important;
  }
}
@media only screen and (max-width: 640px) {
  /* 覆盖原 .product { width:45% !important; height:210px !important } */
  body .productcenter .page2 .container .products {
    width: 100% !important;
    grid-template-columns: 1fr !important;
  }
  body .productcenter .page2 .container .products .product {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
  }
  body .productcenter .page2 .container .navigation .nums .num {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
  }
  body .productcenter .page2 .container .navigation .prev p,
  body .productcenter .page2 .container .navigation .next p {
    font-size: 11px !important;
  }
}
