.sdps-share {
	position: relative;
	display: inline-block;
	margin: 12px 0;
	font-family: inherit;
	line-height: 1.3;
	text-align: left;
}
.sdps-share *,
.sdps-share *::before,
.sdps-share *::after { box-sizing: border-box; }

.sdps-share__details { position: relative; margin: 0; padding: 0; }

.sdps-share__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 9px 16px;
	list-style: none;
	cursor: pointer;
	user-select: none;
	border: 1.5px solid var(--sdps-accent, #08203E);
	border-radius: 999px;
	background: #fff;
	color: var(--sdps-accent, #08203E);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-transform: none;
	letter-spacing: normal;
}
.sdps-share__toggle::-webkit-details-marker { display: none; }
.sdps-share__toggle::marker { content: ''; }
.sdps-share__toggle:hover,
.sdps-share__details[open] > .sdps-share__toggle {
	background: var(--sdps-accent, #08203E);
	color: #fff;
}
.sdps-share__toggle:focus-visible {
	outline: 2px solid var(--sdps-accent, #08203E);
	outline-offset: 2px;
}
.sdps-icon { display: block; flex: 0 0 auto; }

.sdps-share__menu {
	position: absolute;
	z-index: 50;
	top: calc(100% + 8px);
	left: 0;
	width: max-content;
	min-width: 220px;
	max-width: min(300px, 90vw);
	padding: 8px;
	background: #fff;
	border: 1px solid #e3e6eb;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}
.sdps-share--flip .sdps-share__menu { left: auto; right: 0; }

.sdps-share__note { margin: 2px 8px 6px; font-size: 12px; color: #6b7280; }
.sdps-share__list { list-style: none; margin: 0; padding: 0; }
.sdps-share__list li { margin: 0; padding: 0; list-style: none; }

/* Buttons inherit aggressive theme styles (uppercase, shadows, colours) - reset what matters. */
.sdps-share__item {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	margin: 0;
	padding: 9px 10px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	box-shadow: none;
	color: #1f2937;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	text-align: left;
	text-decoration: none;
	text-transform: none;
	letter-spacing: normal;
	min-height: 0;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.sdps-share__item:hover,
.sdps-share__item:focus-visible { background: #f3f4f6; color: #111827; }
.sdps-share__item:focus-visible { outline: 2px solid var(--sdps-accent, #08203E); outline-offset: -2px; }
.sdps-share__copy.is-copied { background: #ecfdf3; color: #166534; }

.sdps-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 26px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #6b7280;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}
.sdps-badge--whatsapp  { background: #25D366; }
.sdps-badge--facebook  { background: #1877F2; }
.sdps-badge--x         { background: #000000; }
.sdps-badge--telegram  { background: #26A5E4; }
.sdps-badge--email     { background: #6b7280; }
.sdps-badge--linkedin  { background: #0A66C2; }
.sdps-badge--pinterest { background: #E60023; }
.sdps-badge--sms       { background: #16a34a; }

.sdps-icon--copy { flex: 0 0 26px; width: 26px; height: 26px; padding: 4px; }

.sdps-share__status { margin: 6px 8px 2px; font-size: 12px; color: #166534; }
.sdps-share__status:empty { display: none; }
.sdps-share__manual {
	display: block;
	width: calc(100% - 16px);
	margin: 6px 8px 0;
	padding: 6px 8px;
	border: 1px solid #c9ced6;
	border-radius: 6px;
	font-size: 12px;
}

/* Product listings: a compact, icon-only round button. */
.sdps-share--loop { margin: 6px 0; }
.sdps-share--loop .sdps-share__toggle {
	width: 36px;
	height: 36px;
	padding: 0;
	justify-content: center;
}
.sdps-share--loop .sdps-share__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
