.cart-section {
	max-width: 500px;
	margin: 3rem auto;
	background: white;
	padding: 2rem;
	border-radius: 0.75rem;
	box-shadow: 0 0.6rem 1.25rem rgba(0, 0, 0, 0.1);
}

.cart-section h2 {
	text-align: center;
	color: rgb(var(--primary));
	margin-bottom: 1rem;
}

#cart-items {
	padding: 0;
}

.add-cart {
	background: rgb(var(--primary)) !important;
	color: #ffffff !important;
}
.add-cart:hover {
	background: rgb(var(--accent)) !important;
}

#cart-items li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.5rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Remove button */
.remove-item {
	background: none;
	border: none;
	color: rgb(var(--primary));
	cursor: pointer;
	font-size: 1rem;
}

.remove-item:hover {
	color: rgb(var(--accent)); /* warm caramel */
	opacity: 0.85;
	transform: scale(1.15);
}

.cart-total {
	text-align: right;
	font-weight: bold;
	color: rgb(var(--primary));
	margin-top: 1rem;
}

/* Cart buttons container */
.cart-buttons {
	display: flex;
	justify-content: flex-end;
	margin-top: 1rem;
}
.cart-buttons button {
	background: rgb(var(--primary));
	color: #fff;
	border: none;
	padding: 0.6rem 1.2rem;
	border-radius: 0.5rem;
	cursor: pointer;
	transition: background 0.3s ease;
}

.cart-buttons button:hover {
	background: rgb(var(--accent));
}

#clear-cart {
	background: rgb(var(--primary)) !important; /* main brown */
	color: #fff !important;
	border: none !important;
	border-radius: 0.5rem;
	padding: 0.6rem 1.2rem;
	transition: background 0.25s ease, transform 0.2s ease;
}

#clear-cart:hover {
	background: rgb(var(--accent)) !important; /* light caramel brown */
	transform: translateY(-2px);
}

/* Thumbnail in cart */
.cart-thumb {
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 0.375rem;
	margin-right: 8px;
}
