/* 重置默认样式，简化版 */
* {
  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;
}
.nav-bar a { 
    text-decoration: none;
    position: relative;
    left: 20px;
    top:10px;
    z-index: 2;
}
.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;
    text-align: center;
    position: relative;
    top:-20px;
}

/* 正文内容 */
.content { 
    margin: 0 20px;
    font-family: "Microsoft Yahei", sans-serif;  
}
.content .text{
    position: relative;
    left: 30px;
    top:33px;
    font-size: 16px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.7);
}
.content .icon{
    position: relative;
    left: 310px;
    font-size:10px;
}
.content .icon a{ 
    position: relative;
    z-index: 2;
    top: -30px;
    text-decoration: none;
    color: rgba(0, 0, 0, 0.6);
}
.content .icon a p{
    margin-bottom: 20px;
}

/* 夹板 */
.content .jb{
    position: relative;
    left: 25px;
    top:-120px;
}

/* 颜色选择 */
.content .xz{
    position: relative;
    top:-80px;
    width: 423px;
    display: flex;
}
.content .xz img{
    margin-left: -48px;
    /* padding-left: -45px; */
}

.content .xz img:nth-child(1){ 
    z-index: 7;
}
.content .xz img:nth-child(2){ 
    z-index: 6;
}
.content .xz img:nth-child(3){ 
    z-index: 5;
}
.content .xz img:nth-child(4){ 
    z-index: 4;
}
.content .xz img:nth-child(5){ 
    z-index: 3;
}
.content .xz img:nth-child(6){ 
    z-index: 2;
}
.content .xz img:nth-child(7){ 
    z-index: 1;
}
/* 点击动画 */
.xz img {
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

/* 添加悬停样式
.xz img:hover {
  filter: brightness(1.1);
}
/* 增加亮度使选中项更突出 */

.xz img.selected {
  transform: translateY(-50px) scale(1.05);
  /* box-shadow: 0 5px 15px rgba(0,0,0,0.2); */
}

/* 指示器 */
.home-container{
  position: relative;
  margin-top:-170px;
  height: 34px;
  width: 100%;
  /* background-color: #fff; */
  /* z-index: 101; */
}
.home-container img{
  position: absolute;
  /* margin-top: 15px; */
  left: 32%;
}