.dvf-dein-geschenk {
	--dvf-gift-green: #39ad32;
	--dvf-gift-green-dark: #278d23;
	--dvf-gift-green-soft: #f2faed;
	--dvf-gift-ink: #20252b;
	--dvf-gift-line: #dfe4df;
	position: relative;
	isolation: isolate;
	width: 100%;
	margin: 22px 0 0;
	padding: 24px 26px 23px;
	overflow: hidden;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #d8ddd8;
	border-radius: 13px;
	box-shadow: 0 10px 30px rgba(26, 45, 31, 0.08);
	color: var(--dvf-gift-ink);
	font-family: inherit;
}

.dvf-dein-geschenk *,
.dvf-dein-geschenk *::before,
.dvf-dein-geschenk *::after {
	box-sizing: border-box;
}

.dvf-gift-content {
	position: relative;
	z-index: 2;
}

.dvf-gift-heading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin: 0;
	color: var(--dvf-gift-ink);
	font-size: 27px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	letter-spacing: -0.025em;
}

.dvf-gift-icon {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	font-size: 28px;
	filter: drop-shadow(0 3px 3px rgba(80, 50, 0, 0.12));
}

.dvf-gift-intro {
	margin: 10px 0 14px;
	padding: 0;
	color: #4f5952;
	font-size: 14px;
	line-height: 1.45;
	text-align: center;
}

.dvf-gift-benefits {
	display: grid;
	gap: 9px;
}

.dvf-gift-benefit {
	display: flex;
	align-items: center;
	gap: 11px;
	width: 100%;
	min-height: 50px;
	padding: 11px 14px;
	background: var(--dvf-gift-green-soft);
	border: 1px solid #c9e9b9;
	border-radius: 8px;
	color: var(--dvf-gift-ink);
	font-size: 14px;
	font-weight: 650;
	line-height: 1.4;
}

.dvf-gift-benefit-check {
	display: inline-grid;
	place-items: center;
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	color: var(--dvf-gift-green);
	font-size: 23px;
	font-weight: 800;
	line-height: 1;
}

.dvf-gift-divider {
	height: 1px;
	margin: 19px 0 18px;
	background: var(--dvf-gift-line);
	border: 0;
}

.dvf-stand-heading {
	margin: 0;
	color: var(--dvf-gift-ink);
	font-size: 24px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	letter-spacing: -0.02em;
}

.dvf-stand-copy {
	max-width: 500px;
	margin: 10px auto 0;
	padding: 0;
	color: #384139;
	font-size: 15px;
	line-height: 1.45;
	text-align: center;
}

.dvf-unlock-prompt {
	margin: 18px 0 10px;
	padding: 0;
	color: #3e4740;
	font-size: 14px;
	line-height: 1.4;
	text-align: center;
}

.dvf-unlock-wrap {
	position: relative;
}

.dvf-gift-choice {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}

.dvf-dein-geschenk .dvf-unlock-button {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 60px;
	overflow: hidden;
	margin: 0;
	padding: 13px 18px;
	appearance: none;
	background: linear-gradient(180deg, #49b940 0%, #35a82f 100%);
	border: 0;
	border-radius: 10px;
	box-shadow: 0 5px 0 rgba(28, 125, 24, 0.16), 0 9px 18px rgba(46, 147, 39, 0.16);
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	letter-spacing: 0.01em;
	transition: transform 160ms ease, box-shadow 160ms ease, background 220ms ease;
}

.dvf-dein-geschenk .dvf-unlock-button:hover {
	background: linear-gradient(180deg, #49b940 0%, #35a82f 100%);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 6px 0 rgba(28, 125, 24, 0.15), 0 12px 22px rgba(46, 147, 39, 0.2);
}

.dvf-dein-geschenk .dvf-unlock-button:active {
	transform: translateY(2px) scale(0.992);
	box-shadow: 0 2px 0 rgba(28, 125, 24, 0.18), 0 5px 11px rgba(46, 147, 39, 0.16);
}

.dvf-dein-geschenk .dvf-unlock-button:focus-within,
.dvf-dein-geschenk .dvf-decline-button:focus-within {
	outline: 3px solid #1f6fca;
	outline-offset: 3px;
}

@supports selector(.dvf-unlock-button:has(.dvf-gift-choice:focus-visible)) {
	.dvf-dein-geschenk .dvf-unlock-button:focus-within,
	.dvf-dein-geschenk .dvf-decline-button:focus-within {
		outline: none;
	}

	.dvf-dein-geschenk .dvf-unlock-button:has(.dvf-gift-choice:focus-visible),
	.dvf-dein-geschenk .dvf-decline-button:has(.dvf-gift-choice:focus-visible) {
		outline: 3px solid #1f6fca;
		outline-offset: 3px;
	}
}

.dvf-dein-geschenk .dvf-unlock-button.is-success,
.dvf-dein-geschenk .dvf-unlock-button.is-success:hover {
	background: linear-gradient(180deg, #319e2c 0%, #237e20 100%);
}

.dvf-button-check {
	display: inline-grid;
	place-items: center;
	width: 0;
	height: 26px;
	overflow: hidden;
	flex: 0 0 auto;
	border: 0 solid rgba(255, 255, 255, 0.72);
	border-radius: 50%;
	opacity: 0;
	font-size: 16px;
	line-height: 1;
	transition: width 220ms ease, opacity 180ms ease, border-width 180ms ease;
}

.dvf-unlock-button.is-success .dvf-button-check {
	width: 26px;
	border-width: 2px;
	opacity: 1;
}

.dvf-selection-mark {
	position: absolute;
	top: -12px;
	right: -4px;
	width: 36px;
	height: 40px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 120ms ease;
}

.dvf-dein-geschenk.is-selected .dvf-selection-mark {
	opacity: 1;
}

.dvf-selection-mark span {
	--dvf-ray-rotation: 0deg;
	position: absolute;
	display: block;
	width: 4px;
	height: 14px;
	background: var(--dvf-gift-green);
	border-radius: 999px;
	transform: rotate(var(--dvf-ray-rotation)) scale(1);
	transform-origin: center;
}

.dvf-selection-mark span:nth-child(1) {
	--dvf-ray-rotation: -6deg;
	left: 5px;
	top: 3px;
}

.dvf-selection-mark span:nth-child(2) {
	--dvf-ray-rotation: 42deg;
	left: 19px;
	top: 7px;
}

.dvf-selection-mark span:nth-child(3) {
	--dvf-ray-rotation: 83deg;
	left: 25px;
	top: 23px;
}

.dvf-dein-geschenk.is-celebrating .dvf-selection-mark span {
	animation: dvf-selection-ray-pop 420ms cubic-bezier(0.2, 0.85, 0.3, 1.35) both;
}

.dvf-dein-geschenk.is-celebrating .dvf-selection-mark span:nth-child(2) {
	animation-delay: 65ms;
}

.dvf-dein-geschenk.is-celebrating .dvf-selection-mark span:nth-child(3) {
	animation-delay: 130ms;
}

.dvf-price-line {
	display: flex;
	align-items: baseline;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 18px 0 0;
	padding: 0;
	color: #444d46;
	font-size: 14px;
	line-height: 1.45;
	text-align: center;
}

.dvf-price-old {
	color: #8b918c;
	text-decoration: line-through;
	text-decoration-thickness: 1.5px;
}

.dvf-price-zero {
	color: var(--dvf-gift-green);
	font-size: 18px;
	font-weight: 800;
}

.dvf-dein-geschenk .dvf-decline-button {
	display: block;
	width: auto;
	margin: 18px auto 0;
	padding: 5px 3px;
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: #747b76;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.35;
	text-align: center;
	text-decoration: underline;
	text-transform: none;
	text-underline-offset: 3px;
	transition: color 150ms ease;
}

.dvf-dein-geschenk .dvf-decline-button:hover {
	background: transparent;
	color: #313a33;
}

.dvf-selection-status {
	min-height: 19px;
	margin: 8px 0 0;
	padding: 0;
	color: var(--dvf-gift-green-dark);
	font-size: 12px;
	font-weight: 650;
	line-height: 1.4;
	text-align: center;
}

.dvf-dein-geschenk.is-declined .dvf-selection-status {
	color: #747b76;
}

.dvf-gift-trust-line {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 7px;
	margin: 15px 8px 16px;
	padding: 0;
	color: #303832;
	font-size: 13px;
	line-height: 1.4;
	text-align: center;
}

.dvf-trust-check,
.dvf-trust-dot {
	color: #39ad32;
	font-weight: 800;
}

.dvf-confetti-canvas {
	position: absolute;
	z-index: 5;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

@keyframes dvf-selection-ray-pop {
	0% {
		opacity: 0;
		transform: rotate(var(--dvf-ray-rotation)) scale(0.25);
	}
	60% {
		opacity: 1;
		transform: rotate(var(--dvf-ray-rotation)) scale(1.22);
	}
	100% {
		opacity: 1;
		transform: rotate(var(--dvf-ray-rotation)) scale(1);
	}
}

/* Silent gift rows stay in the cart for order data, but not in mini-cart UIs. */
.elementor-menu-cart__products .dvf-silent-gift-item,
.widget_shopping_cart .cart_list .dvf-silent-gift-item,
.woocommerce-mini-cart .dvf-silent-gift-item {
	display: none !important;
}

@media (max-width: 640px) {
	.dvf-dein-geschenk {
		margin-top: 16px;
		padding: 19px 14px 18px;
		border-radius: 12px;
	}

	.dvf-gift-heading {
		gap: 7px;
		font-size: 23px;
	}

	.dvf-gift-icon {
		width: 30px;
		height: 30px;
		flex-basis: 30px;
		font-size: 25px;
	}

	.dvf-gift-intro {
		font-size: 13px;
	}

	.dvf-gift-benefit {
		align-items: flex-start;
		min-height: 0;
		padding: 10px;
		font-size: 12.5px;
	}

	.dvf-gift-benefit-check {
		width: 21px;
		height: 21px;
		flex-basis: 21px;
		font-size: 20px;
	}

	.dvf-stand-copy,
	.dvf-unlock-prompt {
		font-size: 13px;
	}

	.dvf-dein-geschenk .dvf-unlock-button {
		min-height: 54px;
		padding: 12px 11px;
		font-size: 16px;
	}

	.dvf-selection-mark {
		right: -5px;
	}

	.dvf-price-line {
		gap: 6px;
		font-size: 13px;
	}

	.dvf-gift-trust-line {
		margin-right: 0;
		margin-left: 0;
		font-size: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dvf-dein-geschenk *,
	.dvf-dein-geschenk *::before,
	.dvf-dein-geschenk *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
