main {
  width: 100%;
  min-height: 100vh;
}
body {
  position: relative;
}
.menu-container {
    position: fixed !important;
    left: 0;
    width: 100%;
    top: 0;
    z-index: 11;
}
/* 下拉显示 */
.xl-container {
  padding: 70px 60px 0px;
  justify-content: space-between;
  font-size: 14px;
  display: none;
  position: absolute;
  top: 0px;
  right: 0px;
  left: 0px;
  z-index: 100;
}
.xl-left {
  flex: 0 0 auto;
}
.xl-left p,
.xl-left a {
  margin: 20px 0px;
  font-size: 12px;
  cursor: pointer;
}
.xl-center {
  flex: 1 1 auto;
  margin: 20px 90px 0px;
}
.xl-center a img {
  width: 100%;
  cursor: pointer;
  object-fit: contain;
}
.xl-right {
  flex: 0 0 auto;
}
.xl-right > a {
  margin: 20px 0px;
  font-size: 12px;
}
.xl-right div {
  width: 100%;
  margin: 18px 0px;
  height: 18px;
  line-height: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.xl-right div > a {
  width: 20px;
  cursor: pointer;
  height: 20px;
}
.xl-right div > a:nth-child(1) {
  background: url("../images/user_2.png") no-repeat center;
  background-size: contain;
}
.xl-right div > a:nth-child(2) {
  background: url("../images/collect.png") no-repeat center;
  background-size: contain;
  margin: 0px 10px;
}
.xl-right div > a:nth-child(3) {
  background: url("../images/sousuo.png") no-repeat center;
  background-size: contain;
}

/* 首页banner轮播图 */
.swiper-container {
  width: 100%;
  height: 100vh;
  color: #000;
}
.swiper-wrapper {
  height: 100%;
}
.swiper-slide {
  position: relative;
  height: 100%;
}
.swiper-slide a {
  width: 100%;
  height: 100%;
}
.swiper-pagination {
  bottom: 1rem !important;
}
/* 手机端首图可以单独传一张，模板用 <picture> 包住 <img>。
   <picture> 默认是 inline，img 的 height:100% 就多了一层来路不明的参照物 ——
   Chromium 实测仍然算得出 900px，但那是它自己的处理方式，规范上并不保证，
   而且 inline 盒还会带来基线留白。给它和 a 一模一样的盒子，
   包不包这一层渲染结果都一样，不用去猜某个浏览器怎么处理。 */
.swiper-slide a picture {
  display: block;
  width: 100%;
  height: 100%;
}
.swiper-container .swiper-slide a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
}
.bottom {
  margin-top: 50px;
  display: flex;
  align-items: center;
}
.bottom a {
  width: 100px;
  height: 30px;
  line-height: 30px;
  font-size: 14px;
  background: #000;
  color: #fff;
  text-align: center;
}
.bottom a:first-of-type {
  margin-right: 50px;
}

/* 首页公司简介 */
.b-main {
  padding: 50px 0px;
}
.b-main .Introduction-title {
  width: 300px;
  margin: 10px auto 70px;
}
.b-main .Introduction-title img {
  object-fit: contain;
  width: 100%;
}
.b-main .b-main-content {
  max-width: 1200px;
  margin: 0px auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px;
  align-items: start;
  text-align: left;
}
.b-main .b-main-content p {
  width: auto !important;
  max-width: none !important;
  margin: 0 0 14px !important;
  font-size: 12px !important;
  line-height: 1.9 !important;
  text-align: left !important;
}
.b-main a {
  width: 120px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  background: #000;
  color: #fff;
  font-size: 14px;
  margin: 40px auto 0px;
}

/* 首页产品轮播图 */
.carousel-container {
  background: #f2f2f2;
  width: 100%;
  height: fit-content;
  overflow: hidden;
}
.swiper-container1 {
  width: 100%;
  height: fit-content;
  position: relative;
  overflow: hidden;
}
.swiper-container1 .swiper-slide {
  position: relative;
}
.swiper-container1 .swiper-slide a {
  width: 100%;
  text-align: center;
}
.swiper-container1 .swiper-slide a img {
  max-height: 600px;
  width: 100%;
}
.carousel-content {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 3.5rem;
}
.carousel-content p {
  text-align: center;
  font-size: 16px;
  margin-bottom: 10px;
  white-space: nowrap;
  color: #585858;
}
.carousel-content a {
  font-size: 25px;
  white-space: nowrap;
}

/* 空间美学推荐 */
.d-main {
  padding: 30px 0px;
}
.d-main > div:first-child {
  font-size: 14px;
  text-align: center;
  margin: 10px 0px;
  color: #414141;
}
.d-main .aesthetics-title {
  font-size: 32px;
  text-align: center;
  margin: 30px 0px;
}
.d-main .d-main-content {
  padding-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0px 30px;
  column-gap: 30px;
}
.d-main .more-aesthetics {
  margin: 50px auto;
  background: #000;
  color: #fff;
  width: 130px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-size: 13px;
}

@media screen and (max-width: 1250px) {
  .carousel-content {
    bottom: 2.5rem;
  }
}

@media screen and (max-width: 1100px) {
  .b-main .b-main-content {
    max-width: 100%;
    margin: 0px auto;
    gap: 40px;
  }
  .b-main .b-main-content p {
    width: 100%;
    max-width: 100%;
  }
  .carousel-content {
    bottom: 1.5rem;
  }
  .carousel-content a {
    font-size: 22px;
  }
  .carousel-content p {
    font-size: 15px;
    margin-bottom: 8px;
  }
}

@media screen and (max-width: 750px) {
  .content {
    bottom: 10rem;
  }
  /* 与英文站使用同一套移动端取景：保留首图的视觉高度，同时减少横向裁切。 */
  main > .swiper-container {
    height: auto;
    aspect-ratio: 3 / 2;
  }
  main > .swiper-container > .swiper-wrapper > .swiper-slide,
  main > .swiper-container > .swiper-wrapper > .swiper-slide a {
    height: 100%;
  }
  main > .swiper-container > .swiper-wrapper > .swiper-slide a img {
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
  .swiper-container-horizontal > .swiper-pagination-bullets,
  .swiper-pagination-custom,
  .swiper-pagination-fraction {
    bottom: 1rem;
  }

  .b-main .b-main-content {
    max-width: 100%;
    margin: 0px auto;
    width: 90%;
    padding: 0;
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .b-main .Introduction-title {
    margin: 10px auto 35px;
    width: 60%;
  }
  /* 首页产品轮播图 */
  .carousel-container {
    height: 270px;
  }
  .carousel-container .swiper-container1 {
    height: 100%;
  }
  .swiper-container1 .swiper-slide {
    padding: 20px 30px;
  }
  .swiper-slide a {
    height: 100%;
  }
  .swiper-container1 .swiper-slide a img {
    object-fit: cover;
    height: 100%;
  }

  .carousel-content {
    bottom: 1rem;
  }
  .carousel-content p {
    font-size: 14px;
    margin-bottom: 5px;
  }
  .carousel-content a {
    font-size: 18px;
  }

  /* 空间美学推荐 */
  .d-main {
    padding: 25px 0px;
  }
  .d-main > div:first-child {
    margin: 0px;
  }
  .d-main .aesthetics-title {
    font-size: 20px;
    margin: 7px 0px;
  }
  .d-main .d-main-content {
    padding-top: 8px;
    grid-template-columns: repeat(2, 1fr);
    margin: 0px 15px;
    gap: 25px 10px;
  }
  .d-main .more-aesthetics {
    margin: 50px auto 20px;
  }
}
