/* Newsletter popup — matches the design-refresh palette. */
.bb-nl {
	--bb-nl-ink: #2b2326;
	--bb-nl-rose: #b85c6b;
	--bb-nl-blush: #fbf1ef;
	--bb-nl-line: #efe2df;
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	opacity: 0;
	transition: opacity 0.25s ease;
}

.bb-nl[hidden] {
	display: none;
}

.bb-nl.is-visible {
	opacity: 1;
}

.bb-nl-open,
.bb-nl-open body {
	overflow: hidden;
}

.bb-nl__overlay {
	position: absolute;
	inset: 0;
	background: rgba(43, 35, 38, 0.55);
}

.bb-nl__dialog {
	position: relative;
	display: grid;
	grid-template-columns: 430px minmax(0, 1fr);
	width: min(860px, 100%);
	max-height: calc(100vh - 32px);
	overflow: auto;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 24px 60px rgba(43, 35, 38, 0.28);
	transform: translateY(12px) scale(0.98);
	transition: transform 0.25s ease;
}

.bb-nl.is-visible .bb-nl__dialog {
	transform: none;
}

.bb-nl__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: left center;
	border-radius: 18px 0 0 18px;
	cursor: pointer;
}

.bb-nl__body {
	padding: 36px 32px 28px;
	color: var(--bb-nl-ink);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.bb-nl__close {
	position: absolute;
	top: 10px;
	right: 12px;
	z-index: 2;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	color: var(--bb-nl-ink);
	font-size: 26px;
	line-height: 36px;
	cursor: pointer;
	padding: 0;
}

.bb-nl__close:hover,
.bb-nl__close:focus-visible {
	background: var(--bb-nl-blush);
}

.bb-nl__eyebrow {
	margin: 0 0 6px;
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--bb-nl-rose);
}

.bb-nl__title {
	margin: 0 0 10px;
	font-size: 26px;
	line-height: 1.2;
	font-weight: 600;
	color: var(--bb-nl-ink);
}

.bb-nl__title span {
	color: var(--bb-nl-rose);
}

.bb-nl__text {
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.5;
	color: #5b5054;
}

.bb-nl__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.bb-nl__input {
	width: 100%;
	height: 48px;
	padding: 0 16px;
	border: 1px solid var(--bb-nl-line);
	border-radius: 999px;
	font-size: 16px;
	background: #fff;
	color: var(--bb-nl-ink);
}

.bb-nl__input:focus {
	outline: none;
	border-color: var(--bb-nl-rose);
	box-shadow: 0 0 0 3px rgba(184, 92, 107, 0.15);
}

.bb-nl__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.bb-nl__consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 14px 0 16px;
	font-size: 12.5px;
	line-height: 1.45;
	color: #5b5054;
	cursor: pointer;
}

.bb-nl__consent input {
	margin-top: 2px;
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	accent-color: var(--bb-nl-rose);
}

.bb-nl__consent a {
	color: var(--bb-nl-rose);
	text-decoration: underline;
}

.bb-nl__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 50px;
	padding: 0 22px;
	border: 0;
	border-radius: 999px;
	background: var(--bb-nl-ink);
	color: #fff !important;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none !important;
	cursor: pointer;
	transition: background 0.2s ease;
}

.bb-nl__submit:hover,
.bb-nl__submit:focus-visible {
	background: var(--bb-nl-rose);
}

.bb-nl__submit[disabled] {
	opacity: 0.6;
	cursor: wait;
}

.bb-nl__note {
	margin: 10px 0 0;
	font-size: 12px;
	color: #8a7d81;
	text-align: center;
}

.bb-nl__msg {
	margin: 8px 0 0;
	min-height: 18px;
	font-size: 13px;
	color: var(--bb-nl-rose);
	text-align: center;
}

.bb-nl__code {
	margin: 6px 0 12px;
	padding: 12px;
	border: 1px dashed var(--bb-nl-rose);
	border-radius: 12px;
	background: var(--bb-nl-blush);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-align: center;
	color: var(--bb-nl-ink);
}

.bb-nl__code:empty {
	display: none;
}

@media (max-width: 767px) {
	.bb-nl {
		padding: 12px;
		align-items: flex-end;
	}

	.bb-nl__dialog {
		grid-template-columns: 1fr;
		max-height: calc(100vh - 24px);
		border-radius: 18px;
	}

	.bb-nl__media img {
		height: 34vh;
		max-height: 260px;
		object-position: left 30%;
		border-radius: 18px 18px 0 0;
	}

	.bb-nl__body {
		padding: 20px 18px 18px;
	}

	.bb-nl__title {
		font-size: 21px;
	}

	.bb-nl__text {
		font-size: 14px;
		margin-bottom: 14px;
	}
}
