/* ==========================================================================
   Ecohomes Wishlist — "Produk Tersimpan"
   Reference: 8.Produk_Tersimpan(Wishlist).png
   Inherits brand tokens from ecohomes-core (--eh-green, --eh-radius, …).
   ========================================================================== */

.eh-wl {
	--eh-ink:    #1E293B;
	--eh-muted:  #64748B;
	--eh-faint:  #94A3B8;
	--eh-line:   #E8ECF1;
	--eh-soft:   #F4F6F9;
	--eh-tint:   #EAF8F0;
	--eh-blue:   #2563EB;
	--eh-blue-soft: #EFF5FF;
	--eh-radius-lg: 14px;
	flex: 1;
	min-width: 0;
	color: var(--eh-ink);
	font-size: 14px;
	line-height: 1.5;
}

.eh-wl *,
.eh-wl *::before,
.eh-wl *::after { box-sizing: border-box; }

/* [hidden] must always win over component display rules below. */
.eh-wl [hidden],
.eh-wl-batchbar[hidden],
.eh-wl-modal[hidden] { display: none !important; }

/* ── Shared buttons ─────────────────────────────────────────────────────── */
.eh-wl .eh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 9px 16px;
	border-radius: 9px;
	font-size: .8125rem;
	font-weight: 600;
	line-height: 1.1;
	cursor: pointer;
	border: 1px solid transparent;
	text-decoration: none;
	transition: background .15s, color .15s, border-color .15s, box-shadow .15s, opacity .15s;
	white-space: nowrap;
}
.eh-wl .eh-btn-sm { padding: 7px 12px; font-size: .75rem; }
.eh-wl .eh-btn-block { width: 100%; }
.eh-wl .eh-btn .dashicons { font-size: 16px; width: 16px; height: 16px; }

.eh-wl .eh-btn-primary {
	background: var(--eh-green, #2ECC71);
	color: #fff;
	border-color: var(--eh-green, #2ECC71);
}
.eh-wl .eh-btn-primary:hover { background: var(--eh-green-dark, #27AE60); border-color: var(--eh-green-dark, #27AE60); }
.eh-wl .eh-btn-primary:disabled { opacity: .5; cursor: not-allowed; }

.eh-wl .eh-btn-outline {
	background: #fff;
	color: var(--eh-ink);
	border-color: #DCE1E8;
}
.eh-wl .eh-btn-outline:hover { background: var(--eh-tint); border-color: var(--eh-green); color: var(--eh-green-dark); }

.eh-wl .eh-btn-danger {
	background: #fff;
	color: #DC2626;
	border-color: #F3C9C9;
}
.eh-wl .eh-btn-danger:hover { background: #DC2626; border-color: #DC2626; color: #fff; }

/* ── Header ──────────────────────────────────────────────────────────────── */
.eh-wl-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}
.eh-wl-title {
	margin: 0 0 4px;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -.01em;
	color: var(--eh-ink);
}
.eh-wl-subtitle { margin: 0; color: var(--eh-muted); font-size: .875rem; }

/* ── Search ──────────────────────────────────────────────────────────────── */
.eh-wl-search {
	position: relative;
	margin-bottom: 16px;
}
.eh-wl-search .dashicons {
	position: absolute;
	left: 14px; top: 50%;
	transform: translateY(-50%);
	color: var(--eh-faint);
	font-size: 18px; width: 18px; height: 18px;
}
.eh-wl-search input {
	width: 100%;
	padding: 11px 16px 11px 42px;
	border: 1px solid var(--eh-line);
	border-radius: 10px;
	background: #fff;
	font-size: .875rem;
	color: var(--eh-ink);
	transition: border-color .15s, box-shadow .15s;
}
.eh-wl-search input:focus {
	outline: none;
	border-color: var(--eh-green);
	box-shadow: 0 0 0 3px rgba(46,204,113,.12);
}

/* ── Filter pills ────────────────────────────────────────────────────────── */
.eh-wl-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 22px;
}
.eh-wl-pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 14px;
	border-radius: 9999px;
	border: 1px solid var(--eh-line);
	background: #fff;
	color: var(--eh-muted);
	font-size: .8125rem;
	font-weight: 600;
	text-decoration: none;
	transition: background .15s, border-color .15s, color .15s;
}
.eh-wl-pill:hover { border-color: var(--eh-green); color: var(--eh-green-dark); }
.eh-wl-pill.is-active { background: var(--eh-green); border-color: var(--eh-green); color: #fff; }
.eh-wl-pill-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px; height: 20px;
	padding: 0 6px;
	border-radius: 9999px;
	background: var(--eh-soft);
	color: var(--eh-muted);
	font-size: .6875rem;
	font-weight: 700;
}
.eh-wl-pill.is-active .eh-wl-pill-count { background: rgba(255,255,255,.25); color: #fff; }

/* ── Layout ──────────────────────────────────────────────────────────────── */
.eh-wl-layout {
	display: grid;
	grid-template-columns: minmax(0,1fr) 296px;
	gap: 24px;
	align-items: start;
}
/* Defensive: neutralise theme `aside`/column styles that could break the grid. */
.eh-wl-main,
.eh-wl-side {
	min-width: 0;
	width: auto;
	max-width: none;
	float: none;
	margin: 0;
}
@media (max-width: 1080px) { .eh-wl-layout { grid-template-columns: 1fr; } }

/* ── Toolbar: Kelola Koleksi ──────────────────────────────────────────────── */
.eh-wl-toolbar {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 16px;
}
.eh-wl-manage-toggle .dashicons { color: var(--eh-blue); font-size: 16px; width: 16px; height: 16px; }
.eh-wl-manage-toggle:hover { background: var(--eh-blue-soft); border-color: #BFD6FF; color: var(--eh-blue); }
.eh-wl.is-managing .eh-wl-manage-toggle {
	background: var(--eh-blue);
	border-color: var(--eh-blue);
	color: #fff;
}
.eh-wl.is-managing .eh-wl-manage-toggle .dashicons { color: #fff; }

/* ── Project group ───────────────────────────────────────────────────────── */
.eh-wl-group { margin-bottom: 26px; }
.eh-wl-group-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
}
.eh-wl-group-title {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	color: var(--eh-ink);
}
.eh-wl-group-title > .dashicons { color: var(--eh-green); font-size: 19px; width: 19px; height: 19px; }
.eh-wl-group-count {
	font-size: .75rem;
	font-weight: 600;
	color: var(--eh-faint);
	background: var(--eh-soft);
	padding: 3px 9px;
	border-radius: 9999px;
}
.eh-wl-group-links {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	justify-content: flex-end;
}
.eh-wl-group-link {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	font-size: .8125rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}
.eh-wl-group-link:hover { text-decoration: underline; }
.eh-wl-group-link .dashicons { font-size: 15px; width: 15px; height: 15px; }
/* "Lihat Produk" expands the group (primary green); "Lihat Proyek" jumps to Proyek Saya (muted blue). */
.eh-wl-link-produk { color: var(--eh-green-dark); }
.eh-wl-link-proyek { color: var(--eh-blue); }

/* ── Product grid + cards ────────────────────────────────────────────────── */
.eh-wl-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 16px;
}
@media (max-width: 420px) { .eh-wl-grid { grid-template-columns: 1fr; } }

.eh-wl-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--eh-line);
	border-radius: var(--eh-radius-lg);
	padding: 12px;
	transition: box-shadow .2s, border-color .2s, transform .25s, opacity .25s;
}
.eh-wl-card:hover { box-shadow: 0 8px 26px rgba(16,24,40,.09); border-color: #DDE3EA; }
.eh-wl-card.is-selected { border-color: #94A3B8; box-shadow: 0 0 0 1px #94A3B8; }
.eh-wl-card.is-removing { opacity: 0; transform: scale(.96); }

.eh-wl-card-check {
	position: absolute;
	top: 18px; left: 18px;
	z-index: 2;
	display: none;            /* hidden until "Kelola Koleksi" is on */
}
.eh-wl-group-check { display: none; }
.eh-wl.is-managing .eh-wl-card-check { display: inline-flex; }
.eh-wl.is-managing .eh-wl-group-check { display: inline-flex; }
/* A soft highlight chip behind the checkbox so it reads on any image. */
.eh-wl.is-managing .eh-wl-card-check {
	background: rgba(255,255,255,.92);
	border-radius: 6px;
	padding: 3px;
	box-shadow: 0 1px 3px rgba(16,24,40,.15);
}
.eh-wl-card-check input,
.eh-wl-group-check input {
	-webkit-appearance: none;
	appearance: none;
	width: 18px; height: 18px;
	margin: 0;
	border: 1.5px solid #CBD5E1;
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
	transition: border-color .15s, background-color .15s;
}
/* Grey checkmark when selected */
.eh-wl-card-check input:checked,
.eh-wl-group-check input:checked {
	border-color: #94A3B8;
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 12px 12px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
}
.eh-wl-card-check input:hover,
.eh-wl-group-check input:hover { border-color: #94A3B8; }

.eh-wl-compare {
	position: absolute;
	top: 16px; right: 16px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px; height: 30px;
	border: 1px solid var(--eh-line);
	border-radius: 8px;
	background: rgba(255,255,255,.92);
	color: var(--eh-muted);
	cursor: pointer;
	transition: background .15s, color .15s, border-color .15s;
}
.eh-wl-compare .dashicons { font-size: 16px; width: 16px; height: 16px; }
.eh-wl-compare:hover { border-color: var(--eh-blue); color: var(--eh-blue); }
.eh-wl-compare.is-active { background: var(--eh-blue); border-color: var(--eh-blue); color: #fff; }

.eh-wl-card-img {
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: 10px;
	overflow: hidden;
	background: var(--eh-soft);
	margin-bottom: 11px;
}
.eh-wl-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.eh-wl-card:hover .eh-wl-card-img img { transform: scale(1.05); }

.eh-wl-card-body { display: flex; flex-direction: column; flex: 1; }
.eh-wl-cat {
	font-size: .6875rem;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--eh-faint);
	margin-bottom: 4px;
}
.eh-wl-name {
	margin: 0 0 6px;
	font-size: .875rem;
	font-weight: 600;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.eh-wl-name a { color: var(--eh-ink); text-decoration: none; }
.eh-wl-name a:hover { color: var(--eh-green-dark); }
.eh-wl-price {
	font-size: .9375rem;
	font-weight: 700;
	color: var(--eh-green-dark);
	margin-bottom: 11px;
}
.eh-wl-price del { color: var(--eh-faint); font-weight: 500; font-size: .8125rem; margin-right: 5px; }
.eh-wl-price ins { text-decoration: none; }

.eh-wl-card-foot {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-top: auto;
}
.eh-wl-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--eh-line);
	border-radius: 8px;
	overflow: hidden;
	flex: 1;
	min-width: 0;
}
.eh-wl-qty button {
	width: 28px; height: 32px;
	border: none;
	background: var(--eh-soft);
	color: var(--eh-muted);
	font-size: 15px;
	cursor: pointer;
	flex: none;
	transition: background .15s;
}
.eh-wl-qty button:hover { background: #E7EBF0; color: var(--eh-ink); }
.eh-wl-qty-input {
	width: 100%;
	min-width: 36px;
	border: none;
	text-align: center;
	font-size: .8125rem;
	font-weight: 600;
	color: var(--eh-ink);
	background: #fff;
	-moz-appearance: textfield;
	padding: 0;
}
.eh-wl-qty-input::-webkit-outer-spin-button,
.eh-wl-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* Molla theme's bootstrap-input-spinner hides the original number input and inserts a
   .input-spinner sibling. Override: keep our input visible and hide the injected spinner. */
.eh-wl-qty .eh-wl-qty-input { display: block !important; }
.eh-wl-qty .input-spinner { display: none !important; }

.eh-wl-atc { padding: 0; width: 34px; height: 34px; flex: none; }
.eh-wl-atc .dashicons { font-size: 17px; width: 17px; height: 17px; }

.eh-wl-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px; height: 34px;
	flex: none;
	border: 1px solid var(--eh-line);
	border-radius: 8px;
	background: #fff;
	color: var(--eh-faint);
	cursor: pointer;
	transition: background .15s, color .15s, border-color .15s;
}
.eh-wl-remove .dashicons { font-size: 16px; width: 16px; height: 16px; }
.eh-wl-remove:hover { background: #FEF2F2; border-color: #F3C9C9; color: #DC2626; }

/* ── Empty state ─────────────────────────────────────────────────────────── */
.eh-wl-empty {
	text-align: center;
	padding: 56px 24px;
	background: #fff;
	border: 1px dashed var(--eh-line);
	border-radius: var(--eh-radius-lg);
}
.eh-wl-empty .dashicons { font-size: 44px; width: 44px; height: 44px; color: #D7DEE6; margin-bottom: 10px; }
.eh-wl-empty h3 { margin: 0 0 6px; font-size: 1.0625rem; color: var(--eh-ink); }
.eh-wl-empty p { margin: 0 auto 18px; max-width: 360px; color: var(--eh-muted); font-size: .875rem; }

/* ── Pagination ──────────────────────────────────────────────────────────── */
/* Pager block: info line + controls, clearly separated from the grid. */
.eh-wl-pager {
	margin-top: 26px;
	padding-top: 18px;
	border-top: 1px solid var(--eh-line);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}
.eh-wl-pager-info { margin: 0; font-size: .8125rem; color: var(--eh-muted); }
.eh-wl-pager-info strong { color: var(--eh-ink); font-weight: 700; }

.eh-wl-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}
.eh-wl-page-list { display: inline-flex; align-items: center; gap: 6px; }
.eh-wl-page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-width: 38px; height: 38px;
	padding: 0 12px;
	border: 1px solid var(--eh-line);
	border-radius: 9px;
	background: #fff;
	color: var(--eh-muted);
	font-size: .8125rem;
	font-weight: 600;
	text-decoration: none;
	transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.eh-wl-page:hover { border-color: var(--eh-green); color: var(--eh-green-dark); background: var(--eh-tint); }
.eh-wl-page.is-current {
	background: var(--eh-green);
	border-color: var(--eh-green);
	color: #fff;
	box-shadow: 0 2px 8px rgba(46,204,113,.3);
}
.eh-wl-page.is-disabled {
	opacity: .45;
	pointer-events: none;
	background: var(--eh-soft);
}
.eh-wl-page .dashicons { font-size: 16px; width: 16px; height: 16px; }
.eh-wl-page-prev,
.eh-wl-page-next { padding: 0 14px; }

/* Single-project "back" link */
.eh-wl-back-row { margin: 22px 0 0; }
.eh-wl-back-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: .8125rem;
	font-weight: 600;
	color: var(--eh-muted);
	text-decoration: none;
}
.eh-wl-back-link:hover { color: var(--eh-green-dark); }
.eh-wl-back-link .dashicons { font-size: 15px; width: 15px; height: 15px; }

/* ── Sidebar widgets ─────────────────────────────────────────────────────── */
.eh-wl-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 20px; }
.eh-wl-widget {
	background: #fff;
	border: 1px solid var(--eh-line);
	border-radius: var(--eh-radius-lg);
	padding: 16px;
}
.eh-wl-widget-head { margin-bottom: 12px; }
.eh-wl-widget-head h3 { margin: 0; font-size: .9375rem; font-weight: 700; color: var(--eh-ink); }

/* Shortlist */
.eh-wl-shortlist-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.eh-wl-shortlist-item a {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 7px;
	border-radius: 10px;
	text-decoration: none;
	transition: background .15s;
}
.eh-wl-shortlist-item a:hover { background: var(--eh-soft); }
.eh-wl-shortlist-thumb {
	flex: none;
	width: 42px; height: 42px;
	border-radius: 9px;
	background: var(--eh-soft) center/cover no-repeat;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--eh-faint);
}
.eh-wl-shortlist-thumb .dashicons { font-size: 20px; width: 20px; height: 20px; }
.eh-wl-shortlist-meta { display: flex; flex-direction: column; min-width: 0; }
.eh-wl-shortlist-name {
	font-size: .8125rem; font-weight: 600; color: var(--eh-ink);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.eh-wl-shortlist-count { font-size: .6875rem; color: var(--eh-faint); }
.eh-wl-shortlist-empty { color: var(--eh-faint); font-size: .8125rem; padding: 4px 0 12px; }

/* Compare widget */
/* Group add-all-to-cart link */
.eh-wl-group-atc {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: .8rem;
	font-weight: 600;
	color: var(--eh-green-dark);
	text-decoration: none;
	transition: opacity .15s;
}
.eh-wl-group-atc:hover { opacity: .7; }
.eh-wl-group-atc .dashicons { font-size: 14px; width: 14px; height: 14px; }
.eh-wl-group-atc:disabled { opacity: .5; cursor: not-allowed; }

/* Compare sidebar widget */
.eh-wl-compare-widget { }
.eh-wl-compare-hint { margin: 0 0 12px; font-size: .8125rem; color: var(--eh-muted); }
.eh-wl-compare-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.eh-wl-compare-list:empty { display: none; }
.eh-wl-compare-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 7px 10px;
	background: var(--eh-blue-soft);
	border: 1px solid #DCE9FF;
	border-radius: 8px;
	font-size: .75rem;
	font-weight: 600;
	color: #1E40AF;
}
.eh-wl-compare-item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eh-wl-compare-item button { border: none; background: none; color: #1E40AF; cursor: pointer; font-size: 15px; line-height: 1; padding: 0; }
.eh-wl-compare-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.eh-wl-compare-clear { border: none; background: none; color: var(--eh-muted); font-size: .75rem; cursor: pointer; padding: 2px; }
.eh-wl-compare-clear:hover { color: #DC2626; }

/* Tips */
.eh-wl-tips { background: var(--eh-tint); border-color: #CBEAD7; }
.eh-wl-tips-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.eh-wl-tips-list li { display: flex; gap: 9px; font-size: .8125rem; color: #1F6B45; line-height: 1.45; }
.eh-wl-tips-list .dashicons { flex: none; color: var(--eh-green); font-size: 16px; width: 16px; height: 16px; margin-top: 1px; }

/* ── Batch bar ───────────────────────────────────────────────────────────── */
.eh-wl-batchbar {
	position: sticky;
	bottom: 16px;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 20px;
	padding: 14px 18px;
	background: #fff;
	color: var(--eh-ink);
	border: 1px solid var(--eh-line);
	border-radius: 14px;
	box-shadow: 0 12px 34px rgba(16,24,40,.14);
}
.eh-wl-batch-info { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.eh-wl-batch-info strong { font-size: .875rem; font-weight: 700; color: var(--eh-ink); }
.eh-wl-batch-count { color: var(--eh-green-dark); }
.eh-wl-batch-sub { font-size: .75rem; color: var(--eh-faint); }
.eh-wl-batch-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* Move-to dropdown styled like the outline buttons */
.eh-wl-batch-move-wrap {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0 10px 0 12px;
	height: 34px;
	border: 1px solid #DCE1E8;
	border-radius: 9px;
	background: #fff;
	color: var(--eh-ink);
	cursor: pointer;
	transition: border-color .15s, background .15s;
}
.eh-wl-batch-move-wrap:hover { border-color: var(--eh-green); background: var(--eh-tint); }
.eh-wl-batch-move-wrap .dashicons { color: var(--eh-blue); font-size: 15px; width: 15px; height: 15px; }
.eh-wl-batch-move {
	border: none;
	background: none;
	font-size: .75rem;
	font-weight: 600;
	color: var(--eh-ink);
	cursor: pointer;
	padding: 0;
	max-width: 150px;
}
.eh-wl-batch-move:focus { outline: none; }
.eh-wl-batch-cart .dashicons,
.eh-wl-batch-compare .dashicons { color: var(--eh-blue); }
.eh-wl-batch-cart:hover .dashicons,
.eh-wl-batch-compare:hover .dashicons { color: inherit; }

/* ── Modals ──────────────────────────────────────────────────────────────── */
.eh-wl-modal { position: fixed; inset: 0; z-index: 100000; }
.eh-wl-modal-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.55); }
.eh-wl-modal-dialog {
	position: relative;
	z-index: 1;
	width: min(440px, 92vw);
	margin: 9vh auto 0;
	background: #fff;
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 24px 70px rgba(0,0,0,.28);
	animation: eh-wl-pop .2s ease;
}
.eh-wl-modal-wide { width: min(820px, 94vw); }
@keyframes eh-wl-pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.eh-wl-modal-close {
	position: absolute; top: 12px; right: 14px;
	border: none; background: none; font-size: 26px; line-height: 1;
	color: var(--eh-faint); cursor: pointer;
}
.eh-wl-modal-close:hover { color: var(--eh-ink); }
.eh-wl-modal-dialog h3 { margin: 0 0 18px; font-size: 1.125rem; font-weight: 700; }
.eh-wl-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.eh-wl-field label { font-size: .8125rem; font-weight: 600; color: var(--eh-ink); }
.eh-wl-field input {
	padding: 10px 12px;
	border: 1px solid var(--eh-line);
	border-radius: 9px;
	font-size: .875rem;
}
.eh-wl-field input:focus { outline: none; border-color: var(--eh-green); box-shadow: 0 0 0 3px rgba(46,204,113,.12); }
.eh-wl-modal-feedback { margin: 4px 0 0; font-size: .8125rem; min-height: 18px; color: var(--eh-green-dark); }
.eh-wl-modal-feedback.is-error { color: #DC2626; }
.eh-wl-modal-foot { display: flex; gap: 10px; margin-top: 18px; }
.eh-wl-modal-foot .eh-btn { flex: 1; }

/* Compare table */
.eh-wl-compare-table-wrap { overflow-x: auto; }
.eh-wl-compare-table { width: 100%; border-collapse: collapse; font-size: .8125rem; }
.eh-wl-compare-table th,
.eh-wl-compare-table td { padding: 10px 12px; border: 1px solid var(--eh-line); text-align: left; vertical-align: top; }
.eh-wl-compare-table thead th { background: var(--eh-soft); font-weight: 700; }
.eh-wl-compare-table tbody th { background: #fff; color: var(--eh-muted); font-weight: 600; width: 130px; }
.eh-wl-compare-table img { width: 100%; max-width: 120px; border-radius: 8px; }

/* ── Product page "Simpan ke Proyek" button ──────────────────────────────── */
.eh-save-to-project {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 12px 0 0;
	padding: 11px 20px;
	background: #fff;
	border: 2px solid var(--eh-green, #2ECC71);
	color: var(--eh-green-dark, #27AE60);
	font-size: .9375rem;
	font-weight: 700;
	border-radius: 9px;
	cursor: pointer;
	transition: background .15s, color .15s;
}
.eh-save-to-project:hover { background: var(--eh-green, #2ECC71); color: #fff; }
.eh-save-to-project .dashicons { font-size: 18px; width: 18px; height: 18px; }

/* ── Spinner ─────────────────────────────────────────────────────────────── */
.eh-wl-spin {
	display: inline-block;
	width: 14px; height: 14px;
	border: 2px solid currentColor;
	border-top-color: transparent;
	border-radius: 50%;
	animation: eh-wl-rotate .7s linear infinite;
	vertical-align: middle;
}
@keyframes eh-wl-rotate { to { transform: rotate(360deg); } }

/* ── Toast ───────────────────────────────────────────────────────────────── */
.eh-wl-toast {
	position: fixed;
	left: 50%; bottom: 28px;
	transform: translateX(-50%) translateY(20px);
	z-index: 100001;
	padding: 11px 20px;
	background: var(--eh-ink);
	color: #fff;
	font-size: .8125rem;
	font-weight: 600;
	border-radius: 10px;
	box-shadow: 0 12px 34px rgba(16,24,40,.3);
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s, transform .25s;
}
.eh-wl-toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }
.eh-wl-toast.is-error { background: #DC2626; }
