/* page */

body {
	font-family: Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	margin: 0;
	color: #222222;
}

.container {
	width: 992px;
	margin: 0 auto;
	padding: 0 30px;
	box-sizing: border-box;
}


/* header */

.logo {
	float: left;
	padding: 10px 20px;
}

ul {
	list-style: none;
}

li {
	display: inline;
	margin: 0 15px;
}

.menu {
	float: right;
	margin-top: 35px;
}

.menu-link {
	color: black;
	font-size: 15px;
	text-decoration: none;
	padding: 10px;
}

.menu-link:hover {
	text-decoration: underline;
}


/* buttons */

.button {
	display: inline-block;
	padding: 10px 20px;
	border: 1px solid black;
	background-color: #dddddd;
	color: black;
	text-decoration: none;
	margin-right: 10px;
}

.button:hover {
	background-color: #cccccc;
}


/* hero */

.hero-box {
	clear: both;
	border: 1px solid black;
	overflow: hidden;
}

.hero {
	width: 50%;
	height: 430px;
	float: left;
	padding: 55px 30px;
	box-sizing: border-box;
}

.hero h2 {
	font-size: 30px;
	margin-top: 0;
}

.hero-image {
	width: 50%;
	height: 430px;
	float: right;
}

.hero-image img {
	width: 100%;
	height: 430px;
	object-fit: cover;
	display: block;
}


/* popular items */

.popular {
	clear: both;
	padding-top: 50px;
}

.product {
	display: inline-block;
	width: 30%;
	margin-right: 2%;
	vertical-align: top;
}

.product img {
	width: 100%;
	height: 230px;
	object-fit: cover;
}


/* categories */

.banners {
	display: inline-block;
	width: 30%;
	margin-right: 2%;
	vertical-align: top;
	position: relative;
}

.banners img {
	width: 100%;
	height: 350px;
	object-fit: cover;
	display: block;
}

.banners h5 {
	position: absolute;
	bottom: 10px;
	width: 100%;
	text-align: center;
	color: white;
	font-size: 20px;
}


/* home blog */

.blog {
	clear: both;
	padding-top: 50px;
	padding-bottom: 20px;
}

.bblog {
	width: 49%;
	height: 340px;
	float: left;
	border: 1px solid black;
	box-sizing: border-box;
}

.bblog img {
	width: 50%;
	height: 338px;
	object-fit: cover;
	float: left;
}

.bblog-text {
	width: 50%;
	float: right;
	padding: 20px;
	box-sizing: border-box;
}

.sblogs {
	width: 49%;
	float: right;
}

.sblog {
	width: 100%;
	height: 160px;
	border: 1px solid black;
	margin-bottom: 20px;
	overflow: hidden;
	box-sizing: border-box;
}

.sblog img {
	width: 45%;
	height: 158px;
	object-fit: cover;
	float: left;
}

.sblog-text {
	width: 55%;
	float: right;
	padding: 12px;
	box-sizing: border-box;
}

.sblog-text h3 {
	font-size: 16px;
	margin-top: 0;
}

.sblog-text p {
	font-size: 13px;
}

.sblog-text .button {
	padding: 5px 10px;
	font-size: 13px;
}


/* brands */

.brands {
	clear: both;
	padding-top: 50px;
	text-align: center;
}

.blogo {
	display: inline-block;
	width: 15%;
	margin: 20px 1%;
	vertical-align: middle;
}

.blogo img {
	width: 100%;
	height: 70px;
	object-fit: contain;
}


/* reviews */

.reviews {
	clear: both;
	padding-top: 50px;
}

.rcard {
	display: inline-block;
	width: 30%;
	margin-right: 2%;
	border: 1px solid black;
	padding: 20px;
	box-sizing: border-box;
	vertical-align: top;
	text-align: center;
}

.star {
	font-size: 22px;
}


/* catalog */

.catalog {
	clear: both;
	border: 1px solid black;
	overflow: auto;
}

.filter {
	width: 30%;
	float: left;
	padding: 30px;
	box-sizing: border-box;
	border-right: 1px solid black;
	min-height: 850px;
}

.products {
	width: 70%;
	float: right;
	padding: 20px;
	box-sizing: border-box;
}

.card {
	display: inline-block;
	width: 30%;
	margin-right: 2%;
	margin-bottom: 35px;
	vertical-align: top;
}

.card img {
	width: 100%;
	height: 170px;
	object-fit: cover;
}

.card .button {
	padding: 8px 12px;
	font-size: 13px;
}


/* blog page */

.blog-card {
	display: inline-block;
	width: 30%;
	margin-right: 2%;
	margin-bottom: 40px;
	vertical-align: top;
}

.blog-card img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}


/* contact */

.contact {
	clear: both;
	padding: 30px;
	border: 1px solid black;
}

.name {
	display: inline-block;
	width: 47%;
	margin-right: 2%;
	vertical-align: top;
}

.contact input {
	width: 100%;
	height: 35px;
	padding: 5px;
	box-sizing: border-box;
}

.contact textarea {
	width: 100%;
	height: 150px;
	padding: 5px;
	box-sizing: border-box;
}

.contact button {
	padding: 10px 30px;
	margin-top: 20px;
}

.center {
	text-align: center;
	margin-top: 40px;
}


/* footer */

.footer {
	clear: both;
	margin-top: 50px;
	border: 1px solid black;
	padding: 40px 30px 0;
}

.boxfooter {
	display: inline-block;
	width: 32%;
	vertical-align: top;
}

.tfooter {
	display: inline-block;
	width: 49%;
	margin-top: 40px;
	border-top: 1px solid black;
}

.right {
	text-align: right;
}