/*
 * Auron Wishlist — standalone "Obľúbené produkty" page (shortcode/block).
 * Uses the same custom properties Auron-Theme defines via theme.json when
 * present, with plain fallbacks so the plugin also looks reasonable under
 * any other theme.
 */

.auron-wishlist-page {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1.5rem;
}

.auron-wishlist-page__loading,
.auron-wishlist-page__empty {
	grid-column: 1 / -1;
	color: var(--wp--preset--color--neutral, #64748b);
}

.auron-wishlist-item {
	position: relative;
	background-color: var(--wp--preset--color--base, #fff);
	border: 1px solid var(--wp--preset--color--border, #e2e8f0);
	border-radius: 8px;
	padding: 1.5rem 1rem 1rem;
	text-align: center;
}

.auron-wishlist-item__image {
	width: 140px;
	height: 140px;
	object-fit: cover;
	border-radius: 50%;
	margin: 0 auto 1rem;
	display: block;
}

.auron-wishlist-item__name {
	display: block;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--wp--preset--color--primary, #0b1b2b);
	text-decoration: none;
	margin-bottom: 0.5rem;
}

.auron-wishlist-item__price {
	font-weight: 600;
	margin-bottom: 1rem;
}

.auron-wishlist-item__remove {
	background-color: transparent;
	border: 1px solid var(--wp--preset--color--border, #e2e8f0);
	border-radius: 4px;
	color: var(--wp--preset--color--neutral, #64748b);
	cursor: pointer;
	font-size: 0.8125rem;
	padding: 0.4em 0.9em;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.auron-wishlist-item__remove:hover {
	border-color: #dc2626;
	color: #dc2626;
}

.auron-wishlist-item.is-removing {
	opacity: 0.4;
	pointer-events: none;
}

.auron-wishlist-block-placeholder {
	background-color: #f8f9fa;
	border: 1px dashed #64748b;
	border-radius: 8px;
	padding: 1.5rem;
}

.auron-wishlist-block-placeholder__hint {
	color: #64748b;
	font-size: 0.875rem;
	margin: 0;
}
