/**
 * Product modals for the Halfmoon Circles block (same as template part styles).
 * Enqueued via block.json so CSS survives the content pipeline.
 */
.products-modal {
	position: fixed;
	z-index: 100000;
	top: 0;
	left: 0;
	display: none;
	overflow: auto;
	width: 100%;
	height: 100%;
	backdrop-filter: blur(5px);
	background-color: rgba(0, 0, 0, 0.8);
}
.products-modal.active {
	display: flex;
	align-items: center;
	justify-content: center;
}
.products-modal-content {
	position: relative;
	overflow: hidden;
	width: min(400px, 95%);
	max-width: 600px;
	padding: 0;
	border: 1px solid #000;
	border-radius: 12px;
	margin: auto;
	animation: b3rg-halfmoon-modal-fade-in 0.3s ease;
	background: #1b1f39;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

@keyframes b3rg-halfmoon-modal-fade-in {
	from {
		opacity: 0;
		transform: scale(0.9);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}
.products-modal-gold-line {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #f8ce14;
}
.products-modal-close {
	position: absolute;
	z-index: 10;
	top: 15px;
	right: 15px;
	display: flex;
	width: 32px;
	height: 32px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.3);
	color: #fff;
	cursor: pointer;
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
	pointer-events: all;
	transition: all 0.3s ease;
}
.products-modal-close:hover {
	background-color: rgba(0, 0, 0, 0.5);
	transform: scale(1.1);
}
.products-modal-body {
	padding: 40px;
	padding-top: 50px;
	color: #fff;
	font-family:
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		Roboto,
		"Helvetica Neue",
		Arial,
		sans-serif;
}
.products-modal-body h2 {
	margin-bottom: 20px;
	color: #f8ce14;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
}
.products-modal-body p {
	margin-bottom: 0;
	color: #fff;
	font-size: 16px;
	line-height: 1.6;
}
.products-modal-link {
	margin-top: 8px;
	color: #fff;
	font-size: 20px;
	font-weight: 400;
	text-decoration-line: underline;
	text-decoration-skip-ink: auto;
	text-decoration-style: solid;
	text-decoration-thickness: auto;
	text-underline-offset: auto;
	text-underline-position: from-font;
}
