/* Social share module */
.nextshop-social-share {
	margin: 20px 0 0;
	padding: 18px;
	border: 1px solid #e8eaef;
	border-radius: 16px;
	background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.nextshop-social-share--product {
	margin-top: 24px;
}

.nextshop-social-share__head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	color: #3f4064;
	font-size: 0.95rem;
	font-weight: 700;
}

.nextshop-social-share__head-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 10px;
	background: rgba(37, 99, 235, 0.08);
	color: var(--ns-primary, #2563eb);
}

.nextshop-social-share__items {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.nextshop-social-share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: #fff;
	color: #3f4064;
	text-decoration: none;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1.2;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.nextshop-social-share__btn:hover,
.nextshop-social-share__btn:focus-visible {
	transform: translateY(-1px);
	border-color: color-mix(in srgb, var(--ns-share-color) 35%, #fff);
	color: var(--ns-share-color);
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
	outline: none;
}

.nextshop-social-share__btn.is-copied {
	border-color: #16a34a;
	color: #16a34a;
}

.nextshop-social-share__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--ns-share-color) 12%, #fff);
	color: var(--ns-share-color);
	flex-shrink: 0;
}

.nextshop-social-share__icon::before {
	font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands";
	font-weight: 400;
	font-size: 1rem;
	line-height: 1;
}

.nextshop-social-share__icon--whatsapp::before {
	content: "\f232";
	font-family: "Font Awesome 6 Brands";
	font-weight: 400;
}

.nextshop-social-share__icon--telegram::before {
	content: "\f2c6";
	font-family: "Font Awesome 6 Brands";
	font-weight: 400;
}

.nextshop-social-share__icon--instagram::before {
	content: "\f16d";
	font-family: "Font Awesome 6 Brands";
	font-weight: 400;
}

.nextshop-social-share__icon--copy::before {
	content: "\f0c1";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
}

.nextshop-social-share__icon--bale,
.nextshop-social-share__icon--eitaa,
.nextshop-social-share__icon--rubika {
	background-size: 18px 18px;
	background-repeat: no-repeat;
	background-position: center;
}

.nextshop-social-share__icon--bale {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300a884'%3E%3Cpath d='M12 2C6.48 2 2 6.03 2 11c0 2.8 1.29 5.3 3.3 7.02L4 22l4.2-1.1C9.4 21.64 10.67 22 12 22c5.52 0 10-4.03 10-9S17.52 2 12 2zm0 16c-1.1 0-2.15-.24-3.09-.67l-.22-.11-2.19.57.58-2.13-.14-.22C6.24 14.15 6 13.1 6 12c0-3.31 2.69-6 6-6s6 2.69 6 6-2.69 6-6 6z'/%3E%3C/svg%3E");
}

.nextshop-social-share__icon--eitaa {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f5820d'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm-1.2 5.8h2.4v8.4h-2.4V7.8zm0 10.2h2.4V20h-2.4v-2z'/%3E%3C/svg%3E");
}

.nextshop-social-share__icon--rubika {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237c4dff'%3E%3Cpath d='M12 2l8 4.5v11L12 22l-8-4.5v-11L12 2zm0 2.3L6.5 7.8 12 10.9l5.5-3.1L12 4.3zM6.5 16.2V9.7L11 12.7v6.5l-4.5-3zm11 0L12.5 19.2v-6.5l4.5-3v6.5z'/%3E%3C/svg%3E");
}

.nextshop-social-share__icon--bale::before,
.nextshop-social-share__icon--eitaa::before,
.nextshop-social-share__icon--rubika::before {
	content: "";
}

/* Icons-only style */
.nextshop-social-share--icons .nextshop-social-share__items {
	gap: 8px;
}

.nextshop-social-share--icons .nextshop-social-share__btn {
	width: 46px;
	height: 46px;
	min-height: 46px;
	padding: 0;
	border-radius: 14px;
}

.nextshop-social-share--icons .nextshop-social-share__icon {
	width: 100%;
	height: 100%;
	border-radius: 14px;
}

/* List style */
.nextshop-social-share--list .nextshop-social-share__items {
	flex-direction: column;
	gap: 8px;
}

.nextshop-social-share--list .nextshop-social-share__btn {
	width: 100%;
	justify-content: flex-start;
	border-radius: 12px;
	padding-inline: 12px;
}

.nextshop-social-share--list .nextshop-social-share__icon {
	width: 38px;
	height: 38px;
}

/* Toast */
.nextshop-social-share-toast {
	position: fixed;
	inset-inline: 16px;
	bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	z-index: 99999;
	display: flex;
	justify-content: center;
	pointer-events: none;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.nextshop-social-share-toast.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.nextshop-social-share-toast__inner {
	max-width: 420px;
	padding: 12px 18px;
	border-radius: 12px;
	background: rgba(15, 23, 42, 0.92);
	color: #fff;
	font-size: 0.875rem;
	line-height: 1.6;
	text-align: center;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.25);
}

@media (max-width: 767px) {
	.nextshop-social-share {
		padding: 14px;
		border-radius: 14px;
	}

	.nextshop-social-share--buttons .nextshop-social-share__items {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nextshop-social-share--buttons .nextshop-social-share__btn {
		width: 100%;
		justify-content: flex-start;
		border-radius: 12px;
	}
}
