/* Shop example wishlist (docs/shop-examples.md): the heart on cards and products, the list's remove button. Layout only. */
.myco-wishlist-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--myco-color-primary);
	cursor: pointer;
}

.myco-wishlist-toggle svg {
	width: 1.4rem;
	height: 1.4rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
}

.myco-wishlist-toggle[aria-pressed="true"] svg {
	fill: currentColor;
}

html:not(.js) .myco-wishlist-toggle {
	display: none;
}

.myco-wishlist-count[hidden] {
	display: none;
}

.myco-wishlist-count {
	position: absolute;
	inset-block-start: 0.2rem;
	inset-inline-end: 0.1rem;
	min-width: 1.15rem;
	font-size: 0.7rem;
	line-height: 1.15rem;
	text-align: center;
}

/* Cards: the heart at the image's top right (the live shop's Ek CSS lines 165–190 and its Keşfet card): a 36 px white
   circle, a black outline, filled #e53935 once saved; no focus ring after a mouse click (the keyboard's stays). */
.woocommerce ul.products li.product .myco-wishlist-toggle {
	position: absolute;
	z-index: 3;
	inset: 1px 1px auto auto;
	width: 36px;
	height: 36px;
	min-width: 0;
	min-height: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.93);
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.14);
	color: #000;
	transition: background-color 0.18s, color 0.18s;
}

.woocommerce ul.products li.product .myco-wishlist-toggle svg {
	width: 17px;
	height: 17px;
	stroke-width: 1.8;
}

.woocommerce ul.products li.product .myco-wishlist-toggle:hover {
	background: #fff;
	color: var(--casetti-heart);
}

.woocommerce ul.products li.product .myco-wishlist-toggle[aria-pressed="true"] {
	color: var(--casetti-heart);
}

.woocommerce ul.products li.product .myco-wishlist-toggle:focus:not(:focus-visible) {
	outline: none;
}

@media (prefers-reduced-motion: reduce) {
	.woocommerce ul.products li.product .myco-wishlist-toggle {
		transition: none;
	}
}
