@charset "UTF-8";
/**
 * 
 * npm install -g sass
 * // 转换
 * sass index.scss index.css
 * // 监听 
 * sass --watch index.scss:index.css
 * // 编译格式
 * sass --watch input.scss:index.css --style compact
 */
/**
*    @description: 变量;
*    @create date: 2023-5-8;
*/
/**
*    @description: 重置样式;
*    @create date: 2023-2-23;
*/
body {
  max-width: 7.5rem;
  min-width: 320px;
  margin: 0 auto;
}

body {
  font-size: 0.28rem;
  font-family: "微软雅黑";
  background-color: #f1f1f1;
}

dl, dd, p, form, h1, h2, h3, h4, h5, h6 {
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

em, i {
  font-style: normal;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a {
  color: #333;
  text-decoration: none;
  outline: none;
}

img {
  border: 0;
  display: block;
  width: 100%;
  height: 100%;
}

img:hover {
  opacity: 0.8;
}

span {
  display: inline-block;
}

input, select, button, textarea {
  border-radius: 0;
  border: none;
  outline: none;
  background: none;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  -webkit-appearance: none;
}

.clearfix:after {
  content: "";
  display: block;
  height: 0;
  clear: both;
}

.clearfix {
  zoom: 1;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.row {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
}

.d_flex {
  display: flex;
}

.flex_1 {
  flex: 1;
}

.flex_column {
  flex-direction: column;
}

.flex_row {
  flex-direction: row;
}

.flex_wrap {
  flex-wrap: wrap;
}

.flex_nowrap {
  flex-wrap: nowrap;
}

.flex_shrink {
  flex-shrink: 0;
}

.j_start {
  justify-content: flex-start;
}

.j_center {
  justify-content: center;
}

.j_end {
  justify-content: flex-end;
}

.j_sb {
  justify-content: space-between;
}

.a_center {
  align-items: center;
}

.a_start {
  align-items: flex-start;
}

.a_end {
  align-items: flex-end;
}

.a_stretch {
  align-items: stretch;
}

.a_self-start {
  align-self: flex-start;
}

.a_self-auto {
  align-self: auto;
}

.a_self-end {
  align-self: flex-end;
}

.a_self-stretch {
  align-self: stretch;
}

.a_self-baseline {
  align-self: baseline;
}

.mt2 {
  margin-top: 0.2rem;
}

/* 省略号 */
.text_overflow {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

/* 多行文本省略号 */
.text_overflow_2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* 右箭头 */
.right-arrow:after {
  content: "";
  position: absolute;
  height: 8px;
  width: 8px;
  right: 5px;
  top: 12px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(0, -50%) rotate(-135deg);
  -webkit-transform: translate(0, -50%) rotate(-135deg);
}

.bg_msk {
  content: "";
  position: fixed;
  top: 0.96rem;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: none;
  background-color: rgba(0, 0, 0, 0.7);
}
.bg_msk.active {
  display: block;
}

.swiper_banner {
  height: 4.5rem;
}
.swiper_banner ul li{
	position: relative;
}
.swiper_banner ul li a {
  display: block;
  height: 100%;
  overflow: hidden;
}
.swiper_banner ul li video{
	width: 100%;
}

.swiper_banner ul li .play_btn{
	position: absolute;
	z-index: 10;
	top: 50%;
	left: 50%;
	opacity: 1;
	transform: translate(-50%,-50%);
	transition: opacity .5s;
	width: 0.96rem;
	height: 0.96rem;
	border-radius: 50%;
}
.swiper_banner ul li .play_btn.hide{
	opacity: 0;
	z-index: -1;
}
.swiper_banner ul li .play_btn span{
	width: 0.96rem;
	height: 0.96rem;
	background: url(../images/play.png) no-repeat center center;
	background-size: contain;
}
.swiper_banner ul li .play_btn.run span{
	background: url(../images/pause.png) no-repeat center center;
	background-size: contain;
}
.swiper_banner ul li a span {
  display: inline-block;
  height: 0.48rem;
  line-height: 0.48rem;
  height: 40px;
  line-height: 40px;
  text-align: left;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: #fff;
  padding-left: 0.2rem;
  padding-right: 40%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7));
}
.swiper_banner .swiper-pagination {
  right: 10px;
  width: auto;
  left: auto;
}
.swiper_banner .swiper-pagination-custom{
  color: #fff;
  width: 0.8rem;
  height: 0.4rem;
  border-radius: .2rem;
  bottom: 0.4rem;
  background-color: rgba(255,255,255,.5);
}
/*  */
.content_info{
	border-radius: .2rem;
	margin-top: -.2rem;
	position: relative;
	z-index: 99;
}
.content_info .content{
	padding: 0.2rem;
	border-radius: 0.2rem;
	background-image: linear-gradient(180deg, #fff 0%, #f5f5f5 100%) !important;
}
.content_info .content .title{
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.16rem;
}
.content_info .content .price{
	color: #fa3264;
	font-size: 0.48rem;
	font-weight: bold;
}
.content_info .content .price em{
	font-size: 18px;
}
.content_info .content .price .text{
	font-size: 0.32rem;
}
.content_info .content .buy{
	font-size: 0.24rem;
	color: #858585;
	font-weight: 500;
}
.content_info .content h1{
	font-size: 0.32rem;
	font-weight: bold;
	line-height: 0.48rem;
	margin-bottom: 0.18rem;
}
.content_info .content .tips{
	color: #999a9e;
}
.content_info .content .tips span{
	font-size: 0.28rem;
}
/*  */
.content_sm{
	margin:0.16rem;
}
.content_sm .content{
	padding: 0.2rem;
	border-radius: 0.2rem;
	background: #fff;
}
.content_sm .content>div{
	height: 0.76rem;
	line-height: 0.76rem;
	color: #858585;
	font-size: 0.28rem;
}
.content_sm .content>div span{
	margin-left: 0.2rem;
	color: #1f1f1f;
}
.content_sm .content>div .bg{
	padding: 0 0.2rem;
	border-radius: 0.12rem;
	background-color: #f6f6f6;
}
/* 商品详情 */
.goods_box{
	margin-bottom: 1.2rem;
}
.goods_box h3{
	color: #858585;
	font-size: 0.3rem;
	text-align: center;
	margin: 0.5rem 0 0.3rem;
}
.goods_box h3 span{
	position: relative;
}
.goods_box h3 span:before,
.goods_box h3 span:after{
	content: "";
	display: block;
	width: 40px;
	height: 2px;
	position: absolute;
	top: 12px;
}
.goods_box h3 span:before{
	left: -50px;
	background: url(../images/leftLine.png) no-repeat center center;
	background-size: contain;
}
.goods_box h3 span:after{
	right: -50px;
	background: url(../images/rightLine.png) no-repeat center center;
	background-size: contain;
}
.goods_box>p{
	margin: 0 0.2rem 0.2rem;
	color: #666;
	font-size: 0.28rem;
}
.goods_box>p.red{
	color: #fa3264;
	font-weight: bold;
	font-size: 0.28rem;
	margin-top: 0.3rem;
}
.goods_box>img{
	display: block;
	max-width: 10.6rem;
}
.goods_box .more{
	text-align: center;
	padding: 0.2rem 0 0.8rem;
}
.goods_box .more a{
	display: inline-block;
	padding: 0.3rem 0.4rem;
	color: #555;
	font-size: 0.24rem;
	border-radius: 0.12rem;
	background-color: #e1e1e1;
}
/*  */
.footer_box {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	height: 1.2rem;
	z-index: 99;
	transition: bottom .3s;
	background-color: #fff;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 0.3rem;
}
.footer_box .left_item{
	color: #858585;
}
.footer_box .buy_btn{
	color: #fff;
	font-weight: bold;
	height: 0.8rem;
	line-height: 0.8rem;
	min-width: 3.6rem;
	border-radius: 0.4rem;
	font-size: 0.36rem;
	text-align: center;
	background-image: linear-gradient(132deg, #ff464b 5.37%, #fa3264 100%), linear-gradient(90deg, #fa3264 50%, #f7603e 100%);
}
/* 订单界面 */
.order_modal{
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 999;
	background: #fff;
	transform: scale(0);
	transition: all .2s ease-in-out;
}
.order_modal.show{
	transform: scale(1);
}
.order_modal .close_btn{
	position: absolute;
	top: 5px;
	right: 5px;
	width: 50px;
	height: 50px;
	z-index: 999;
}
.order_modal .close_btn img{
	display: block;
	width: 24px;
	height: 24px;
	margin: 13px auto;
}
.order_modal iframe{
	height: 100%;
}
body.scroll{
	position: fixed;
}

/* 完成订单 */
.complete_modal{
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	background-color: rgba(255,255,255,.3);
	z-index: 999;
	display: none;
}

.complete_modal .content{
	position: absolute;
	left: 20%;
	top: 40%;
	width: 60%;
	padding:30px 20px;
	background: #fff;
	border-radius: 0.12rem;
	box-shadow: 0 0 10px 5px #f2f2f2;
	transform: scale(0);
	transition: all .2s ease-in-out;
}
.complete_modal.show {
	display: block;
}
.complete_modal.show .content{
	transform: scale(1);
}
.complete_modal .content p{
	color: #333;
	font-size: 0.28rem;
	padding-top: 0.8rem;
	text-align: center;
}
.complete_modal .content .complete_modal_close{
	display: block;
	margin: 0.6rem auto 0;
	display: flex;
	justify-content: space-around;
	
}
.complete_modal .content .complete_modal_close span{
	display: inline-block;
	width: 110px;
	padding: 0.18rem 0;
	text-align: center;
	color: #666;
	font-weight: 500;
	border-radius: 0.12rem;
	background-color: #f6f6f6;
}
.complete_modal .content .complete_modal_close .again_buy_btn{
	color: #fff;
	background-color: #fa3264;
}

