main {
	padding: 28px;
}
main h2 {
	margin: 60px 0px 20px;
	font-size: 35px;
	font-weight: bolder;
	color: #ccc;
}

.section {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.card-container {
	display: inline-block;
	background-color: #2f2f50;
	box-shadow: 2px 4px 22px black;
	padding: 20px;
	position: relative;
	width: fit-content
}


.image-container {
	position: relative;
	width: 300px;
	height: 410px;
	background-size: cover;
	background-position: center;

}

.rating {
	background-image: url(../assets/star.png);
	background-position: center;
	background-size: cover;
	font-weight: bolder;
	text-align: center;
	line-height: 62px;
	color: black;
	width: 60px;
	height: 60px;
	position: absolute;
	bottom: 10px;
	right: 10px;
}

.title {
	font-size: 22px;         
	margin: 10px 0 5px 0;
	color: white;
	width: 95%;
	text-transform: uppercase;
	white-space: nowrap;    
	overflow: hidden;       
	text-overflow: ellipsis; 
	cursor: pointer;
}

.price {
	font-size: 19px;
	font-weight: bold;
	color: white;
	text-align: right;
	margin: 0;
}

.free-price {
	color: red;
	font-weight: bold;
}

.card-footer {
	display: flex;
	justify-content: space-between;
	align-items: end;
	margin-top: 14px;
}

.add-to-cart {
	background-color: red;
	color: white;
	display: inline-block;
	padding: 7px 12px;
	font-weight: 600;
	border-radius: 8px;
	border: none;
	font-size: 15px;
	text-transform: uppercase;
}

.add-to-cart:disabled {
	opacity: 0.5;
	background-color: gray;
	cursor: not-allowed;
}


.add-to-cart:hover {
	background-color: #45a049;
}

.catogory {
  border-radius: 12px;
  padding: 5px 10px;
  margin: 10px 5px 10px 0;
  border: none;
  font-size: 16px;
  cursor: default;
  display: inline-block;
  transition: all 0.3s ease;
}

.catogory:hover {
  transform: scale(1.05);
  opacity: 0.85;
}

.card-container:hover {
	transform: scale(1.03);
	transition: all 300ms ;
}
