.wcg-gift-overlay-root {
	position: relative;
	z-index: 100000;
}

.wcg-gift-overlay {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	background: transparent;
	transition: opacity 0.3s ease;
	isolation: isolate;
}

.wcg-gift-overlay__scrim {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: rgba(0, 0, 0, 0.8);
	pointer-events: none;
}

.wcg-gift-overlay--hidden {
	opacity: 0;
	pointer-events: none;
}

.wcg-gift-overlay__panel {
	position: relative;
	z-index: 1;
	background: #fff;
	color: #1e1e1e;
	max-width: 28rem;
	width: 100%;
	border-radius: 8px;
	padding: 1.5rem;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.wcg-gift-overlay__panel--pattern {
	background: transparent;
	color: inherit;
	max-width: min(40rem, 100%);
	border-radius: 0;
	padding: 0;
	box-shadow: none;
}

.wcg-gift-overlay__panel--pattern .wcg-gift-overlay__accept {
	margin-top: 1rem;
}

.wcg-gift-overlay__title {
	margin: 0 0 0.75rem;
	font-size: 1.25rem;
}

.wcg-gift-overlay__text {
	margin: 0 0 1rem;
	line-height: 1.5;
}

.wcg-gift-overlay__accept {
	appearance: none;
	border: 0;
	background: #2271b1;
	color: #fff;
	padding: 0.6rem 1.2rem;
	border-radius: 4px;
	cursor: pointer;
	font-size: 1rem;
}

.wcg-gift-overlay__accept:hover {
	background: #135e96;
}

.wcg-social-sharing--notice {
	border: 1px dashed #dba617;
	background: #fcf9e8;
	padding: 0.5rem 0.75rem;
	margin: 1rem 0;
	font-size: 13px;
}

.wcg-social-sharing__title,
.wcg-social-sharing__preview-title {
	margin: 0 0 0.75rem;
	font-weight: 600;
}

.wcg-social-sharing__description,
.wcg-social-sharing__preview-description {
	margin: 0 0 0.75rem;
	line-height: 1.5;
}

.wcg-social-sharing__description > :first-child,
.wcg-social-sharing__preview-description > :first-child {
	margin-top: 0;
}

.wcg-social-sharing__description > :last-child,
.wcg-social-sharing__preview-description > :last-child {
	margin-bottom: 0;
}

.wcg-social-sharing__notice-title {
	margin: 0 0 0.25rem;
	font-weight: 600;
	font-size: 13px;
}

.wcg-social-sharing__notice-text {
	margin: 0;
	font-size: 13px;
}

.wcg-gift-visibility-frame--notice {
	border: 1px dashed #72aee6;
	background: #f0f6fc;
	padding: 0.5rem 0.75rem;
	margin: 1rem 0;
	font-size: 13px;
}

.wcg-gift-visibility-frame__notice-text {
	margin: 0;
	font-size: 13px;
}

.wcg-gift-visibility-frame--editor-preview {
	border: 1px dashed #c3c4c7;
	padding: 0.75rem 1rem 1rem;
	margin: 0 0 1rem;
	background: #fff;
}

.wcg-gift-visibility-frame__preview-label {
	margin: 0 0 0.75rem;
	font-size: 12px;
	font-weight: 600;
	color: #646970;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.wcg-gift-visibility-frame__inner > *:first-child {
	margin-top: 0;
}

.wcg-gift-visibility-frame__inner > *:last-child {
	margin-bottom: 0;
}

.wcg-gift-link-visibility--notice {
	border: 1px dashed #72aee6;
	background: #f0f6fc;
	padding: 0.5rem 0.75rem;
	margin: 1rem 0;
	font-size: 13px;
}

.wcg-gift-link-visibility__notice-text {
	margin: 0;
	font-size: 13px;
}

.wcg-gift-link-visibility--editor-preview {
	border: 1px dashed #c3c4c7;
	padding: 0.75rem 1rem 1rem;
	margin: 0 0 1rem;
	background: #fff;
}

.wcg-gift-link-visibility__preview-label {
	margin: 0 0 0.75rem;
	font-size: 12px;
	font-weight: 600;
	color: #646970;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.wcg-gift-link-visibility__inner > *:first-child {
	margin-top: 0;
}

.wcg-gift-link-visibility__inner > *:last-child {
	margin-bottom: 0;
}
