* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /*font-size: .16rem;*/
}

@font-face {
  font-family: PingFang SC;
  src: url(../font/PingFang.ttc);
}

@font-face {
  font-family: Arial;
  src: url(../font/Arial-Regular.ttf);
}

@font-face {
  font-family: DIN-Bold;
  src: url(../font/DIN\ Alternate\ Bold.ttf);
}

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(180deg, #04A4BC 0%, #01BAD6 13%, #057386 100%);
  min-height: 100vh;
}

a {
  display: block;
  outline: 0;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

input,
textarea,
button,
select {
  border: 0;
  resize: none;
  outline: 0;
  background: transparent;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  object-fit: contain;
}

/*多行溢出*/
.ellipsis1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ellipsis2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.ellipsis3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

/* hover-图片放大1.1 */
.scale-box {
  overflow: hidden;
}

.scale-box .scale-img {
  width: 100%;
  height: 100%;
  transition: all .3s linear;
  cursor: pointer;
  object-fit: cover;
}

.scale-box:hover .scale-img {
  transform: scale(1.1);
}

/* 常用盒子阴影 */
.shadow_box {
  box-shadow: 0 .02rem .12rem 0 rgba(0, 0, 0, 0.1)
}

/* 水波纹效果 */
.btn-ripple {
  vertical-align: bottom;
}

.btn-ripple:not(:disabled):hover {
  opacity: 1;
  position: relative;
  overflow: hidden;
}

.btn-ripple:not(:disabled):hover::before {
  animation: ani_ripple 0.75s;
  z-index: 1;
  content: "";
  position: absolute;
  display: block;
  transition: all 0.6s;
  width: 100%;
  height: 0;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  padding-top: 100%;
  transform: translateX(-50%) translateY(-50%);
}

@keyframes ani_ripple {
  0% {
    background: rgba(0, 0, 0, 0.25);
    transform: translateX(-50%) translateY(-50%) scale(0);
  }

  to {
    background: transparent;
    transform: translateX(-50%) translateY(-50%) scale(1);
  }
}

.swiper-slide>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main {
  width: 94%;
  max-width: 16rem;
  margin: 0 auto;
}

.back {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}









/* 页码 */
.page_box {
  width: 100%;
  width: fit-content;
  margin: 0.6rem auto 0;
  display: flex;
  align-items: center;
}

.page_box .pages {
  display: flex;
  align-items: center;
}

.page_box .pages .item {
  display: block;
  width: 0.41rem;
  height: 0.41rem;
  margin-right: 0.08rem;
  border: 0.01rem solid rgba(255, 255, 255, 0.5);
  border-radius: 0.04rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Arial-Regular;
  font-weight: 400;
  font-size: 0.16rem;
  color: #FFFFFF;
  cursor: pointer;
  overflow: hidden;
}

.page_box .pages .item:hover,
.page_box .pages .active {
  border: 0.01rem solid #FFFFFF;
  background: #FFFFFF;
  color: #0098AF;
}

.page_box .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0.41rem;
  height: 0.41rem;
  padding: 0 0.1rem;
  margin-right: 0.08rem;
  border: 0.01rem solid rgba(255, 255, 255, 0.5);
  border-radius: 0.04rem;
  cursor: pointer;
  overflow: hidden;
  font-family: Arial-Regular;
  font-weight: 400;
  font-size: 0.16rem;
  color: #FFFFFF;
}

.page_box .btn:hover {
  background: #fff;
  color: #0098AF;
}













/* 分类 */
.type_body {
    margin: 0.5rem 0 0.08rem;
}
.type_box {
    width: 100%;
    height: auto;
    background: #01A8C2;
    border: 0.01rem solid #24C9E2;
    padding: 0 0.4rem;
    box-sizing: border-box;
}
.type_box .type_title2 {
    padding: 0.35rem 0 0.3rem;
    box-sizing: border-box;
    font-weight: normal;
    font-size: 0.16rem;
    color: #FFFFFF;
    display: flex;
    align-items: center;
}
.type_box .type_title2 span{
    display: block;
    font-weight: bold;
    font-size: 0.22rem;
    color: #FFFFFF;
    margin-right: 0.35rem;
}
.type_box .type_title2 b{
    font-size: 0.18rem;
    font-weight: bold;
    padding: 0 0.05rem;
    box-sizing: border-box;
}
.type_box .type_item{
    display: flex;
    column-gap: 0.36rem;
    padding: 0.2rem 0 0.23rem;
    box-sizing: border-box;
    border-top: 0.01rem dashed rgba(255, 255, 255, 0.5);
}
.type_box .type_item .type_name{
    font-weight: bold;
    font-size: 0.16rem;
    color: #FFFFFF;
    white-space: nowrap;
    margin-top: 0.07rem;
}
.type_box .type_item .type_list{
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.36rem;
    row-gap: 0.12rem;
}

.type_box .type_item .type_list .type_key{
    font-weight: normal;
    font-size: 0.16rem;
    color: #FFFFFF;
    white-space: nowrap;
    position: relative;
    cursor: pointer;
    padding: 0.07rem 0.12rem;
    border-radius: 0.2rem;
}
.type_box .type_item .type_list .type_key.act{
    font-weight: 400;
    color: #02859A;
    background: #FFFFFF;
}
.type_box .type_item .type_list .type_delete{
    width: 0.16rem;
    height: 0.16rem;
    border-radius: 50%;
    position: absolute;
    background: #2c7f8c;
    /*display: flex;*/
    justify-content: center;
    align-items: center;
    bottom: 0;
    display: none;
    right: -0.05rem;
}
.type_box .type_item .type_list .type_delete img{
    width: 0.07rem;
    height: auto;
    filter: brightness(0) invert(1);
}
.type_box .type_item .type_list .type_key.act .type_delete{
    display: flex;
}








