/* Floating Sale Promo */

.mt-sale-float {
	position: fixed;
	right: 16px;
	top: 52%;
	transform: translateY(-50%);
	z-index: 1080;
	font-family: 'Rajdhani', sans-serif;
}

.mt-sale-float.is-hidden {
	display: none;
}

.mt-sale-float:not(.has-interacted):not(.is-expanded) {
	animation: mtSaleFloatNudge 5.5s ease-in-out infinite;
}

@keyframes mtSaleFloatNudge {
	0%, 72%, 100% {
		transform: translateY(-50%) translateX(0);
	}

	78% {
		transform: translateY(-50%) translateX(-7px);
	}

	84% {
		transform: translateY(-50%) translateX(0);
	}

	90% {
		transform: translateY(-50%) translateX(-4px);
	}

	96% {
		transform: translateY(-50%) translateX(0);
	}
}

.mt-sale-float__badge {
	position: relative;
	overflow: visible;
	width: 96px;
	height: 96px;
	background: #111;
	border: 2px solid #ffe500;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
	color: #fff;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1;
	padding: 8px;
	text-align: center;
	text-transform: uppercase;
	transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.mt-sale-float__badge::after {
	content: "+";
	position: absolute;
	right: -8px;
	bottom: -8px;
	width: 26px;
	height: 26px;
	background: #ffe500;
	border: 2px solid #111;
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
	color: #111;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: Arial, sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.mt-sale-float__badge:hover,
.mt-sale-float__badge:focus {
	background: #1b1b1b;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
	transform: translateX(-2px);
}

.mt-sale-float__badge:hover::after,
.mt-sale-float__badge:focus::after {
	transform: scale(1.08);
}

.mt-sale-float.is-expanded .mt-sale-float__badge::after {
	content: "–";
}

.mt-sale-float__badge:focus-visible,
.mt-sale-float__close:focus-visible,
.mt-sale-float__later:focus-visible,
.mt-sale-float__cta:focus-visible {
	outline: 2px solid #ffe500;
	outline-offset: 3px;
}

.mt-sale-float__eyebrow {
	color: #ffe500;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin-bottom: 3px;
}

.mt-sale-float__number {
	color: #fff;
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.mt-sale-float__off {
	color: #ffe500;
	font-size: 20px;
	font-weight: 700;
	margin-top: 2px;
}

.mt-sale-float__panel {
	position: absolute;
	right: 112px;
	top: 50%;
	width: min(340px, calc(100vw - 145px));
	background: #111;
	border: 2px solid #ffe500;
	border-radius: 12px;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
	color: #fff;
	padding: 22px;
	transform: translateY(-50%);
}

.mt-sale-float__panel::after {
	content: "";
	position: absolute;
	right: -10px;
	top: 50%;
	width: 18px;
	height: 18px;
	background: #111;
	border-top: 2px solid #ffe500;
	border-right: 2px solid #ffe500;
	transform: translateY(-50%) rotate(45deg);
}

.mt-sale-float__close {
	position: absolute;
	right: 10px;
	top: 10px;
	z-index: 2;
	background: transparent;
	border: 0;
	color: #aaa;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	padding: 4px;
	transition: color 0.2s ease;
}

.mt-sale-float__close:hover {
	color: #ffe500;
}

.mt-sale-float__kicker {
	color: #ffe500;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin: 0 28px 6px 0;
	text-transform: uppercase;
}

.mt-sale-float__panel h2 {
	color: #fff;
	font-size: 30px;
	font-weight: 700;
	line-height: 1;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.mt-sale-float__panel p {
	color: #ddd;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.25;
	margin: 0 0 18px;
}

.mt-sale-float__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	background: #ffe500;
	border: 2px solid #ffe500;
	border-radius: 6px;
	color: #111;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	padding: 13px 16px 11px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.mt-sale-float__cta:hover {
	background: transparent;
	color: #ffe500;
	text-decoration: none;
}

.mt-sale-float__later {
	display: block;
	background: transparent;
	border: 0;
	color: #aaa;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	margin: 12px auto 0;
	padding: 0;
	text-transform: uppercase;
	transition: color 0.2s ease;
}

.mt-sale-float__later:hover {
	color: #ffe500;
}

@media (max-width: 767.98px) {
	.mt-sale-float {
		right: 14px;
		top: auto;
		bottom: calc(92px + env(safe-area-inset-bottom));
		transform: none;
	}

	.mt-sale-float__badge {
		width: 78px;
		height: 78px;
		border-radius: 9px;
	}

	.mt-sale-float__badge::after {
		right: -7px;
		bottom: -7px;
		width: 24px;
		height: 24px;
		font-size: 18px;
	}

	.mt-sale-float__eyebrow {
		font-size: 12px;
	}

	.mt-sale-float__number {
		font-size: 24px;
	}

	.mt-sale-float__off {
		font-size: 17px;
	}

	.mt-sale-float__panel {
		position: fixed;
		left: 14px;
		right: 14px;
		top: auto;
		bottom: calc(184px + env(safe-area-inset-bottom));
		width: auto;
		padding: 20px;
		transform: none;
	}

	.mt-sale-float__panel::after {
		display: none;
	}

	.mt-sale-float__panel h2 {
		font-size: 26px;
	}

	.mt-sale-float__panel p {
		font-size: 16px;
	}

	.mt-sale-float:not(.has-interacted):not(.is-expanded) {
		animation-name: mtSaleFloatNudgeMobile;
	}

	@keyframes mtSaleFloatNudgeMobile {
		0%, 72%, 100% {
			transform: translateX(0);
		}

		78% {
			transform: translateX(-7px);
		}

		84% {
			transform: translateX(0);
		}

		90% {
			transform: translateX(-4px);
		}

		96% {
			transform: translateX(0);
		}
	}

}

@media (prefers-reduced-motion: reduce) {
	.mt-sale-float,
	.mt-sale-float__badge,
	.mt-sale-float__badge::after,
	.mt-sale-float__cta,
	.mt-sale-float__close,
	.mt-sale-float__later {
		animation: none;
		transition: none;
	}
}