/* nov2 hero: 7 Days of Black Friday. One DOM. Numbers from Figma: desktop "Hero" 1:774 (1920x890), mobile the
   390 page 33:94 between the NAV (y 121) and the sub strips (y 915). --u is one design px:
   >= 992: the 1330px content box (left column 618 + gap 78 + panel 630, x 295..1625 at 1920) scaled down to fit;
   768-991: the panel's 630px, stacked; <= 767: the 390 mobile frame. */
/* the page root, as banner.css does on /shop-all: the live month's popup.css set html { overflow-x: hidden }, and
   without it the homepage scrolls sideways at 768-1200 (verify pass: the header's Pay Online button ends at 1243px
   on a 1200 viewport, the theme's audio swiper arrow at 786px on 767 and 1010px on 991). Body only, never html: with
   html in the rule the popup's scroll lock left html 0px tall and clipped the popup (see banner.css) */
body {
	overflow-x: hidden;
}
#nov2-promo {
	container-type: inline-size;
	overflow-x: clip;
	background-color: #1d1d1d;
}
#nov2-promo .nov2-inner {
	--u: min(1px, (100cqw - 30px) / 1330);
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: center;
	gap: calc(78 * var(--u));
	min-height: calc(890 * var(--u));
	padding-top: calc(96 * var(--u));
	padding-bottom: calc(40 * var(--u));
	box-sizing: border-box;
}
/* the stage background: Figma's BG (1:775), full bleed; on phones the Top Hero photo (33:27225) */
#nov2-promo .nov2-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	background-image: url(../images/hero/back.jpg);
	background-image: -webkit-image-set(url("../images/hero/back.webp") 1x, url("../images/hero/back@2x.webp") 2x);
	background-image: image-set(url("../images/hero/back.webp") 1x, url("../images/hero/back@2x.webp") 2x);
}

/* ---- left column (evergreen copy) ---- */
#nov2-promo .nov2-left {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: calc(618 * var(--u));
	flex: 0 0 auto;
}
/* the logos flow in the column (they say something); only John Cleek Jr.'s portrait is placed, beside the CTA */
#nov2-promo .nov2-anni { margin-top: calc(-9 * var(--u)); width: calc(331 * var(--u)); }
#nov2-promo .nov2-logo { margin-top: calc(13 * var(--u)); width: calc(227 * var(--u)); height: calc(51 * var(--u)); }
/* the portrait hangs off the column's bottom (the CTA's), not its top: at 1920 the column is 611.1 tall (CTA bottom
   707.1 - 96 padding), so Figma's top 528 + 168 is bottom -84.9. Anchored at the top, a viewport where the copy wraps
   to a 4th line (1200: "Missouri.") pushed the CTA down while the portrait stayed, over the copy (verify pass) */
#nov2-promo .nov2-tiger { position: absolute; left: calc(38 * var(--u)); bottom: calc(-84.9 * var(--u)); width: calc(185 * var(--u)); height: calc(168 * var(--u)); z-index: 2; margin: 0; }
#nov2-promo .nov2-anni img { width: 100%; height: auto; }
#nov2-promo .nov2-logo,
#nov2-promo .nov2-tiger { overflow: hidden; }   /* clips only the export's transparent pad */
/* the logo and portrait exports carry a 4px transparent pad (1x): the img is that much larger than its box */
#nov2-promo .nov2-logo img,
#nov2-promo .nov2-tiger img { width: calc(100% + 8 * var(--u)); max-width: none; height: auto; margin: calc(-4 * var(--u)) 0 0 calc(-4 * var(--u)); }
#nov2-promo .nov2-copy-group {
	margin-top: calc(40.5 * var(--u));   /* the h1's box at y 266 (1:784) */
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}
#nov2-promo .nov2-h1 {
	margin: 0;
	width: 100%;
	font-family: 'Lato', sans-serif;
	font-weight: 900;
	font-size: calc(47 * var(--u));
	height: calc(202 * var(--u));   /* Figma's fixed text box (1:784); the 4th line overflows it, as in Figma */
	line-height: 1.2;   /* Figma 56.4px */
	color: #ffffff;
}
#nov2-promo .nov2-copy {
	margin: calc(40.6 * var(--u)) 0 0;   /* the copy at y 512 (1:785) */
	width: calc(605 * var(--u));
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	font-size: calc(25 * var(--u));
	line-height: 1.6;
	color: #ffffff;
}
#nov2-promo .nov2-shop-cta {
	margin: calc(33.5 * var(--u)) 0 0 calc(1 * var(--u));
	width: calc(235 * var(--u));
	height: calc(45 * var(--u));
	padding: 0;
	border-radius: calc(54 * var(--u));
	background: #facc29;
	color: #000000;
	font-size: max(14px, calc(20 * var(--u)));
	line-height: 1;
	letter-spacing: 0;
}
#nov2-promo .nov2-shop-cta span { color: #000000; }

/* ---- right panel: the Black Friday form ---- */
#nov2-promo .nov2-panel {
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: calc(630 * var(--u));
	height: calc(659 * var(--u));
	margin-top: calc(19 * var(--u));
	padding-top: calc(27 * var(--u));   /* + the 2px border: the title at 29 */
	box-sizing: border-box;
	border: 2px solid #ffffff;
	background-color: #1d1d1d;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	background-image: url(../images/hero/form-back.jpg);
	background-image: -webkit-image-set(url("../images/hero/form-back.webp") 1x, url("../images/hero/form-back@2x.webp") 2x);
	background-image: image-set(url("../images/hero/form-back.webp") 1x, url("../images/hero/form-back@2x.webp") 2x);
}
/* the badge: a zero-height row at the panel's top; its art hangs over the panel's corner (render box 918,62 at 1920) */
#nov2-promo .nov2-badge-wrap {
	position: relative;
	z-index: 3;
	align-self: flex-start;
	width: calc(153 * var(--u));
	height: 0;
	margin-left: calc(-73 * var(--u));
}
#nov2-promo .nov2-badge {
	position: absolute;
	left: calc(-7.6 * var(--u));
	top: calc(-88.1 * var(--u));
	width: calc(163.1 * var(--u));
	height: calc(159.2 * var(--u));
	margin: 0;
}
/* the export is trimmed to the disc's ink (153x149); Figma's badge frame (2:2627) is the rotated 140x135 frame's
   163.1x159.2 box, the ink at 5.6,6.1 in it: the transparent padding makes the img that box, the ink where it was */
#nov2-promo .nov2-badge img { box-sizing: content-box; width: calc(153 * var(--u)); height: auto; max-width: none; margin: 0; padding: calc(6.1 * var(--u)) calc(4.5 * var(--u)) calc(4.1 * var(--u)) calc(5.6 * var(--u)); }
#nov2-promo .nov2-badge-text {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: calc(-62.8 * var(--u)) 0 0 calc(-2.9 * var(--u));   /* centred on the badge's disc (73.75,-8.75 from the wrap) */
	width: calc(153.2 * var(--u));
	height: calc(108.1 * var(--u));
	transform: rotate(10.97deg);
	font-family: 'Lato', sans-serif;
	font-weight: 900;
	font-size: calc(19.35 * var(--u));
	line-height: 1.426;
	text-transform: capitalize;
	color: #ffffff;
}
#nov2-promo .nov2-panel-copy {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: calc(577.5 * var(--u));
	height: calc(541.5 * var(--u));   /* the Figma group g2: title top 29 .. last field 570.5 */
}
#nov2-promo .nov2-title {
	margin: 0;
	width: calc(577.5 * var(--u));
	font-family: 'Bouncy-Black', sans-serif;
	font-weight: 900;
	font-size: calc(51.26 * var(--u));
	line-height: 1.17;
	letter-spacing: calc(2.71 * var(--u));
	color: #ffca00;
	-webkit-text-stroke: max(1px, calc(2.71 * var(--u))) #000000;
	paint-order: stroke fill;
	text-shadow: calc(2.71 * var(--u)) calc(2.71 * var(--u)) 0 #ffffff;
}
#nov2-promo .nov2-panel-copy > * { flex-shrink: 0; }
#nov2-promo .nov2-sub {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: calc(10 * var(--u)) 0 0;
	width: calc(508 * var(--u));
	font-family: 'Bouncy-Black', sans-serif;
	font-weight: 900;
	font-size: calc(25 * var(--u));
	line-height: 1.52;
	letter-spacing: calc(3 * var(--u));
	color: #ffffff;
}
#nov2-promo .nov2-bar {
	display: block;
	width: calc(362 * var(--u));
	height: calc(35 * var(--u));
	margin-top: calc(-2 * var(--u));
	/* revision (ticket reply, Wenqian): Bouncy Black's caps sit high in a 35px line box (1.5px top-heavy at 1920);
	   the 3px top padding moves the copy 1.5px down, centring its caps in the bar as in Figma */
	box-sizing: border-box;
	padding-top: calc(3 * var(--u));
	line-height: calc(32 * var(--u));
	background: #900200;
	color: #ffffff;
}
#nov2-promo .nov2-form-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 0 0 auto;
	width: calc(564 * var(--u));
	height: calc(339 * var(--u));   /* Figma's Form Master: the journey line + the fields; the submit hangs below */
	margin-top: calc(22 * var(--u));
}
#nov2-promo .nov2-journey {
	margin: 0;
	white-space: nowrap;
	font-family: 'Lato', sans-serif;
	font-weight: 800;
	font-size: calc(25 * var(--u));
	line-height: 1.168;
	color: #ffffff;
}
#nov2-promo form.uni-style {
	--form-width: calc(584 * var(--u));
	--form-field-padding: calc(12.5 * var(--u)) calc(10 * var(--u));
	--form-input-height: calc(53 * var(--u));
	--form-input-radius: 6px;
	--form-label-font-size: max(13px, calc(17 * var(--u)));
	--form-input-font-size: max(13px, calc(17 * var(--u)));
	--form-label-offset-x: calc(17.75 * var(--u));
	--form-input-text-indent: calc(17.75 * var(--u));
	flex: 0 0 auto;
	margin-top: calc(10.3 * var(--u));
}
#nov2-promo form.uni-style input,
#nov2-promo form.uni-style select { border: 1.315px solid #c3c3c5; color: #373737; }
#nov2-promo form.uni-style label { color: #373737; font-family: 'Avenir-Roman', 'Avenir', sans-serif; }
#nov2-promo form.uni-style .form-action { margin-top: calc(33.5 * var(--u)); display: flex; justify-content: center; }
#nov2-promo .nov2-submit {
	display: flex;
	margin: 0 auto;
	width: calc(235 * var(--u));
	height: calc(45 * var(--u));
	min-height: 0;
	padding: 0;
	border-radius: calc(54 * var(--u));
	background: #900200;
	color: #ffffff;
	font-size: max(14px, calc(20 * var(--u)));
	line-height: 1;
	letter-spacing: 0;
}
#nov2-promo .nov2-cta {
	width: calc(235 * var(--u));
	height: calc(45 * var(--u));
	padding: 0;
	border-radius: calc(54 * var(--u));
	background: #900200;
	color: #ffffff;
	font-size: max(14px, calc(20 * var(--u)));
	line-height: 1;
	cursor: pointer;
}

/* ---- tablet: the same two groups stacked, at the panel's 630px ---- */
@media (min-width: 768px) and (max-width: 991px) {
	#nov2-promo .nov2-inner {
		--u: min(1px, (100cqw - 30px) / 630);
		flex-direction: column;
		align-items: center;
		gap: calc(70 * var(--u));
		padding-top: calc(40 * var(--u));
		padding-bottom: calc(60 * var(--u));
	}
	#nov2-promo .nov2-panel { margin-top: calc(60 * var(--u)); }
}

/* ---- phones: the 390 mobile frame (Top Hero 0..439, then the GB panel 439..794) ---- */
@media (max-width: 767px) {
	#nov2-promo .nov2-inner {
		--u: calc(100cqw / 390);
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		min-height: 0;
		padding: 0;
	}
	/* revision (ticket reply, Lara Cox, Nov 19): on mobile only, the Black Friday panel block now flows before the
	   Top Hero block (order, not the markup: hard rule 8). The Top Hero photo is nov2-left's own background, drawn by
	   this absolutely-positioned layer rather than flowing with it, so it moves down with nov2-left: top 355 (the
	   panel's new 0..355) instead of 0, still 439 tall (355 + 439 = 794, the mobile frame's full height). */
	#nov2-promo .nov2-bg {
		top: calc(355 * var(--u));
		bottom: auto;
		height: calc(439 * var(--u));
		background-image: url(../images/hero/back-m.jpg);
		background-image: -webkit-image-set(url("../images/hero/back-m.webp") 1x, url("../images/hero/back-m@2x.webp") 2x);
		background-image: image-set(url("../images/hero/back-m.webp") 1x, url("../images/hero/back-m@2x.webp") 2x);
	}
	#nov2-promo .nov2-left {
		order: 2;
		width: 100%;
		height: calc(439 * var(--u));
		padding: calc(28.8 * var(--u)) calc(20 * var(--u)) 0;
		box-sizing: border-box;
	}
	#nov2-promo .nov2-anni { margin: 0 0 0 calc(9 * var(--u)); width: calc(222.4 * var(--u)); }
	#nov2-promo .nov2-logo { margin-top: calc(10.3 * var(--u)); width: calc(145 * var(--u)); height: calc(33 * var(--u)); }
	#nov2-promo .nov2-copy-group { margin-top: calc(17.6 * var(--u)); }   /* the h1 at y 139 of the hero (33:27234) */
	#nov2-promo .nov2-tiger { left: calc(19 * var(--u)); top: calc(334 * var(--u)); bottom: auto; width: calc(104 * var(--u)); height: calc(95 * var(--u)); }
	#nov2-promo .nov2-logo img,
	#nov2-promo .nov2-tiger img { width: calc(100% + 5.1 * var(--u)); margin: calc(-2.5 * var(--u)) 0 0 calc(-2.5 * var(--u)); }
	#nov2-promo .nov2-h1 { font-size: calc(23 * var(--u)); height: calc(78 * var(--u)); line-height: 1.2; }   /* Figma 27.6px, box 78px (33:27234) */
	#nov2-promo .nov2-copy { margin-top: calc(14 * var(--u)); width: 100%; font-size: calc(14 * var(--u)); line-height: 1.714; }
	#nov2-promo .nov2-shop-cta { margin-top: calc(17.4 * var(--u)); font-size: calc(20 * var(--u)); }
	#nov2-promo .nov2-panel {
		order: 1;
		width: 100%;
		height: calc(355 * var(--u));
		margin: calc(33 * var(--u)) 0 0;   /* room for the badge's overhang above the panel (verify pass): with the panel
		   now first (order:1) the badge's -91.7*u top offset poked above #nov2-promo's own top edge, where its
		   overflow-x: clip also clips the y axis (CSS Overflow 3), cutting ~30px off the disc's top */
		padding-top: calc(59 * var(--u));
		border: 0;
		background-image: url(../images/hero/form-back-m.jpg);
		background-image: -webkit-image-set(url("../images/hero/form-back-m.webp") 1x, url("../images/hero/form-back-m@2x.webp") 2x);
		background-image: image-set(url("../images/hero/form-back-m.webp") 1x, url("../images/hero/form-back-m@2x.webp") 2x);
	}
	/* revision (ticket reply, Wenqian): Figma draws the badge under the headline (33:27289 before 33:26945), the end of
	   "Black" over the disc's bottom and the badge copy clear above it; the desktop badge stays on top of the panel */
	#nov2-promo .nov2-badge-wrap { z-index: 0; width: calc(103.7 * var(--u)); margin-left: calc(286.3 * var(--u)); }
	#nov2-promo .nov2-panel-copy { z-index: 1; }
	#nov2-promo .nov2-badge { left: calc(-9.1 * var(--u)); top: calc(-91.7 * var(--u)); width: calc(112.8 * var(--u)); height: calc(119 * var(--u)); }
	#nov2-promo .nov2-badge img { width: calc(114 * var(--u)); margin: calc(3.7 * var(--u)) 0 0 calc(2.8 * var(--u)); padding: 0; }
	#nov2-promo .nov2-badge-text {
		margin: calc(-72.6 * var(--u)) 0 0;   /* centred on the badge's disc (51.95,-32.25 from the wrap) */
		width: calc(103.7 * var(--u));
		height: calc(80.8 * var(--u));
		font-size: calc(14.47 * var(--u));
		line-height: 1.424;
	}
	#nov2-promo .nov2-panel-copy { width: 100%; height: calc(163 * var(--u)); }   /* g2 on mobile: title .. subtitle; the CTA flows below it */
	#nov2-promo .nov2-title {
		width: calc(414 * var(--u));
		font-size: calc(36.76 * var(--u));
		letter-spacing: calc(1.9 * var(--u));
		-webkit-text-stroke: max(1px, calc(1.93 * var(--u))) #000000;
		text-shadow: calc(1.93 * var(--u)) calc(1.93 * var(--u)) 0 #ffffff;
	}
	#nov2-promo .nov2-sub {
		margin-top: calc(26.2 * var(--u));
		width: 100%;
		font-size: calc(20.55 * var(--u));
		line-height: 1.703;
		letter-spacing: calc(2.5 * var(--u));
	}
	#nov2-promo .nov2-bar { width: calc(292 * var(--u)); height: calc(32 * var(--u)); padding-top: calc(2.5 * var(--u)); line-height: calc(29.5 * var(--u)); margin-top: calc(-3 * var(--u)); }   /* caps centred in the bar (revision) */
	#nov2-promo .nov2-cta { margin-top: calc(34 * var(--u)); font-size: calc(20 * var(--u)); }
}
