.homeContainer {
  width: 16rem;
  max-width: calc(100% - 1.6rem);
  margin: 0 auto;
}

.homeHero {
  position: relative;
  height: 10.8rem;
  min-height: 6.5rem;
  overflow: hidden;
}

.homeHero::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.15rem;
  background: linear-gradient(180deg, transparent, rgba(78, 32, 11, 0.55));
  pointer-events: none;
}

.homeHeroSwiper,
.homeHeroSwiper .swiper-wrapper,
.homeHero__slide {
  width: 100%;
  height: 100%;
}

.homeHero__slide {
  position: relative;
  overflow: hidden;
}

.homeHero__img,
.homeHero__mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.homeHero__img {
  object-fit: cover;
}

.homeHero__mask {
  background: linear-gradient(
    180deg,
    rgba(40, 24, 12, 0.18),
    rgba(40, 24, 12, 0.08) 52%,
    rgba(40, 24, 12, 0.42)
  );
}

.homeHero__content {
  position: absolute;
  z-index: 3;
  top: 3.85rem;
  left: 50%;
  width: 16rem;
  max-width: calc(100% - 0.7rem);
  color: #fff;
  text-align: center;
  transform: translateX(-50%);
}

.homeHero__content h1 {
  font-family: Mistral, Mistral;
  font-weight: 400;
  font-size: 1.1rem;
  color: #ffffff;
}

.homeHero__content p {
  font-family: Poppins, Poppins;
  font-weight: 400;
  font-size: 0.2rem;
  color: #ffffff;
}

.homeHero__scroll {
  position: absolute;
  z-index: 4;
  bottom: 0.55rem;
  left: 50%;
  width: 0.25rem;
  height: 0.35rem;
  border-radius: 0.15rem 0.15rem 0.15rem 0.15rem;
  border: 0.02rem solid #ffffff;
  transform: translateX(-50%);
}

.homeHero__scroll::after {
  content: "";
  position: absolute;
  top: 0.06rem;
  left: 50%;
  width: 0.03rem;
  height: 0.09rem;
  border-radius: 0.03rem;
  background: #fff;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%,
  100% {
    top: 0.06rem;
    opacity: 1;
  }
  50% {
    top: 0.2rem;
    opacity: 0.8;
  }
}

.homeHero__arrows {
  position: absolute;
  z-index: 4;
  right: 1.55rem;
  bottom: 0.57rem;
  display: flex;
  gap: 0.06rem;
}

.homeHero__arrows button {
  position: relative;
  width: 0.54rem;
  height: 0.54rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 0.01rem solid rgba(255, 255, 255, 0.5);
}

.homeHero__arrows button:hover {
  background: rgba(255, 255, 255, 1);
}

.homeHero__arrows button:hover::before {
  border-left: 0.01rem solid #744c3d;
  border-bottom: 0.01rem solid #744c3d;
}

.homeHero__arrows button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  width: 0.08rem;
  height: 0.08rem;
  border-left: 0.01rem solid #fff;
  border-bottom: 0.01rem solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}

.homeHero__arrows button + button::before {
  left: 47%;
  transform: translate(-50%, -50%) rotate(225deg);
}

.productSection {
  padding: 0.86rem 0 0.64rem;
  background: #fff;
}

.sectionHead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.38rem;
}

.sectionHead span {
  display: block;
  margin-bottom: 0.07rem;
  font-family: Poppins, Poppins;
  font-weight: 500;
  font-size: 0.24rem;
  color: #c68f5b;
  line-height: 1;
}

.sectionHead h2 {
  font-family: Poppins, Poppins;
  font-weight: 500;
  font-size: 0.5rem;
  color: #744c3d;
}

.tabNav {
  display: flex;
  align-items: center;
  gap: 0.44rem;
  padding-bottom: 0.04rem;
}

.tabNav a {
  font-family: Poppins, Poppins;
  font-weight: 500;
  font-size: 0.16rem;
  color: #c68f5b;
  position: relative;
}

.tabNav a::after{
    content:'';
    position: absolute;
    bottom: -0.02rem;
    left: 0;
    width: 0%;
    height: 1px;
    background: #744c3d;
    transition: all 0.6s;
}
.tabNav a:hover,
.tabNav a.active {
  color: #744c3d;
}

.tabNav a:hover::after,
.tabNav a.active::after{
    width: 100%;
}

.productTabPanel {
  display: none;
}

.productTabPanel.active {
  display: block;
}

.productSwiper {
  overflow: hidden;
  padding-bottom: 0.02rem;
}

.productSwiper .swiper-slide {
  height: 3rem;
}

.productCard {
  width: 31.3%;
  position: relative;
  height: 5.28rem;
  overflow: hidden;
  background: #F4F4F4;
  background-size: 100% 100%;
  padding: 0 0.21rem;
  display: flex;
  gap: 15px;
  align-items: center;
  flex-direction: row-reverse;
  cursor: pointer;
}

.productProgress{
    display: none;
}

.productSwiper .swiper-wrapper{
    display: flex;
    gap: 0.5rem 3%;
    flex-wrap: wrap;
}

.productCard:hover .productCard__img{
    transform: scale(1.06);
}

.productCard__pic {
  position: relative;
  width: 3.6rem;
  height: 3.38rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.productCard__img {
  /*position: absolute;*/
  width: 100%;
  /*height: 100%;*/
  object-fit: contain;
  transition: all 0.6s;
}

.productCard__body {
  position: relative;
  padding: 0rem 0 0.2rem;
}

.productCard h3 {
  font-family: Poppins, Poppins;
  font-weight: 500;
  font-size: 0.22rem;
  color: #464646;
  line-height: 0.28rem;
}

.productCard p {
  width: 2.6rem;
  margin-top: 0.06rem;
  font-family: Poppins, Poppins;
  font-weight: 400;
  font-size: 0.14rem;
  color: #929292;
  line-height: 0.2rem;
}

.roundMore {
  position: absolute;
  right: 0rem;
  bottom: 0rem;
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 50%;
  background: #744c3d;
  display: none;
}

.roundMore:hover {
  background: #5a382b;
}

.roundMore::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.08rem;
  height: 0.08rem;
  border-right: 0.01rem solid #fff;
  border-bottom: 0.01rem solid #fff;
  transform: translate(-65%, -50%) rotate(-45deg);
}

.about-btn{
    width: 1.5rem;
    /*background: #744c3d;*/
    border-radius: 0.28rem 0.28rem 0.28rem 0.28rem;
    border:1px solid #fff;
    font-family: Poppins, Poppins;
    font-weight: 400;
    font-size: 0.16rem;
    height: 0.52rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.6s;
}


.about-btn:hover{
    background: #744c3d;
    border:1px solid #744c3d;
    /*color: #744c3d;*/
}

.productProgress {
  position: relative;
  height: 0.05rem;
  margin-top: 0.38rem;
  background: #f0eeec;
  display: none;
}

.productProgress.swiper-pagination-progressbar {
  background: #f0eeec;
}

.productProgress .swiper-pagination-progressbar-fill {
  background: var(--yn-brown);
}

.factorySection {
  padding: 0.38rem 0 0.96rem;
  background: #fff;
}


.factoryPanel {
  position: relative;
  height: 5.87rem;
  overflow: hidden;
  border-radius: 0.2rem;
  cursor: pointer;
}

.factoryPanel__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.factoryPanel__copy {
  position: relative;
  z-index: 1;
  width: 7.8rem;
  height: 100%;
  padding: 1.45rem 0 0 0.8rem;
  color: #fff;
  background-image: url(../images/bg2.png);
  background-size: 100% 100%;
}

.factoryPanel__copy img {
  display: block;
  width: 0.35rem;
  height: 0.35rem;
  margin-bottom: 0.29rem;
}

.factoryPanel__copy p {
  margin-bottom: 0.28rem;
  font-family: Poppins, Poppins;
  font-weight: 300;
  font-size: 0.16rem;
  color: #ffffff;
  line-height: 0.28rem;
  width: 5.14rem;
}

.aboutSection {
  padding: 0 0 2.4rem;
  background: #fff;
}

.aboutPanel {
  position: relative;
  height: 9.4rem;
  overflow: visible;
  border-radius: 0.2rem;
}

.aboutPanel__img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.2rem;
}

.aboutPanel__copy {
  position: relative;
  z-index: 2;
  width: 5.77rem;
  padding-top: 1.48rem;
  margin-left: 0.8rem;
  color: #fff;
}

.aboutPanel__copy span {
  display: block;
  font-family: Poppins, Poppins;
  font-weight: 500;
  font-size: 0.24rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.aboutPanel__copy h2 {
  margin-bottom: 0.45rem;
  font-family: Poppins, Poppins;
  font-weight: 500;
  font-size: 0.5rem;
  color: #ffffff;
  line-height: 0.24rem;
}

.aboutPanel__copy p {
  margin-bottom: 0.24rem;
  font-family: Poppins, Poppins;
  font-weight: 300;
  font-size: 0.16rem;
  color: #ffffff;
  line-height: 0.24rem;
}

.aboutStats {
  position: absolute;
  left: 2.28rem;
  right: 0;
  bottom: -1.1rem;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 13.68rem;
  max-width: calc(100% - 2.28rem);
  min-height: 2.6rem;
  overflow: hidden;
  border-radius: 0.04rem;
  box-shadow: 0 0.14rem 0.28rem rgba(24, 36, 54, 0.08);
}

.aboutStat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 2.6rem;
  padding: 0.21rem 0.35rem 0.34rem 0.31rem;
  background: #fff;
  box-shadow: 0rem 0rem 0.1rem 0.01rem rgba(165, 165, 165, 0.1);
  border-radius: 0.1rem 0.1rem 0.1rem 0.1rem;
}

.aboutStat:hover {
  color: #fff;
  background: url(../images/bg3.png);
  background-size: 101% 100%;
}

/*.aboutStat:hover + .aboutStat{*/
/*    box-shadow: none;*/
/*}*/

.aboutStat img {
  position: absolute;
  top: 0.21rem;
  left: 0.35rem;
  width: 0.69rem;
  height: 0.69rem;
}

.aboutStat strong {
  display: block;
  font-family: Poppins, Poppins;
  font-weight: 600;
  font-size: 0.6rem;
  color: #464646;
  transition: all 0.6s;
    width: 1.9rem;
  text-align: left;
}

.aboutStat span {
  display: block;
  font-family: Poppins, Poppins;
  font-weight: 400;
  font-size: 0.16rem;
  color: #929292;
  transition: all 0.6s;
    width: 1.93rem;
  text-align: left;
}

.aboutStat:hover strong,
.aboutStat:hover span {
  color: #fff;
}

.aboutStat:hover img {
  filter: brightness(0) invert(1);
}

.brandStrip {
  height: 4.54rem;
  padding-top: 1.92rem;
  background-size: cover;
  cursor: pointer;
}

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

.brandStrip p {
  width: 6.6rem;
  font-family: Poppins, Poppins;
  font-weight: 400;
  font-size: 0.22rem;
  color: #ffffff;
  line-height: 0.34rem;
}

.brandStrip__products {
  position: relative;
  width: 6.85rem;
  height: 2.58rem;
}

.brandStrip__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.newsSection {
  padding: 0.92rem 0 1.22rem;
  background: #fff;
}

.newsList {
  display:none;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.newsList.active{
  display: flex;
}

.newsCard {
  width: 5.05rem;
  display: block;
}

.newsCard__img {
  height: 3.04rem;
  object-fit: cover;
  border-radius: 0.2rem;
  display: block;
}

.newsCard h3 {
  margin-top: 0.16rem;
  font-family: Poppins, Poppins;
  font-weight: 500;
  font-size: 0.23rem;
  color: #464646;
  line-height: 0.3rem;
  transition: all 0.6s;
}

.newsCard > p {
  margin-top: 0.2rem;
  font-family: Poppins, Poppins;
  font-weight: 400;
  font-size: 0.16rem;
  color: #929292;
  line-height: 0.24rem;
}

.newsCard__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.2rem;
  margin-top: 0.28rem;
}

.lineMore {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.01rem;
  height: 0.52rem;
  background: #ffffff;
  border-radius: 0.28rem 0.28rem 0.28rem 0.28rem;
  border: 0.01rem solid #744c3d;
  font-family: Poppins, Poppins;
  font-weight: 400;
  font-size: 0.16rem;
  color: #744c3d;
  transition: all 0.6s;
}

.newsCard time {
  font-family: Poppins, Poppins;
  font-weight: 400;
  font-size: 0.16rem;
  color: #929292;
}

.newsCard:hover h3{
  color: #744c3d;
}

.newsCard:hover .lineMore{
  color: #fff;
  background-color: #744c3d;
}

.brandMobile{
    display: none;
}

.videoModal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 0.4rem;
  background: rgba(0, 0, 0, 0.56);
}

.videoModal.active {
  display: flex;
}

.videoModal__inner {
  position: relative;
  width: 11.1rem;
  max-width: 100%;
}

.videoModal__close {
  position: absolute;
  top: -0.08rem;
  right: -0.76rem;
  width: 0.42rem;
  height: 0.42rem;
}

.videoModal__close::before,
.videoModal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.42rem;
  height: 0.03rem;
  background: #fff;
  border-radius: 0.02rem;
}

.videoModal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.videoModal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.videoModal__body {
  position: relative;
  overflow: hidden;
  background: #000;
  border-radius: 0.08rem;
}

.videoModal video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.videoCard__pic {
    position: relative;
    border-radius: 0.2rem;
    overflow: hidden;
}

.newsList:nth-child(3) .videoCard__pic::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.5);
  transition: background 0.3s;
}


.videoCard__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 0.54rem;
  height: 0.54rem;
  border: 0.04rem solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: none;
}

.videoCard__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 53%;
  width: 0;
  height: 0;
  border-top: 0.11rem solid transparent;
  border-bottom: 0.11rem solid transparent;
  border-left: 0.16rem solid rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%);
}

.newsList:nth-child(3) .videoCard__play{
    display: block;
}

.readMore{
    display: flex;
    justify-content: flex-end;
    margin-top: 0.18rem;
    display: none;
}

.readMore.active{
    display: flex;
}

.readMore>a{
    font-size: 0.2rem;
    font-weight: 600;
    color: rgb(198, 143, 91);
}

.readMore>a:hover {
    color: rgb(116, 76, 61);
}


@media (max-width: 1024px) {
  .homeContainer {
    max-width: calc(100% - 0.48rem);
  }

  .homeHero {
    height: 7.2rem;
    min-height: 0;
  }

  .homeHero__content {
    top: 3.1rem;
  }

  .homeHero__content h1 {
    font-size: 0.42rem;
  }

  .homeHero__arrows {
    right: 0.28rem;
  }

  .sectionHead,
  .brandStrip__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .tabNav {
    flex-wrap: wrap;
    gap: 0.2rem;
  }

  .newsList {
    gap: 0.36rem;
  }

  .newsList.active {
    flex-direction: column;
  }

  .newsCard {
    width: 100%;
  }

  .newsCard__img {
    height: 3.2rem;
  }

  .productCard {
      width: 100%;
    height: auto;
    min-height: 3rem;
  }

  .factoryPanel__copy,
  .aboutPanel__copy,
  .brandStrip p,
  .brandStrip__products {
    width: auto;
  }
  
  .aboutPanel__copy p{
      font-size: 0.18rem;
  }
  .factoryPanel__copy {
    padding: 0.32rem 0.42rem;
    height: auto;
    position: relative;
    background: #744C3D;
    
  }
  .factoryPanel__copy p{
      width: 100%;
  }
    .factoryPanel__img{
        position: relative;
        display: block;
    }
  .factoryPanel {
    height: auto;
    min-height: 5.2rem;
  }

  .aboutPanel {
    height: auto;
    padding-bottom: 2.8rem;
  }
.aboutPanel__img{
    height: 7.7rem;
        object-position: 70% 50%;
}

  .aboutPanel__copy {
    padding: 0.5rem 1rem 0 0.22rem;
    margin-left: 0;
  }

  .aboutStats {
    left: 0;
    right: 0;
    bottom: -2.2rem;
    width: auto;
    max-width: none;
    grid-template-columns: 1fr;
  }

  .brandStrip {
    height: 160px;
    padding: 0.72rem 0;
    background-position: 96% 50%;
  }
  
   .brandStrip p{
       display: none;
   }

    .brandMobile{
        display: block;
        background: #744C3D;
        padding: 0.5rem 0.3rem;
    }
    .brandMobile p{
            font-family: Poppins, Poppins;
        font-weight: 400;
        font-size: 0.22rem;
        color: #ffffff;
        line-height: 0.34rem;
    }
}

@media (max-width: 560px) {
  .homeHero {
    height: 6rem;
  }

  .homeHero__content {
    top: 2.35rem;
  }

  .homeHero__content h1 {
    font-size: 0.34rem;
  }

  .homeHero__content p,
  .sectionHead span {
    font-size: 0.2rem;
  }
   .videoModal {
    padding: 0.72rem 0.24rem;
  }

  .sectionHead h2 {
    font-size: 0.36rem;
  }

  .productCard__body {
    padding-top: 0.38rem;
  }

  .aboutStats {
    position: static;
    margin-top: 1.5rem;
    display: block;
    box-shadow: none;
    overflow: visible;
  }
  .aboutSection{
      padding-bottom: 0.5rem;
  }
  .lineMore,
  .newsCard time,
  .newsCard > p{
      font-size: 0.2rem;
  }
  .lineMore{
      font-size: 0.18rem;
  }
  .aboutStat.active{
      color: #fff;
      background-size: cover;
  }
  .aboutStat.active * {
      color: #fff;
  }
  .aboutStat.active img{
      filter: brightness(0) invert(1)
  }
  .aboutStat img{
      width: 0.8rem;
      height: 0.8rem;
      top: 0.3rem;
  }
  .aboutStat::before {
      content: '';
 position: absolute;
  inset: 0;
    background: url(../images/bg3.png);
  opacity: 0; /* 默认透明度 */
  transition: opacity 0.5s ease; /* 动画 */
  z-index: -1;
  background-size: cover;
}
.aboutStat:hover {
  background: none;
}
.aboutStat:hover strong,
.aboutStat:hover span {
  color: #464646;
}

.aboutStat:hover img {
  filter: none;
}
.aboutStat.active::before{
    opacity: 1;
}
  .aboutStat{
      position: relative;
              min-height: 1.5rem;
      margin-bottom: 0.2rem;
      flex-direction: row;
      align-items:center;
       background-size: cover;
       background: none;
       overflow: hidden;
      pointer-events: none;
      padding-right: 0.2rem;
  }
  
   .aboutStat:last-child{
       margin-bottom: 0;
   }

  .aboutPanel {
    padding-bottom: 0.5rem;
  }
  .productSection{
      padding-bottom:0;
  }
  .sectionHead{
      padding-bottom: 0;
  }
  .tabNav a{
      width: 48%;
      font-size: 0.24rem;
  }
  .aboutStat span{
      padding-left: 0.1rem;
  }
  .aboutStat strong{
      width: 2rem;
  }
}
