/* Black Friday 2026 homepage hero. Loaded only while the slides show (includes/ti-bf-hero-2026.php).
   One design pixel, on a design 2000px wide on desktop and 1080px wide on mobile:
   --h sizes the slide and keeps growing with the images.
   --u sizes the content, which sits in the fixed-width site container, so it stops growing at
   1500px; past that the image keeps widening and larger text would run into it. */

.ti-bfh {
	--h: calc(min(100vw, 2560px) / 2000);
	--u: calc(min(100vw, 1500px) / 2000);
	--bf-black: #0a0a0a;
	--bf-cream: #f5f0ea;
	--bf-red: #d7263d;
	--bf-coral: #f4586c;
	--bf-gold: #e3b341;
}

/* Replaces the site's 700px min-height, which would leave a gap under the slide. Holding the
   slide's own height also stops the hero collapsing while the slider script starts up. */
.full-width-slider-new.ti-bfh {
	min-height: calc(950 * var(--h)) !important;
}

/* Until the slider script starts, keep to one slide's height so the page below doesn't jump. */
.ti-bfh:not(.lightSlider) .bf-slide:not(:first-child) {
	display: none !important;
}

.full-width-slider-new section.banner-slide.bf-slide {
	display: block;
	height: calc(950 * var(--h));
	min-height: 0;
	padding: 0;
	overflow: hidden;
	position: relative;
	background: var(--bf-black) !important;
	color: #fff;
	font-family: Urbanist, sans-serif;
}

.full-width-slider-new section.banner-slide.bf-slide--gifts {
	background: var(--bf-cream) !important;
	color: var(--bf-black);
}

.bf-slide__media,
.bf-slide__media img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.bf-slide__media img {
	max-width: none;
	object-fit: cover;
	object-position: right center;
}

.full-width-slider-new section.banner-slide.bf-slide > .bf-slide__body {
	position: relative;
	z-index: 2;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	max-width: 1300px !important; /* the page sections' width; the site widens hero containers to 1380px */
	height: 100%;
}

/* Keep the text to the dark or plain left side of each image. */
.ti-bfh .bf-slide__body > * {
	max-width: 48%;
}

.bf-slide p,
.bf-slide ul,
.bf-slide li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ti-bfh .bf-slide__eyebrow {
	margin-bottom: calc(44 * var(--u));
	color: var(--bf-coral);
	font-size: max(13px, calc(28 * var(--u)));
	font-weight: 700;
	letter-spacing: .2em;
	line-height: 1.2;
	text-transform: uppercase;
}

.ti-bfh .bf-slide--gifts .bf-slide__eyebrow {
	margin-bottom: calc(26 * var(--u));
	color: var(--bf-red);
}

.ti-bfh .bf-slide__tag {
	margin-bottom: calc(30 * var(--u));
	padding: calc(15 * var(--u)) calc(20 * var(--u));
	background: var(--bf-red);
	color: #fff;
	font-size: max(12px, calc(24 * var(--u)));
	font-weight: 700;
	letter-spacing: .2em;
	line-height: 1.2;
	text-transform: uppercase;
}

.ti-bfh .bf-slide__title {
	color: inherit;
	font-size: calc(78 * var(--u));
	font-weight: 700;
	letter-spacing: -.01em;
	line-height: 1.07;
}

.ti-bfh .bf-slide--sale .bf-slide__title {
	max-width: calc(720 * var(--u));
}

.ti-bfh .bf-slide--bundle .bf-slide__title {
	font-size: calc(94 * var(--u));
	line-height: .98;
}

.bf-slide--bundle .bf-slide__title strong {
	display: block;
	font-weight: 800;
}

.bf-slide--bundle .bf-slide__title span {
	display: block;
	font-weight: 300;
}

/* White ring from the site, plus a dark one so the dots still show on the cream slide. */
.lSSlideOuter:has(.ti-bfh) .lSPager.lSpg > li a {
	box-shadow: 0 0 0 1px inset #fff, 0 0 0 1px rgba(0, 0, 0, .35);
}

.ti-bfh .bf-slide--gifts .bf-slide__title {
	max-width: calc(560 * var(--u));
	font-size: calc(148 * var(--u));
	font-weight: 800;
	letter-spacing: -.01em;
	line-height: .9;
}

.ti-bfh .bf-slide__text {
	font-size: max(14px, calc(31 * var(--u)));
	font-weight: 300;
	line-height: 1.38;
}

.ti-bfh .bf-slide--bundle .bf-slide__text {
	max-width: calc(760 * var(--u));
	margin-top: calc(32 * var(--u));
	color: #e4e4e4;
}

.ti-bfh .bf-slide--gifts .bf-slide__text {
	max-width: calc(760 * var(--u));
	margin-top: calc(40 * var(--u));
	color: #2b2b2b;
}

.ti-bfh .bf-slide__body > .bf-slide__trust {
	display: flex;
	gap: calc(36 * var(--u));
	max-width: none;
	margin-top: calc(42 * var(--u));
}

.bf-slide .bf-slide__trust li {
	display: flex;
	align-items: center;
	gap: calc(14 * var(--u));
	white-space: nowrap;
	font-size: max(13px, calc(28 * var(--u)));
	font-weight: 500;
	line-height: 1.2;
}

.bf-slide__trust-icon {
	flex: none;
	width: calc(34 * var(--u));
	min-width: 16px;
	height: calc(34 * var(--u));
	min-height: 16px;
	color: var(--bf-gold);
	stroke-width: 1.5;
}

.bf-slide .bf-slide__checks {
	display: grid;
	grid-template-columns: calc(453 * var(--u)) auto;
	gap: calc(20 * var(--u)) 0;
	margin-top: calc(38 * var(--u));
}

.bf-slide .bf-slide__checks li {
	display: flex;
	align-items: center;
	gap: calc(13 * var(--u));
	font-size: max(13px, calc(27 * var(--u)));
	font-weight: 600;
	line-height: 1.2;
}

.bf-slide__check {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: calc(40 * var(--u));
	min-width: 18px;
	height: calc(40 * var(--u));
	min-height: 18px;
	border-radius: 50%;
	background: var(--bf-gold);
	color: var(--bf-black);
}

.bf-slide__check svg {
	width: 56%;
	height: 56%;
}

/* Filled in by ti-bf-hero-2026.js; stays hidden until it has real figures to show. */
.ti-bfh .bf-slide__body > .bf-slide__timer {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: calc(14 * var(--u));
	max-width: none;
	margin-top: calc(36 * var(--u));
	visibility: hidden;
}

.ti-bfh .bf-slide__body > .bf-slide__timer.is-running {
	visibility: visible;
}

.ti-bfh .bf-slide__timer-label {
	color: var(--bf-coral);
	font-size: max(10px, calc(21 * var(--u)));
	font-weight: 700;
	letter-spacing: .16em;
	line-height: 1.35;
	text-transform: uppercase;
	white-space: nowrap;
}

.bf-slide--gifts .bf-slide__timer-label {
	color: var(--bf-red);
}

.bf-slide .bf-slide__timer-units {
	display: flex;
	gap: calc(12 * var(--u));
}

.bf-slide .bf-slide__timer-units li {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: max(44px, calc(108 * var(--u)));
	height: max(44px, calc(108 * var(--u)));
	border: 2px solid var(--bf-gold);
	font-size: max(8px, calc(16 * var(--u)));
	font-weight: 500;
	letter-spacing: .12em;
	line-height: 1.2;
	text-transform: uppercase;
}

.bf-slide__timer-units b {
	font-size: max(17px, calc(46 * var(--u)));
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.1;
}

.ti-bfh a.bf-slide__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: calc(14 * var(--u));
	box-sizing: border-box;
	max-width: none;
	min-height: calc(88 * var(--u));
	margin-top: calc(36 * var(--u));
	white-space: nowrap;
	padding: calc(22 * var(--u)) calc(48 * var(--u));
	border-radius: 999px;
	background: linear-gradient(90deg, #a01025, #e8384f);
	color: #fff !important;
	font-size: max(13px, calc(27 * var(--u)));
	font-weight: 700;
	letter-spacing: .1em;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	transition: filter .2s ease;
}

.ti-bfh a.bf-slide__btn:hover,
.ti-bfh a.bf-slide__btn:focus-visible {
	filter: brightness(1.12);
	color: #fff !important;
}

.bf-slide__arrow {
	flex: none;
	width: 1.05em;
	height: 1.05em;
}

/* Mobile: the design's 1080 x 1400 layout, photo on top and text beneath. */
@media (max-width: 768px) {
	/* The site's header is fixed at this width, over the top of the page, so the hero starts below it. */
	.ti-bfh-wrap {
		padding-top: 64px;
		background: #000;
	}

	.ti-bfh {
		--h: calc(100vw / 1080);
		--u: calc(100vw / 1080);
	}

	/* Taller than the 1400 image to fit the clock: the image stays at the top and the slide's
	   background colour, which matches the image's lower edge, carries on beneath it. */
	.full-width-slider-new.ti-bfh {
		min-height: calc(1700 * var(--h)) !important;
	}

	.full-width-slider-new section.banner-slide.bf-slide {
		height: calc(1700 * var(--h));
	}

	.bf-slide__media,
	.bf-slide__media img {
		bottom: auto;
		height: calc(1400 * var(--h));
	}

	.ti-bfh .bf-slide__body > * {
		max-width: none;
	}

	.bf-slide__media img {
		object-position: center top;
		transform-origin: 100% 0;
	}

	.bf-slide--sale .bf-slide__media img {
		transform: scale(1.2);
	}

	.bf-slide--bundle .bf-slide__media img {
		transform: scale(1.25);
	}

	/* Moves the suitcases clear of the text above them. */
	.bf-slide--gifts .bf-slide__media {
		top: calc(50 * var(--h));
	}

	.full-width-slider-new section.banner-slide.bf-slide > .bf-slide__body {
		justify-content: flex-end;
		height: 100% !important; /* the site forces height:auto !important on slide children here */
		padding-bottom: calc(130 * var(--u)); /* room for the pager dots */
	}

	.full-width-slider-new section.banner-slide.bf-slide--gifts > .bf-slide__body {
		justify-content: flex-start;
		padding-top: calc(76 * var(--u));
	}

	.ti-bfh .bf-slide__eyebrow {
		margin-bottom: calc(36 * var(--u));
		font-size: calc(30 * var(--u));
	}

	.ti-bfh .bf-slide--gifts .bf-slide__eyebrow {
		margin-bottom: calc(20 * var(--u));
	}

	.ti-bfh .bf-slide__tag {
		font-size: calc(26 * var(--u));
	}

	.ti-bfh .bf-slide__title {
		font-size: calc(68 * var(--u));
		line-height: 1.08;
	}

	.ti-bfh .bf-slide--sale .bf-slide__title {
		max-width: calc(840 * var(--u));
	}

	.ti-bfh .bf-slide--bundle .bf-slide__title {
		font-size: calc(80 * var(--u));
		line-height: 1.1;
	}

	.bf-slide--bundle .bf-slide__title strong,
	.bf-slide--bundle .bf-slide__title span {
		display: inline;
	}

	.ti-bfh .bf-slide--gifts .bf-slide__title {
		font-size: calc(134 * var(--u));
	}

	.ti-bfh .bf-slide__text {
		font-size: calc(37 * var(--u));
	}

	.ti-bfh .bf-slide--bundle .bf-slide__text,
	.ti-bfh .bf-slide--gifts .bf-slide__text {
		max-width: none;
		margin-top: calc(28 * var(--u));
	}

	.ti-bfh .bf-slide__body > .bf-slide__trust {
		gap: calc(30 * var(--u));
		margin-top: calc(36 * var(--u));
	}

	.ti-bfh .bf-slide__body > .bf-slide__timer {
		align-self: stretch;
		gap: calc(18 * var(--u));
		margin-top: calc(44 * var(--u));
	}

	.ti-bfh .bf-slide__timer-label {
		font-size: calc(26 * var(--u));
	}

	.bf-slide .bf-slide__timer-units {
		gap: calc(14 * var(--u));
		width: 100%;
	}

	.bf-slide .bf-slide__timer-units li {
		flex: 1;
		width: auto;
		height: calc(140 * var(--u));
		font-size: calc(21 * var(--u));
	}

	.bf-slide__timer-units b {
		font-size: calc(62 * var(--u));
	}

	.ti-bfh .bf-slide--gifts .bf-slide__body > .bf-slide__timer {
		position: absolute;
		left: 20px;
		right: 20px;
		bottom: calc(294 * var(--u));
		margin: 0;
	}

	.bf-slide .bf-slide__trust li {
		gap: calc(10 * var(--u));
		font-size: calc(32 * var(--u));
	}

	.bf-slide__trust-icon,
	.bf-slide__check {
		min-width: 0;
		min-height: 0;
	}

	.bf-slide .bf-slide__checks {
		grid-template-columns: calc(492 * var(--u)) auto;
		gap: calc(24 * var(--u)) 0;
		margin-top: calc(38 * var(--u));
	}

	.bf-slide .bf-slide__checks li {
		font-size: calc(33 * var(--u));
	}

	.ti-bfh a.bf-slide__btn {
		width: 100%;
		min-height: calc(120 * var(--u));
		margin-top: calc(44 * var(--u));
		font-size: calc(30 * var(--u));
	}

	.bf-slide--gifts a.bf-slide__btn {
		position: absolute;
		left: 20px; /* the container's gutter */
		right: 20px;
		bottom: calc(130 * var(--u));
		width: auto;
		margin: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ti-bfh a.bf-slide__btn {
		transition: none;
	}
}
