/* Event-based-offer — Black Friday promo popup (theme-aligned) */

.tnf-bf-popup[hidden] {
	display: none !important;
}

.tnf-bf-popup {
	inset: 0;
	position: fixed;
	z-index: 100050;
}

.tnf-bf-popup__overlay {
	background: rgba(20, 18, 16, 0.45) !important;
	border: 0;
	cursor: pointer;
	inset: 0;
	padding: 0;
	pointer-events: auto;
	position: absolute;
	width: 100%;
}

.tnf-bf-popup__overlay:hover,
.tnf-bf-popup__overlay:focus,
.tnf-bf-popup__overlay:active {
	background: rgba(20, 18, 16, 0.45) !important;
	filter: none !important;
	opacity: 1 !important;
}

.tnf-bf-popup__dialog {
	background: var(--tnf-cream, #f4f1ea);
	border: 1px solid var(--tnf-border, #ddd6cb);
	box-sizing: border-box;
	color: var(--tnf-ink, #1c1917);
	left: 50%;
	max-height: min(92vh, 720px);
	max-width: 440px;
	overflow: auto;
	padding: 28px 24px 22px;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: calc(100% - 32px);
	z-index: 1;
	-webkit-overflow-scrolling: touch;
}

.tnf-bf-popup__close {
	align-items: center;
	background: transparent !important;
	border: 0;
	box-shadow: none !important;
	color: var(--tnf-ink, #1c1917);
	cursor: pointer;
	display: inline-flex;
	font-size: 28px;
	height: 36px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	position: absolute;
	right: 10px;
	top: 8px;
	width: 36px;
}

.tnf-bf-popup__close:hover,
.tnf-bf-popup__close:focus,
.tnf-bf-popup__close:focus-visible,
.tnf-bf-popup__close:active {
	background: transparent !important;
	box-shadow: none !important;
	opacity: 0.7;
}

.tnf-bf-popup__eyebrow {
	color: var(--tnf-heading, #1c1917);
	font-family: var(--tnf-font-body, "Hanken Grotesk", sans-serif);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	margin: 0 0 10px;
	text-align: center;
	text-transform: uppercase;
}

.tnf-bf-popup__title {
	color: var(--tnf-heading, #1c1917);
	font-family: var(--tnf-font-heading, Georgia, "Times New Roman", serif);
	font-size: clamp(1.55rem, 4vw, 1.9rem);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin: 0 0 8px;
	text-align: center;
}

.tnf-bf-popup__offer {
	color: var(--tnf-heading, #1c1917);
	font-family: var(--tnf-font-body, "Hanken Grotesk", sans-serif);
	font-size: clamp(1.35rem, 3.5vw, 1.65rem);
	font-weight: 800;
	letter-spacing: 0.04em;
	margin: 0 0 18px;
	text-align: center;
	text-transform: uppercase;
}

.tnf-bf-popup__code-label {
	color: var(--tnf-heading, #1c1917);
	font-family: var(--tnf-font-body, "Hanken Grotesk", sans-serif);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	margin: 0 0 8px;
	text-align: center;
	text-transform: uppercase;
}

.tnf-bf-popup__code {
	align-items: center;
	background: #fff;
	border: 1px dashed var(--tnf-ink, #1c1917);
	box-sizing: border-box;
	color: var(--tnf-heading, #1c1917);
	display: flex;
	gap: 10px;
	justify-content: center;
	margin: 0 auto 20px;
	max-width: 320px;
	padding: 12px 14px;
	width: 100%;
}

.tnf-bf-popup__code-text {
	font-family: var(--tnf-font-body, "Hanken Grotesk", sans-serif);
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
}

.tnf-bf-popup__copy {
	align-items: center;
	background: transparent;
	border: 0;
	color: var(--tnf-ink, #1c1917);
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 auto;
	height: 28px;
	justify-content: center;
	padding: 0;
	position: relative;
	width: 28px;
}

.tnf-bf-popup__copy:hover,
.tnf-bf-popup__copy:focus-visible {
	background: transparent;
	opacity: 0.7;
}

.tnf-bf-popup__copy.is-copied {
	background: transparent;
	opacity: 1;
}

.tnf-bf-popup__copy-icon {
	display: block;
}

.tnf-bf-celebrate[hidden] {
	display: none !important;
}

.tnf-bf-celebrate {
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	position: absolute;
	z-index: 3;
}

.tnf-bf-celebrate__msg {
	background: rgba(244, 241, 234, 0.92);
	border: 0;
	box-shadow: none;
	color: var(--tnf-heading, #1c1917);
	font-family: var(--tnf-font-body, "Hanken Grotesk", sans-serif);
	font-size: 0.78rem;
	font-weight: 700;
	left: 50%;
	letter-spacing: 0.1em;
	line-height: 1.2;
	margin: 0;
	opacity: 0;
	padding: 8px 12px;
	position: absolute;
	text-align: center;
	text-transform: uppercase;
	top: 46%;
	transform: translate(-50%, calc(-50% + 8px));
	white-space: nowrap;
}

.tnf-bf-celebrate.is-active .tnf-bf-celebrate__msg {
	animation: tnf-bf-celebrate-msg 2s ease forwards;
}

.tnf-bf-celebrate__leaf {
	background: var(--tnf-ink, #1c1917);
	border-radius: 2% 80% 20% 80%;
	height: 18px;
	left: 50%;
	opacity: 0;
	position: absolute;
	top: 48%;
	transform: translate(-50%, -50%) rotate(0deg) scale(0.6);
	width: 11px;
}

.tnf-bf-celebrate__leaf::after {
	background: var(--tnf-ink, #1c1917);
	content: "";
	height: 55%;
	left: 48%;
	opacity: 0.35;
	position: absolute;
	top: 18%;
	transform: translateX(-50%);
	width: 1px;
}

.tnf-bf-celebrate.is-active .tnf-bf-celebrate__leaf {
	animation-duration: 1.85s;
	animation-fill-mode: forwards;
	animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
}

.tnf-bf-celebrate.is-active .tnf-bf-celebrate__leaf:nth-child(2) { animation-name: tnf-bf-leaf-1; animation-delay: 0.02s; }
.tnf-bf-celebrate.is-active .tnf-bf-celebrate__leaf:nth-child(3) { animation-name: tnf-bf-leaf-2; animation-delay: 0.05s; }
.tnf-bf-celebrate.is-active .tnf-bf-celebrate__leaf:nth-child(4) { animation-name: tnf-bf-leaf-3; animation-delay: 0.08s; }
.tnf-bf-celebrate.is-active .tnf-bf-celebrate__leaf:nth-child(5) { animation-name: tnf-bf-leaf-4; animation-delay: 0.04s; }
.tnf-bf-celebrate.is-active .tnf-bf-celebrate__leaf:nth-child(6) { animation-name: tnf-bf-leaf-5; animation-delay: 0.1s; }
.tnf-bf-celebrate.is-active .tnf-bf-celebrate__leaf:nth-child(7) { animation-name: tnf-bf-leaf-6; animation-delay: 0.06s; }
.tnf-bf-celebrate.is-active .tnf-bf-celebrate__leaf:nth-child(8) { animation-name: tnf-bf-leaf-7; animation-delay: 0.12s; }
.tnf-bf-celebrate.is-active .tnf-bf-celebrate__leaf:nth-child(9) { animation-name: tnf-bf-leaf-8; animation-delay: 0.03s; }
.tnf-bf-celebrate.is-active .tnf-bf-celebrate__leaf:nth-child(10) { animation-name: tnf-bf-leaf-9; animation-delay: 0.09s; }
.tnf-bf-celebrate.is-active .tnf-bf-celebrate__leaf:nth-child(11) { animation-name: tnf-bf-leaf-10; animation-delay: 0.07s; }
.tnf-bf-celebrate.is-active .tnf-bf-celebrate__leaf:nth-child(12) { animation-name: tnf-bf-leaf-11; animation-delay: 0.11s; }
.tnf-bf-celebrate.is-active .tnf-bf-celebrate__leaf:nth-child(13) { animation-name: tnf-bf-leaf-12; animation-delay: 0.05s; }

@keyframes tnf-bf-celebrate-msg {
	0% {
		opacity: 0;
		transform: translate(-50%, calc(-50% + 10px));
	}
	12%,
	72% {
		opacity: 1;
		transform: translate(-50%, -50%);
	}
	100% {
		opacity: 0;
		transform: translate(-50%, calc(-50% - 6px));
	}
}

@keyframes tnf-bf-leaf-1 {
	0% { opacity: 0; transform: translate(-50%, -50%) rotate(0deg) scale(0.5); }
	12% { opacity: 1; }
	100% { opacity: 0; transform: translate(calc(-50% - 92px), calc(-50% - 118px)) rotate(-48deg) scale(1); }
}

@keyframes tnf-bf-leaf-2 {
	0% { opacity: 0; transform: translate(-50%, -50%) rotate(0deg) scale(0.5); }
	12% { opacity: 1; }
	100% { opacity: 0; transform: translate(calc(-50% + 108px), calc(-50% - 96px)) rotate(56deg) scale(1); }
}

@keyframes tnf-bf-leaf-3 {
	0% { opacity: 0; transform: translate(-50%, -50%) rotate(0deg) scale(0.45); }
	12% { opacity: 1; }
	100% { opacity: 0; transform: translate(calc(-50% - 126px), calc(-50% - 28px)) rotate(-72deg) scale(0.95); }
}

@keyframes tnf-bf-leaf-4 {
	0% { opacity: 0; transform: translate(-50%, -50%) rotate(0deg) scale(0.45); }
	12% { opacity: 1; }
	100% { opacity: 0; transform: translate(calc(-50% + 132px), calc(-50% - 18px)) rotate(64deg) scale(0.95); }
}

@keyframes tnf-bf-leaf-5 {
	0% { opacity: 0; transform: translate(-50%, -50%) rotate(0deg) scale(0.5); }
	12% { opacity: 1; }
	100% { opacity: 0; transform: translate(calc(-50% - 74px), calc(-50% + 104px)) rotate(38deg) scale(1); }
}

@keyframes tnf-bf-leaf-6 {
	0% { opacity: 0; transform: translate(-50%, -50%) rotate(0deg) scale(0.5); }
	12% { opacity: 1; }
	100% { opacity: 0; transform: translate(calc(-50% + 86px), calc(-50% + 112px)) rotate(-44deg) scale(1); }
}

@keyframes tnf-bf-leaf-7 {
	0% { opacity: 0; transform: translate(-50%, -50%) rotate(0deg) scale(0.4); }
	12% { opacity: 1; }
	100% { opacity: 0; transform: translate(calc(-50% - 18px), calc(-50% - 138px)) rotate(22deg) scale(0.9); }
}

@keyframes tnf-bf-leaf-8 {
	0% { opacity: 0; transform: translate(-50%, -50%) rotate(0deg) scale(0.4); }
	12% { opacity: 1; }
	100% { opacity: 0; transform: translate(calc(-50% + 28px), calc(-50% + 132px)) rotate(-28deg) scale(0.9); }
}

@keyframes tnf-bf-leaf-9 {
	0% { opacity: 0; transform: translate(-50%, -50%) rotate(0deg) scale(0.55); }
	12% { opacity: 1; }
	100% { opacity: 0; transform: translate(calc(-50% - 148px), calc(-50% + 48px)) rotate(-86deg) scale(1.05); }
}

@keyframes tnf-bf-leaf-10 {
	0% { opacity: 0; transform: translate(-50%, -50%) rotate(0deg) scale(0.55); }
	12% { opacity: 1; }
	100% { opacity: 0; transform: translate(calc(-50% + 154px), calc(-50% + 42px)) rotate(78deg) scale(1.05); }
}

@keyframes tnf-bf-leaf-11 {
	0% { opacity: 0; transform: translate(-50%, -50%) rotate(0deg) scale(0.48); }
	12% { opacity: 1; }
	100% { opacity: 0; transform: translate(calc(-50% - 54px), calc(-50% - 72px)) rotate(-34deg) scale(0.88); }
}

@keyframes tnf-bf-leaf-12 {
	0% { opacity: 0; transform: translate(-50%, -50%) rotate(0deg) scale(0.48); }
	12% { opacity: 1; }
	100% { opacity: 0; transform: translate(calc(-50% + 62px), calc(-50% - 64px)) rotate(42deg) scale(0.88); }
}

.tnf-bf-popup__cta {
	align-items: center;
	background: var(--tnf-ink, #1c1917);
	border: 1px solid var(--tnf-ink, #1c1917);
	box-sizing: border-box;
	color: #fff !important;
	display: flex;
	font-family: var(--tnf-font-body, "Hanken Grotesk", sans-serif);
	font-size: 0.78rem;
	font-weight: 700;
	justify-content: center;
	letter-spacing: 0.12em;
	margin: 0 auto 14px;
	max-width: 320px;
	padding: 14px 18px;
	text-align: center;
	text-decoration: none !important;
	text-transform: uppercase;
	transition: background 0.2s ease, color 0.2s ease;
	width: 100%;
}

.tnf-bf-popup__cta:hover,
.tnf-bf-popup__cta:focus-visible {
	background: #fff;
	color: var(--tnf-ink, #1c1917) !important;
}

.tnf-bf-popup__fine {
	color: var(--tnf-ink, #1c1917);
	font-family: var(--tnf-font-body, "Hanken Grotesk", sans-serif);
	font-size: 0.72rem;
	line-height: 1.4;
	margin: 0;
	opacity: 0.65;
	text-align: center;
}

html.tnf-bf-popup-open,
html.tnf-bf-popup-open body {
	height: 100%;
	overflow: hidden;
	overscroll-behavior: none;
	touch-action: none;
}

body.tnf-bf-popup-open {
	left: 0;
	position: fixed;
	right: 0;
	width: 100%;
}

@media (max-width: 480px) {
	.tnf-bf-popup__dialog {
		left: 50%;
		max-height: min(88vh, 640px);
		max-width: none;
		padding: 22px 16px 16px;
		top: 50%;
		width: calc(100% - 20px);
	}

	.tnf-bf-popup__title {
		font-size: clamp(1.35rem, 6.5vw, 1.7rem);
		padding-right: 18px;
	}

	.tnf-bf-popup__offer {
		font-size: clamp(1.15rem, 5.5vw, 1.45rem);
		margin-bottom: 14px;
	}

	.tnf-bf-popup__code {
		gap: 8px;
		margin-bottom: 16px;
		padding: 11px 10px;
	}

	.tnf-bf-popup__code-text {
		font-size: 1.1rem;
		letter-spacing: 0.05em;
	}

	.tnf-bf-popup__copy {
		height: 26px;
		width: 26px;
	}

	.tnf-bf-popup__cta {
		font-size: 0.72rem;
		letter-spacing: 0.08em;
		padding: 13px 14px;
	}
}

@media (max-width: 360px) {
	.tnf-bf-popup__code {
		gap: 6px;
	}

	.tnf-bf-popup__code-text {
		font-size: 0.98rem;
	}
}
