/* Single product "Share" button (blocksy-child) */

.bc-share {
	position: relative;
	margin-bottom: var(--bc-spacing-desktop, 20px);
}

@media (max-width: 999.98px) {
	.bc-share {
		margin-bottom: var(--bc-spacing-tablet, var(--bc-spacing-desktop, 20px));
	}
}

@media (max-width: 689.98px) {
	.bc-share {
		margin-bottom: var(--bc-spacing-mobile, var(--bc-spacing-tablet, var(--bc-spacing-desktop, 20px)));
	}
}

.bc-share .bc-share__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 0;
	margin: 0;
	padding: 4px 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: inherit;
	font: inherit;
	font-size: 15px;
	line-height: 1.4;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.bc-share .bc-share__toggle:hover,
.bc-share .bc-share__toggle:focus-visible {
	background: none;
	color: inherit;
	opacity: 0.7;
}

.bc-share__icon {
	width: 18px;
	height: 18px;
	flex: none;
}

/* ---- Panel -------------------------------------------------------------- */

.bc-share__panel {
	position: absolute;
	z-index: 20;
	top: calc(100% + 8px);
	inset-inline-start: 0;
	min-width: 280px;
	max-width: min(360px, calc(100vw - 32px));
	padding: 14px;
	border: 1px solid var(--theme-border-color, rgba(0, 0, 0, 0.12));
	border-radius: 8px;
	background: var(--theme-palette-color-8, #fff);
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.bc-share__panel[hidden] {
	display: none;
}

.bc-share__link {
	display: flex;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--theme-border-color, rgba(0, 0, 0, 0.12));
	border-radius: 6px;
	padding: 4px 4px 4px 10px;
}

.bc-share .bc-share__url {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font-size: 14px;
	text-overflow: ellipsis;
}

.bc-share .bc-share__url:focus {
	outline: none;
	box-shadow: none;
}

.bc-share .bc-share__copy {
	flex: none;
	min-height: 0;
	margin: 0;
	padding: 6px 12px;
	border: 0;
	border-radius: 4px;
	background: var(--theme-text-color, #121212);
	color: var(--theme-palette-color-8, #fff);
	font: inherit;
	font-size: 13px;
	line-height: 1.2;
	cursor: pointer;
}

.bc-share .bc-share__copy.is-copied {
	background: var(--theme-palette-color-1, #2872fa);
}

.bc-share__networks {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.bc-share__network {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	color: inherit;
	transition: background-color 0.2s ease;
}

.bc-share__network:hover,
.bc-share__network:focus-visible {
	background: rgba(0, 0, 0, 0.06);
	color: inherit;
}

.bc-share__network svg {
	width: 20px;
	height: 20px;
}
