/* OttOmatic Art - Lightbox Styles */

#lightbox-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.88);
	z-index: 2000;
	align-items: center;
	justify-content: center;
}

#lightbox-overlay.open {
	display: flex;
}

#lightbox {
	background: #fff;
	border-radius: 4px;
	max-width: 900px;
	width: 92vw;
	max-height: 90vh;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	position: relative;
}

#lightbox-close {
	position: absolute;
	top: 0.4em;
	right: 0.5em;
	background: none;
	border: none;
	font-size: 2em;
	color: #555;
	cursor: pointer;
	z-index: 10;
	line-height: 1;
	min-width: 44px;
	min-height: 44px;
}

#lightbox-close:hover {
	color: #111;
}

#lightbox-image-wrap {
	width: 100%;
	background: #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: center;
	max-height: 60vh;
	overflow: hidden;
}

#lightbox-image-wrap img {
	max-width: 100%;
	max-height: 60vh;
	object-fit: contain;
	display: block;
}

#lightbox-details {
	padding: 1.5em 2em 2em;
}

#lightbox-title {
	font-size: 1.6em;
	color: #3a4042;
	margin-bottom: 0.2em;
}

#lightbox-size {
	font-size: 0.9em;
	color: #888;
	margin-bottom: 0.4em;
}

#lightbox-price {
	font-size: 1.4em;
	color: #3a4042;
	margin-bottom: 1em;
}

#lightbox-add-btn {
	background: #3a4042;
	color: #fff;
	border: none;
	padding: 0.7em 2em;
	border-radius: 3px;
	font-family: 'Yanone Kaffeesatz', sans-serif;
	font-size: 1.1em;
	cursor: pointer;
	transition: background 0.2s ease;
}

#lightbox-add-btn:hover {
	background: #556066;
}

@media (max-width: 600px) {
	#lightbox-details {
		padding: 1em 1.2em 1.5em;
	}
}
