.foodord-pro-bogo-bonus {
	position: fixed;
	inset: 0;
	z-index: 10001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(15, 23, 42, 0.45);
	animation: foodord-bogo-fade-in 0.3s ease-out forwards;
	backdrop-filter: blur(4px);
}

@keyframes foodord-bogo-fade-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.foodord-pro-bogo-bonus__confetti {
	position: absolute;
	z-index: -1;
	pointer-events: none;
	will-change: transform, opacity;
	top: -12px;
	width: 8px;
	height: 8px;
	background: #10b981;
	border-radius: 2px;
	animation: foodord-bogo-confetti-fall 2.4s 0.1s ease-in forwards,
		foodord-bogo-confetti-sway 0.9s 0.1s ease-in-out infinite;
}

.foodord-pro-bogo-bonus__confetti--1 {
	left: 8%;
	background: #10b981;
}

.foodord-pro-bogo-bonus__confetti--2 {
	left: 16%;
	width: 10px;
	height: 5px;
	background: #fbbf24;
	animation-delay: 0.18s;
}

.foodord-pro-bogo-bonus__confetti--3 {
	left: 24%;
	background: #ec4899;
	border-radius: 50%;
	animation-delay: 0.26s;
}

.foodord-pro-bogo-bonus__confetti--4 {
	left: 32%;
	width: 6px;
	height: 11px;
	background: #3b82f6;
	animation-delay: 0.34s;
}

.foodord-pro-bogo-bonus__confetti--5 {
	left: 40%;
	background: #f97316;
	animation-delay: 0.42s;
}

.foodord-pro-bogo-bonus__confetti--6 {
	left: 48%;
	width: 11px;
	height: 6px;
	background: #14b8a6;
	border-radius: 50%;
	animation-delay: 0.5s;
}

.foodord-pro-bogo-bonus__confetti--7 {
	left: 56%;
	background: #a855f7;
	animation-delay: 0.58s;
}

.foodord-pro-bogo-bonus__confetti--8 {
	left: 64%;
	width: 6px;
	height: 12px;
	background: #ef4444;
	animation-delay: 0.12s;
}

.foodord-pro-bogo-bonus__confetti--9 {
	left: 72%;
	background: #06b6d4;
	border-radius: 50%;
	animation-delay: 0.22s;
}

.foodord-pro-bogo-bonus__confetti--10 {
	left: 80%;
	width: 12px;
	height: 6px;
	background: #f59e0b;
	animation-delay: 0.32s;
}

.foodord-pro-bogo-bonus__confetti--11 {
	left: 88%;
	background: #059669;
	animation-delay: 0.44s;
}

.foodord-pro-bogo-bonus__confetti--12 {
	left: 94%;
	width: 6px;
	height: 10px;
	background: #8b5cf6;
	border-radius: 50%;
	animation-delay: 0.54s;
}

@keyframes foodord-bogo-confetti-fall {
	0% {
		transform: translateY(0) rotate(0deg) scale(1);
		opacity: 1;
	}

	75% {
		opacity: 1;
	}

	100% {
		transform: translateY(480px) rotate(720deg) scale(0.3);
		opacity: 0;
	}
}

@keyframes foodord-bogo-confetti-sway {
	0%,
	100% {
		translate: 0 0;
	}

	25% {
		translate: 24px 0;
	}

	75% {
		translate: -24px 0;
	}
}

.foodord-pro-bogo-bonus__emoji {
	position: absolute;
	pointer-events: none;
	z-index: 2;
	font-size: 28px;
	line-height: 1;
	will-change: transform, opacity;
	left: 50%;
	top: 50%;
	opacity: 0;
	--bogo-tx: 120px;
	--bogo-ty: -80px;
	--bogo-rot: 20deg;
	animation: foodord-bogo-emoji-burst 1.4s 0.25s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.foodord-pro-bogo-bonus__emoji--1 {
	--bogo-tx: 130px;
	--bogo-ty: -110px;
	--bogo-rot: 24deg;
}

.foodord-pro-bogo-bonus__emoji--2 {
	--bogo-tx: 70px;
	--bogo-ty: -160px;
	--bogo-rot: -18deg;
	animation-delay: 0.3s;
}

.foodord-pro-bogo-bonus__emoji--3 {
	--bogo-tx: -40px;
	--bogo-ty: -150px;
	--bogo-rot: 28deg;
	animation-delay: 0.22s;
}

.foodord-pro-bogo-bonus__emoji--4 {
	--bogo-tx: -130px;
	--bogo-ty: -90px;
	--bogo-rot: -30deg;
	animation-delay: 0.34s;
}

.foodord-pro-bogo-bonus__emoji--5 {
	--bogo-tx: -150px;
	--bogo-ty: 10px;
	--bogo-rot: 14deg;
	animation-delay: 0.26s;
}

.foodord-pro-bogo-bonus__emoji--6 {
	--bogo-tx: -90px;
	--bogo-ty: 90px;
	--bogo-rot: -24deg;
	animation-delay: 0.36s;
}

.foodord-pro-bogo-bonus__emoji--7 {
	--bogo-tx: 20px;
	--bogo-ty: 120px;
	--bogo-rot: 18deg;
	animation-delay: 0.28s;
}

.foodord-pro-bogo-bonus__emoji--8 {
	--bogo-tx: 120px;
	--bogo-ty: 80px;
	--bogo-rot: -14deg;
	animation-delay: 0.32s;
}

.foodord-pro-bogo-bonus__emoji--9 {
	--bogo-tx: 180px;
	--bogo-ty: -15px;
	--bogo-rot: 26deg;
	animation-delay: 0.24s;
}

.foodord-pro-bogo-bonus__emoji--10 {
	--bogo-tx: 160px;
	--bogo-ty: -65px;
	--bogo-rot: -22deg;
	animation-delay: 0.38s;
}

@keyframes foodord-bogo-emoji-burst {
	0% {
		opacity: 1;
		transform: translate(0, 0) scale(0.3) rotate(0deg);
	}

	30% {
		opacity: 1;
		transform: translate(var(--bogo-tx), var(--bogo-ty)) scale(1.1) rotate(var(--bogo-rot));
	}

	100% {
		opacity: 0;
		transform: translate(var(--bogo-tx), calc(var(--bogo-ty) + 60px)) scale(0.6) rotate(var(--bogo-rot));
	}
}

.foodord-pro-bogo-bonus__sparkle {
	position: absolute;
	pointer-events: none;
	z-index: 3;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #fbbf24;
	left: 15%;
	top: 22%;
	animation: foodord-bogo-sparkle 1s ease-in-out forwards;
}

.foodord-pro-bogo-bonus__sparkle--2 {
	left: 28%;
	top: 68%;
	width: 5px;
	height: 5px;
	background: #f59e0b;
	animation-delay: 0.18s;
}

.foodord-pro-bogo-bonus__sparkle--3 {
	left: 42%;
	top: 18%;
	width: 3px;
	height: 3px;
	background: #10b981;
	animation-delay: 0.32s;
}

.foodord-pro-bogo-bonus__sparkle--4 {
	left: 54%;
	top: 76%;
	background: #ec4899;
	animation-delay: 0.48s;
}

.foodord-pro-bogo-bonus__sparkle--5 {
	left: 68%;
	top: 26%;
	width: 6px;
	height: 6px;
	background: #ffffff;
	animation-delay: 0.64s;
}

.foodord-pro-bogo-bonus__sparkle--6 {
	left: 82%;
	top: 58%;
	background: #fbbf24;
	animation-delay: 0.8s;
}

.foodord-pro-bogo-bonus__sparkle--7 {
	left: 10%;
	top: 74%;
	background: #10b981;
	animation-delay: 0.96s;
}

.foodord-pro-bogo-bonus__sparkle--8 {
	left: 22%;
	top: 34%;
	width: 6px;
	height: 6px;
	background: #ec4899;
	animation-delay: 1.12s;
}

.foodord-pro-bogo-bonus__sparkle--9 {
	left: 36%;
	top: 82%;
	background: #ffffff;
	animation-delay: 1.28s;
}

.foodord-pro-bogo-bonus__sparkle--10 {
	left: 50%;
	top: 42%;
	width: 3px;
	height: 3px;
	background: #f59e0b;
	animation-delay: 1.44s;
}

.foodord-pro-bogo-bonus__sparkle--11 {
	left: 62%;
	top: 12%;
	background: #10b981;
	animation-delay: 0.22s;
}

.foodord-pro-bogo-bonus__sparkle--12 {
	left: 76%;
	top: 72%;
	width: 5px;
	height: 5px;
	background: #ffffff;
	animation-delay: 0.56s;
}

.foodord-pro-bogo-bonus__sparkle--13 {
	left: 88%;
	top: 36%;
	background: #ec4899;
	animation-delay: 0.9s;
}

.foodord-pro-bogo-bonus__sparkle--14 {
	left: 46%;
	top: 60%;
	width: 6px;
	height: 6px;
	background: #fbbf24;
	animation-delay: 1.22s;
}

@keyframes foodord-bogo-sparkle {
	0% {
		opacity: 0;
		transform: scale(0);
	}

	25% {
		opacity: 1;
		transform: scale(1);
	}

	50% {
		opacity: 1;
		transform: scale(1.4);
	}

	75% {
		opacity: 0.6;
		transform: scale(0.8);
	}

	100% {
		opacity: 0;
		transform: scale(0);
	}
}

.foodord-pro-bogo-bonus__starburst {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 600px;
	height: 600px;
	margin-left: -300px;
	margin-top: -300px;
	pointer-events: none;
	z-index: 0;
	animation: foodord-bogo-starburst-in 0.6s 0.15s ease-out both;
}

.foodord-pro-bogo-bonus__starburst-svg {
	animation: foodord-bogo-starburst-rotate 30s linear infinite;
}

@keyframes foodord-bogo-starburst-in {
	from {
		opacity: 0;
		transform: scale(0.3) rotate(-15deg);
	}

	to {
		opacity: 1;
		transform: scale(1) rotate(0deg);
	}
}

@keyframes foodord-bogo-starburst-rotate {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

body.foodord-pro-bogo-bonus-open {
	overflow: hidden;
	touch-action: none;
}

.foodord-pro-bogo-bonus__dialog {
	width: 100%;
	max-width: 520px;
	background: #ffffff;
	border-radius: 6px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	max-height: min(80vh, 640px);
	animation: foodord-bogo-scale-up 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
	transform-origin: center;
	position: relative;
	z-index: 1;
}

.foodord-pro-bogo-bonus__dialog::before {
	content: '';
	position: absolute;
	inset: -2px;
	border-radius: 8px;
	background: conic-gradient(
		from 0deg,
		#10b981,
		#fbbf24,
		#ec4899,
		#8b5cf6,
		#3b82f6,
		#10b981
	);
	z-index: -1;
	opacity: 0;
	animation: foodord-bogo-ring-glow 0.6s 0.3s ease-out forwards;
	filter: blur(6px);
}

.foodord-pro-bogo-bonus__dialog::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.55) 43%, rgba(255, 255, 255, 0.8) 48%, rgba(255, 255, 255, 0.55) 53%, transparent 58%);
	animation: foodord-bogo-shine 0.9s 0.5s ease-out forwards;
	opacity: 0;
	pointer-events: none;
	z-index: 10;
	border-radius: inherit;
}

@keyframes foodord-bogo-scale-up {
	0% {
		opacity: 0;
		transform: scale(0.4) translateY(40px);
	}

	50% {
		opacity: 1;
		transform: scale(1.06) translateY(-6px);
	}

	70% {
		transform: scale(0.97) translateY(2px);
	}

	85% {
		transform: scale(1.02) translateY(-1px);
	}

	100% {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

@keyframes foodord-bogo-ring-glow {
	0% {
		opacity: 0;
		filter: blur(12px);
	}

	60% {
		opacity: 0.7;
		filter: blur(4px);
	}

	100% {
		opacity: 0;
		filter: blur(8px);
	}
}

@keyframes foodord-bogo-shine {
	0% {
		opacity: 1;
		transform: translateX(-120%);
	}

	100% {
		opacity: 0;
		transform: translateX(120%);
	}
}

.foodord-pro-bogo-bonus__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 16px 14px;
	border-bottom: 1px solid rgba(226, 232, 240, 0.9);
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(251, 191, 36, 0.06) 50%, rgba(236, 72, 153, 0.04) 100%);
	position: relative;
	overflow: hidden;
}

.foodord-pro-bogo-bonus__header::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 15% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 45%),
		radial-gradient(circle at 50% 20%, rgba(251, 191, 36, 0.1) 0%, transparent 40%),
		radial-gradient(circle at 85% 50%, rgba(236, 72, 153, 0.08) 0%, transparent 45%);
	pointer-events: none;
	animation: foodord-bogo-header-shimmer 3s ease-in-out infinite;
}

@keyframes foodord-bogo-header-shimmer {
	0%,
	100% {
		opacity: 1;
	}

	50% {
		opacity: 0.6;
	}
}

.foodord-pro-bogo-bonus__title {
	margin: 0;
	font-size: 18px;
	font-weight: 800;
	color: #059669;
	display: flex;
	align-items: center;
	gap: 8px;
	animation: foodord-bogo-title-in 0.5s 0.35s ease-out both;
}

@keyframes foodord-bogo-title-in {
	from {
		opacity: 0;
		transform: translateX(-12px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.foodord-pro-bogo-bonus__title::before {
	content: '\1F381';
	font-size: 24px;
	animation: foodord-bogo-gift-bounce 0.8s 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both,
		foodord-bogo-float 2.5s 1.3s ease-in-out infinite;
	display: inline-block;
}

@keyframes foodord-bogo-gift-bounce {
	0% {
		opacity: 0;
		transform: scale(0) rotate(-30deg);
	}

	50% {
		transform: scale(1.3) rotate(10deg);
	}

	70% {
		transform: scale(0.9) rotate(-5deg);
	}

	100% {
		opacity: 1;
		transform: scale(1) rotate(0);
	}
}

@keyframes foodord-bogo-float {
	0%,
	100% {
		transform: translateY(0) rotate(0);
	}

	50% {
		transform: translateY(-4px) rotate(5deg);
	}
}

.foodord-pro-bogo-bonus__close {
	border: none;
	background: transparent;
	color: #0f172a;
	width: 36px;
	height: 36px;
	border-radius: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	position: relative;
}

.foodord-pro-bogo-bonus__close::before,
.foodord-pro-bogo-bonus__close::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	width: 14px;
	height: 2px;
	background: currentColor;
	border-radius: 1px;
}

.foodord-pro-bogo-bonus__close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.foodord-pro-bogo-bonus__close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.foodord-pro-bogo-bonus__close:focus-visible {
	outline: 2px solid rgba(15, 23, 42, 0.35);
	outline-offset: 2px;
}

.foodord-pro-bogo-bonus__body {
	padding: 14px 16px 16px;
	overflow: auto;
	animation: foodord-bogo-body-in 0.5s 0.4s ease-out both;
}

@keyframes foodord-bogo-body-in {
	from {
		opacity: 0;
		transform: translateY(16px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.foodord-pro-bogo-bonus__message {
	margin: 0 0 14px;
	color: rgba(15, 23, 42, 0.72);
	font-size: 14px;
	line-height: 1.5;
}

.foodord-pro-bogo-bonus__error {
	margin: 0 0 14px;
	color: #b91c1c;
	font-size: 13px;
	line-height: 1.45;
}

.foodord-pro-bogo-bonus__options {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	border: 0;
}

.foodord-pro-bogo-bonus__option {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 12px;
	border: 1px solid rgba(226, 232, 240, 0.9);
	border-radius: 6px;
	background: #ffffff;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
	animation: foodord-bogo-option-in 0.4s ease-out both;
}

.foodord-pro-bogo-bonus__option--delay-1 {
	animation-delay: 0.5s;
}

.foodord-pro-bogo-bonus__option--delay-2 {
	animation-delay: 0.58s;
}

.foodord-pro-bogo-bonus__option--delay-3 {
	animation-delay: 0.66s;
}

.foodord-pro-bogo-bonus__option--delay-4 {
	animation-delay: 0.74s;
}

.foodord-pro-bogo-bonus__option--delay-5 {
	animation-delay: 0.82s;
}

.foodord-pro-bogo-bonus__option--delay-6 {
	animation-delay: 0.9s;
}

.foodord-pro-bogo-bonus__option--delay-7 {
	animation-delay: 0.98s;
}

.foodord-pro-bogo-bonus__option--delay-8 {
	animation-delay: 1.06s;
}

@keyframes foodord-bogo-option-in {
	from {
		opacity: 0;
		transform: translateY(10px) scale(0.97);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.foodord-pro-bogo-bonus__option.is-selected {
	border-color: rgba(16, 185, 129, 0.6);
}

.foodord-pro-bogo-bonus__radio {
	margin: 0;
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
}

.foodord-pro-bogo-bonus__thumb {
	width: 44px;
	height: 44px;
	border-radius: 4px;
	background: rgba(15, 23, 42, 0.06);
	object-fit: cover;
	flex: 0 0 auto;
}

.foodord-pro-bogo-bonus__name {
	font-weight: 600;
	color: #0f172a;
	font-size: 14px;
	line-height: 1.35;
}

.foodord-pro-bogo-bonus__actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	margin-top: 16px;
}

.foodord-pro-bogo-bonus__btn {
	border: 1px solid rgba(15, 23, 42, 0.14);
	background: #ffffff;
	color: #0f172a;
	border-radius: 6px;
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.foodord-pro-bogo-bonus__btn:focus-visible {
	outline: 2px solid rgba(15, 23, 42, 0.35);
	outline-offset: 2px;
}


.foodord-pro-bogo-bonus__btn--primary {
	border-color: rgba(16, 185, 129, 0.35);
	background: linear-gradient(120deg, #059669, #10b981);
	color: #ffffff;
	animation: foodord-bogo-pulse 2s infinite;
	position: relative;
	min-width: 118px;
}

@keyframes foodord-bogo-pulse {
	0% {
		box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
	}

	50% {
		box-shadow: 0 4px 20px rgba(16, 185, 129, 0.45);
	}

	100% {
		box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
	}
}

.foodord-pro-bogo-bonus__btn[disabled] {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.foodord-pro-bogo-bonus__btn--primary.is-loading {
	color: transparent;
	opacity: 1;
	pointer-events: none;
}

.foodord-pro-bogo-bonus__btn--primary.is-loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	margin-left: -9px;
	border: 2px solid rgba(255, 255, 255, 0.45);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: foodord-bogo-button-spin 0.75s linear infinite;
}

@keyframes foodord-bogo-button-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 480px) {
	.foodord-pro-bogo-bonus {
		padding: 12px;
	}

	.foodord-pro-bogo-bonus__dialog {
		max-height: min(85vh, 720px);
	}

	.foodord-pro-bogo-bonus__starburst {
		width: 400px;
		height: 400px;
		margin-left: -200px;
		margin-top: -200px;
	}
}
