/*CSS-Document*/

/*Button*/
.infotext button {
	padding: 16px;
	border: none;
	border-radius: 40px;
	background: #463979;
	color: white;
	font-size: 16px;
	font-family: Montserrat, sans-serif;
	cursor: pointer;
	transition: 0.3s;
}

.infotext button:hover {
	background: #aaaae0;
	color: #463979;
}

/*Layout*/
.warenkorb-container {
	display: flex;
	justify-content: center;
	gap: 20px;
	align-items: flex-start;
	box-sizing: border-box;
	padding: 0 40px;
}

/*Produktübersicht*/
.warenkorb-produkt {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 30px;
}

.produkt-bilder {
	display: flex;
	flex-direction: row;
	gap: 10px;
}

.produkt-bilder img {
	width: 120px;
	height: auto;
	border-radius: 15px;
	object-fit: cover;
	transition: 0.3s;
}

.produkt-bilder img:hover {
	transform: scale(1.1);
}

/*Vergrößerung der Bilder*/
.lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 1000;
}

.lightbox:target {
	display: flex;
}

.lightbox img {
	max-width: 90%;
	max-height: 90%;
	border-radius: 20px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox .close {
	position: absolute;
	top: 20px;
	right: 30px;
	font-size: 40px;
	color: #fff;
	text-decoration: none;
}

.lightbox .close:hover {
	color: #aaaae0;
}

/*Pop-Up-Fenster Kasse*/
.popup-overlay {
  display: none;
  position: fixed;
  z-index: 3;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.popup-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 20px;
  width: 300px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/*Pop-up Fenster schließen*/
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
}
