a
{
	text-decoration: none;
	color: black;
}

hr
{
	width: 90%;
}

.product-container-desktop
{
	width: 1000px;
	margin: 25px 25px;
	display: grid;
	grid-template-columns: 500px auto;
	grid-column-gap: 25px;
}

.product-container-mobile
{
	display: none;
	width: 100%;
	margin: 15px auto;
	grid-template-rows: 50px 300px 50px auto 50px 180px;
	grid-row-gap: 10px;
}

#product-info-left
{
	display: grid;
	grid-template-rows: 500px auto 50px 180px;
	grid-row-gap: 15px;
}

#product-info-right
{
	display: grid;
	grid-template-rows: 50px 50px;
	grid-row-gap: 15px;
}

#product-image
{
	background: white;	
	border: 1px solid lightgray;
	border-radius: 5px;
	display: flex;
	justify-content: center;
	align-items: center;
}

#product-image img
{
	max-width: 80%;
	max-height: 80%;
}

#product-description
{
	background: white;	
	border: 1px solid lightgray;
	border-radius: 5px;
}

#product-description p
{
	margin-left: 10px;
	margin-top: 10px;
	line-height: 1.5;
}

#product-buttons
{
	cursor: pointer;
	background: white;
	border: 1px solid lightgray;
	border-radius: 5px;
	display: grid;
	grid-template-columns: 50% 50%;
	text-align: center;
}

#product-buttons #left-line
{
	border-left: 1px solid lightgray;
}

#product-buttons p
{
	line-height: 50px;
}

#product-buttons a p
{
	color: black;
	transition: color 0.5s ease;
}

#product-buttons a:hover p
{
	color: green;
	transition: color 0.2s ease;
}

#product-reviews
{
	background: white;	
	border: 1px solid lightgray;
	border-radius: 5px;
}

#product-reviews p
{
	margin-left: 10px;
	margin-top: 10px;
}

#product-reviews h4
{
	text-align: center;
}

#product-reviews #add-review
{
	border: 5px solid #338000;
	background: white;
	transition: background 0.2s ease;
	text-align: center;
	margin: 0 auto;
	border-radius: 10px;
	width: 150px;
	height: 50px;
}

#product-reviews #add-review h4
{
	line-height: 50px;
	color: black;
	transition: color 0.2s ease;
}

#product-reviews #add-review:hover
{
	background: #338000;
	transition: background 0.2s ease;
}

#product-reviews #add-review:hover h4
{
	color: white;
	transition: color 0.2s ease;
}

#product-name
{
	background: white;	
	border: 1px solid lightgray;
	border-radius: 5px;
}

#product-name h4
{
	margin-left: 10px;
	font-size: 24px;
	height: 100%;
	line-height: 50px;
}

#product-buy
{
	background: white;	
	border: 1px solid lightgray;
	border-radius: 5px;
	display: grid;
	grid-template-columns: auto 50px;
	grid-template-rows: 50px;
}

#product-buy #price
{
	color: #338000;
	float: left;
	margin-left: 10px;
	line-height: 50px;
}

#product-buy #product-add-cart
{
	background: #338000;
	height: 50px;
	border-radius: 0 5px 5px 0;
	transition: background 0.1s ease;
}

#product-buy #product-add-cart p
{
	color: white;
	font-size: 24px;
	line-height: 45px;
	text-align: center;
}

#product-buy #product-add-cart:hover
{
	background: #286300;
	transition: background 0.1s ease;
}

#product-buy-mobile
{
	background: white;
	border: 1px solid lightgray;
	border-radius: 5px;
	display: grid;
	grid-template-columns: auto 50%;
}

#product-buy-mobile #price
{
	color: #338000;
	margin-left: 10px;
	line-height: 50px;
	text-align: center;
}

#product-buy-mobile #product-add-cart
{
	background: #338000;
	height: 50px;
	border-radius: 0 5px 5px 0;
	transition: background 0.1s ease;
}

#product-buy-mobile #product-add-cart p
{
	color: white;
	font-size: 24px;
	line-height: 45px;
	text-align: center;	
}

#product-buy-mobile #product-add-cart:hover
{
	background: #286300;
	transition: background 0.1s ease;
}

@media screen and (max-width: 1000px)
{
	.product-container-desktop
	{
		display: none;
	}

	.product-container-mobile
	{
		display: grid;
	}

	#product-name h4
	{
		font-size: 120%;
		text-align: center;
	}
}