.card {
	width: 24%;
	padding: 0.4%;
	margin: auto;
	margin-bottom: 1%;
	position: relative;
	border: 1px solid black;
	border-radius: 10px;
	color: black;
}

.card img {
	max-width: 100%;
	max-height: 200px;
	object-fit: cover;
	display: block;
	margin: 0 auto;
	border-radius: 10px;
}

.card h2 {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
  }
  

.card button {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}

.card table {
	margin-top: 10px;
	margin-bottom: 10px;
}

.card td {
	font-size: 80%;
}

.image-container {
	position: relative;
}


.overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgb(255, 255, 255);
	z-index: 1;
	display: none;
	justify-content: center;
	align-items: center;
	border-radius: 10px;
}

.overlay-content {
	color: rgb(0, 0, 0);
	text-align: center;
}

.more-button {
	position: absolute;
	top: 10px;
	right: 10px;
	background-color: rgba(107, 107, 107, 0.5);
	color: black;
	width: 24px;
	height: 24px;
	line-height: 24px;
	text-align: center;
	cursor: pointer;
	z-index: 2;
	border-radius: 50%;
	font-size: 40px;
}


#cart-icon {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 3001;
	cursor: pointer;
	font-size: 36px;
	background-color: white;
	border-radius: 50%;
	width: 70px;
	height: 70px;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: right 0.3s ease;
}

#cart-icon.show {
	right: 415px;
}

#item-count {
	position: absolute;
	top: 0;
	right: 0;
	background: red;
	color: white;
	border-radius: 50%;
	width: 25px;
	height: 25px;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	line-height: 20px;
	font-size: 22px;
}


#cart-sidebar {
	/* margin-top: 5%; */
	border: 1px solid black;
	position: fixed;
	top: 0;
	z-index: 3000;
	right: -400px;
	width: 400px;
	height: 100%;
	background-color: #fff;
	transition: right 0.3s ease;
}



#cart-sidebar.show {
	right: 0;
}

#cart-header {
	height: 60px;
	background-color: #333;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
}



#overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	/* Grey transparent */
	z-index: 2000;
	/* Behind the cart sidebar */
	display: none;
	/* Initially hidden */
}





/* Mobile Styles */
@media only screen and (max-width: 767px) {
	#cart-sidebar {
		right: -100%;
		width: 100%;
		height: 100%;
	}

	#cart-icon.show {
		left: 20px;
		border: 1px solid black;
	}
}

/* Tablet Styles */
@media only screen and (min-width: 768px) and (max-width: 991px) {

}