/* ==========================================================================
   Gifting decoration (homepage gifting band + Gifting page).
   Glows and confetti behind the content, floating gift boxes, sparkles and
   makhana pops around it. Decorative only; still under reduced motion.
   ========================================================================== */

.oye-gift-surface {
	background-color: var(--oye-aubergine, #210D35);
	background-image:
		radial-gradient(circle at 8% 18%, rgba(215, 247, 91, 0.22), transparent 30%),
		radial-gradient(circle at 92% 82%, rgba(255, 94, 135, 0.28), transparent 34%),
		radial-gradient(circle at 70% 8%, rgba(230, 214, 243, 0.18), transparent 28%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke-linecap='round' stroke-width='3' opacity='.55'%3E%3Cpath d='M18 30c6-6 12 6 18 0' stroke='%23D7F75B'/%3E%3Cpath d='M120 22l10 6' stroke='%23FF5E87'/%3E%3Cpath d='M70 120c6-6 12 6 18 0' stroke='%23E6D6F3'/%3E%3Cpath d='M150 140l-8 8' stroke='%23D7F75B'/%3E%3Cpath d='M40 160l10-4' stroke='%23FF5E87'/%3E%3C/g%3E%3Cg opacity='.5'%3E%3Ccircle cx='100' cy='70' r='3.5' fill='%23D7F75B'/%3E%3Ccircle cx='160' cy='60' r='3' fill='%23E6D6F3'/%3E%3Ccircle cx='30' cy='95' r='3' fill='%23FF5E87'/%3E%3Ccircle cx='125' cy='170' r='2.5' fill='%23FFF7EA'/%3E%3C/g%3E%3C/svg%3E");
	background-repeat: no-repeat, no-repeat, no-repeat, repeat;
	isolation: isolate;
	overflow: hidden;
	position: relative;
}

.oye-gift-deco {
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.oye-gift-surface > :not(.oye-gift-deco) {
	position: relative;
	z-index: 1;
}

.oye-gift-deco__item {
	display: block;
	height: auto;
	position: absolute;
}

.oye-gift-deco__box--a {
	animation: oye-gift-float 7s ease-in-out infinite alternate;
	bottom: -1.5rem;
	left: -1.25rem;
	transform: rotate(-12deg);
	width: clamp(5.5rem, 4rem + 6vw, 10rem);
}

.oye-gift-deco__box--b {
	animation: oye-gift-float 8s ease-in-out -2s infinite alternate;
	right: 3%;
	top: 1.25rem;
	transform: rotate(10deg);
	width: clamp(3.5rem, 2.5rem + 3.5vw, 6rem);
}

.oye-gift-deco__box--c {
	animation: oye-gift-float 9s ease-in-out -4s infinite alternate;
	bottom: 12%;
	right: -1rem;
	transform: rotate(-8deg);
	width: clamp(3rem, 2rem + 3vw, 5rem);
}

.oye-gift-deco__spark {
	color: var(--oye-lime, #D7F75B);
	animation: oye-gift-twinkle 3.2s ease-in-out infinite;
}

.oye-gift-deco__spark--a { left: 6%; top: 14%; width: 1.5rem; }
.oye-gift-deco__spark--b { color: #FF5E87; left: 46%; top: 6%; width: 1.125rem; animation-delay: -1s; }
.oye-gift-deco__spark--c { color: var(--oye-lilac, #E6D6F3); bottom: 10%; left: 40%; width: 1.375rem; animation-delay: -2s; }

.oye-gift-deco__pop {
	animation: oye-gift-float 6s ease-in-out -1s infinite alternate;
	width: 2.25rem;
}

.oye-gift-deco__pop--a { left: 22%; top: 8%; transform: rotate(20deg); }
.oye-gift-deco__pop--b { bottom: 6%; right: 26%; width: 1.75rem; }
.oye-gift-deco__pop--c { left: 3%; top: 52%; width: 1.5rem; }

@keyframes oye-gift-float {
	from { translate: 0 0; }
	to { translate: 0 -10px; }
}

@keyframes oye-gift-twinkle {
	0%, 100% { opacity: 0.35; scale: 0.8; }
	50% { opacity: 1; scale: 1.1; }
}

@media (max-width: 47.99em) {
	.oye-gift-deco__box--b,
	.oye-gift-deco__pop--b { display: none; }
	.oye-gift-deco__box--a { bottom: -2rem; left: -2rem; opacity: 0.9; }
}

@media (prefers-reduced-motion: reduce) {
	.oye-gift-deco__item { animation: none !important; }
}

/* Lime squiggle under gifting headings. */
.oye-gift-title-mark {
	display: inline;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 8' preserveAspectRatio='none'%3E%3Cpath d='M1 5.5C9 2.5 15 2 22 4s13 3 20 .5S54 1.5 59 3' fill='none' stroke='%23D7F75B' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-size: 100% 0.32em;
	padding-bottom: 0.12em;
}

/* Background photo chosen in the admin (homepage Gifting section, Gifting page). */
.oye-gift-surface.has-bg-image {
	background-color: var(--oye-aubergine, #210D35);
	background-image:
		linear-gradient(rgba(33, 13, 53, var(--oye-gift-ov, 0.55)), rgba(33, 13, 53, var(--oye-gift-ov, 0.55))),
		var(--oye-gift-bg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

@media (max-width: 47.99em) {
	.oye-gift-surface.has-bg-image {
		background-image:
			linear-gradient(rgba(33, 13, 53, var(--oye-gift-ov, 0.55)), rgba(33, 13, 53, var(--oye-gift-ov, 0.55))),
			var(--oye-gift-bg-m, var(--oye-gift-bg));
	}
}

.oye-gift-surface.has-bg-image .oye-hs-gifting__frame {
	background-color: rgba(33, 13, 53, 0.35);
}
