/*
 * Stili base plugin Jef4 Wishlist.
 * Placeholder intenzionale: personalizza liberamente questo file.
 */

.jef4wishlist-panel-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	z-index: 9998;
}

.jef4wishlist-panel {
	position: fixed;
	top: 0;
	right: -120%;
	width: 480px;
	max-width: 90vw;
	height: 100vh;
	background: #fff;
	z-index: 9999; 

    opacity: 0;
    pointer-events: none;
    visibility: hidden;

	transition: all 0.25s ease;
	box-shadow: -8px 0 24px rgba(0, 0, 0, 0.15);
	overflow-y: auto;
	padding: 60px 20px 20px;
}

.jef4wishlist-panel.is-open {
	right: 0;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition: all 0.25s ease;
}

.jef4wishlist-panel-close {
	position: absolute;
	top: 12px;
	right: 12px;
	border: 0;
	background: transparent;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
}

.jef4wishlist-toggle.is-loading,
.jef4wishlist-remove-id.is-loading {
	opacity: 0.65;
	pointer-events: none;
}

.jef4wishlist-toggle.is-loading::after,
.jef4wishlist-remove-id.is-loading::after {
	content: "...";
	margin-left: 6px;
}

.jef4wishlist-items-list {
	list-style: none;
	margin: 12px 0;
	padding: 0;
}

.jef4wishlist-item {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #e6e6e6;
}

.jef4wishlist-item-link {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 12px;
	align-items: center;
	text-decoration: none;
	color: inherit;
}

.jef4wishlist-item-image {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 8px;
	background: #f1f1f1;
}

.jef4wishlist-item-image.is-placeholder {
	display: block;
}

.jef4wishlist-item-title {
	font-size: 14px;
	line-height: 1.35;
	font-weight: 600;
	color: var(--primary-website-color);
}

.jef4wishlist-remove-id {
	border: 0;
	background: #f7f7f7;
	padding: 4px 8px;
	cursor: pointer;
	align-self: center;
	font-weight: 600;
	font-size: 11px;
	font-family: var(--primary-website-font);
}

/*icons*/
svg#hearticonEmpty,
svg#hearticonFull {
	width: 18px;
	height: 18px;
}

button.bigicon svg#hearticonEmpty,
button.bigicon svg#hearticonFull {
	width: 24px;
	height: 24px;
}

svg#hearticonEmpty path
{
	fill: transparent;
	stroke: white;
}
svg#hearticonFull path
{
	fill: white;
	stroke: white;
}

button.jef4wishlist-page-link,
button.jef4wishlist-toggle
{
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	border-radius: 8px;
	border: 1px solid white;
	background-color: rgba(255, 255, 255, 0.55);

	cursor: pointer;
 
}

button .jef4wishlist-label
{
	font-size: 14px;
	font-weight: 600;
	color: white;
	font-family: var(--primary-website-font);
}

button.jef4wishlist-toggle:hover
{
	background-color: rgba(255, 255, 255, 1.0);
}

button.jef4wishlist-toggle:hover .jef4wishlist-label
{
	color: var(--accent-website-color);
}

button.jef4wishlist-toggle:hover svg#hearticonEmpty path
{ 
	stroke: var(--accent-website-color);
}
button.jef4wishlist-toggle:hover svg#hearticonFull path
{ 
	fill: var(--accent-website-color);
}