*{
box-sizing:border-box;
margin:0;
padding:0;
font-family:"Microsoft YaHei",Arial,sans-serif;
}

body{
background:#f5f6f8;
color:#222;
}

.top{
height:70px;
background:white;
display:flex;
align-items:center;
justify-content:space-between;
padding:0 8%;
box-shadow:0 2px 12px rgba(0,0,0,.06);
}

.logo{
font-size:24px;
font-weight:bold;
}

nav a{
margin-left:20px;
text-decoration:none;
color:#333;
}

.product{
max-width:1200px;
margin:40px auto;
display:flex;
gap:50px;
background:white;
padding:40px;
border-radius:18px;
}

.gallery{
width:50%;
}

.gallery>img{
width:100%;
border-radius:15px;
}

.thumbs{
display:flex;
gap:15px;
margin-top:15px;
}

.thumbs img{
width:80px;
height:80px;
border-radius:8px;
}

.info{
flex:1;
}

.info h1{
font-size:36px;
margin-bottom:20px;
}

.desc{
color:#666;
line-height:1.8;
}

.price{
font-size:40px;
font-weight:bold;
color:#e4393c;
margin:30px 0;
}

.option button{
padding:10px 20px;
margin:10px;
background:white;
border:1px solid #ddd;
border-radius:8px;
}

.buy{
margin-top:40px;
}

.buy button{
padding:15px 35px;
border:0;
border-radius:10px;
font-size:18px;
margin-right:15px;
}

.cart{
background:#ff9500;
color:white;
}

.now{
background:#1677ff;
color:white;
}

.detail{
max-width:1200px;
margin:auto;
background:white;
padding:40px;
border-radius:18px;
}

.features{
display:flex;
gap:30px;
margin-top:30px;
}

.features div{
padding:20px;
background:#f7f7f7;
border-radius:10px;
}

footer{
text-align:center;
padding:40px;
color:#888;
}

@media(max-width:768px){
.product{
flex-direction:column;
margin:15px;
padding:20px;
}

.gallery{
width:100%;
}

.info h1{
font-size:28px;
}

.features{
flex-direction:column;
}
}
