/* All rules are scoped to the standalone J. Connelly Native Share Button. */
.jcnsb-share-button {
	--jcnsb-color: #ffffff;
	--jcnsb-background: rgba(255, 255, 255, 0.1);
	--jcnsb-background-hover: rgba(255, 255, 255, 0.2);
	--jcnsb-border: rgba(255, 255, 255, 0.68);
	align-items: center;
	display: inline-flex;
	flex: 0 0 auto;
	line-height: 1;
}

.jcnsb-share-button__control {
	-webkit-tap-highlight-color: transparent;
	align-items: center;
	appearance: none;
	background: var(--jcnsb-background);
	border: 1px solid var(--jcnsb-border);
	border-radius: 0.4rem;
	color: var(--jcnsb-color);
	cursor: pointer;
	display: inline-flex;
	height: 4.4rem;
	justify-content: center;
	margin: 0;
	min-height: 4.4rem;
	min-width: 4.4rem;
	padding: 0;
	transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
	width: 4.4rem;
}

.jcnsb-share-button__control:hover {
	background: var(--jcnsb-background-hover);
	border-color: var(--jcnsb-color);
	transform: translateY(-1px);
}

.jcnsb-share-button__control:active {
	transform: translateY(0);
}

.jcnsb-share-button__control:focus-visible {
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.42), 0 0 0 5px rgba(0, 55, 95, 0.76);
	outline: 0;
}

.jcnsb-share-button__icon {
	display: block;
	height: 2rem;
	width: 2rem;
}

.jcnsb-share-button__icon--check {
	display: none;
}

.jcnsb-share-button__control.is-copied .jcnsb-share-button__icon--share {
	display: none;
}

.jcnsb-share-button__control.is-copied .jcnsb-share-button__icon--check {
	display: block;
}

.jcnsb-share-button__status {
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

/* On mobile products, keep sharing with the title instead of the CTA/contact stack. */
body.single-produits_location .jcnsb-product-title-share {
	display: flex;
	justify-content: flex-end;
	margin: 1rem 0 1.6rem;
}

@media (prefers-reduced-motion: reduce) {
	.jcnsb-share-button__control {
		transition: none;
	}
}
