.lcw-loading { opacity: .5; pointer-events: none; }
.lcw-button { cursor: pointer; }

.lcw-table { width: 100%; }
.lcw-table img { width: 64px; height: auto; display: block; }
.lcw-remove { font-size: 1.6rem; line-height: 1; text-decoration: none; color: #999; }
.lcw-remove:hover { color: #e0245e; }
.lcw-remove-col { width: 30px; }
.lcw-thumb-col { width: 80px; }
.lcw-count-link { text-decoration: none; }

.lcw-toast {
	position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px);
	background: #222; color: #fff; padding: 12px 22px; border-radius: 6px;
	opacity: 0; transition: .3s; z-index: 99999; font-size: .9rem;
}
.lcw-toast--error { background: #b32d2e; }
.lcw-toast--show { opacity: 1; transform: translate(-50%, 0); }

/* Butoane wishlist (culori editabile) */
:root { --lcw-btn: #db915e; --lcw-btn-hover: #e38443; }
.lcw-table .button,
.lcw-table .added_to_cart,
.lcw-empty .button {
	background-color: var(--lcw-btn) !important;
	border-color: var(--lcw-btn) !important;
	color: #fff !important;
	transition: .3s;
}
.lcw-table .button:hover,
.lcw-table .added_to_cart:hover,
.lcw-empty .button:hover {
	background-color: var(--lcw-btn-hover) !important;
	border-color: var(--lcw-btn-hover) !important;
	color: #fff !important;
}

/* Buton wishlist din pagina de produs (Bricks): alb cu text negru */
.single-product__whishlist-button.single-product__whishlist-button {
	background-color: #fff !important;
	border: 0 !important;
	color: #000 !important;
	padding: 12px 22px !important;
	display: inline-flex; align-items: center; gap: .5em;
	text-decoration: none;
	transition: .3s !important;
}
.single-product__whishlist-button.single-product__whishlist-button i { color: #000 !important; transition: .3s; }
.single-product__whishlist-button.single-product__whishlist-button:hover,
.single-product__whishlist-button.single-product__whishlist-button.lcw-active {
	background-color: #fff !important;
	color: #e38443 !important;
}
.single-product__whishlist-button.single-product__whishlist-button:hover i,
.single-product__whishlist-button.single-product__whishlist-button.lcw-active i { color: #e38443 !important; }

/* Butonul din shortcode [lc_wishlist_button] rămâne portocaliu */
.lcw-button {
	background-color: var(--lcw-btn) !important;
	border: 1px solid var(--lcw-btn) !important;
	color: #fff !important;
	padding: 12px 22px !important;
	display: inline-flex; align-items: center; gap: .5em;
	text-decoration: none;
	transition: .3s !important;
}
.lcw-button i { color: #fff !important; }
.lcw-button:hover, .lcw-button.lcw-active {
	background-color: var(--lcw-btn-hover) !important;
	border-color: var(--lcw-btn-hover) !important;
}

/* Wishlist pe mobil: fiecare produs devine un card */
@media (max-width: 767px) {
	.lcw-table, .lcw-table tbody { display: block !important; width: 100%; border: 0 !important; }
	.lcw-table thead { display: none !important; }
	.lcw-table tr.lcw-row {
		display: grid !important;
		grid-template-columns: 84px 1fr;
		grid-template-areas:
			"thumb name"
			"thumb price"
			"thumb stock"
			"btn   btn";
		column-gap: 14px; row-gap: 4px;
		position: relative;
		padding: 16px 32px 16px 0;
		border-bottom: 1px solid #e5e5e5;
	}
	.lcw-table tr.lcw-row td {
		display: block !important;
		border: 0 !important; padding: 0 !important;
		text-align: left !important; width: auto !important;
	}
	.lcw-table tr.lcw-row td::before { display: none !important; content: none !important; }
	.lcw-table td.lcw-thumb-col { grid-area: thumb; width: auto !important; }
	.lcw-table td.lcw-thumb-col img { width: 84px; height: auto; }
	.lcw-table td:nth-child(3) { grid-area: name; font-size: 1rem; line-height: 1.35; font-weight: 600; }
	.lcw-table td:nth-child(3) a { text-decoration: none !important; color: inherit; }
	.lcw-table td:nth-child(4) { grid-area: price; font-size: .95rem; }
	.lcw-table td:nth-child(5) { grid-area: stock; font-size: .85rem; color: #6b6b6b; }
	.lcw-table td:nth-child(6) { grid-area: btn; margin-top: 12px; }
	.lcw-table td:nth-child(6) .button { display: block; width: 100%; text-align: center; padding: 12px 16px; }
	.lcw-table td.lcw-remove-col {
		position: absolute; top: 12px; right: 0; width: auto !important;
	}
	.lcw-table .lcw-remove { display: block; text-decoration: none !important; font-size: 1.6rem; color: #999; }
}
