.ngifts-eu-guarantee__bar {
	display: flex;
	justify-content: center;
	padding: 7px 15px;
	background: #f5f7fb;
	border-bottom: 1px solid #d8deea;
	position: relative;
	z-index: 20;
}

.ngifts-eu-guarantee__trigger {
	appearance: none;
	padding: 0;
	border: 0;
	background: transparent;
	color: #17365d;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.ngifts-eu-guarantee__trigger:focus-visible,
.ngifts-eu-guarantee__close:focus-visible,
.ngifts-eu-guarantee__destination a:focus-visible {
	outline: 3px solid #1d70b8;
	outline-offset: 3px;
}

.ngifts-eu-guarantee__checkout {
	margin: 0 0 20px;
	padding: 14px 16px;
	background: #f5f7fb;
	border: 1px solid #d8deea;
	text-align: center;
}

.ngifts-eu-guarantee__dialog[hidden] {
	display: none;
}

.ngifts-eu-guarantee__dialog {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: grid;
	place-items: center;
	padding: 12px;
}

.ngifts-eu-guarantee__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .72);
}

.ngifts-eu-guarantee__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(900px, 96vw);
	max-height: 96vh;
	background: #fff;
	box-shadow: 0 20px 70px rgba(0, 0, 0, .35);
}

.ngifts-eu-guarantee__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 16px;
	border-bottom: 1px solid #d8deea;
}

.ngifts-eu-guarantee__toolbar h2 {
	margin: 0;
	font-size: clamp(16px, 2vw, 20px);
	line-height: 1.3;
}

.ngifts-eu-guarantee__close {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #111;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
}

.ngifts-eu-guarantee__content {
	overflow: auto;
	background: #e8ebf0;
}

.ngifts-eu-guarantee__content img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	border: 0;
	filter: none;
	object-fit: contain;
}

.ngifts-eu-guarantee__destination {
	margin: 0;
	padding: 12px 16px;
	text-align: center;
}

.ngifts-eu-guarantee__destination a {
	color: #0645ad;
	font-weight: 600;
	word-break: break-word;
}

body.ngifts-eu-guarantee-is-open {
	overflow: hidden;
}

@media (max-width: 480px) {
	.ngifts-eu-guarantee__dialog {
		padding: 0;
	}

	.ngifts-eu-guarantee__panel {
		width: 100vw;
		max-height: 100dvh;
	}

	.ngifts-eu-guarantee__toolbar {
		padding: 8px 10px;
	}

	.ngifts-eu-guarantee__destination {
		padding: 9px 10px;
		font-size: 13px;
	}
}
