.categories {
  margin-top: 80px;
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */

  align-items: center;
}

.category-item {
  position: relative;
  transition: all 0.8s ease;
  overflow: hidden;
  cursor: pointer;
  width: 70%;
  position: relative;
}

.category-title {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translate(0, -50%);
  font-size: 24px;
  color: white;
  z-index: 2;
  transition: all 0.8s ease;
}

.category-index {
  font-size: 50px;
  font-weight: bolder;
  margin-right: 20px;
}

.category-text {
  font-size: 24px;
  font-weight: bold;
}

.category-button {
  position: absolute;
  top: 84%;
  right: 0;
  transform: translate(0, -50%);
  padding: 8px 16px;
  background-color: #ff4713;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.category-button:hover {
  background-color: #e67c5e;
}

.category-image {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 0.8s ease;
  opacity: 0;
}

.category-item.active .category-image {
  opacity: 1;
}

.category-item .category-background {
  width: 100%;
  height: 100px;
  /* 默认高度 */
  background-color: var(--default-color);
  transition: height 0.8s ease;
}

.category-item.active .category-background {
  height: 400px;
}

.stretch-text {
  display: inline-block;
  transform: scale(1.2, 0.8);
  /* 水平拉伸1.5倍，垂直压扁0.8倍 */
  transform-origin: left center;
}

.sale {
  width: 100%;
  height: 52vw;
}

.ban {
  width: 100%;
  height: 44vw;
  /* padding: calc(44vw / 2) 0px 0px 0px; */
}

.qt {
  width: 100%;
  height: 87vw;
}

.jia {
  width: 100%;
  height: 56vw;
}

.mar-left {
  margin-left: 15rem;
}

.mar-left-chain {
  margin-left: 5rem;
}
.mar-top {
  margin-top: 10rem !important;
}

.d2 {
  background-color: #d2d2d2 !important;
}

.d3 {
  background-color: #ff4713 !important;
}

.m-p-0 {
  margin: 0 !important;
  padding: 0 !important;
}

.py-16 {
  padding-top: 16rem !important;
  padding-bottom: 0rem !important;
}

.py-px-10 {
  padding-top: 10rem !important;
  padding-bottom: 15rem !important;
}

.counter {
  top: 400px;
}

.mar-top1 {
  margin-top: 180px !important;
}
.w-88 {
  width: 88% !important;
}

.w-98 {
  width: 100% !important;
}


.qt-top {
  margin-top: 560px !important;
}
.display-99 {font-size:3.0rem;}


.scbt {
  margin-top: 7rem !important;
  margin-bottom: 26rem !important;
}

.col-5-1 {
  flex: 0 0 auto;
  width: 47.66666667%;
}

@media (max-width: 768px) {
  .scbt {
    margin-top: 7rem !important;
    margin-bottom: 4rem !important;
  }

  .col-5-1 {
    flex: 0 0 auto;
    width: 90%;
  }
  .sale {
    height: 120vw;
  }
  .qt-top {
    margin-top: 0.5rem !important;
  }
  
  .display-99 {font-size:1rem;margin-bottom: 2.5rem !important;}
  .bo {margin-bottom: -2rem !important;font-size: 0.6rem;}

  .mar-left {
    margin-left: 2rem;
    margin-top: 2rem;
  }
  .mar-left-chain {
    margin-left: 2rem;
    margin-top: 2rem;
  }
  .w-88 {
    width: 88% !important;
  }

  .mar-top {
    margin-top: 0rem !important;
  }

  .mar-top1 {
    margin-top: -0.2rem !important;
  }

  .counter {
    top: 0px !important;
  }

  .ban {
    width: 100%;
    height: 140vw;
    /* padding: calc(200vw / 4) 0px 0px 0px; */
  }

  .p-w {
    width: 100% !important;
    /* height: 26vw !important; */
    /* border: solid; */
  }
  .py-16 {
    padding-top: 2rem !important;
    /* padding-bottom: 2rem !important; */
  }

  .py-px-10 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }


}

.p_card {
  border-radius: 10%;
  /* border: solid; */
}
.c-50 {
  border-radius: 50%;
}
.tan-bg {
  background-color: #000;
}

.h-pc {
  height: 30vw !important;
}
@media (max-width: 768px) {
  .h-p {
    height: 80vw !important;
  }
}

.bg-imgs {
  display: flex;
  align-items: center; 
  justify-content: flex-start; 
  height: 52vw; 
  background-image: url('/img/bg/jiazhi.jpg');
  background-size: cover;
  background-position: center;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  margin-left: 10rem; 
}

.t_s {
  font-size:5rem
}

.c_svg {
  display:flex;justify-content:space-between;
}
.lxx {
  font-size:4rem
}


@media (max-width: 1024px) {
  .lxx {
    font-size:2rem
  }

}
@media (max-width: 768px) {
  .bg-imgs {
      align-items: flex-start;
      justify-content: center;
      padding-top: 2rem;
      height: 64vw;
  }
  .lxx {
    font-size:2rem
  }

  .t_s {
    font-size:2rem
  }

  .content-wrapper {
      align-items: center;
      text-align: center;
      margin-left: 0;
  }
}


.a-row {
  display:flex;flex-direction:row
}

.w-px-36 {
  width: 36px !important;
}

.w-px-45 {
  width: 45px !important;
}

.title-bg{
  border-radius:80px;padding:2px 30px;background-color:#ff4713;transition: background-color 0.3s ease;
}
.title-bg:hover {
  background-color: #cc380f; /* 背景颜色变暗 */
}
h4.text-white.ite {
  display: inline-flex;
  align-items: center;
  color: white; /* 保持原有的白色文字样式 */
  position: relative;
  padding-left: 30px; /* 留出空间给前面的圆圈 */
  font-size: 20px;
}

h4.text-white.ite::before {
  content: '';
  position: absolute; /* 绝对定位，保持固定位置 */
  left: 0; /* 将圆圈定位到元素的最左侧 */
  top: 4px; /* 调整垂直位置，确保在第一行文字的前方 */
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid white;
  margin-right: 10px;
}
