/* Atomic Elements – Wishlist (storefront) */

.atomel-wl-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	background: transparent;
	border: 1px solid currentColor;
	border-radius: 4px;
	padding: 6px 12px;
	font-size: 13px;
	line-height: 1.2;
	color: inherit;
	transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.atomel-wl-btn:hover {
	color: #e0245e;
}

.atomel-wl-btn.is-active {
	color: #e0245e;
	border-color: #e0245e;
}

.atomel-wl-btn.is-active .atomel-wl-btn__icon svg path {
	fill: #e0245e;
	stroke: #e0245e;
}

.atomel-wl-btn.is-loading {
	opacity: 0.6;
	pointer-events: none;
}

.atomel-wl-btn__icon {
	display: inline-flex;
	align-items: center;
}

/* Over-image variant */
.atomel-wl-image-wrap {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
}

.atomel-wl-btn--image {
	width: 38px;
	height: 38px;
	padding: 0;
	justify-content: center;
	border-radius: 50%;
	border-color: transparent;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	color: #333;
}

.atomel-wl-btn--image .atomel-wl-btn__label {
	display: none;
}

li.product {
	position: relative;
}

/* Toast */
.atomel-wl-toast {
	position: fixed;
	top: 24px;
	right: 24px;
	z-index: 99999;
	background: #0f172a;
	color: #fff;
	padding: 12px 18px;
	border-radius: 8px;
	font-size: 14px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity 0.2s ease, transform 0.2s ease;
	pointer-events: none;
}

.atomel-wl-toast.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Wishlist table */
.atomel-wl-table-wrap {
	overflow-x: auto;
}

.atomel-wl-table {
	width: 100%;
	border-collapse: collapse;
}

.atomel-wl-table th,
.atomel-wl-table td {
	padding: 12px;
	border-bottom: 1px solid #eee;
	text-align: left;
	vertical-align: middle;
}

.atomel-wl-col-thumb img {
	max-width: 70px;
	height: auto;
}

.atomel-wl-col-remove {
	width: 40px;
}

.atomel-wl-remove {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 1px solid #ddd;
	background: #fff;
	color: #e0245e;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
}

.atomel-wl-remove:hover {
	background: #fef2f2;
	border-color: #fecaca;
}

.atomel-wl-instock {
	color: #16a34a;
}

.atomel-wl-outstock {
	color: #dc2626;
}

.atomel-wl-empty {
	padding: 20px 0;
	color: #64748b;
}

.rtl .atomel-wl-image-wrap {
	right: auto;
	left: 10px;
}

.rtl .atomel-wl-toast {
	right: auto;
	left: 24px;
}
