@CHARSET "UTF-8";

.freshfood-comment{
	background-color: #F2E8DC;
    padding: 20px;
    margin-bottom: 10px;
}
.freshfood-comment p{
	color: #482E1D;
	
}

#freshfood {
  display: flex; flex-wrap: wrap;
}

.freshfood-listproduct{
	border: 1px #D5CFCB solid;
  width: 290px;
  box-sizing: border-box;
	padding: 10px;
	margin-right: 15px;
	margin-bottom: 20px;
	text-align: center;
}
.freshfood-listproduct:nth-child(3n){
	margin-right: 0;
}
.productName{
	color:#482E1D;
}
.productImg{
	margin: 0 auto;
	width: 100%;
}
.productId{
	font-weight: normal;
    font-size: 12px;
    color: #AAAAAA;
	margin-bottom: 5px;
}
.productPrice{
	color:#482E1D;
	margin-bottom: 5px;
	font-size: 16px;
}
.productPrice .productPriceTitle{
	font-size: 12px;	
}
.productPrice .tax{
	font-size: 12px;
}
.productDesc{
	margin-top: 10px;
	color:#482E1D;
	
	display: -webkit-box;            /* ใช้ flexbox แนวตั้ง */
  -webkit-line-clamp: 2;           /* จำกัดที่ 2 บรรทัด */
  -webkit-box-orient: vertical;    /* แนวตั้ง */
  overflow: hidden;                /* ตัดส่วนเกินออก */
  text-overflow: ellipsis;         /* เติม … */
  height: 3em;                     /* กำหนดความสูง = 2 บรรทัด (line-height * 2) */
  line-height: 1.5em;              /* กำหนดบรรทัดละ 1.5em */	
}

.freshfoodSubmit{
	width: 100%;
	max-width: 160px;
	margin: 0 auto;
}
.freshfoodBg{
	background-color: #F2E8DC;
	padding: 5px 0;
	margin: 5px auto;
}

@media (max-width: 480px){
	#freshfood {
		display: block;
	}
	.freshfood-comment{
		padding: 10px;
	}
	.freshfood-listproduct{
		width: 100%;
		margin-right: 0;
	}
	.freshfoodSubmit{
		width: 60%;
		max-width: inherit;
	}
}