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

strong{
  font-size: inherit;
  font-family: inherit;
  color: inherit;
}

span {
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  color: inherit;
}

@font-face {
  font-family: AlibabaPuHuiTi-3-45-Light;
  src: url(../font/AlibabaPuHuiTi-3-45-Light.otf);
}

@font-face {
  font-family: AlibabaPuHuiTi-3-55-Regular;
  src: url(../font/AlibabaPuHuiTi-3-55-Regular.otf);
}

@font-face {
  font-family: AlibabaPuHuiTi-3-65-Medium;
  src: url(../font/AlibabaPuHuiTi-3-65-Medium.otf);
}

@font-face {
  font-family: AlibabaPuHuiTi-3-85-Bold;
  src: url(../font/AlibabaPuHuiTi-3-85-Bold.otf);
}

@font-face {
  font-family: AlibabaPuHuiTi-3-105-Heavy;
  src: url(../font/AlibabaPuHuiTi-3-105-Heavy.otf);
}

@font-face {
  font-family: AlibabaPuHuiTi-3-115-Black;
  src: url(../font/AlibabaPuHuiTi-3-115-Black.otf);
}

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

html {
  scroll-behavior: smooth;
  text-transform: uppercase;
}

body {
  position: relative;
}

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;
}

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

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

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

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

/* 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: 17rem;
  margin: 0 auto;
}

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