/* 重置默认样式，简化版 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 最外层手机盒子 */
.phone-box {
  width: 375px;
  height: 812px;
  margin: 10px auto;
  border: 1px solid #ccc;
  border-radius: 12px;
  overflow: hidden;
  /* 防止内部元素溢出 */
  position: relative;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background-color: #F9EEE4;
  /* z-index: -2; */
}

/* 状态栏（模拟顶部状态条） */
.status-bar {
  position: relative;
  width: 100%;
  height: 44px;
}

.status-bar img {
  position: absolute;
  top: 30%;
  left: 10px;
  /* z-index:100; */
}

/* 导航栏 */
.nav-bar {
  position: relative;
  height: 44px;
  text-align: center;
}

.nav-bar .active {
  font-family: 'source-han-serif sc vf medium', serif;
  font-size: 16px;
  font-weight: 300px;
  color: rgba(151, 0, 2);
  font-weight: 700;
  font-size: 18px;
}

/* 正文内容 */
.content {
  position: relative;
  margin: auto 20px;
}

/* 搜索框 */
.content .search {
  position: relative;
  /* margin: 10px auto; */
  left: -20px;
  background-size: contain;
  display: inline;
}

.search .search-icon {
  position: relative;
  left: 30px;
  top: -5px;
  /* z-index: 1; */
}

.content .search .search-kuang {
  height: 28px;
  background-size: cover;
}

.content .search p {
  color: #fff;
  /* 白色文字 */
  font-family: "Microsoft Yahei", sans-serif;
  font-size: 14px;
  font-weight: 400;
  display: inline-block;
  position: relative;
  top: -32px;
  left: 55px;
}

.content .search .shop-icon {
  position: absolute;
  left: 332px;
  top: -5px;
}

/* 拍卖 */
.content .auction {
  position: relative;
  top: -12px;
}

.content .auction .js {
  /* text-align: center;  */
  position: absolute;
  left: 150px;
  top: 20px;
}

.content .auction .js p {
  font-family: "Microsoft Yahei", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: black;
  margin-bottom: 12px;
}

.content .auction .js p:first-child {
  font-size: 15px;
  position: relative;
  margin-bottom: 4px;
  left: -6px;
}

.content .auction .js p:nth-child(3),
.content .auction .js p:nth-child(4) {
  position: relative;
  font-size: 12px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: auto;
}

.content .auction .js .jr {
  text-decoration: none;
  position: relative;
  left: 100px;
  top: 7px;
}

.content .auction .js .jr p {
  display: inline;
  color: #970002;
  font-size: 14px;
  margin-right: -5px;
}

.content .auction .js img {
  display: inline;
  position: relative;
}

/* 课程购买 */
.course .course-title {
  position: relative;
  top: -5px;
  left: 2px;
}

.course .course-title p {
  display: inline-block;
  color: rgba(151, 0, 2);
  /* #970002 颜色 */
  font-family: 'source-han-serif sc vf medium', serif;
  /* 思源宋体 Medium */
  font-weight: 600;
  /* 可选：确保使用 bold 字重 */
  font-size: 18px;
}

.course .course-title a {
  margin-left: 183px;
  text-decoration: none;
  /* 删除a标签的默认样式 */
}

.course .course-title a p {
  font-family: "Microsoft Yahei", sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #6C6C6C;
  position: relative;
  top: -2px;
}

.course .course-img {
  position: relative;
}

.course .course-img .img-3 {
  position: absolute;
  right: 0px;
  top: 0px;
}

/* 商品 */
.goods .goods-title {
  position: relative;
  top: 5px;
  left: 2px;
}

.goods .goods-title p {
  display: inline-block;
  color: rgba(151, 0, 2);
  /* #970002 颜色 */
  font-family: 'source-han-serif sc vf medium', serif;
  /* 思源宋体 Medium */
  font-weight: 600;
  /* 可选：确保使用 bold 字重 */
  font-size: 18px;
}

/* 商品分类 */
.goods .goods-bq a {
  position: relative;
  top: 5px;
  margin: auto 2px;
  text-decoration: none;
  display: inline-block;
  font-family: "Microsoft Yahei", sans-serif;
  font-size: 12px;
  color: rgba(151, 0, 2);
  font-weight: 400;
  width: 41px;
  ;
  height: 19px;
  background-color: #fff;
  border-radius: 10px;
  text-align: center;
}

.goods .goods-bq a p {
  position: relative;
  top: 1px;
}

.goods .goods-bq a:nth-child(5),
.goods .goods-bq a:nth-child(6) {
  width: 63px;
}

.goods .goods-bq a:nth-child(5) p,
.goods .goods-bq a:nth-child(6) p {
  position: relative;
  top: 1px;
}

.goods .goods-bq .active {
  color: #fff;
  background-color: #970002;
}

/* 商品图 */
.goods .goods-img {
  position: relative;
  top: 15px;
}

.goods .goods-img .tu2 {
  position: absolute;
  top: 0;
  left: 170px;
  height: 212px;
  width: 164px;
  background-color: #fff;
}

.goods .goods-img .tu2 a {
  text-decoration: none;
}

.goods .goods-img .tu2 a p {
  font-family: "Microsoft Yahei", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: black;
  position: relative;
  top: 3px;
  left: 10px;
}

/* 标签栏 */
.footer {
  position: relative;
  /* margin-top:225px; */
  z-index: 101;
}

.footer img {
  background-size: cover;
  position: relative;
  left: -5px;
}

/* 图标 */
.footer .tab-bar {
  position: absolute;
  margin-top: -50px;
  left: 0px;
  /* align-items: center; 水平居中 */
  /* justify-content: center; 垂直居中 */
}

.footer .tab-bar .bar-item {
  display: flex;
  /* 改为Flex布局 */
  flex-direction: column;
  /* 垂直排列图片和文字 */
  align-items: center;
  /* 水平居中 */
  justify-content: center;
  /* 垂直居中 */
  display: inline-block;
  margin: 0px 31px;
  text-decoration: none;
  color: #970002;
}

.footer .bar-item img {
  width: 100%;
  height: 25px;
  background-size: cover;
}

.footer .bar-item:last-child img {
  margin-left: 5px;
}

.footer .bar-item p {
  color: rgba(151, 0, 2, 0.6);
  /* #970002 颜色 */
  font-family: 'source-han-serif sc vf medium', serif;
  /* 思源宋体 Medium */
  font-weight: 400;
  font-size: 10px;
  margin-left: 3px;
}

.footer .bar-item .active {
  margin-left: 2px;
  font-weight: 600;
  color: #970002;
}

.footer .bar-item:nth-child(2) p {
  margin-left: -2px;
}

/* 指示器 */
.home-container {
  position: relative;
  ;
  margin-top: -6px;
  height: 34px;
  width: 100%;
  background-color: #fff;
  z-index: 100;
}

.home-container img {
  position: absolute;
  margin-top: 15px;
  left: 32%;
}