.hbd-discovery {
	display: flow-root;
	margin: 0;
}

.hbd-discovery__slot {
	display: flow-root;
	margin-bottom: 0;
}

.hbd-discovery__slot--transparent {
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.hbd-discovery__slot:last-child {
	margin-bottom: 0;
}

.hbd-discovery__slot-title {
	font-weight: 700;
	font-size: 1.25rem;
	line-height: 1.3;
	margin-bottom: 12px;
}

.hbd-discovery__slot-content > *:first-child:not(.hbd-related-listings) {
	margin-top: 0;
}

.hbd-discovery__slot-content {
	display: flow-root;
}

.hbd-discovery__slot--transparent > .hbd-discovery__slot-content {
	display: block;
	margin: 0;
	padding: 0;
}

.hbd-discovery__slot--spacing-custom > .hbd-discovery__slot-content > *:first-child {
	margin-top: var(--hbd-discovery-slot-margin-top-desktop, 0) !important;
}

.hbd-discovery__slot--spacing-custom {
	padding-inline: var(--hbd-discovery-slot-padding-side-desktop, 0px);
}

.hbd-discovery__slot--spacing-custom > .hbd-discovery__slot-content > *:last-child {
	margin-bottom: var(--hbd-discovery-slot-margin-bottom-desktop, 0) !important;
}

.hbd-discovery__slot-content > *:last-child:not(.hbd-related-listings) {
	margin-bottom: 0;
}

.hbd-discovery-preview-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 10px;
	z-index: 999999;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	width: 100%;
	pointer-events: none;
}

.hbd-discovery-preview-banner__toggle {
	width: 34px;
	height: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 999px;
	background: #1d2327;
	color: #fff;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.02em;
	cursor: pointer;
	opacity: 0.72;
	pointer-events: auto;
}

.hbd-discovery-preview-banner__toggle:hover,
.hbd-discovery-preview-banner__toggle:focus,
.hbd-discovery-preview-banner.is-open .hbd-discovery-preview-banner__toggle {
	opacity: 1;
}

.hbd-discovery-preview-banner__tooltip {
	position: absolute;
	bottom: 28px;
	left: 50%;
	transform: translate(-50%, 4px);
	width: min(280px, calc(100vw - 20px));
	padding: 8px 10px;
	border-radius: 7px;
	background: #1d2327;
	color: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.35;
	letter-spacing: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.15s ease, transform 0.15s ease;
	text-align: center;
}

.hbd-discovery-preview-banner__tooltip strong,
.hbd-discovery-preview-banner__tooltip span {
	display: block;
}

.hbd-discovery-preview-banner__tooltip strong {
	margin-bottom: 4px;
}

.hbd-discovery-preview-banner.is-expired .hbd-discovery-preview-banner__toggle {
	background: #8a2424;
}

.hbd-discovery-preview-banner.is-open .hbd-discovery-preview-banner__tooltip {
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

.hbd-discovery-spot {
	margin: 24px 0;
}

.hbd-discovery-spot--spacing-custom {
	margin: var(--hbd-discovery-spot-margin-top-desktop, 24px) var(--hbd-discovery-spot-margin-side-desktop, 0px) var(--hbd-discovery-spot-margin-bottom-desktop, 24px);
}

.hbd-discovery-spot > *:first-child {
	margin-top: 0;
}

.hbd-discovery-spot > *:last-child {
	margin-bottom: 0;
}

@media (max-width: 767px) {
	.hbd-discovery__slot--spacing-custom {
		padding-inline: var(--hbd-discovery-slot-padding-side-mobile, 0px);
	}

	.hbd-discovery-spot--spacing-custom {
		margin: var(--hbd-discovery-spot-margin-top-mobile, 24px) var(--hbd-discovery-spot-margin-side-mobile, 0px) var(--hbd-discovery-spot-margin-bottom-mobile, 24px);
	}

	.hbd-discovery__slot--spacing-custom > .hbd-discovery__slot-content > *:first-child {
		margin-top: var(--hbd-discovery-slot-margin-top-mobile, 0) !important;
	}

	.hbd-discovery__slot--spacing-custom > .hbd-discovery__slot-content > *:last-child {
		margin-bottom: var(--hbd-discovery-slot-margin-bottom-mobile, 0) !important;
	}

	.hbd-discovery__slot--device-desktop,
	.hbd-discovery-spot--device-desktop {
		display: none !important;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.hbd-discovery__slot--spacing-custom {
		padding-inline: var(--hbd-discovery-slot-padding-side-tablet, 0px);
	}

	.hbd-discovery-spot--spacing-custom {
		margin: var(--hbd-discovery-spot-margin-top-tablet, 24px) var(--hbd-discovery-spot-margin-side-tablet, 0px) var(--hbd-discovery-spot-margin-bottom-tablet, 24px);
	}

	.hbd-discovery__slot--spacing-custom > .hbd-discovery__slot-content > *:first-child {
		margin-top: var(--hbd-discovery-slot-margin-top-tablet, 0) !important;
	}

	.hbd-discovery__slot--spacing-custom > .hbd-discovery__slot-content > *:last-child {
		margin-bottom: var(--hbd-discovery-slot-margin-bottom-tablet, 0) !important;
	}
}

@media (min-width: 768px) {
	.hbd-discovery__slot--device-mobile,
	.hbd-discovery-spot--device-mobile {
		display: none !important;
	}
}
