/* 首页css*/
/* 禁止加广告 */
#hngkfjdlfededebdhfofnagldhlmdemc_4 {
	display: none;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background-color: #fff3ed !important;
	font-family: PingFang SC !important;
}
.middle{
	max-width: 1200px;
	margin: 0 auto;
}
a {
	text-decoration: none;
	color: #000000;
}

i {
	font-style: normal;
}

/* 去除输入框输入内容后背景变色 */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
	-webkit-transition-delay: 111111s;
	-webkit-transition: color 11111s ease-out, background-color 111111s ease-out;
}

/* 兼容iPhone11防抖 */
.middle {
	-webkit-overflow-scrolling: touch;
   }
 
   .head,
   #cation,
   #notice,
   #head-top,
   .search,
   .dui_huan,
   #change,
   .tui_jian,
   #nav,
   .modal {
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
   }

.head {
	/* position:relative; */
	/* background: url(../img/head.gif)no-repeat top/100%; */
	width:100%;
	/* padding-bottom: 2rem; */
	height: 100%;
}
.head>img{
	position:relative;
	width: 100%;
	opacity: 1 !important;
}
#head-top {
	position: absolute;
	width: 100%;
	top: .1rem;
	padding: .8rem;
	display: flex;
	justify-content: space-between;
}

#head-top img {
	width: 1.5625rem;
	height: 1.5625rem;
}

#head-top span {
	color: #FFFFFF;
}

#phone {
	flex: 1;
	margin-left: 0.625rem;
}

/* #integral {
	padding: 0 2rem;
} */

.search {
	position: absolute;
	top: 3.2rem;
	right: 0;
	left: 0;	
	margin: 0 auto;
	width: 90%;		
	/* background-color: #fff; */
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-radius: 20px;
	/* cursor:pointer; */
}
.search img{
	display: block;
	width:20rem;
	margin: auto;
}
.search input {
	BACKGROUND-COLOR: transparent;
	flex: 1;
	font-size: 1rem;
	outline: none;
	border: 0;
	height: 2.5rem;
	padding-left: 0.3125rem;
}

.i img {
	margin-left: 0.625rem;
	width: 1.5625rem;
	height: 1.5625rem;
	vertical-align:middle;
}

.search button {
	border: 0;
	font-size: 1rem;
	BACKGROUND-COLOR: transparent;
	color: #DF2A88;
	width: 5rem;
}

#top {
	position: relative;
	/* text-align: center; */
	top: 6rem;
}

#top img {
	width: 100%;
}

/* 分类 */
.fl {
	margin: 0.625rem 0;
	display: flex;
	align-items: center;
	text-align: center;
}

#fenlei {
	flex: 1;
}

#fenlei img {
	width: 3.125rem;
	height: 3.125rem;
}

#fenlei p {
	font-size: 0.875rem;
}

/* 我能购买 */
#change{
	width: 100%;
	padding: 0 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#change>img{
	width: 50%;
	margin: auto;
}

.dui_huan img {
	display: block;
	width: 48%;
	margin: 0 auto;
	opacity: 1 !important;
	padding: .5rem 0;
}

/* 推荐商品 */
#nav {
	width: 100%;
	padding: 0 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}


.tui_jian img {
	display: block;
	width: 80%;
	/* padding: .7rem 0 .2rem 0; */
	margin: 0 auto;
	opacity: 1 !important;
}

.nav {
	width: 48%;
	background-color: #fff;
	text-align: center;
	display: inline-block;
	margin:.5rem .3rem .1rem 0;
	padding: 1rem 0;
	border-radius: 10px;
	cursor:pointer;
	/* display: flex;
	flex-direction: column;
	align-items: center; */
}
.poindex{
	width: 100%;
	display: flex;justify-content: space-around;
}
.nav img {
	width: 130px;
	height: 130px;
}

.nav p {
	font-size: 0.875rem;
	/* 超出一行显示。。。 */
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	margin: .3rem;
	color: #333333;
	font-weight: bold;
	/* text-align: left; */
	padding: 0 .5rem;
}

.nav i {
	font-size: .9rem;
	color: #DF2A88 ;
}

.nav span {
	color: #999999;
	font-size: 0.625rem;
	margin-left: .5rem;
}

/* 分类 */
.cation {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.cation_all {
	width: 25%;
	font-size: .8rem;
	text-align: center;
	cursor:pointer;
}
.cation_all p{
	color: #333333;
}
.cation_all>img {
	width: 65%;
	padding: .2rem 0 .2rem 0;
	opacity: 1 !important;
}

.footer{
	width: 100%;	
	/* background-color: #fff; */
	font-size: 0;
	display: flex;
	justify-content: center;
	color:#aaaaaa;
	/* margin-top: .7rem;	 */

}
.footer>p{
	/* width: 90%; */
	font-size:10px !important;
	display: flex;
	justify-content: space-around;
	padding-top: .5rem;
	color:#aaaaaa;
	font-weight: 400;
	opacity: 1;
	
}
.footer>p>a{
	text-decoration: none;
	color:#aaaaaa !important;
}
/* 回顶 */
#Backtop{
	background-color:#ffffff !important;
	background: url(../img/Backtop.jpg)no-repeat center/50%;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	border: 1px solid #a8a8a8;
	position: fixed;
	bottom: 3rem;
	right: 1.5rem;
	margin: auto;
}



