:root {
	--ve-social-deep: var(--ve-deep-green, #044a3c);
	--ve-social-yellow: var(--ve-solar-yellow, #fccf42);
	--ve-social-soft: var(--ve-soft-green, #eaf4ef);
	--ve-social-border: var(--ve-border, #d9e4de);
}

.ve-social {
	margin-top: 24px;
	padding-top: 18px;
	border-top: 1px solid var(--ve-social-border);
}

.ve-social__links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.ve-social__link {
	position: relative;
	display: inline-flex;
	flex: 0 0 42px;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid rgba(4, 74, 60, .2);
	border-radius: 50%;
	background: var(--ve-social-soft);
	color: var(--ve-social-deep);
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.ve-social__link:hover,
.ve-social__link:focus-visible {
	border-color: var(--ve-social-yellow);
	background: var(--ve-social-yellow);
	color: var(--ve-social-deep);
	transform: translateY(-2px);
}

.ve-social__glyph {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1em;
	height: 1em;
	line-height: 1;
}

.ve-social__wishlist {
	display: flex;
	flex: 0 0 42px;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin: 0;
	font-size: 0;
	line-height: 0;
}

.ve-social__wishlist a,
.ve-social__wishlist button {
	position: relative;
	display: grid !important;
	place-items: center;
	box-sizing: border-box;
	width: 42px !important;
	height: 42px !important;
	min-width: 42px !important;
	padding: 0 !important;
	overflow: hidden !important;
	border: 1px solid rgba(4, 74, 60, .2) !important;
	border-radius: 50% !important;
	background: var(--ve-social-soft) !important;
	background-image: none !important;
	box-shadow: none !important;
	color: var(--ve-social-deep) !important;
	font-size: 0 !important;
	line-height: 1 !important;
	text-decoration: none !important;
}

.ve-social__wishlist a::before,
.ve-social__wishlist button::before {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	width: 1em;
	height: 1em;
	align-items: center;
	justify-content: center;
	content: '♡';
	font-size: 23px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	text-align: center;
	transform: translate(-50%, -50%);
}

.ve-social__wishlist a:hover,
.ve-social__wishlist a:focus-visible,
.ve-social__wishlist button:hover,
.ve-social__wishlist button:focus-visible,
.ve-social__wishlist .exists a,
.ve-social__wishlist .exists button {
	border-color: var(--ve-social-yellow) !important;
	background: var(--ve-social-yellow) !important;
	color: var(--ve-social-deep) !important;
	transform: translateY(-2px);
}

.ve-social__wishlist .exists a::before,
.ve-social__wishlist .exists button::before {
	content: '♥' !important;
}

.ve-social__wishlist a > *,
.ve-social__wishlist button > * {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.ve-social__sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* The plugin owns the share row when active, avoiding theme/plugin duplicates. */
.single-product .ve-product-sharing {
	display: none !important;
}

.single-product .sharedaddy,
.single-product .addtoany_shortcode,
.single-product .heateor_sss_sharing_container,
.single-product .social-share,
.single-product .social-links {
	display: none !important;
}

/* Keep one social component on the wishlist page. */
.woocommerce-wishlist .yith-wcwl-share,
.yith-wcwl-form .yith-wcwl-share,
.woocommerce-wishlist .sharedaddy,
.woocommerce-wishlist .addtoany_shortcode,
.woocommerce-wishlist .heateor_sss_sharing_container,
.woocommerce-wishlist .social-share,
.woocommerce-wishlist .social-links {
	display: none !important;
}

@media (max-width: 767px) {
	.ve-social__link {
		flex-basis: 40px;
		width: 40px;
		height: 40px;
	}

	.ve-social__wishlist {
		flex-basis: 40px;
		width: 40px;
		height: 40px;
	}

	.ve-social__wishlist a,
	.ve-social__wishlist button {
		width: 40px !important;
		height: 40px !important;
		min-width: 40px !important;
	}

	.ve-social__wishlist a::before,
	.ve-social__wishlist button::before {
		font-size: 21px !important;
	}
}
