.scios-product-actions-stage {
	position: relative;
	width: 100%;
	min-height: 132px;
	margin: 0 0 26px;
}

.scios-product-actions-stage > form.cart {
	width: 100% !important;
	margin: 0 !important;
}

.scios-product-actions-stage > .scios-product-qr {
	position: absolute;
	top: 0;
	right: 0;
}

.scios-product-qr {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 8px;
	flex: 0 0 auto;
	width: 188px;
	max-width: 100%;
	margin: 0;
	z-index: 8;
}

.scios-product-qr--standalone {
	margin: 22px 0 26px auto;
}

.scios-product-qr__preview-wrap {
	position: relative;
	flex: 0 0 132px;
	width: 132px;
	height: 132px;
	aspect-ratio: 1 / 1;
	border-radius: 18px;
	background: linear-gradient(135deg, #7138f4, #ce2b79 52%, #ef2f2f);
	box-shadow: 0 10px 25px rgba(45, 25, 88, 0.16);
	overflow: hidden;
}

.scios-product-qr button.scios-product-qr__preview-open[type="button"] {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: block;
	width: 100%;
	min-width: 0;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 18px;
	background: transparent;
	box-shadow: none;
	cursor: zoom-in;
}

.scios-product-qr button.scios-product-qr__preview-open[type="button"]:hover,
.scios-product-qr button.scios-product-qr__preview-open[type="button"]:focus-visible {
	background: transparent;
	box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .92);
}

.scios-product-qr button.scios-product-qr__preview-open[type="button"]:focus-visible {
	outline: 3px solid rgba(113, 56, 244, .3);
	outline-offset: 3px;
}

.scios-product-qr__preview {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.scios-product-qr__preview[hidden],
.scios-product-qr__source {
	display: none !important;
}

.scios-product-qr__loading {
	position: absolute;
	inset: 12px;
	border-radius: 14px;
	background:
		linear-gradient(90deg, transparent 45%, rgba(255,255,255,.7) 50%, transparent 55%) 0 0 / 220% 100%,
		#fff;
	animation: scios-qr-loading 1.15s linear infinite;
}

@keyframes scios-qr-loading {
	to { background-position: -220% 0; }
}

.scios-product-qr__share {
	position: relative;
	display: flex;
	align-self: flex-start;
	align-items: flex-start;
	justify-content: center;
	flex: 0 0 48px;
}

.scios-product-qr button.scios-product-qr__share-toggle[type="button"] {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 0;
	width: 48px;
	min-width: 48px;
	height: 48px;
	min-height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: linear-gradient(135deg, #7138f4, #d72c68 62%, #ef2f2f);
	color: #fff !important;
	box-shadow: 0 9px 22px rgba(153, 40, 111, 0.22);
	cursor: pointer;
	font-family: inherit;
	font-size: 0;
	font-weight: 700;
	line-height: 1;
	text-transform: none;
	letter-spacing: 0;
	white-space: nowrap;
	transition: transform .18s ease, box-shadow .18s ease;
}

.scios-product-qr button.scios-product-qr__share-toggle[type="button"]:hover,
.scios-product-qr button.scios-product-qr__share-toggle[type="button"]:focus-visible {
	background: linear-gradient(135deg, #7138f4, #d72c68 62%, #ef2f2f);
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 13px 26px rgba(153, 40, 111, 0.28);
}

.scios-product-qr button.scios-product-qr__share-toggle[type="button"]:focus-visible {
	outline: 3px solid rgba(113, 56, 244, .26);
	outline-offset: 3px;
}

.scios-product-qr__share-toggle svg {
	width: 21px;
	height: 21px;
	fill: currentColor;
}

.scios-product-qr__share-label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.scios-product-qr__menu {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 4px;
	width: 330px;
	max-width: calc(100vw - 24px);
	padding: 8px;
	border: 1px solid rgba(17, 17, 22, .09);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 18px 46px rgba(25, 19, 45, .2);
	z-index: 30;
}

.scios-product-qr__menu[hidden],
.scios-product-qr__menu [hidden] {
	display: none !important;
}

.scios-product-qr__menu [data-scios-qr-action="native-share"] {
	grid-column: 1 / -1;
}

.scios-product-qr__menu [data-scios-qr-network] {
	grid-column: span 2;
}

.scios-product-qr__menu [data-scios-qr-action="copy"],
.scios-product-qr__menu [data-scios-qr-action="download"] {
	grid-column: span 3;
}

.scios-product-qr__menu a,
.scios-product-qr__menu button[type="button"][role="menuitem"] {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 6px;
	width: 100%;
	min-width: 0;
	min-height: 40px;
	margin: 0;
	padding: 8px 7px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: #222229;
	font-family: inherit;
	font-size: 11.5px;
	font-weight: 650;
	line-height: 1.2;
	text-align: left;
	text-decoration: none;
	text-transform: none;
	letter-spacing: 0;
	white-space: nowrap;
	cursor: pointer;
}

.scios-product-qr__menu a:hover,
.scios-product-qr__menu a:focus-visible,
.scios-product-qr__menu button[type="button"][role="menuitem"]:hover,
.scios-product-qr__menu button[type="button"][role="menuitem"]:focus-visible {
	background: #f5f1ff;
	color: #5c2bca;
	outline: none;
}

.scios-product-qr__menu-icon {
	display: block;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.scios-product-qr__menu [data-scios-qr-action="native-share"] .scios-product-qr__menu-icon,
.scios-product-qr__menu [data-scios-qr-action="copy"] .scios-product-qr__menu-icon {
	color: #7138f4;
}

.scios-product-qr__menu [data-scios-qr-network="whatsapp"] .scios-product-qr__menu-icon {
	color: #1fae57;
}

.scios-product-qr__menu [data-scios-qr-network="facebook"] .scios-product-qr__menu-icon {
	color: #1877f2;
}

.scios-product-qr__menu [data-scios-qr-network="x"] .scios-product-qr__menu-icon {
	color: #111;
}

.scios-product-qr__menu [data-scios-qr-action="download"] .scios-product-qr__menu-icon {
	color: #df2d48;
}

.scios-product-qr__status {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	max-width: 188px;
	margin: 0;
	color: #4c4263;
	font-size: 12px;
	line-height: 1.35;
	text-align: right;
}

body.scios-product-qr-lightbox-open {
	overflow: hidden;
}

.scios-product-qr__lightbox[hidden] {
	display: none !important;
}

.scios-product-qr__lightbox {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: grid;
	place-items: center;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	padding: 24px;
}

.scios-product-qr__lightbox-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 7, 20, .82);
	backdrop-filter: blur(5px);
	cursor: zoom-out;
}

.scios-product-qr__lightbox-panel {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: min(86vw, 560px);
	max-height: calc(100vh - 48px);
	padding: 12px;
	border-radius: 26px;
	background: #fff;
	box-shadow: 0 28px 80px rgba(0, 0, 0, .42);
}

.scios-product-qr__lightbox-image {
	display: block;
	width: 100%;
	height: auto;
	max-height: calc(100vh - 72px);
	object-fit: contain;
	border-radius: 18px;
}

.scios-product-qr__lightbox-title {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.scios-product-qr__lightbox button.scios-product-qr__lightbox-close[type="button"] {
	position: absolute;
	top: -16px;
	right: -16px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	min-width: 44px;
	height: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 2px solid rgba(255, 255, 255, .84);
	border-radius: 50%;
	background: #fff;
	color: #302742;
	box-shadow: 0 10px 28px rgba(0, 0, 0, .3);
	cursor: pointer;
}

.scios-product-qr__lightbox button.scios-product-qr__lightbox-close[type="button"]:hover,
.scios-product-qr__lightbox button.scios-product-qr__lightbox-close[type="button"]:focus-visible {
	background: #f4efff;
	color: #7138f4;
}

.scios-product-qr__lightbox button.scios-product-qr__lightbox-close[type="button"]:focus-visible {
	outline: 3px solid rgba(255, 255, 255, .7);
	outline-offset: 3px;
}

.scios-product-qr__lightbox-close svg {
	display: block;
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.scios-product-qr--error .scios-product-qr__preview-wrap {
	display: none;
}

@media (max-width: 1199px) {
	.scios-product-actions-stage {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 18px;
		min-height: 0;
	}

	.scios-product-actions-stage > .scios-product-qr {
		position: relative;
		top: auto;
		right: auto;
		align-self: flex-end;
	}
}

@media (max-width: 767px) {
	.scios-product-actions-stage {
		gap: 20px;
		margin-bottom: 30px;
	}

	.scios-product-actions-stage > .scios-product-qr,
	.scios-product-qr--standalone {
		align-self: flex-start;
		margin-right: auto;
		margin-left: 0;
	}

	.scios-product-qr__menu {
		right: auto;
		left: -140px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 222px;
	}

	.scios-product-qr__menu [data-scios-qr-action="native-share"],
	.scios-product-qr__menu [data-scios-qr-action="download"] {
		grid-column: 1 / -1;
	}

	.scios-product-qr__menu [data-scios-qr-network],
	.scios-product-qr__menu [data-scios-qr-action="copy"] {
		grid-column: auto;
	}

	.scios-product-qr__lightbox {
		padding: 14px;
	}

	.scios-product-qr__lightbox-panel {
		width: min(92vw, 520px);
		max-height: calc(100vh - 28px);
		padding: 9px;
		border-radius: 22px;
	}

	.scios-product-qr__lightbox-image {
		max-height: calc(100vh - 46px);
		border-radius: 15px;
	}

	.scios-product-qr__lightbox button.scios-product-qr__lightbox-close[type="button"] {
		top: 8px;
		right: 8px;
		width: 42px;
		min-width: 42px;
		height: 42px;
		min-height: 42px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.scios-product-qr__loading {
		animation: none;
	}

	.scios-product-qr button.scios-product-qr__share-toggle[type="button"] {
		transition: none;
	}
}
