/* Finder result rail: visibility is controlled by available right-side space,
 * not by a hard viewport breakpoint. */
	.dipf-result-rail,
	.dipf-result-rail * {
		box-sizing: border-box;
	}

	.dipf-result-rail {
		position: fixed;
		top: 160px;
		right: 20px;
		z-index: 100;
		display: flex;
		flex-direction: column;
		width: 197px;
		max-height: calc(100vh - 190px);
		margin: 0;
		padding: 0;
		overflow: hidden;
		border: 1px solid #dbe5e9;
		border-radius: 12px;
		background: #fff;
		box-shadow: 0 6px 22px rgba(24, 48, 66, .10);
		opacity: 0;
		visibility: hidden;
		transform: translateX(8px);
		transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
	}

	.dipf-result-rail.is-visible.has-space.is-reached {
		opacity: .97;
		visibility: visible;
		transform: translateX(0);
	}

	.dipf-result-rail:hover {
		opacity: 1;
	}

	.dipf-result-rail-head {
		flex: 0 0 auto;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
		padding: 14px 12px 12px;
		background: #eaf9f5;
		color: #183042;
		border-radius: 12px 12px 0 0;
	}

	.dipf-result-rail-head span {
		font-size: 10px;
		font-weight: 800;
		line-height: 1.2;
		letter-spacing: .085em;
		text-transform: uppercase;
	}

	.dipf-result-rail-head strong {
		flex: 0 0 auto;
		color: #6f7f8b;
		font-size: 10px;
		font-weight: 700;
		line-height: 1;
		font-variant-numeric: tabular-nums;
	}

	.dipf-result-rail-list {
		flex: 1 1 auto;
		min-height: 0;
		overflow-y: auto;
		padding: 7px 0;
		scrollbar-width: thin;
		scrollbar-color: #c7d3d9 transparent;
	}

	.dipf-result-rail-list::-webkit-scrollbar {
		width: 5px;
	}

	.dipf-result-rail-list::-webkit-scrollbar-track {
		background: transparent;
	}

	.dipf-result-rail-list::-webkit-scrollbar-thumb {
		border-radius: 99px;
		background: #c7d3d9;
	}

	.dipf-result-rail-item {
		display: flex;
		align-items: center;
		gap: 8px;
		width: 100%;
		margin: 0;
		padding: 8px 10px;
		border: 0;
		border-left: 3px solid transparent;
		border-radius: 0;
		background: transparent;
		color: #294b6c;
		font: inherit;
		text-align: left;
		cursor: pointer;
		transition: background .14s ease, color .14s ease, border-color .14s ease;
	}

	.dipf-result-rail-item:hover,
	.dipf-result-rail-item:focus-visible {
		background: #f4f8fa;
		color: #183042;
		border-left-color: #315d7f;
		outline: none;
	}

	.dipf-result-rail-item.is-active {
		background: #eaf2f6;
		color: #183042;
		border-left-color: #315d7f;
		font-weight: 700;
	}

	.dipf-result-rail-number {
		flex: 0 0 22px;
		width: 22px;
		color: #96a4ae;
		font-size: 10px;
		font-weight: 700;
		line-height: 1;
		letter-spacing: .06em;
		font-variant-numeric: tabular-nums;
	}

	.dipf-result-rail-item:hover .dipf-result-rail-number,
	.dipf-result-rail-item.is-active .dipf-result-rail-number {
		color: #315d7f;
	}

	.dipf-result-rail-name {
		min-width: 0;
		font-size: 12px;
		font-weight: 600;
		line-height: 1.28;
		overflow-wrap: anywhere;
	}

	.dipf-result-rail-footer {
		flex: 0 0 auto;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
		padding: 9px 10px 10px;
		border-top: 1px solid #e3eaee;
		background: #fbfcfd;
		border-radius: 0 0 12px 12px;
	}

	.dipf-result-rail-progress {
		color: #7a8994;
		font-size: 10px;
		font-weight: 700;
		line-height: 1;
		letter-spacing: .07em;
		font-variant-numeric: tabular-nums;
	}

	.dipf-result-rail-top {
		margin: 0;
		padding: 0;
		border: 0;
		background: transparent;
		color: #315d7f;
		font-size: 10px;
		font-weight: 700;
		line-height: 1;
		letter-spacing: .045em;
		text-transform: uppercase;
		cursor: pointer;
	}

	.dipf-result-rail-top:hover,
	.dipf-result-rail-top:focus-visible {
		color: #183042;
		background: transparent;
		outline: none;
	}

	.dipf-card[data-product] {
		scroll-margin-top: 120px;
	}

/* Finder detail: no duplicate size/merchant line in the two upper price metrics. */
body.page-id-4847 .dipf .dipf-compact-summary .dipf-compact-metric > small {
	display: none;
}
