#cart-table thead {
	background-color: rgb(236 240 243 / 42%);
}

table thead th {
	padding: 0.2rem 0.8rem;
	text-align: start;
}

#cart-table th,
#cart-table td {
	font-size: 17px;
	color: rgb(160, 162, 165);
	font-weight: 400;
}

#cart-table td,
th {
	border-bottom: solid 1px rgba(121, 122, 127, 0.3);
}


#cart-table .product-image {
	width: 10rem;
}


/* Quantity Selector */
.cart-item__quantity {
	display: flex;
	align-items: center;
	gap: 5px;
}

.cart-item__quantity button {
	width: 30px;
	height: 30px;
	font-size: 1.125rem;
	color: #333;
	background-color: #f0f0f0;
	border: none;
	cursor: pointer;
	border-radius: 4px;
	transition: background-color 0.3s ease-in-out;
}

.cart-item__quantity button:hover {
	background-color: #ddd;
}

.cart-item__count {
	font-weight: bold;
	font-size: 1rem;
}

.icon-Close {
	color: #ff4d4f;
}

.remove-product {
	text-align: center;
	vertical-align: middle;
}

.remove-button {
	background-color: transparent;
	color: #ff4d4f;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	transition: color 0.3s ease;
}

.remove-button:hover {
	color: #ff0000;
	font-weight: bold;
}

.invalid {
	border: solid 2px rgba(167, 0, 0) !important;
}

.error-date {
	display: none;
}



/* Responsive Styles */
@media (max-width: 1199px) {
	#cart-table {
		border: none;
	}

	#cart-table thead {
		display: none;
		/* Hide headers for mobile */
	}

	#cart-table tbody tr {
		display: flex;
		flex-direction: column;
		background-color: #ffffff;
		border-radius: 8px;
		margin-bottom: 1rem;
		padding: 1rem;
		box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
		max-width: 600px;
	}

	#cart-table td {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		border: none;
		font-size: 18px;
	}

	/* Product Name Above Image */
	#cart-table .product-name {
		font-size: 18px;
		font-weight: bold;
		margin-bottom: 0.5rem;
	}

	/* Larger Image */
	#cart-table .product-image {
		width: 15rem;
		height: auto;
		margin-bottom: 1rem;
		border-radius: 8px;
	}

	/* Quantity Selector */
	.cart-item__quantity {
		display: flex;
		justify-content: flex-start;
		gap: 0.5rem;
		margin: 1rem 0;
	}

	.cart-item__quantity button {
		width: 40px;
		height: 40px;
		font-size: 1.25rem;
	}

	/* Remove Button */
	.remove-product {
		align-self: flex-end;
		margin-top: -1rem;
		margin-right: -1rem;
	}

	.remove-button {
		background-color: transparent;
		color: #ff4d4f;
		font-size: 1.5rem;
		border: none;
		cursor: pointer;
		transition: color 0.3s ease-in-out;
	}

	.remove-button:hover {
		color: #ff0000;
	}

	/* Align Subtotal and Price */
	#cart-table .cart-list-value {
		font-size: 16px;
		font-weight: bold;
		margin-top: 0.5rem;
	}
}



@media (max-width: 430px) {
	#cart-table .cart-list-value {
		font-size: 18px;
		font-weight: bold;
		margin-top: 0.5rem;

	}

}

