body{
	margin: 0;
	font-family: Poppins;
}
svg{
	width: 30px;
}
a{
	text-decoration: none;
	color: black;
}
button{
	cursor: pointer;
}
.container{
	width: 900px;
	max-width: 90vw;
	margin: auto;
	text-align: center;
	padding-top: 10px;
	transition: 0.5s;
}
header{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0;
}
.icon-cart{
	position: relative;
}
.icon-cart span{
	background-color: red;
	position: absolute;
	top: 50%;
	right: -20px;
	width: 30px;
	height: 30px;
	color: white;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
}
.title{
	font-size: xx-large;
}
/*cartTab*/
.cartTab {
	background-color: #254D6B;
	color: whitesmoke;
	width: 400px;
	max-width: 100%;
	position: fixed;
	top: 0;
	right: 0px; /* match the width */
	bottom: 0;
	display: grid;
	grid-template-rows: 70px 1fr 70px;
	transition: right 0.5s ease;
	box-shadow: -4px 0 12px rgba(0, 0, 0, 0.15);
	z-index: 1000;
  }
.cartTab h1{
	padding: 20px;
	margin: 0;
	font-weight: 300;
}
.cartTab .btn{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}
.cartTab .btn button{
	background-color: #EE9C4D;
	border: none;
	font-family: Poppins;
	font-weight: 500;
}
.cartTab .btn button.close{
	background-color: white;
}
.cartTab .listCart{
	overflow: auto;
	padding: 20px;
}
.cartTab .listCart::-webkit-scrollbar{
	width: 0;
}
.cartTab{
	right: -400px;
	transition: 0.5s;
}
.cartTab.active {
	right: 0;
  }
body.activeTabCart .cartTab{
	right: 0;
}

body.activeTabCart .container{
	transform: translateX(-250px);
}



/*list item product*/
.listProduct .item img{
	width: 90%;
	filter: drop-shadow(
		0 50px 20px #0009
	);
}
.listProduct {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 20px;
}
.listProduct .item{
	background-color: #eeeee6;
	padding: 20px;
	border-radius: 20px;
}
.listProduct .item h2{
	font-weight: 500;
	font-size: large;
}
.listProduct .item .price{
	letter-spacing: 7px;
	font-size: small;
}
.listProduct .item button{
	background-color: black;
	color: white;
	border: none;
	padding: 5px 10px;
	margin-top: 10px;
	border-radius: 20px;
}

/*list cart item*/
.listCart .item img{
	width: 100%;
}
.listCart .item{
	display: grid;
	grid-template-columns: 70px 150px 50px 1fr;
	gap: 10px;
	align-items: center;
	text-align: center;
}
.listCart .item .quantity {
	display: flex;
	align-items: center;
	gap: 3px;
}
.listCart .item .quantity span{
	width: 25px;
	height: 25px;
	background-color: #eee;
	color: black;
	border-radius: 50%;
	cursor: pointer;
}
.listCart .item .quantity span:nth-child(2){
	background-color: transparent;
	color: white;
}
.listCart .item:nth-child(even){
	background-color: black;
}

/*responsive*/
@media screen and (max-width: 992px){
	.listProduct{
		grid-template-columns: repeat(3, 1fr);
	}
}

@media screen and (max-width: 767px){
	.listProduct{
		grid-template-columns: repeat(2, 1fr);
	}
}