/**
 * TNF Offers archive + single (CPT tnf_offer).
 * Scoped styles; shared tokens/buttons/product-cards come from design-system + main-home.
 */

/* Woodmart archives use a 12-col content grid — force full-bleed like native home. */
body.tnf-offers-page .wd-content-layout.content-layout-wrapper,
body.tnf-offers-page .wd-content-layout {
	display: block !important;
	max-width: none !important;
	padding-block: 0 !important;
	padding-inline: 0 !important;
	width: 100% !important;
}

/* Offer detail product grid — homepage / shop native card parity */
body.tnf-offers-page .tnf-home-bestsellers .tnf-native-products-grid,
body.tnf-offers-page .tnf-home-bestsellers .tnf-home-bestsellers__grid {
	width: 100%;
}

body.tnf-offers-page .tnf-home-bestsellers__grid {
	column-gap: 1rem;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr);
	margin: 0;
	row-gap: 3rem;
}

body.tnf-offers-page .tnf-home-bestsellers__grid > .tnf-product-card {
	height: 100%;
	margin: 0;
	max-width: none;
	min-width: 0;
	width: 100%;
}

@media (min-width: 640px) {
	body.tnf-offers-page .tnf-home-bestsellers__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	body.tnf-offers-page .tnf-home-bestsellers__grid {
		column-gap: 1.5rem;
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

body.tnf-offers-page main#primary.tnf-home,
body.tnf-offers-page main.tnf-offers-archive,
body.tnf-offers-page main.tnf-offers-single {
	grid-column: 1 / -1;
	max-width: none;
	width: 100%;
}

body.tnf-offers-page .sidebar-container,
body.tnf-offers-page .wd-sidebar,
body.tnf-offers-page aside.sidebar-container {
	display: none !important;
}

/* Offers archive hero — beat homepage .tnf-home-hero rules (92vh / bottom-aligned). */
body.tnf-offers-page .tnf-offers-hero.tnf-home-hero,
body.tnf-offers-page .tnf-home .tnf-offers-hero.tnf-home-hero {
	--tnf-offers-hero-h: min(64.4vh, 630px);
	--tnf-offers-hero-ink: #111111;
	background: var(--tnf-offers-hero-ink) !important;
	background-color: var(--tnf-offers-hero-ink) !important;
	display: block;
	isolation: isolate;
	margin-top: 0 !important;
	min-height: var(--tnf-offers-hero-h) !important;
	overflow: hidden;
	padding: 0 !important;
	padding-block: 0 !important;
	position: relative;
}

body.tnf-offers-page .tnf-offers-hero .tnf-home-hero__media {
	display: grid !important;
	gap: 0;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	inset: 0;
	margin: 0;
	overflow: hidden;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

body.tnf-offers-page .tnf-offers-hero .tnf-home-hero__media--double {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Single banner image — full-bleed cover across the whole hero */
body.tnf-offers-page .tnf-offers-hero .tnf-home-hero__media--single,
body.tnf-offers-page .tnf-offers-hero--single .tnf-home-hero__media {
	display: block !important;
	grid-template-columns: none;
}

body.tnf-offers-page .tnf-offers-hero .tnf-home-hero__media img {
	display: block;
	height: 100%;
	min-height: 100%;
	object-fit: cover;
	object-position: center center;
	width: 100%;
}

body.tnf-offers-page .tnf-offers-hero .tnf-home-hero__media--single img {
	inset: 0;
	min-height: 100%;
	object-fit: cover;
	object-position: center center;
	position: absolute;
	width: 100%;
}

body.tnf-offers-page .tnf-offers-hero .tnf-home-hero__overlay {
	background: linear-gradient(90deg, rgb(17 17 17 / 0.88) 0%, rgb(17 17 17 / 0.72) 38%, rgb(17 17 17 / 0.45) 68%, rgb(17 17 17 / 0.28) 100%) !important;
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

body.tnf-offers-page .tnf-offers-hero .tnf-home-hero__content {
	align-items: center !important;
	box-sizing: border-box;
	display: flex !important;
	flex-direction: row !important;
	inset: auto !important;
	justify-content: flex-start !important;
	/* Match homepage shell: same max-width + left gutter as header logo */
	margin-inline: auto !important;
	max-width: var(--tnf-shell, 1480px) !important;
	min-height: var(--tnf-offers-hero-h) !important;
	padding-block: clamp(40px, 6vw, 72px) !important;
	padding-inline: var(--tnf-gutter, 32px) !important;
	position: relative !important;
	text-align: left;
	width: 100% !important;
	z-index: 2;
}

body.tnf-offers-page .tnf-offers-hero .tnf-home-hero__copy {
	animation: offers-rise 0.8s var(--tnf-ease, ease) 0.1s forwards;
	color: #fff;
	margin-inline: 0;
	max-width: min(640px, 52%) !important;
	opacity: 0;
	transform: translateY(18px);
	width: 100%;
}

body.tnf-offers-page .tnf-offers-hero .tnf-home-hero__kicker,
body.tnf-offers-page .tnf-home .tnf-offers-hero .tnf-home-hero__kicker {
	color: rgb(255 255 255 / 0.82) !important;
	font-family: var(--tnf-font-body) !important;
	font-size: 0.72rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.16em !important;
	line-height: 1.35;
	margin: 0 0 16px !important;
	opacity: 1 !important;
	text-transform: uppercase;
}

body.tnf-offers-page .tnf-offers-hero .tnf-home-hero__title,
body.tnf-offers-page .tnf-offers-hero #tnf-offers-hero-title {
	color: #ffffff !important;
	font-family: var(--tnf-font-heading) !important;
	font-size: clamp(2.1rem, 5vw, 4.2rem) !important;
	font-weight: 500 !important;
	letter-spacing: var(--tnf-tracking-display, -0.02em);
	line-height: 1.05 !important;
	margin: 0 0 18px !important;
	max-width: none !important;
	white-space: nowrap;
}

body.tnf-offers-page .tnf-offers-hero .tnf-home-hero__description {
	color: rgb(255 255 255 / 0.86) !important;
	font-size: clamp(0.98rem, 1.35vw, 1.08rem) !important;
	line-height: 1.65 !important;
	margin: 0 !important;
	max-width: 46ch !important;
}

@media (max-width: 900px) {
	body.tnf-offers-page .tnf-offers-hero .tnf-home-hero__overlay {
		background: linear-gradient(180deg, rgb(17 17 17 / 0.88) 0%, rgb(17 17 17 / 0.78) 45%, rgb(17 17 17 / 0.7) 100%) !important;
	}

	body.tnf-offers-page .tnf-offers-hero .tnf-home-hero__content {
		align-items: center !important;
		width: 100% !important;
	}

	body.tnf-offers-page .tnf-offers-hero .tnf-home-hero__copy {
		max-width: 36rem !important;
		min-width: 0 !important;
		width: 100% !important;
	}

	body.tnf-offers-page .tnf-offers-hero .tnf-home-hero__title,
	body.tnf-offers-page .tnf-offers-hero #tnf-offers-hero-title {
		overflow-wrap: anywhere;
		white-space: normal;
	}
}

@keyframes offers-rise {
	to {
		opacity: 1;
		transform: none;
	}
}

.tnf-offers__header {
			align-items: flex-end;
			display: flex;
			flex-wrap: wrap;
			gap: 12px 32px;
			justify-content: space-between;
			margin-bottom: clamp(28px, 4vw, 40px);
		}

.tnf-offers__heading {
			display: flex;
			flex-direction: column;
			gap: 0;
			min-width: 0;
		}

.tnf-offers__eyebrow {
			color: var(--tnf-muted);
			font-size: 0.72rem;
			font-weight: 600;
			letter-spacing: 0.16em;
			margin: 0 0 12px;
			text-transform: uppercase;
		}

.tnf-offers__title {
			color: var(--tnf-heading);
			font-family: var(--tnf-font-heading);
			font-size: clamp(2.2rem, 4.5vw, 3.4rem);
			font-weight: 500;
			letter-spacing: var(--tnf-tracking-display);
			line-height: 1.05;
			margin: 0;
		}

.tnf-offers__intro {
			align-items: center;
			color: var(--tnf-muted);
			display: flex;
			font-size: 0.95rem;
			font-weight: 400;
			gap: 14px;
			letter-spacing: 0.01em;
			line-height: 1.5;
			margin: 0 0 0.45em;
			max-width: 54ch;
		}

.tnf-offers__intro-icon {
			align-items: center;
			border: 1.5px solid var(--tnf-ink);
			border-radius: 50%;
			color: var(--tnf-ink);
			display: inline-flex;
			flex: 0 0 auto;
			height: 22px;
			justify-content: center;
			width: 22px;
		}

.tnf-offers__intro-icon svg {
			display: block;
			fill: none;
			height: 12px;
			stroke: currentColor;
			stroke-linecap: round;
			stroke-linejoin: round;
			stroke-width: 2.2;
			width: 12px;
		}

.tnf-offers__intro-divider {
			align-self: stretch;
			background: var(--tnf-border);
			flex: 0 0 1px;
			min-height: 1.5em;
			width: 1px;
		}

.tnf-offers__intro-text {
			flex: 1 1 auto;
			min-width: 0;
		}

.tnf-offers__grid {
			--tnf-offer-card-h: clamp(380px, 42vw, 520px);
			display: grid;
			gap: clamp(14px, 1.6vw, 22px);
			grid-template-columns: repeat(3, minmax(0, 1fr));
		}

.tnf-offers__grid:has(> .tnf-offer-card:nth-child(2):last-child) {
			grid-template-columns: repeat(2, minmax(0, 1fr));
		}

.tnf-offers__grid:has(> .tnf-offer-card:nth-child(2):last-child) .tnf-offer-card {
			aspect-ratio: 4 / 3;
			height: auto;
			max-height: none;
		}

.tnf-offers__grid:has(> .tnf-offer-card:nth-child(2):last-child) .tnf-offer-card__media img {
			object-position: center 40%;
		}

.tnf-offers__grid:has(> .tnf-offer-card:only-child) {
			grid-template-columns: minmax(0, 1fr);
		}

.tnf-offers__grid:has(> .tnf-offer-card:only-child) .tnf-offer-card {
			aspect-ratio: 21 / 9;
			height: auto;
			max-height: min(520px, 56vw);
		}

.tnf-offers__grid:has(> .tnf-offer-card:only-child) .tnf-offer-card__media img {
			object-fit: cover;
			object-position: center 32%;
			transform: none;
		}

.tnf-offer-card {
			border-radius: 28px;
			color: #fff;
			display: block;
			height: var(--tnf-offer-card-h);
			isolation: isolate;
			min-height: 0;
			overflow: hidden;
			position: relative;
			text-decoration: none;
			transition: transform var(--tnf-dur) var(--tnf-ease);
			width: 100%;
		}

.tnf-offer-card:hover { transform: translateY(-3px); }

.tnf-offer-card__media {
			inset: 0;
			position: absolute;
			z-index: 0;
		}

.tnf-offer-card__media img {
			height: 100%;
			object-fit: cover;
			object-position: center center;
			transition: transform 0.7s var(--tnf-ease);
			width: 100%;
		}

.tnf-offer-card:hover .tnf-offer-card__media img {
			transform: scale(1.04);
		}

.tnf-offer-card__shade {
			background: linear-gradient(180deg, rgb(0 0 0 / 0.08) 35%, rgb(0 0 0 / 0.55) 100%);
			inset: 0;
			pointer-events: none;
			position: absolute;
			z-index: 1;
		}

.tnf-offer-card__arrow {
			align-items: center;
			background: #fff;
			border-radius: 999px;
			box-shadow: 0 6px 18px rgb(0 0 0 / 0.12);
			color: var(--tnf-ink);
			display: inline-flex;
			height: 42px;
			justify-content: center;
			position: absolute;
			right: 18px;
			top: 18px;
			transition: transform var(--tnf-dur) var(--tnf-ease);
			width: 42px;
			z-index: 2;
		}

.tnf-offer-card:hover .tnf-offer-card__arrow {
			transform: translateX(2px);
		}

.tnf-offer-card__arrow svg {
			fill: none;
			height: 18px;
			stroke: currentColor;
			stroke-linecap: round;
			stroke-linejoin: round;
			stroke-width: 1.8;
			width: 18px;
		}

.tnf-offer-card__body {
			bottom: 0;
			display: flex;
			flex-direction: column;
			align-items: flex-start;
			left: 0;
			padding: 28px 24px;
			position: absolute;
			right: 0;
			z-index: 2;
		}

.tnf-offer-card__badge {
			background: #fff;
			border-radius: var(--tnf-radius-sm);
			color: #000;
			display: inline-flex;
			align-items: center;
			font-family: var(--tnf-font-body);
			font-size: 0.625rem;
			font-weight: 600;
			gap: 0.35rem;
			letter-spacing: 0.12em;
			line-height: 1.2;
			margin: 0 0 12px;
			max-width: 100%;
			padding: 0.3rem 0.65rem;
			text-transform: uppercase;
		}

.tnf-offer-card__badge-label {
			opacity: 0.55;
			font-weight: 500;
		}

.tnf-offer-card__badge-code {
			font-weight: 700;
		}

body.tnf-offers-page .tnf-offer-card__title,
body.tnf-offers-page a.tnf-offer-card .tnf-offer-card__title {
			color: #fff !important;
			display: block;
			font-family: var(--tnf-font-heading);
			font-size: clamp(1.65rem, 2.4vw, 2.05rem);
			font-weight: 500;
			letter-spacing: var(--tnf-tracking-display);
			line-height: 1.1;
			margin: 0;
			width: 100%;
		}

body.tnf-offers-page .tnf-offer-card__subtitle,
body.tnf-offers-page a.tnf-offer-card .tnf-offer-card__subtitle {
			color: rgb(255 255 255 / 0.88) !important;
			display: block;
			font-size: 0.92rem;
			font-weight: 400;
			letter-spacing: 0.01em;
			margin: 6px 0 0;
			width: 100%;
		}

@media (max-width: 900px) {
			.tnf-offers__grid {
				--tnf-offer-card-h: clamp(360px, 56vw, 460px);
				grid-template-columns: repeat(2, minmax(0, 1fr));
			}
			.tnf-offers__grid:has(> .tnf-offer-card:only-child) {
				grid-template-columns: minmax(0, 1fr);
			}
			.tnf-offers__grid:has(> .tnf-offer-card:only-child) .tnf-offer-card {
				aspect-ratio: 16 / 9;
				max-height: 420px;
			}
		}

@media (max-width: 640px) {
			.tnf-offers__grid,
			.tnf-offers__grid:has(> .tnf-offer-card:nth-child(2):last-child),
			.tnf-offers__grid:has(> .tnf-offer-card:only-child) {
				grid-template-columns: minmax(0, 1fr);
			}
			.tnf-offers__grid {
				--tnf-offer-card-h: 360px;
			}
			.tnf-offers__grid:has(> .tnf-offer-card:nth-child(2):last-child) .tnf-offer-card,
			.tnf-offers__grid:has(> .tnf-offer-card:only-child) .tnf-offer-card {
				aspect-ratio: 4 / 3;
				height: auto;
				max-height: 420px;
			}
		}

.tnf-offer-guide {
			background: var(--tnf-surface-soft);
			padding-block: clamp(56px, 7vw, 96px);
		}

.tnf-offer-guide .tnf-offers__header {
			margin-bottom: clamp(28px, 4vw, 40px);
		}

.tnf-offer-guide__grid {
			display: grid;
			gap: clamp(14px, 1.6vw, 22px);
			grid-template-columns: repeat(3, minmax(0, 1fr));
		}

.tnf-offer-steps {
			background: var(--tnf-surface);
			border: 1px solid var(--tnf-border);
			border-radius: 28px;
			color: var(--tnf-ink);
			display: flex;
			flex-direction: column;
			gap: 16px;
			min-height: 0;
			padding: 24px;
			position: relative;
			transition: transform var(--tnf-dur) var(--tnf-ease), border-color var(--tnf-dur) var(--tnf-ease);
		}

.tnf-offer-steps:hover {
			border-color: var(--tnf-border-strong);
			transform: translateY(-3px);
		}

.tnf-offer-steps__top {
			align-items: flex-start;
			display: flex;
		}

.tnf-offer-steps__icon {
			align-items: center;
			background: var(--tnf-surface-soft);
			border: 1px solid var(--tnf-border);
			border-radius: 999px;
			color: var(--tnf-ink);
			display: inline-flex;
			flex: 0 0 auto;
			height: 52px;
			justify-content: center;
			width: 52px;
		}

.tnf-offer-steps__icon svg {
			display: block;
			fill: none;
			height: 22px;
			stroke: currentColor;
			stroke-linecap: round;
			stroke-linejoin: round;
			stroke-width: 1.6;
			width: 22px;
		}

.tnf-offer-steps__body {
			display: flex;
			flex-direction: column;
			align-items: flex-start;
			gap: 0;
		}

.tnf-offer-steps__title {
			color: var(--tnf-heading);
			display: block;
			font-family: var(--tnf-font-heading);
			font-size: clamp(1.25rem, 1.8vw, 1.5rem);
			font-weight: 500;
			letter-spacing: var(--tnf-tracking-display);
			line-height: 1.1;
			margin: 0;
			width: 100%;
		}

.tnf-offer-steps__subtitle {
			color: var(--tnf-muted);
			display: block;
			font-size: 0.95rem;
			font-weight: 400;
			letter-spacing: 0.01em;
			line-height: 1.55;
			margin: 8px 0 0;
			width: 100%;
		}

@media (max-width: 900px) {
			.tnf-offer-guide__grid {
				grid-template-columns: repeat(2, minmax(0, 1fr));
			}
		}

@media (max-width: 640px) {
			.tnf-offer-guide__grid {
				grid-template-columns: 1fr;
			}
		}


.tnf-offers {
	background: var(--tnf-surface);
	padding-block: clamp(56px, 7vw, 96px);
}

/* Offers FAQ — match Offers-landing-page.html (scoped above theme button styles). */
body.tnf-offers-page .tnf-offers-faq {
	background: var(--tnf-surface);
	padding-block: clamp(56px, 7vw, 96px);
}

body.tnf-offers-page .tnf-offers-faq__layout {
	align-items: start;
	display: grid;
	gap: clamp(28px, 4vw, 56px);
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
}

/* Desktop: keep FAQ intro sticky while accordion scrolls */
@media (min-width: 901px) {
	body.tnf-offers-page .tnf-offers-faq__layout > .tnf-offers__heading {
		align-self: start;
		position: sticky;
		top: calc(var(--tnf-announce-height, 42px) + var(--tnf-header-height, 78px) + 24px);
		z-index: 2;
	}

	body.admin-bar.tnf-offers-page .tnf-offers-faq__layout > .tnf-offers__heading {
		top: calc(32px + var(--tnf-announce-height, 42px) + var(--tnf-header-height, 78px) + 24px);
	}
}

body.tnf-offers-page .tnf-offers-faq__intro {
	color: var(--tnf-muted);
	display: block;
	font-size: 0.95rem;
	font-weight: 400;
	letter-spacing: 0.01em;
	line-height: 1.55;
	margin: 18px 0 0;
	max-width: 42ch;
}

body.tnf-offers-page .tnf-offers-faq__support {
	border-top: 1px solid var(--tnf-border);
	margin-top: 28px;
	max-width: 42ch;
	padding-top: 22px;
}

body.tnf-offers-page .tnf-offers-faq__support-label {
	color: var(--tnf-heading);
	display: block;
	font-family: var(--tnf-font-body);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	margin: 0 0 10px;
	text-transform: uppercase;
}

body.tnf-offers-page .tnf-offers-faq__support-text {
	color: var(--tnf-muted);
	font-size: 0.92rem;
	line-height: 1.55;
	margin: 0 0 16px;
}

body.tnf-offers-page .tnf-offers-faq__support-cta {
	align-items: center;
	background: transparent;
	border: 1px solid var(--tnf-ink);
	border-radius: var(--tnf-radius-sm, 0);
	box-shadow: none;
	color: var(--tnf-ink);
	display: inline-flex;
	font-family: var(--tnf-font-body);
	font-size: 0.88rem;
	font-weight: 500;
	gap: 10px;
	letter-spacing: 0.02em;
	line-height: 1;
	min-height: 46px;
	padding: 0 18px;
	text-decoration: none;
	transition: background var(--tnf-dur, 0.2s) var(--tnf-ease, ease), color var(--tnf-dur, 0.2s) var(--tnf-ease, ease);
}

body.tnf-offers-page .tnf-offers-faq__support-cta:hover,
body.tnf-offers-page .tnf-offers-faq__support-cta:focus-visible {
	background: var(--tnf-ink);
	color: #fff;
	text-decoration: none;
}

body.tnf-offers-page .tnf-offers-faq__support-cta svg {
	display: block;
	fill: none;
	flex: 0 0 auto;
	height: 16px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.6;
	width: 16px;
}

body.tnf-offers-page .tnf-offers-faq__list {
	border-top: 1px solid var(--tnf-border);
	margin: 0;
	padding: 0;
}

body.tnf-offers-page .tnf-offers-faq__item {
	border-bottom: 1px solid var(--tnf-border);
	margin: 0;
}

body.tnf-offers-page .tnf-offers-faq__question {
	-webkit-appearance: none;
	appearance: none;
	align-items: center;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: var(--tnf-heading) !important;
	cursor: pointer;
	display: flex;
	font-family: var(--tnf-font-heading) !important;
	font-size: clamp(1.15rem, 1.8vw, 1.4rem) !important;
	font-weight: 500 !important;
	gap: 16px;
	justify-content: space-between;
	letter-spacing: var(--tnf-tracking-display, -0.02em);
	line-height: 1.25;
	margin: 0;
	min-height: 0;
	outline: none;
	padding: 20px 0 !important;
	text-align: left;
	text-transform: none;
	transition: color var(--tnf-dur, 0.2s) var(--tnf-ease, ease);
	width: 100%;
}

body.tnf-offers-page .tnf-offers-faq__question:hover,
body.tnf-offers-page .tnf-offers-faq__question:focus-visible {
	background: transparent !important;
	color: var(--tnf-ink-soft, hsl(0 0% 28%)) !important;
}

body.tnf-offers-page .tnf-offers-faq__question[aria-expanded="true"] {
	color: var(--tnf-heading) !important;
}

body.tnf-offers-page .tnf-offers-faq__icon {
	align-items: center;
	border: 1px solid var(--tnf-border-strong, hsl(0 0% 78%));
	border-radius: 999px;
	color: var(--tnf-ink);
	display: inline-flex;
	flex: 0 0 auto;
	height: 32px;
	justify-content: center;
	position: relative;
	width: 32px;
}

body.tnf-offers-page .tnf-offers-faq__icon::before,
body.tnf-offers-page .tnf-offers-faq__icon::after {
	background: currentColor;
	content: "";
	position: absolute;
}

body.tnf-offers-page .tnf-offers-faq__icon::before {
	height: 1.5px;
	width: 12px;
}

body.tnf-offers-page .tnf-offers-faq__icon::after {
	height: 12px;
	transition: transform var(--tnf-dur, 0.2s) var(--tnf-ease, ease), opacity var(--tnf-dur, 0.2s) var(--tnf-ease, ease);
	width: 1.5px;
}

body.tnf-offers-page .tnf-offers-faq__item.is-open .tnf-offers-faq__icon::after {
	opacity: 0;
	transform: scaleY(0);
}

body.tnf-offers-page .tnf-offers-faq__answer {
	color: var(--tnf-muted);
	display: none;
	font-size: 0.98rem;
	line-height: 1.65;
	margin: 0;
	max-width: 58ch;
	padding: 0 0 22px;
}

body.tnf-offers-page .tnf-offers-faq__answer p {
	margin: 0;
}

body.tnf-offers-page .tnf-offers-faq__item.is-open .tnf-offers-faq__answer:not([hidden]) {
	display: block;
}

body.tnf-offers-page .tnf-offers-faq__answer[hidden] {
	display: none !important;
}

@media (max-width: 900px) {
	body.tnf-offers-page .tnf-offers-faq__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	body.tnf-offers-page .tnf-offers-faq__question {
		gap: 12px;
	}

	body.tnf-offers-page .tnf-offers-faq__question > span:first-child {
		min-width: 0;
		overflow-wrap: anywhere;
	}
}

/* Keep offers section headers/cards inside site shell gutters on small screens */
@media (max-width: 640px) {
	body.tnf-offers-page .tnf-offers__header,
	body.tnf-offers-page .tnf-offers__intro,
	body.tnf-offers-page .tnf-offer-card,
	body.tnf-offers-page .tnf-offer-steps {
		min-width: 0;
		max-width: 100%;
	}

	body.tnf-offers-page .tnf-offer-detail__panel {
		padding: 22px 18px;
	}
}


/* Offer detail overview uses guide steps in a 4-up grid */
.tnf-offer-detail {
	background: var(--tnf-surface-soft);
	padding-block: clamp(56px, 7vw, 96px);
}

.tnf-offer-detail .tnf-offers__header {
	margin-bottom: clamp(28px, 4vw, 40px);
}

.tnf-offer-detail .tnf-offer-guide__grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 900px) {
	.tnf-offer-detail .tnf-offer-guide__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.tnf-offer-detail .tnf-offer-guide__grid {
		grid-template-columns: 1fr;
	}
}

/* ---- Offer detail (single) — match black-friday.html; beat design-system h1/p colors ---- */
body.tnf-offers-page .tnf-offer-detail-hero,
body.tnf-offers-page .tnf-home .tnf-offer-detail-hero {
	--tnf-offer-detail-h: min(68vh, 640px);
	background: #111 !important;
	background-color: #111 !important;
	display: block;
	isolation: isolate;
	margin-top: 0 !important;
	min-height: var(--tnf-offer-detail-h) !important;
	overflow: hidden;
	padding: 0 !important;
	padding-block: 0 !important;
	position: relative;
}

body.tnf-offers-page .tnf-offer-detail-hero__media {
	display: grid !important;
	gap: 0;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	inset: 0;
	margin: 0;
	overflow: hidden;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

body.tnf-offers-page .tnf-offer-detail-hero__media img {
	display: block;
	height: 100%;
	min-height: 100%;
	object-fit: cover;
	object-position: center center;
	width: 100%;
}

body.tnf-offers-page .tnf-offer-detail-hero__overlay {
	background: linear-gradient(90deg, rgb(17 17 17 / 0.88) 0%, rgb(17 17 17 / 0.72) 38%, rgb(17 17 17 / 0.45) 68%, rgb(17 17 17 / 0.28) 100%);
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

body.tnf-offers-page .tnf-offer-detail-hero__content {
	align-items: center;
	box-sizing: border-box;
	display: grid;
	gap: clamp(24px, 4vw, 48px);
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	min-height: var(--tnf-offer-detail-h) !important;
	padding-block: clamp(40px, 6vw, 72px);
	position: relative;
	width: 100%;
	z-index: 2;
}

body.tnf-offers-page .tnf-offer-detail-hero__copy {
	max-width: 42rem;
}

body.tnf-offers-page .tnf-offer-detail-hero__kicker,
body.tnf-offers-page .tnf-offer-detail-hero p.tnf-offer-detail-hero__kicker {
	color: rgb(255 255 255 / 0.82) !important;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	margin: 0 0 14px;
	text-transform: uppercase;
}

body.tnf-offers-page .tnf-offer-detail-hero__title,
body.tnf-offers-page .tnf-offer-detail-hero h1.tnf-offer-detail-hero__title,
body.tnf-offers-page .tnf-offer-detail-hero #tnf-offer-detail-title {
	color: #fff !important;
	font-family: var(--tnf-font-heading);
	font-size: clamp(2.2rem, 5vw, 4rem);
	font-weight: 500;
	letter-spacing: var(--tnf-tracking-display);
	line-height: 1.05;
	margin: 0 0 16px;
}

body.tnf-offers-page .tnf-offer-detail-hero__text,
body.tnf-offers-page .tnf-offer-detail-hero p.tnf-offer-detail-hero__text {
	color: rgb(255 255 255 / 0.86) !important;
	font-size: 1.02rem;
	line-height: 1.65;
	margin: 0 0 22px;
	max-width: 42ch;
}

body.tnf-offers-page .tnf-offer-detail-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

body.tnf-offers-page .tnf-offer-detail-hero .tnf-btn--primary {
	background: #fff;
	border-color: #fff;
	color: var(--tnf-ink);
}

body.tnf-offers-page .tnf-offer-detail-hero .tnf-btn--primary:hover {
	background: rgb(255 255 255 / 0.9);
}

body.tnf-offers-page .tnf-offer-detail-hero .tnf-btn--ghost {
	border-color: rgb(255 255 255 / 0.7);
	color: #fff;
}

body.tnf-offers-page .tnf-offer-detail-hero .tnf-btn--ghost:hover {
	border-color: #fff;
	background: rgb(255 255 255 / 0.1);
}

body.tnf-offers-page .tnf-offer-detail-hero .tnf-offer-detail__panel {
	background: rgb(255 255 255 / 0.96);
	backdrop-filter: blur(8px);
	box-shadow: 0 18px 48px rgb(0 0 0 / 0.28);
	width: 100%;
}

@media (max-width: 900px) {
	body.tnf-offers-page .tnf-offer-detail-hero,
	body.tnf-offers-page .tnf-home .tnf-offer-detail-hero {
		/* Stacked copy + panel: let height follow content (same shell/gutter as site). */
		--tnf-offer-detail-h: auto;
		min-height: 0 !important;
	}

	body.tnf-offers-page .tnf-offer-detail-hero__overlay {
		background: linear-gradient(180deg, rgb(17 17 17 / 0.88) 0%, rgb(17 17 17 / 0.78) 45%, rgb(17 17 17 / 0.7) 100%);
	}

	body.tnf-offers-page .tnf-offer-detail-hero__content {
		align-items: stretch;
		grid-template-columns: minmax(0, 1fr);
		min-height: 0 !important;
		width: 100%;
	}

	body.tnf-offers-page .tnf-offer-detail-hero__copy,
	body.tnf-offers-page .tnf-offer-detail-hero .tnf-offer-detail__panel {
		max-width: 100%;
		min-width: 0;
		width: 100%;
	}

	body.tnf-offers-page .tnf-offer-detail-hero__title,
	body.tnf-offers-page .tnf-offer-detail-hero h1.tnf-offer-detail-hero__title,
	body.tnf-offers-page .tnf-offer-detail-hero #tnf-offer-detail-title {
		overflow-wrap: anywhere;
		white-space: normal;
	}

	body.tnf-offers-page .tnf-offer-detail__code-box {
		align-items: flex-start;
		flex-wrap: wrap;
		min-width: 0;
	}

	body.tnf-offers-page .tnf-offer-detail__code-value {
		font-size: clamp(1.15rem, 5vw, 1.6rem);
		overflow-wrap: anywhere;
	}

	body.tnf-offers-page .tnf-offer-detail__copy {
		flex: 0 0 auto;
	}
}

.tnf-offer-detail__eyebrow {
			color: var(--tnf-muted); font-size: 0.72rem; font-weight: 600;
			letter-spacing: 0.16em; margin: 0 0 12px; text-transform: uppercase;
		}

.tnf-offer-detail__title {
			color: var(--tnf-heading); font-family: var(--tnf-font-heading);
			font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 500;
			letter-spacing: var(--tnf-tracking-display); line-height: 1.08; margin: 0 0 16px;
		}

.tnf-offer-detail__panel {
			background: var(--tnf-surface-soft); border: 1px solid var(--tnf-border);
			border-radius: 28px; padding: 28px 24px;
		}

.tnf-offer-detail__badge {
			background: #fff; border-radius: var(--tnf-radius-sm); color: #000;
			display: inline-flex; font-size: 0.625rem; font-weight: 600; gap: 0.35rem;
			letter-spacing: 0.12em; margin: 0 0 18px; padding: 0.35rem 0.7rem; text-transform: uppercase;
		}

.tnf-offer-detail__badge strong { font-weight: 700; }

.tnf-offer-detail__panel-title {
			color: var(--tnf-heading); font-family: var(--tnf-font-heading);
			font-size: 1.7rem; font-weight: 500; margin: 0 0 10px;
		}

.tnf-offer-detail__panel-text {
			color: var(--tnf-muted); font-size: 0.95rem; line-height: 1.6; margin: 0 0 20px;
		}

.tnf-offer-detail__code-box {
			align-items: center; background: #fff; border: 1px dashed var(--tnf-border-strong);
			border-radius: var(--tnf-radius-sm); display: flex; justify-content: space-between;
			gap: 12px; margin-bottom: 18px; padding: 14px 16px;
		}

.tnf-offer-detail__code-label {
			color: var(--tnf-text-faint); display: block; font-size: 0.68rem;
			font-weight: 600; letter-spacing: 0.12em; margin-bottom: 4px; text-transform: uppercase;
		}

.tnf-offer-detail__code-value {
			color: var(--tnf-heading); font-family: var(--tnf-font-heading);
			font-size: 1.6rem; font-weight: 500; letter-spacing: 0.04em;
		}

.tnf-offer-detail__copy {
			border: 1px solid var(--tnf-ink); border-radius: var(--tnf-radius-sm);
			font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em;
			min-height: 38px; padding: 0 12px; text-transform: uppercase;
		}

.tnf-offer-detail__copy:hover { background: var(--tnf-ink); color: #fff; }

.tnf-offer-detail__note {
			color: var(--tnf-text-faint); font-size: 0.82rem; line-height: 1.5; margin: 14px 0 0;
		}