/**
 * Watch-list heart overlaid on a lot image.
 */

.spruce-am-lot-detail__image,
.spruce-am-lot-card,
.spruce-am-lot-grid-card {
	position: relative;
}

.spruce-am-lot-card__link,
.spruce-am-lot-grid-card__link {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
	color: inherit;
	text-decoration: none;
}

.spruce-am-watch {
	position: absolute;
	top: 0.55rem;
	right: 0.55rem;
	z-index: 12;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: #334155;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16);
	cursor: pointer;
}

.spruce-am-watch svg {
	display: block;
	width: 1.35rem;
	height: 1.35rem;
}

.spruce-am-watch svg path {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linejoin: round;
}

.spruce-am-watch.is-watched {
	color: #dc2626;
}

.spruce-am-watch.is-watched svg path {
	fill: #dc2626;
	stroke: #dc2626;
}

.spruce-am-watch:disabled {
	cursor: default;
}

.spruce-am-watch__tip {
	position: absolute;
	top: calc(100% + 0.35rem);
	right: 0;
	left: auto;
	z-index: 13;
	width: max-content;
	max-width: 11rem;
	padding: 0.3rem 0.5rem;
	border-radius: 4px;
	background: #1e293b;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.3;
	text-align: left;
	white-space: normal;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.12s ease;
}

.spruce-am-watch:hover .spruce-am-watch__tip,
.spruce-am-watch:focus-visible .spruce-am-watch__tip {
	opacity: 1;
}
