/**
 * Social Share Buttons (wpps-social-share)
 * Presets: solid, flow, minimal, pill, outline, glass
 * Override in your theme or Customizer as needed.
 */

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

/* ---------- Shared structure ---------- */

.wpps-social-share {
	box-sizing: border-box;
	margin: 36px 0;
}

.wpps-social-share h4,
.wpps-social-share__heading {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 16px 0;
	color: #1a1a1a;
}

.wpps-social-share__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

/* Inline: same icon box and height as labeled network buttons */
.wpps-social-share--inline .wpps-share-link svg {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	vertical-align: middle;
}

/* In-content icons only (no platform names in markup for links; copy still has sr feedback via aria) */
.wpps-social-share--inline.wpps-social-share--icons-only .wpps-share-link {
	padding: 11px;
	min-width: 44px;
	min-height: 44px;
	justify-content: center;
}

.wpps-social-share--inline.wpps-social-share--icons-only .wpps-share-link__text {
	display: none;
}

.wpps-social-share--inline.wpps-social-share--icons-only .wpps-share-link svg {
	width: 22px;
	height: 22px;
}

.wpps-social-share--inline.wpps-social-share--icons-only.wpps-social-share--preset-pill .wpps-share-link {
	border-radius: 999px;
}

.wpps-share-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	font-family: inherit;
	text-decoration: none;
	border: none;
	cursor: pointer;
	line-height: 1.3;
	transition:
		opacity 0.2s ease,
		transform 0.2s ease,
		box-shadow 0.2s ease,
		background-color 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease;
}

.wpps-share-link:hover {
	opacity: 0.92;
	transform: translateY(-1px);
}

.wpps-share-link:focus {
	outline: none;
}

.wpps-share-link:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.wpps-share-link {
		transition: none;
	}
	.wpps-share-link:hover {
		transform: none;
	}
}

/* Platform fills (default / solid baseline) */
.wpps-share-link--facebook {
	background: #1877f2;
	color: #fff !important;
	-webkit-text-fill-color: #fff;
}
.wpps-share-link--x {
	background: #000000;
	color: #fff !important;
	-webkit-text-fill-color: #fff;
}
.wpps-share-link--linkedin {
	background: #0077b5;
	color: #fff !important;
	-webkit-text-fill-color: #fff;
}
.wpps-share-link--whatsapp {
	background: #25d366;
	color: #fff !important;
	-webkit-text-fill-color: #fff;
}
.wpps-share-link--reddit {
	background: #ff4500;
	color: #fff !important;
	-webkit-text-fill-color: #fff;
}
.wpps-share-link--pinterest {
	background: #bd081c;
	color: #fff !important;
	-webkit-text-fill-color: #fff;
}
.wpps-share-link--telegram {
	background: #0088cc;
	color: #fff !important;
	-webkit-text-fill-color: #fff;
}
.wpps-share-link--tumblr {
	background: #36465d;
	color: #fff !important;
	-webkit-text-fill-color: #fff;
}
.wpps-share-link--email {
	background: #555;
	color: #fff !important;
	-webkit-text-fill-color: #fff;
}

.wpps-share-link--copy {
	background: #4b5563;
	color: #fff !important;
	-webkit-text-fill-color: #fff;
}

.wpps-share-link--copy:hover {
	background: #374151;
}

.wpps-share-link--native {
	background: #4338ca;
	color: #fff !important;
	-webkit-text-fill-color: #fff;
}

.wpps-share-link--native:hover {
	background: #3730a3;
}

/* ---------- Preset: solid (card + filled buttons) ---------- */

.wpps-social-share--preset-solid.wpps-social-share--inline {
	padding: 24px;
	background: linear-gradient(180deg, #fafbfc 0%, #f4f6f8 100%);
	border-radius: 12px;
	border: 1px solid rgba(0, 0, 0, 0.06);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.wpps-social-share--preset-solid.wpps-social-share--inline .wpps-social-share__heading {
	color: #1a1a1a;
}

.wpps-social-share--preset-solid .wpps-share-link {
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.wpps-social-share--preset-solid .wpps-share-link:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ---------- Preset: flow (inline strip, prose-friendly) ---------- */

.wpps-social-share--preset-flow.wpps-social-share--inline {
	margin: 28px 0;
	padding: 0;
	background: none;
	border: none;
	box-shadow: none;
}

.wpps-social-share--preset-flow .wpps-social-share__heading {
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #64748b;
	margin-bottom: 10px;
}

.wpps-social-share--preset-flow .wpps-social-share__buttons {
	gap: 6px 4px;
}

.wpps-social-share--preset-flow .wpps-share-link {
	background: transparent !important;
	color: #334155 !important;
	-webkit-text-fill-color: #334155;
	box-shadow: none;
	transform: none;
	padding: 6px 10px;
	border-radius: 6px;
	font-weight: 500;
	border: 1px solid transparent;
}

.wpps-social-share--preset-flow .wpps-share-link:hover {
	opacity: 1;
	background: rgba(15, 23, 42, 0.06) !important;
}

.wpps-social-share--preset-flow .wpps-share-link--facebook {
	color: #1877f2 !important;
	-webkit-text-fill-color: #1877f2;
}
.wpps-social-share--preset-flow .wpps-share-link--x {
	color: #0f172a !important;
	-webkit-text-fill-color: #0f172a;
}
.wpps-social-share--preset-flow .wpps-share-link--linkedin {
	color: #0077b5 !important;
	-webkit-text-fill-color: #0077b5;
}
.wpps-social-share--preset-flow .wpps-share-link--whatsapp {
	color: #128c7e !important;
	-webkit-text-fill-color: #128c7e;
}
.wpps-social-share--preset-flow .wpps-share-link--reddit {
	color: #ff4500 !important;
	-webkit-text-fill-color: #ff4500;
}
.wpps-social-share--preset-flow .wpps-share-link--pinterest {
	color: #bd081c !important;
	-webkit-text-fill-color: #bd081c;
}
.wpps-social-share--preset-flow .wpps-share-link--telegram {
	color: #0088cc !important;
	-webkit-text-fill-color: #0088cc;
}
.wpps-social-share--preset-flow .wpps-share-link--tumblr {
	color: #36465d !important;
	-webkit-text-fill-color: #36465d;
}
.wpps-social-share--preset-flow .wpps-share-link--email {
	color: #475569 !important;
	-webkit-text-fill-color: #475569;
}

.wpps-social-share--preset-flow .wpps-share-link--copy,
.wpps-social-share--preset-flow .wpps-share-link--native {
	color: #4338ca !important;
	-webkit-text-fill-color: #4338ca;
	background: transparent !important;
}

.wpps-social-share--preset-flow .wpps-share-link--copy:hover,
.wpps-social-share--preset-flow .wpps-share-link--native:hover {
	background: rgba(67, 56, 202, 0.08) !important;
}

/* ---------- Preset: minimal ---------- */

.wpps-social-share--preset-minimal.wpps-social-share--inline {
	padding: 20px 22px;
	background: #f8fafc;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	box-shadow: none;
}

.wpps-social-share--preset-minimal .wpps-social-share__heading {
	color: #0f172a;
}

.wpps-social-share--preset-minimal .wpps-share-link {
	background: #fff !important;
	color: #1e293b !important;
	-webkit-text-fill-color: #1e293b;
	border: 1px solid #e2e8f0;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.wpps-social-share--preset-minimal .wpps-share-link:hover {
	border-color: #cbd5e1;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.wpps-social-share--preset-minimal .wpps-share-link--facebook {
	border-color: rgba(24, 119, 242, 0.35);
}
.wpps-social-share--preset-minimal .wpps-share-link--x {
	border-color: rgba(15, 23, 42, 0.2);
}
.wpps-social-share--preset-minimal .wpps-share-link--linkedin {
	border-color: rgba(0, 119, 181, 0.35);
}
.wpps-social-share--preset-minimal .wpps-share-link--whatsapp {
	border-color: rgba(37, 211, 102, 0.35);
}
.wpps-social-share--preset-minimal .wpps-share-link--reddit {
	border-color: rgba(255, 69, 0, 0.35);
}
.wpps-social-share--preset-minimal .wpps-share-link--pinterest {
	border-color: rgba(189, 8, 28, 0.35);
}
.wpps-social-share--preset-minimal .wpps-share-link--telegram {
	border-color: rgba(0, 136, 204, 0.35);
}
.wpps-social-share--preset-minimal .wpps-share-link--tumblr {
	border-color: rgba(54, 70, 93, 0.35);
}
.wpps-social-share--preset-minimal .wpps-share-link--email {
	border-color: rgba(85, 85, 85, 0.3);
}

.wpps-social-share--preset-minimal .wpps-share-link--copy,
.wpps-social-share--preset-minimal .wpps-share-link--native {
	border-color: rgba(67, 56, 202, 0.35);
	color: #4338ca !important;
	-webkit-text-fill-color: #4338ca;
	background: #fff !important;
}

/* ---------- Preset: pill ---------- */

.wpps-social-share--preset-pill.wpps-social-share--inline {
	padding: 22px 24px;
	background: linear-gradient(180deg, #fafbfc 0%, #f1f5f9 100%);
	border-radius: 16px;
	border: 1px solid rgba(0, 0, 0, 0.06);
}

.wpps-social-share--preset-pill .wpps-share-link {
	border-radius: 999px;
	padding: 10px 18px;
	color: #fff !important;
	-webkit-text-fill-color: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.wpps-social-share--preset-pill .wpps-share-link:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

/* ---------- Preset: outline ---------- */

.wpps-social-share--preset-outline.wpps-social-share--inline {
	padding: 22px 24px;
	background: #fff;
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.wpps-social-share--preset-outline .wpps-share-link {
	background: transparent !important;
	box-shadow: none;
	border-width: 2px;
	border-style: solid;
	font-weight: 600;
}

.wpps-social-share--preset-outline .wpps-share-link:hover {
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.wpps-social-share--preset-outline .wpps-share-link--facebook {
	border-color: #1877f2;
	color: #1877f2 !important;
	-webkit-text-fill-color: #1877f2;
}
.wpps-social-share--preset-outline .wpps-share-link--x {
	border-color: #0f172a;
	color: #0f172a !important;
	-webkit-text-fill-color: #0f172a;
}
.wpps-social-share--preset-outline .wpps-share-link--linkedin {
	border-color: #0077b5;
	color: #0077b5 !important;
	-webkit-text-fill-color: #0077b5;
}
.wpps-social-share--preset-outline .wpps-share-link--whatsapp {
	border-color: #25d366;
	color: #1a9e4b !important;
	-webkit-text-fill-color: #1a9e4b;
}
.wpps-social-share--preset-outline .wpps-share-link--reddit {
	border-color: #ff4500;
	color: #ff4500 !important;
	-webkit-text-fill-color: #ff4500;
}
.wpps-social-share--preset-outline .wpps-share-link--pinterest {
	border-color: #bd081c;
	color: #bd081c !important;
	-webkit-text-fill-color: #bd081c;
}
.wpps-social-share--preset-outline .wpps-share-link--telegram {
	border-color: #0088cc;
	color: #0088cc !important;
	-webkit-text-fill-color: #0088cc;
}
.wpps-social-share--preset-outline .wpps-share-link--tumblr {
	border-color: #36465d;
	color: #36465d !important;
	-webkit-text-fill-color: #36465d;
}
.wpps-social-share--preset-outline .wpps-share-link--email {
	border-color: #555;
	color: #555 !important;
	-webkit-text-fill-color: #555;
}

.wpps-social-share--preset-outline .wpps-share-link--copy {
	border-color: #4b5563;
	color: #4b5563 !important;
	-webkit-text-fill-color: #4b5563;
}

.wpps-social-share--preset-outline .wpps-share-link--native {
	border-color: #4338ca;
	color: #4338ca !important;
	-webkit-text-fill-color: #4338ca;
}

/* ---------- Preset: glass ---------- */

/* Inline: reads clearly vs classic solid — frosted panel + tinted blur (works on light pages) */
.wpps-social-share--preset-glass.wpps-social-share--inline {
	padding: 22px 24px;
	background: linear-gradient(
		145deg,
		rgba(255, 255, 255, 0.42) 0%,
		rgba(241, 245, 249, 0.38) 45%,
		rgba(226, 232, 240, 0.36) 100%
	);
	backdrop-filter: blur(18px) saturate(165%);
	-webkit-backdrop-filter: blur(18px) saturate(165%);
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.75);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.65),
		0 10px 40px rgba(15, 23, 42, 0.12),
		0 2px 8px rgba(15, 23, 42, 0.06);
}

.wpps-social-share--preset-glass.wpps-social-share--inline .wpps-social-share__heading {
	color: #0f172a;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Inline glass: semi-transparent “chips” (classic solid stays fully opaque below) */
.wpps-social-share--preset-glass.wpps-social-share--inline .wpps-share-link {
	backdrop-filter: blur(10px) saturate(150%);
	-webkit-backdrop-filter: blur(10px) saturate(150%);
	border: 1px solid rgba(255, 255, 255, 0.4);
	box-shadow:
		0 2px 10px rgba(15, 23, 42, 0.12),
		inset 0 1px 0 rgba(255, 255, 255, 0.22);
	color: #fff !important;
	-webkit-text-fill-color: #fff;
}

.wpps-social-share--preset-glass.wpps-social-share--inline .wpps-share-link:hover {
	box-shadow:
		0 6px 20px rgba(15, 23, 42, 0.16),
		inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.wpps-social-share--preset-glass.wpps-social-share--inline .wpps-share-link--facebook {
	background: rgba(24, 119, 242, 0.82) !important;
}
.wpps-social-share--preset-glass.wpps-social-share--inline .wpps-share-link--x {
	background: rgba(15, 23, 42, 0.78) !important;
}
.wpps-social-share--preset-glass.wpps-social-share--inline .wpps-share-link--linkedin {
	background: rgba(0, 119, 181, 0.82) !important;
}
.wpps-social-share--preset-glass.wpps-social-share--inline .wpps-share-link--whatsapp {
	background: rgba(37, 211, 102, 0.82) !important;
}
.wpps-social-share--preset-glass.wpps-social-share--inline .wpps-share-link--reddit {
	background: rgba(255, 69, 0, 0.82) !important;
}
.wpps-social-share--preset-glass.wpps-social-share--inline .wpps-share-link--pinterest {
	background: rgba(189, 8, 28, 0.82) !important;
}
.wpps-social-share--preset-glass.wpps-social-share--inline .wpps-share-link--telegram {
	background: rgba(0, 136, 204, 0.82) !important;
}
.wpps-social-share--preset-glass.wpps-social-share--inline .wpps-share-link--tumblr {
	background: rgba(54, 70, 93, 0.82) !important;
}
.wpps-social-share--preset-glass.wpps-social-share--inline .wpps-share-link--email {
	background: rgba(71, 85, 105, 0.82) !important;
}
.wpps-social-share--preset-glass.wpps-social-share--inline .wpps-share-link--copy {
	background: rgba(75, 85, 99, 0.82) !important;
}
.wpps-social-share--preset-glass.wpps-social-share--inline .wpps-share-link--native {
	background: rgba(67, 56, 202, 0.82) !important;
}

/* Non-inline glass (if used): keep frosted link treatment */
.wpps-social-share--preset-glass:not(.wpps-social-share--inline) .wpps-share-link {
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: #fff !important;
	-webkit-text-fill-color: #fff;
}

.wpps-social-share--preset-glass:not(.wpps-social-share--inline) .wpps-share-link:hover {
	box-shadow: 0 6px 20px rgba(15, 23, 42, 0.15);
}

/* No heading: remove card chrome on inline (keep buttons only) */
.wpps-social-share--inline.wpps-social-share--no-heading {
	margin: 20px 0;
}

.wpps-social-share--inline.wpps-social-share--no-heading.wpps-social-share--preset-solid,
.wpps-social-share--inline.wpps-social-share--no-heading.wpps-social-share--preset-minimal,
.wpps-social-share--inline.wpps-social-share--no-heading.wpps-social-share--preset-pill,
.wpps-social-share--inline.wpps-social-share--no-heading.wpps-social-share--preset-outline,
.wpps-social-share--inline.wpps-social-share--no-heading.wpps-social-share--preset-glass {
	padding: 0;
	background: transparent;
	border: none;
	box-shadow: none;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.wpps-social-share--inline.wpps-social-share--no-heading.wpps-social-share--preset-flow {
	margin: 16px 0;
}

/* ---------- Floating (all presets) ---------- */

.wpps-social-share--floating {
	position: fixed;
	z-index: 9999;
	margin: 0;
	padding: 0;
	background: transparent;
	border: none;
	box-shadow: none;
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.wpps-social-share--floating .wpps-social-share__heading {
	display: none;
}

.wpps-social-share--floating.wpps-social-share--preset-solid .wpps-share-link,
.wpps-social-share--floating.wpps-social-share--preset-pill .wpps-share-link,
.wpps-social-share--floating.wpps-social-share--preset-glass .wpps-share-link {
	color: #fff !important;
	-webkit-text-fill-color: #fff;
}

.wpps-social-share--floating.wpps-social-share--preset-glass .wpps-share-link {
	background: rgba(15, 23, 42, 0.55) !important;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.25);
}

.wpps-social-share--floating.wpps-social-share--preset-glass .wpps-share-link--facebook {
	background: rgba(24, 119, 242, 0.9) !important;
}
.wpps-social-share--floating.wpps-social-share--preset-glass .wpps-share-link--x {
	background: rgba(15, 23, 42, 0.88) !important;
}
.wpps-social-share--floating.wpps-social-share--preset-glass .wpps-share-link--linkedin {
	background: rgba(0, 119, 181, 0.9) !important;
}
.wpps-social-share--floating.wpps-social-share--preset-glass .wpps-share-link--whatsapp {
	background: rgba(37, 211, 102, 0.92) !important;
}
.wpps-social-share--floating.wpps-social-share--preset-glass .wpps-share-link--reddit {
	background: rgba(255, 69, 0, 0.92) !important;
}
.wpps-social-share--floating.wpps-social-share--preset-glass .wpps-share-link--pinterest {
	background: rgba(189, 8, 28, 0.9) !important;
}
.wpps-social-share--floating.wpps-social-share--preset-glass .wpps-share-link--telegram {
	background: rgba(0, 136, 204, 0.9) !important;
}
.wpps-social-share--floating.wpps-social-share--preset-glass .wpps-share-link--tumblr {
	background: rgba(54, 70, 93, 0.92) !important;
}
.wpps-social-share--floating.wpps-social-share--preset-glass .wpps-share-link--email {
	background: rgba(71, 85, 105, 0.92) !important;
}
.wpps-social-share--floating.wpps-social-share--preset-glass .wpps-share-link--copy {
	background: rgba(75, 85, 99, 0.92) !important;
}
.wpps-social-share--floating.wpps-social-share--preset-glass .wpps-share-link--native {
	background: rgba(67, 56, 202, 0.92) !important;
}

.wpps-social-share--floating.wpps-social-share--preset-minimal .wpps-share-link {
	background: rgba(255, 255, 255, 0.95) !important;
	color: #1e293b !important;
	-webkit-text-fill-color: #1e293b;
	border: 1px solid rgba(226, 232, 240, 0.95);
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
}

.wpps-social-share--floating.wpps-social-share--preset-outline .wpps-share-link {
	background: rgba(255, 255, 255, 0.92) !important;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.wpps-social-share--floating.wpps-social-share--preset-outline .wpps-share-link--facebook {
	border-color: #1877f2;
	color: #1877f2 !important;
	-webkit-text-fill-color: #1877f2;
}
.wpps-social-share--floating.wpps-social-share--preset-outline .wpps-share-link--x {
	border-color: #0f172a;
	color: #0f172a !important;
	-webkit-text-fill-color: #0f172a;
}
.wpps-social-share--floating.wpps-social-share--preset-outline .wpps-share-link--linkedin {
	border-color: #0077b5;
	color: #0077b5 !important;
	-webkit-text-fill-color: #0077b5;
}
.wpps-social-share--floating.wpps-social-share--preset-outline .wpps-share-link--whatsapp {
	border-color: #25d366;
	color: #15803d !important;
	-webkit-text-fill-color: #15803d;
}
.wpps-social-share--floating.wpps-social-share--preset-outline .wpps-share-link--reddit {
	border-color: #ff4500;
	color: #ff4500 !important;
	-webkit-text-fill-color: #ff4500;
}
.wpps-social-share--floating.wpps-social-share--preset-outline .wpps-share-link--pinterest {
	border-color: #bd081c;
	color: #bd081c !important;
	-webkit-text-fill-color: #bd081c;
}
.wpps-social-share--floating.wpps-social-share--preset-outline .wpps-share-link--telegram {
	border-color: #0088cc;
	color: #0088cc !important;
	-webkit-text-fill-color: #0088cc;
}
.wpps-social-share--floating.wpps-social-share--preset-outline .wpps-share-link--tumblr {
	border-color: #36465d;
	color: #36465d !important;
	-webkit-text-fill-color: #36465d;
}
.wpps-social-share--floating.wpps-social-share--preset-outline .wpps-share-link--email {
	border-color: #555;
	color: #555 !important;
	-webkit-text-fill-color: #555;
}
.wpps-social-share--floating.wpps-social-share--preset-outline .wpps-share-link--copy {
	border-color: #4b5563;
	color: #4b5563 !important;
	-webkit-text-fill-color: #4b5563;
}
.wpps-social-share--floating.wpps-social-share--preset-outline .wpps-share-link--native {
	border-color: #4338ca;
	color: #4338ca !important;
	-webkit-text-fill-color: #4338ca;
}

.wpps-social-share--float_bottom_center {
	bottom: 0;
	left: 0;
	right: 0;
	padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
}

.wpps-social-share--float_bottom_center .wpps-social-share__buttons {
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}

/*
 * Side floats: vertical center via flex — no transform on this ancestor.
 * (transform would break position:fixed for the “+” overflow modal; it would
 * size/position against this strip instead of the viewport.)
 */
.wpps-social-share--float_left_center {
	left: max(12px, env(safe-area-inset-left, 0px));
	right: auto;
	top: 0;
	bottom: 0;
	width: auto;
	transform: none;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
}

.wpps-social-share--float_left_center .wpps-social-share__buttons {
	flex-direction: column;
	justify-content: center;
	gap: 8px;
}

.wpps-social-share--float_right_center {
	right: max(12px, env(safe-area-inset-right, 0px));
	left: auto;
	top: 0;
	bottom: 0;
	width: auto;
	transform: none;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
}

.wpps-social-share--float_right_center .wpps-social-share__buttons {
	flex-direction: column;
	justify-content: center;
	gap: 8px;
}

.wpps-social-share--icons-only .wpps-share-link {
	padding: 11px;
	min-width: 44px;
	min-height: 44px;
	border-radius: 12px;
}

.wpps-social-share--icons-only.wpps-social-share--preset-pill .wpps-share-link {
	border-radius: 999px;
}

.wpps-social-share--icons-only .wpps-share-link__text {
	display: none;
}

.wpps-social-share--icons-only .wpps-share-link svg {
	width: 22px;
	height: 22px;
}

/* Floating overflow “+” matches icon buttons */
.wpps-social-share--floating .wpps-share-link--overflow-more {
	min-width: 44px;
	min-height: 44px;
	padding: 11px;
	background: #475569 !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff;
}

.wpps-social-share--floating.wpps-social-share--preset-minimal .wpps-share-link--overflow-more {
	background: rgba(255, 255, 255, 0.95) !important;
	color: #1e293b !important;
	-webkit-text-fill-color: #1e293b;
	border: 1px solid rgba(226, 232, 240, 0.95);
}

.wpps-social-share--floating.wpps-social-share--preset-outline .wpps-share-link--overflow-more {
	background: rgba(255, 255, 255, 0.92) !important;
	color: #334155 !important;
	-webkit-text-fill-color: #334155;
	border: 2px solid #cbd5e1;
}

.wpps-social-share--floating.wpps-social-share--preset-glass .wpps-share-link--overflow-more {
	background: rgba(71, 85, 105, 0.92) !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.25);
}

.wpps-social-share--icons-only .wpps-share-link--overflow-more svg {
	width: 22px;
	height: 22px;
}

/* Floating: “more” sheet — centered on viewport */
.wpps-social-share__overflow {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px))
		max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
	box-sizing: border-box;
}

.wpps-social-share__overflow[hidden] {
	display: none !important;
}

.wpps-social-share__overflow-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
}

.wpps-social-share__overflow-panel {
	position: relative;
	width: auto;
	min-width: min(100%, 280px);
	max-width: min(92vw, 520px);
	max-height: min(85vh, 480px);
	overflow: auto;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
	-webkit-overflow-scrolling: touch;
}

.wpps-social-share__overflow-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border-bottom: 1px solid #e5e7eb;
}

.wpps-social-share__overflow-title {
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
}

.wpps-social-share__overflow-close {
	margin: 0;
	padding: 4px 10px;
	background: none;
	border: none;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	color: #64748b;
	border-radius: 8px;
	font-family: inherit;
}

.wpps-social-share__overflow-close:hover {
	background: #f1f5f9;
	color: #0f172a;
}

.wpps-social-share__overflow-close:focus {
	outline: none;
}

.wpps-social-share__overflow-close:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
}

.wpps-social-share__overflow-buttons {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 18px 20px;
	box-sizing: border-box;
}

.wpps-social-share__overflow-buttons .wpps-share-link {
	width: auto;
	flex: 0 0 auto;
	box-sizing: border-box;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 11px;
	text-align: center;
}

.wpps-social-share__overflow-buttons .wpps-share-link svg {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
}

/* Match floating bar: icon targets only in overflow (labels stay in title/aria) */
.wpps-social-share--floating .wpps-social-share__overflow-buttons .wpps-share-link__text {
	display: none !important;
}

.wpps-social-share--floating.wpps-social-share--preset-pill .wpps-social-share__overflow-buttons .wpps-share-link {
	border-radius: 999px;
}

.wpps-share-link--native.wpps-web-share-unsupported {
	display: none;
}

@media print {
	.wpps-social-share {
		display: none !important;
	}
}
