@charset "utf-8";
/* -------------------------------- 

Primary style

-------------------------------- */
*,
*::after,
*::before {
	box-sizing: border-box;
}
body {
	font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,PingFang SC,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
    padding: 120px 0 0;
}
@media only screen and (max-width: 768px) {
    body {
        padding: 50px 0 0;
    }
}
/* -------------------------------- 

导航

-------------------------------- */
.header {
	display: flex;
	justify-content: center;
	position: fixed;
	z-index: 100;
	top: 0;
	width: 100%;
	height: 120px;
	padding: 0 calc(50% - 600px);
	/*-webkit-backdrop-filter:saturate(180%) blur(20px);
	backdrop-filter:saturate(180%) blur(20px);*/
	-webkit-user-select:none;
	-moz-user-select:none;
	-ms-user-select:none;
	user-select:none;
	-webkit-transform: translateZ(0);
	        transform: translateZ(0);
	will-change: transform;
	-webkit-transition: -webkit-transform .5s;
	transition: -webkit-transform .5s;
	transition: transform .5s;
	transition: transform .5s, -webkit-transform .5s;
    background-color: #fff;
}
.header::after {
    content: "";
    display: block;
    width: 100%;
    height: 6px;
    position: absolute;
    top: 120px;
    background-image: url("../resource/header-decorate.png");
}
.header.is-hidden {
	-webkit-transform: translateY(-110px);
	    -ms-transform: translateY(-110px);
	        transform: translateY(-110px);
}
@media only screen and (max-width: 768px) {
	.header {
	    justify-content: space-between;
		height: 50px;
		padding: 0 0 0 5%;
	}
    .header::after {
        display: none;
    }
    .logo-mobile-hidden {
        display: none;
    }
}

.logo {
	display: none;
}
.nav {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
}
.nav-trigger {
	display: none;
}
.nav-trigger ul {
    display: none;
}
@media only screen and (max-width: 768px) {
    .logo {
        display: flex;
        align-items: center;
        z-index: 3;
    }
    .logo img {
        width: 80px;
    }
	.nav-trigger {
		display: flex;
		justify-content: center;
		align-items: center;
		height: 100%;
		width: 70px;
		z-index: 3;
	}
    .nav-trigger ul {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
    }
    .nav-trigger ul li {
        width: 100%;
        height: 4px;
        background-color: #ea6182;
    }
}

.nav > ul {
	z-index: 2;
	display: flex;
	flex-direction: row;
	padding-top: 0;
	justify-content: space-between;
	align-items: center;
	position: static;
	width: 100%;
	height: 0;
	background-color: #fff;
	box-shadow: none;
	opacity: 1;
	transform: translateY(0);
	transition: .5s;
}
.nav > ul > li {
    width: fit-content;
	text-align: center;
    cursor: pointer;
    margin: 0 3em;
}
.nav > ul a {
	font-size: 1em;
	font-weight: bold;
	height: 100%;
	line-height: normal;
	padding: 0;
	border: none;
	transition: all .5s;
    color: #ea6182;
}
.nav > ul a:hover,
.nav > ul a.active {
}
.nav-open .nav ul,
.nav ul:target {
	display: flex;
	flex-direction: column;
	align-items: center;
	opacity: 1;
	transform: translateY(0);
}
@media only screen and (max-width: 768px) {
	.nav > ul {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		padding-top: 50px;
		flex-direction: column;
		justify-content: flex-start;
		transform: translateY(-100%);
		opacity: 0;
		transition: .5s;
	}
	.nav > ul > li {
		width: 100%;
		text-align: center;
	}
	.nav > ul a {
		display: block;
		height: 50px;
		line-height: 50px;
		border-top: 1px solid #eee;
	}
	.nav > ul > li:last-child {
		border-bottom: 1px solid #eee;
	}
}

/* -------------------------------- 

banner

-------------------------------- */
#banner {
	width: 100%;
	height: 600px;
}
#banner::after {
    content: "";
    display: block;
    width: 100%;
    height: 163px;
    background-image: url("../resource/banner-decorate.png");
    background-position: center;
    position: relative;
    top: -163px;
    z-index: 1;
}
#banner1 {
	background: url("../resource/banner-1.jpg") no-repeat center center / cover;
}
#banner2 {
	background-color: antiquewhite;
}
#banner3 {
	background-color: #99cc33;
}
#banner-btn-p,
#banner-btn-n {
	outline: none;
	display: block;
	text-align: center;
	color: #fff;
	z-index: 1;
	transition: all 0.25s ease;
	position: absolute;
	top: 420px;
	--swiper-navigation-size: 36px;/* 前进后退按钮大小 */
}
.swiper-slide {
	text-align: center;
	font-size: 18px;
	background-size: cover;
	background-position: center;
	background-repeat:no-repeat;

	/* Center slide text vertically */
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
}
/* swiper颜色 */
.swiper-container{
	--swiper-pagination-color: #ea6182;
}
@media only screen and (max-width: 768px) {
	#banner {
		height: 50vw;
	}
    #banner::after {
        display: none;
    }
    #banner-btn-p,
    #banner-btn-n {
        display: none;
    }
}

/* -------------------------------- 

页脚

-------------------------------- */
footer {
	width: 100%;
	height: 70px;
    padding: 0 calc(50% - 600px);
    margin-top: 35px;
	display: flex;
	align-items: center;
	justify-content: space-between;
    background-color: #9284bd;
    position: relative;
}
footer::before {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    background-image: url("../resource/bottom-decorate.png");
    position: absolute;
    left: 0;
    top: -4px;
    z-index: 1;
}
footer::after {
    content: "";
    display: block;
    width: 78px;
    height: 76px;
    background-image: url( "../resource/icon.png");
    position: absolute;
    left: 50%;
    top: -50%;
    transform: translate(-50%, 0);
    z-index: 1;
}
footer > p,
footer > a {
    line-height: 70px;
    font-size: 0.75em;
    color: #fff;
}
@media only screen and (max-width: 768px) {
    footer {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
        height: auto;
        padding: 0.5em 0;
    }
    footer > p,
    footer > a {
        line-height: 1.5;
    }
    footer::after {
        display: none;
    }
}
/* --------------------------------

产品列表

-------------------------------- */
.product-sort {
    width: 100%;
    padding: 0 calc(50% - 600px);
    min-width: 1200px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-wrap: wrap;
    margin: 80px 0 0;
    cursor: pointer;
}
.product-sort li {
    width: 20%;
    text-align: center;
    line-height: 4;
}
.product-sort li:nth-child(odd) {
    background-color: #eee;
}
.product-sort li:nth-child(even) {
    background-color: #ddd;
}
.product-sort li:hover {
    background-color: #50a9b5;
}
.product-sort li:hover a {
    color: #fff;
}
.product-sort li a {
    display: block;
    width: 100%;
    height: 100%;
}
#product-sort-current {
    background-color: #50a9b5;
}
#product-sort-current a {
    color: #fff;
}
@media only screen and (max-width: 768px) {
    .product-sort {
        width: 100%;
        padding: 0 10%;
        min-width: inherit;
        margin: 40px 0 0;
    }
    .product-sort li {
        width: 50%;
    }
    .product-sort li:nth-child(4n+1) {
        background-color: #eee;
    }
    .product-sort li:nth-child(4n+2) {
        background-color: #ddd;
    }
    .product-sort li:nth-child(4n+3) {
        background-color: #ccc;
    }
    .product-sort li:nth-child(4n) {
        background-color: #bbb;
    }
}
.product-ul {
	width: 960px;
	display: flex;
	flex-wrap: wrap;
	flex-shrink: 3;
	margin: 80px auto 0;
}
.product-list {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 320px;
	margin: auto auto 120px;
}
.product-list img {
	width: 180px;
	transition: .5s;
}
.product-list:hover img {
	transform: translateY(-10px);
}
.product-list p {
	width: 184px;
	text-align: center;
	overflow: hidden;
	white-space: nowrap;
    text-overflow: ellipsis;
}
.product-list p:nth-child(2) {
	font-size: 14px;
    color: #ea6182;
	margin-top: 40px;
}
.product-list p:nth-child(3) {
	font-size: 12px;
    color: #666;
	margin-top: 14px;
}
@media only screen and (max-width: 768px) {
	.product-ul {
		width: 80%;
		margin: 50px auto 0;
	}
	.product-list {
		width: 50%;
		margin: auto auto 50px;
	}
	.product-list img {
		width: 100px;
	}
	.product-list p {
		width: 100px;
	}
	.product-list p:nth-child(2) {
		font-size: 14px;
		margin-top: 16px;
	}
	.product-list p:nth-child(3) {
		font-size: 10px;
		margin-top: 8px;
	}
}
/* --------------------------------

产品详情页

-------------------------------- */
/* 左右箭头 */
.arrow {
	position: fixed;
	left: 50%;
	top: 50%;
	transform:translate(-50%,-50%);
	display: flex;
	justify-content: space-between;
	width: 90%;
}
.arrow i::before {
	color: #9284bd;
	transition: .5s;
}
.arrow i:hover::before{
    color: #ea6182;
}
.arrow a i {
	font-size: 2.5em;
}
/* 布局 */
.product-box {
	width: 760px;
	margin: 150px auto 100px;
	display: flex;
	justify-content: space-between;
}
.product {
	width: 244px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.product p {
	font-size: 14px;
	color: #666;
	margin: 36px auto 0;
}
.product-detail {
	width: 320px;
}
.product-detail h2 {
	margin: 20px 0 50px;
    color: #ea6182;
    color: #9284bd;
}
.product-detail p {
	font-size: 12px;
	line-height: 18px;
	text-align: justify;
	color: #666;
	margin-bottom: 50px;
	letter-spacing: .5px;
}
.product-detail h3 {
	font-size: 14px;
	font-weight: bold;
	color: #666;
}
.back {
	font-size: 18px;
	font-weight: normal;
	width: 100%;
	height: 30px;
	line-height: 30px;
	background: #eee;
	display: flex;
	margin: 0;
}
.feed-back {
	width: 960px;
	margin: 0 auto 100px;
}
.back a {
	display: block;
	color: #fff;
	height: 100%;
	text-align: center;
	transition: .5s;
}
.back a:first-child {
	width: 50%;
    background-color: #9284bd;
}
.back a:last-child {
    color: #9284bd;
}
.back a:first-child::after {
	content: "";
	display: block;
	width: 21px;
	height: 21px;
	background: #ccc;
    background-color: #9284bd;
	transform: translate(-50%,-50%) rotate(45deg);
	position: relative;
	right: -100%;
	top: -50%;
	transition: .5s;
}
.back a:last-child {
	width: 50%;
}
.back a:first-child:hover {
	background: #ea6182;
}
.back a:hover {
	width: 65%;
}
.back a:hover:first-child::after {
	background:#ea6182;
}
@media only screen and (max-width: 768px) {
	/* 左右箭头 */
	.arrow a i {
		font-size: 1.5em;
	}
	/* 布局 */
	.product-box {
		width: 70%;
		margin: 80px auto 50px;
		flex-direction: column;
	}
	.product {
		width: 100%;
		margin: 0 auto 50px;
	}
	.product div {
		max-width: 60%;
		margin: 0 auto;
	}
	.product img {
		width: 100%;
	}
	.product p {
		margin: 16px auto 0;
	}
	.product-detail {
		width: 100%;
		display: flex;
		flex-direction: column;
	}
	.product-detail h2 {
		margin: 10px auto 50px;
		text-align: center;
	}
	.back {
		margin: 16px auto 48px;
	}
	.feed-back {
		width: 90%;
	}
}

/* --------------------------------

关于页面

-------------------------------- */
.about {
    width: 100%;
    min-width: 1200px;
    min-height: calc(100vh - 225px);
    padding: 0 calc(50% - 600px);
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    align-items: center;
}
.about img {
    display: block;
    margin: 0 auto;
}
.about p {
    color: #666;
    line-height: 1.5;
    margin: 1em 0;
    text-align: center;
}
@media only screen and (max-width: 768px) {
    .about {
        min-width: inherit;
        min-height: calc(100vh - 137px);
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
        justify-content: flex-start;
    }
    .about img {
        width: 80%;
        height: auto;
    }
    .about p {
        text-align: center;
        width: 100%;
        padding: 0 10%;
    }
}

.index-bottom {
    width: 100%;
    padding: 0 calc(50% - 600px);
    text-align: center;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    align-items: center;
}
.index-bottom ul {
    width: 50%;
    flex-wrap: wrap;
    margin: 50px 0;
}
.index-bottom ul li {
    width: 100%;
    background-color: #9284bd;
    margin: 1em 0;
    position: relative;
    line-height: 1.5em;
    color: #fff;
}
.index-bottom ul li::before,
.index-bottom ul li::after {
    content: "";
    display: block;
    background-color: #9284bd;
    width: 30px;
    height: 100%;
    border-radius: 50%;
    position: absolute;
    top: 0;
}
.index-bottom ul li::before {
    left: -15px;
}
.index-bottom ul li::after {
    right: -15px;
}
.index-bottom p {
    width: 600px;
    font-size: 32px;
    font-weight: bold;
    line-height: 1.5;
    color: #9284bd;
    position: relative;
}
.index-bottom p::before {
    content: "";
    display: block;
    width: 6em;
    height: 1px;
    background-color: #9284bd;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, 0);
}
@media only screen and (max-width: 768px) {
    .index-bottom {
        padding: 0;
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
    }
    .index-bottom ul {
        width: 100%;
        padding: 0 10%;
        margin: 0;
        order: 1;
    }
    .index-bottom ul:first-of-type li:last-of-type {
        margin-bottom: 0;
    }
    .index-bottom ul li {
        margin: 0.5em 0;
    }
    .index-bottom p {
        width: 100%;
        margin: 20px 0;
    }
}