/* Product Favorites: heart button, header icon and the favorites page. Small file. */
.pfwc-w {
	display: flex;
	align-items: center;
}

/* Heart button ------------------------------------------------------------------------------------------- */
.pfwc-w .pfwc-btn {
	--pfwc-icon: 24px;
	--pfwc-box: 44px;
	--pfwc-color: #141414;
	--pfwc-color-on: var(--pfwc-color);
	--pfwc-color-hover: var(--pfwc-color);
	--pfwc-bg: transparent;
	--pfwc-bg-hover: var(--pfwc-bg);
	--pfwc-radius: 6px;
	position: relative;
	z-index: 2;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: var(--pfwc-box);
	min-height: var(--pfwc-box);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: var(--pfwc-radius);
	background: var(--pfwc-bg);
	box-shadow: none;
	color: var(--pfwc-color);
	font: inherit;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: color 0.15s, background-color 0.15s;
}
/* Theme styles for buttons (focus, active) are neutralised; the hover state only applies with a mouse, so it does
   not stay visible after a tap on a touch screen or after a click. */
.pfwc-w .pfwc-btn:hover,
.pfwc-w .pfwc-btn:focus,
.pfwc-w .pfwc-btn:active {
	border: 0;
	background: var(--pfwc-bg);
	box-shadow: none;
	color: var(--pfwc-color);
}
@media (hover: hover) {
	.pfwc-w .pfwc-btn:hover {
		background: var(--pfwc-bg-hover);
		color: var(--pfwc-color-hover);
	}
}
.pfwc-w .pfwc-btn:focus-visible {
	background: var(--pfwc-bg-hover);
	color: var(--pfwc-color-hover);
}
.pfwc-w .pfwc-btn.is-active,
.pfwc-w .pfwc-btn.is-active:hover,
.pfwc-w .pfwc-btn.is-active:focus,
.pfwc-w .pfwc-btn.is-active:active {
	color: var(--pfwc-color-on);
}
.pfwc-w .pfwc-btn:focus {
	outline: none;
}
.pfwc-w .pfwc-btn:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
.pfwc-w .pfwc-btn__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}
.pfwc-w .pfwc-btn__icon svg,
.pfwc-w .pfwc-btn__icon i {
	width: var(--pfwc-icon);
	height: var(--pfwc-icon);
	font-size: var(--pfwc-icon);
}
.pfwc-w .pfwc-btn__icon svg:not(.pfwc-heart) {
	fill: currentColor;
}
.pfwc-w .pfwc-btn__icon--on,
.pfwc-w .pfwc-btn.is-active .pfwc-btn__icon--off {
	display: none;
}
.pfwc-w .pfwc-btn.is-active .pfwc-btn__icon--on {
	display: inline-flex;
}
.pfwc-w .pfwc-btn__text {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	color: #141414;
}

/* Header icon -------------------------------------------------------------------------------------------- */
.pfwc-icon {
	--pfwc-icon: 24px;
	position: relative;
	display: inline-flex;
	align-items: center;
	color: #141414;
	line-height: 0;
	text-decoration: none;
	transition: color 0.15s;
}
.pfwc-w .pfwc-icon {
	color: #141414;
}
.pfwc-icon:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
	border-radius: 2px;
}
.pfwc-icon__icon {
	position: relative;
	display: inline-flex;
	line-height: 0;
}
.pfwc-icon__icon svg,
.pfwc-icon__icon i {
	width: var(--pfwc-icon);
	height: var(--pfwc-icon);
	font-size: var(--pfwc-icon);
}
.pfwc-icon__icon svg:not(.pfwc-heart) {
	fill: currentColor;
}
.pfwc-icon__count {
	position: absolute;
	top: -0.7em;
	right: -0.7em;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 1.6em;
	height: 1.6em;
	padding: 0 0.35em;
	border-radius: 999px;
	background: #141414;
	color: #fff;
	font-size: 10px;
	font-weight: 500;
	line-height: 1;
	pointer-events: none;
}
.pfwc-icon__count[hidden] {
	display: none;
}

/* Favorites page ----------------------------------------------------------------------------------------- */
.pfwc-empty {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	padding: 14px;
	border: 1px solid #ececec;
	border-radius: 6px;
}
.pfwc-empty[hidden],
.pfwc-list[hidden] {
	display: none;
}
.pfwc-empty__text {
	margin: 0;
	color: #7a7a7a;
	font-size: 13px;
}
.pfwc-empty .pfwc-empty__button {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 12px 16px;
	border-radius: 6px;
	background: #141414;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.15s;
}
.pfwc-empty .pfwc-empty__button:hover,
.pfwc-empty .pfwc-empty__button:focus-visible {
	background: #343434;
	color: #fff;
}

/* Spoken confirmation for screen readers. */
.pfwc-live {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
