:root {
	--lklw-accent: #9d294d;
	--lklw-border: #e8e5e2;
	--lklw-muted: #6c6865;
}

.lklw-button-wrap {
	display: inline-flex;
	line-height: 1;
}

.lklw-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	min-width: 42px;
	min-height: 42px;
	padding: .55rem;
	border: 1px solid var(--lklw-border);
	border-radius: 999px;
	background: rgba(255, 255, 255, .94);
	color: #34302e;
	cursor: pointer;
	box-shadow: 0 1px 5px rgba(0, 0, 0, .08);
	transition: color .15s ease, background-color .15s ease, transform .15s ease;
}

.lklw-toggle:hover,
.lklw-toggle:focus-visible,
.lklw-toggle.is-active {
	color: var(--lklw-accent);
}

.lklw-toggle:hover {
	transform: translateY(-1px);
}

.lklw-toggle.is-loading {
	opacity: .65;
	cursor: wait;
}

.lklw-heart {
	display: block;
	fill: transparent;
	stroke: currentColor;
	stroke-width: 1.7;
	transition: fill .15s ease;
}

.lklw-toggle.is-active .lklw-heart,
.lklw-counter .lklw-heart {
	fill: currentColor;
}

.products .product {
	position: relative;
}

.products .product > .lklw-toggle--loop,
.products .product .lklw-toggle--loop {
	position: absolute;
	top: .7rem;
	right: .7rem;
	z-index: 4;
}

.lklw-toggle--single {
	margin: .75rem 0 0;
}

.lklw-toggle--single .lklw-toggle {
	min-height: 44px;
	padding: .7rem 1rem;
	border-radius: 4px;
	font: inherit;
	line-height: 1.2;
	letter-spacing: inherit;
	text-transform: inherit;
}

/*
 * The product page button is a quiet secondary action. The extra specificity
 * intentionally keeps the theme's generic pink button hover from taking over.
 */
body .lklw-toggle--single .lklw-toggle {
	border-color: currentColor !important;
	border-color: color-mix(in srgb, currentColor 28%, transparent) !important;
	background-color: #fff !important;
	color: inherit !important;
	box-shadow: none !important;
}

body .lklw-toggle--single .lklw-toggle:hover,
body .lklw-toggle--single .lklw-toggle:focus-visible {
	border-color: currentColor !important;
	background-color: #fff !important;
	background-color: color-mix(in srgb, currentColor 6%, #fff) !important;
	color: inherit !important;
	box-shadow: none !important;
	transform: none;
}

body .lklw-toggle--single .lklw-toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

body .lklw-toggle--single .lklw-toggle.is-active {
	border-color: currentColor !important;
	background-color: #fff !important;
	color: inherit !important;
}

body .lklw-toggle--single .lklw-toggle.is-active:hover {
	border-color: currentColor !important;
	background-color: #fff !important;
}

.lklw-toggle--single .lklw-heart {
	width: 21px;
	height: 21px;
	color: #D3B7AB;
}

.lklw-counter {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	color: inherit;
	text-decoration: none;
}

.lklw-counter .lklw-heart {
	fill: transparent;
}

.lklw-count {
	display: inline-grid;
	place-items: center;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 10px;
	background: var(--lklw-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
}

.lklw-count[data-ready="false"] {
	visibility: hidden;
}

.lklw-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1rem, 2.5vw, 2rem);
}

.lklw-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	border: 1px solid var(--lklw-border);
	border-radius: 5px;
	overflow: hidden;
	background: #fff;
}

.lklw-card__image {
	display: block;
	aspect-ratio: 1 / 1;
	background: #f6f4f2;
}

.lklw-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lklw-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1rem;
}

.lklw-card h3 {
	margin: 0 0 .5rem;
	font-size: .9rem;
	font-weight: 600;
	line-height: 1.35;
}

.lklw-card h3 a {
	color: inherit;
	text-decoration: none;
}

.lklw-card__price {
	margin-bottom: .4rem;
	font-size: .82rem !important;
	font-weight: 400 !important;
	line-height: 1.4;
}

/*
 * WooCommerce themes often add their own strong price rules to amount/bdi/ins.
 * Keep wishlist prices intentionally quiet and compact regardless of those rules.
 */
.lklw-card__price .amount,
.lklw-card__price .amount bdi,
.lklw-card__price .woocommerce-Price-currencySymbol,
.lklw-card__price del,
.lklw-card__price del .amount,
.lklw-card__price del bdi,
.lklw-card__price ins,
.lklw-card__price ins .amount,
.lklw-card__price ins bdi {
	font-size: inherit !important;
	font-weight: 400 !important;
	line-height: inherit;
}

.lklw-card__stock {
	margin-bottom: .8rem;
	color: var(--lklw-muted);
	font-size: .9rem;
}

.lklw-card__stock p {
	margin: 0;
}

.lklw-card__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .8rem;
	margin-top: auto;
}

.lklw-card__product-link {
	max-width: 100%;
	color: inherit;
	font-size: .9rem;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.lklw-card__product-link:hover,
.lklw-card__product-link:focus-visible {
	color: inherit;
}

.lklw-remove-form {
	margin: 0;
}

.lklw-remove {
	padding: .45rem 0;
	border: 0;
	background: transparent;
	color: var(--lklw-muted);
	font: inherit;
	font-size: .9rem;
	text-decoration: underline;
	cursor: pointer;
}

.lklw-empty {
	max-width: 560px;
	margin: 3rem auto;
	padding: 2rem;
	text-align: center;
}

.lklw-empty .lklw-heart {
	width: 48px;
	height: 48px;
	margin: 0 auto 1rem;
	color: var(--lklw-accent);
}

@media (max-width: 1024px) {
	.lklw-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.lklw-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: .75rem;
	}

	.lklw-card__content {
		padding: .75rem;
	}

	.lklw-card__actions {
		align-items: flex-start;
		flex-direction: column;
	}
}
