*,
*::before,
*::after {
    box-sizing: border-box;
}
html,
body,
div,
span,
p,
a,
table,
tr,
th,
td,
img,
iframe,
form,
input,
button,
select,
textarea {
    margin: 0;
    padding: 0;
}

body {
    margin: auto;
}

img {
    border: 0;
    outline: 0;
    vertical-align: middle;
}
a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* 移动优先 - 基础样式 */
/* 默认针对750设计稿，假设设计稿宽度为750px */
/* 设置根字体大小，方便使用rem单位 */
html {
  font-size: calc(100vw / 7.5); /* 750设计稿下，100vw=750px，所以1rem=100px */
  -webkit-text-size-adjust: 100%; /* 禁止字体自动调整 */
}

body {
  margin: 0;
  padding: 0;
  color: #333;
  max-width: 100%;
  overflow-x: hidden;
  background-color: #fff;
}

/* 公共样式 - 移动端优先 */
.container {
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}
.wrap{
    width: 100%;
    margin: 0 auto;
    padding: 0 0.4rem;
  }
.p-show{
  display: none;
}
.m-show{
  display: block;
}
.w-100{
  width: 100%;
}
.w-90{
  width: 90%;
}
.w-80{
  width: 80%;
}
.w-70{
  width: 70%;
}
.w-60{
  width: 60%;
}
.w-50{
  width: 50%;
}
.w-40{
  width: 40%;
}
.w-30{
  width: 30%;
}
.w-20{
  width: 20%;
}
.w-10{
  width: 10%;
}
.h-100{
  height: 100%;
}
.text-center{
  text-align: center;
}
.pointer{
  cursor: pointer;
}
/* -------------------公共样式------------------- */
.block-1{
  position: relative;
  top:-0.2rem
}
.t1{
  position: relative;
  z-index: 10;
}
.goods-1{
  position: relative;
  top:-0.2rem

}
.wrap-bottom{
  position: relative;
  top:-0.4rem
}
.block-2{
  background-color: #00aeef;
}
.t2{
  padding: 0.5rem 0.4rem;
  line-height: 1;
}
.goods-list{
  padding-bottom: 0.3rem;
}
.goods-list .goods-items{
  padding-bottom: 0.2rem;
}
.block-3{
  background-color: #dbeefb;
}
.footer{
    position: relative;
    background: linear-gradient(to bottom, #00aeef 5%, #87d9f7 30%, #ffffff 50%);
}
.t3{
  padding: 0.6rem 1rem;
}

.goods-grid{
  display: grid;
  grid-template-columns: 1fr 1fr; /* 两列等宽 */
  gap: 0.2rem; /* 商品间距0.2rem */
  margin: 0;
  list-style: none;

}
.goods-grid-item{
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.more-btn-wrap{
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0.5rem;
  line-height: 1;
}
 .footer{
  padding-top: 1rem;
 }
.footer-img-box{
  /* padding-bottom: 1rem; */
}

/* 响应式断点 - PC端适配 */
@media screen and (min-width: 992px) {
  html {
    font-size: calc(100vw / 9.5); /* 950设计稿下，100vw=950px时，1rem≈100px */
   /*  max-width: 950px;  */
    margin: 0 auto; /* 居中显示 */
  }
  .container {
    max-width: 950px;
    padding: 0;
    margin: 0 auto;
  }
  .p-show{
  display: block;
  }
  .m-show{
    display: none;
  }
  .click-area{
    position: absolute;
    height: 5.5rem;
    width: 950px;
    z-index: 10;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    background: rgba(0,0,0,0);
  }
/* -------------------公共样式------------------- */
  .block-1{
    top: 0;
  }
  .wrap-bottom{
    top: 0;
  }
  .t1{
    position: absolute;
        width: 950px;
        left: 50%;
        transform: translateX(-50%);
        top: 0.5rem;
  }
  .goods-1 {
    top:0
  }
  .t2{
    padding: 0.3rem 0.5rem;
    line-height: 0.5;
  }
  .t3{
    padding: 0rem 1rem;
  }
  .goods-list{
    padding-bottom: 0;
  }
  .more-btn-wrap{
    padding:0 0 0.4rem;
    line-height: 0.5;
  }
  .footer-img-box{
    padding-bottom: 0.6rem;
    /* background: url('https://shoposs.unicef.cn/campaign/2026/spring/img/pc/footer-cloud.png') no-repeat  top / cover border-box border-box ; */
  }

}

/* 其他断点可以根据需要添加 */
@media screen and (min-width: 768px) and (max-width: 991px) {
  /* 平板设备适配 */
  html {
    font-size: calc(100vw / 7.68); /* 768设计稿下调整 */
  }
}
