/* Life in the Mundane: Save hearts on hub pages ([litm_page_saves]). Form and button styles come from library.css. */

.litm-psave {
	margin: 32px 0 20px;
	padding: 18px 20px;
	background: #fff;
	border: 2px solid #D9C6F5;
	border-radius: 20px;
}
.litm-psave .litm-psave__title {
	margin: 0 0 2px !important;
	font-size: 21px;
	line-height: 1.25;
	color: #1B2A41;
}
.litm-psave .litm-savebox__head > div > p {
	margin-top: 0 !important;
}
.litm-psave .litm-email__toggle {
	padding: 11px 20px;
	font-size: 15px;
}

/* Save button added to each card */
.litm-psave-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px !important;
	padding: 7px 14px;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	color: #8E2DE2;
	background: #fff;
	border: 2px solid #D9C6F5;
	border-radius: 999px;
	cursor: pointer;
}
.litm-psave-btn:hover {
	border-color: #8E2DE2;
}
.litm-psave-btn[aria-pressed="true"] {
	color: #fff;
	background: #8E2DE2;
	border-color: #8E2DE2;
}
.litm-psave-btn:focus-visible {
	outline: 3px solid rgba(142, 45, 226, .35);
	outline-offset: 2px;
}
.litm-psave-btn__icon {
	font-size: 16px;
	line-height: 1;
}
.litm-psave-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Floating "♥ 3 saved · Email Me My List" bar */
.litm-psave-bar {
	position: fixed;
	left: 50%;
	bottom: calc(18px + env(safe-area-inset-bottom, 0px));
	z-index: 90;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 8px 8px 18px;
	transform: translateX(-50%);
	background: #1B2A41;
	color: #fff;
	border-radius: 999px;
	box-shadow: 0 10px 28px -10px rgba(27, 42, 65, .6);
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
}
.litm-psave-bar[hidden] {
	display: none;
}
.litm-psave-bar__btn {
	padding: 9px 16px;
	font: inherit;
	font-size: 14px;
	color: #fff;
	background: linear-gradient(90deg, #8E2DE2, #1A8E9A);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
}
.litm-psave-bar__btn:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
}
@media (max-width: 781px) {
	.litm-psave-bar {
		left: 16px;
		transform: none;
		bottom: calc(96px + env(safe-area-inset-bottom, 0px));
	}
}
@media print {
	.litm-psave-btn,
	.litm-psave-bar {
		display: none !important;
	}
}
