﻿@CHARSET "UTF-8";

.product {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	width: 960px;
	margin: 2rem auto;
	text-align: left;
	font-family: "Microsoft YaHei", sans-serif;
	font-size: 0.9rem;
}

.product h1 {
	margin-bottom: 2rem;
	padding-left: 30px;
	font-size: 1.5rem;
	color: #0066cc;
	background-image: url(res/small-sun.gif);
	background-repeat: no-repeat;
	background-position: left bottom;
}

.product h2 {
	margin-bottom: 2rem;
	padding-left: 30px;
	color: #0066cc;
	font-size: 1.3rem;
	background-image: url(res/small-sun.gif);
	background-repeat: no-repeat;
	background-position: left bottom;
}

.product img {
	box-sizing: border-box;
	display: block;
	margin: 20px auto 20px 0px;
	width: 500px;
	height: auto;
	max-width: 100%;
}

.product .info {
	box-sizing: border-box;
	width: 450px;
}

.product .info .name {
	margin: 2.5rem 0rem;
}

.product .info .features {
	margin: 2.5rem 0rem;
}

.features ul {
	list-style: none;
	padding: 0;
}
    
.features li {
	margin: 0.8rem 0;
	padding-left: 1.2rem;
	position: relative;
}

.features li::before {
	content: "✔";
	color: green;
	position: absolute;
	left: 0;
}

.down a {
	display: block;
	width: fit-content;
	padding: 0.8rem 1.5rem;
	background: #28a745;
	color: white;
	border-radius: 6px;
	text-decoration: none;
	font-weight: bold;
	margin: 1rem auto; 
}

.down a:hover {
	background: #218838;
}

.productx {
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
	align-items: center;
	width: 960px;
	margin: 2rem auto;
	text-align: left;
	font-family: "Microsoft YaHei", sans-serif;
	font-size: 0.9rem;
  border: none;
  border-top: 1px solid #E8E8E8;
  border-bottom: 1px solid #E8E8E8;
}

.productx h2 {
	color: #0066cc;
	font-size: 1.3rem;
	margin-bottom: 1rem;
}

.productx .adverts {
	margin-top: 2rem;
	margin-bottom: 2rem;
}

.productx .review {
	margin-top: 2rem;
	margin-bottom: 2rem;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.productx .review .item {
	display: flex;
	flex-direction: column;
	padding: 15px;
}

.productx .review .item .uname {
	display: inline-block;
	border: 1px solid #0078D4;
	border-radius: 6px;
	padding: 4px 10px;
	color: #0078D4;
	font-weight: bold;
	margin-bottom: 2rem;
	width: fit-content;
}
