/* Gill's dec 2026 "Find the Yeti" hero (flip of Growby's dec 2026). One DOM for every breakpoint, laid out in flex.
   Desktop numbers are the Figma desktop frame's (1:2750, stage = the 1920x890 band under the 189px NAV mock):
   evergreen copy group g2 at 279,233 (657 wide, gaps 40/30), promo card 1:5512 at 991,97 (630x659).
   Phones are the 390 frame's own numbers (1:24, stage under the 68px NAV mock), in cqw of the section.
   Only art is absolute (the photos, the card background, the peeking yeti, the wood sign). */
#dec-promo {
	position: relative;
	overflow: hidden;
	background-color: #000;
	container-type: inline-size;
}
#dec-promo p,
#dec-promo h2 {
	margin: 0;
}
#dec-promo picture img {
	display: block;
	max-width: none;
}
#dec-promo .dec-photo img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* the layers Figma draws on the photo (BG 1:2751, the dark overlay 1:2753, the phone's 1:2744), baked into back.webp */
#dec-promo .dec-photo-layers,
#dec-promo .dec-layer {
	position: absolute;
	inset: 0;
	pointer-events: none;
}
#dec-promo .dec-inner {
	justify-content: space-between;
	align-items: flex-start;
	width: 1342px;
	max-width: calc(100% - 40px);
	margin: 0 auto 0 max(20px, calc(50% - 681px));
	/* verify (round 1, measured against the desktop frame): both columns rendered ~10-11px higher than the
	   design's g2/g1 boxes (233/127.8) under the old 97px top padding; the split keeps the row's total height
	   (891px: #dec-promo has no explicit height, so it's padding-top + .dec-card's fixed 659px + padding-bottom) */
	padding: 107px 0 124px;
}

/* evergreen copy (g2): 1:2758, 1:2757, 1:2756, gaps 40/30 */
#dec-promo .dec-top {
	flex: 0 1 657px;
	min-width: 0;
	margin-top: 136px;
}
#dec-promo .dec-left {
	width: 100%;
	gap: 40px;
}
#dec-promo .dec-left .dec-shop {
	margin-top: -10px;
}
#dec-promo .dec-deals {
	max-width: 657px;
	font-size: 47px;
	line-height: 59px;
	text-box: trim-both cap alphabetic;
}
#dec-promo .dec-offering {
	max-width: 605px;
	font-size: 25px;
	line-height: 40px;
	/* verify round 2 (measured against the desktop frame): the headline (1:2758) renders ~11px taller than its
	   151px design box (likely text-box trimming not applying), pushing this paragraph (1:2757) and the CTA
	   after it (1:2756) 10.1px below the design's 424/614px; pull it back by that measured excess so the 40px
	   gap (1:2755's gap) lands where Figma has it. */
	margin-top: -11px;
}
/* Figma's four lines, the same on both frames */
#dec-promo .dec-offering .dec-o {
	display: block;
}
#dec-promo .dec-cta {
	width: 235px;
	height: 45px;
	padding: 0;
	border-radius: 54px;
	font-size: 20px;
	line-height: 1;
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
}
#dec-promo .dec-cta:hover,
#dec-promo .dec-cta:focus-visible {
	filter: brightness(1.12);
}
#dec-promo .dec-shop {
	background-color: #eb0f10;
}
#dec-promo .dec-play {
	background-color: #009546;
}

/* the promo card (1:31): background 1:32, headline group g1 (2:3618, 2:3640, the form title), the form, Play Now */
#dec-promo .dec-card {
	flex: 0 0 630px;
	width: 630px;
	height: 659px;
	/* verify round 2 (measured against the desktop frame): round 1's .dec-inner padding-top 97->107 was aimed
	   at g1/g2's text (correct for those), but it also pushed the whole card 9.7px below its own design box
	   (1:5512 "Black Friday background accents" at y=97, same as 1:2754 "right 1", 1:2759 the snowflake and
	   1:5793 the yeti, each measured ~9.7px low): give the card its own compensating lift, independent of the
	   padding that g1/g2 still need. */
	margin-top: -9.7px;
}
#dec-promo .dec-card-bg img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/* "right 1" (1:2754, empty in Figma's render) and the snowflake (1:2759, 90x90 at the card's 0,240; image padded 4px) */
#dec-promo .dec-right {
	position: absolute;
	left: -30px;
	top: 95px;
	width: 253px;
	height: 174px;
	pointer-events: none;
}
/* painted before the card in Figma (behind it): first in the card, so the card's background covers it */
#dec-promo .dec-flake {
	position: absolute;
	left: 0;
	top: 240px;
	width: 90px;
	height: 90px;
	overflow: hidden;
	pointer-events: none;
}
#dec-promo .dec-flake img {
	position: absolute;
	left: -4px;
	top: -4px;
	width: 98px;
	height: 98px;
}
/* phone-only Figma layers baked into the GB block's art (promo-bg-m, sign-m), tagged on empty boxes at their places */
#dec-promo .dec-tags,
#dec-promo .dec-tag {
	position: absolute;
	pointer-events: none;
}
#dec-promo .dec-tags {
	inset: 0;
}
#dec-promo .dec-peek img {
	position: absolute;
	left: -119.1px;
	top: 412px;
	width: 154px;
	height: 295px;
	z-index: 3;
	pointer-events: none;
}
#dec-promo .dec-head {
	z-index: 1;
	flex: 0 0 auto;
	width: 664.1px;
	/* verify (round 1, measured against the desktop frame): "Find The Yeti!" (1:6219) rendered 10px above its
	   127.8px design top; push the whole g1 group down by that measured excess. */
	margin-top: 40.8px;
}
/* Figma's text nodes are navy (#073767) with their characters set to white: the same here */
#dec-promo .dec-title {
	color: #073767;
	font-size: 85.07px;
	line-height: 81.6px;
	font-weight: 400;
	letter-spacing: 0;
	white-space: nowrap;
}
#dec-promo .dec-find,
#dec-promo .dec-yeti,
#dec-promo .dec-guess .dec-l1,
#dec-promo .dec-guess .dec-l2 {
	color: #fff;
}
#dec-promo .dec-guess .dec-l1,
#dec-promo .dec-guess .dec-l2 {
	display: block;
}
#dec-promo .dec-yeti {
	font-size: 88.92px;
	line-height: 81.6px;
}
#dec-promo .dec-guess {
	color: #073767;
	/* verify round 2 (measured against the desktop frame): the title h2 (1:6219/"Find The"+"Yeti!" mixed
	   font-sizes on one line) renders its line box ~19px taller than its 82px design height (the browser's
	   font metrics for Orange Crayon, not Figma's glyph render), pushing every element below it in this
	   column 13.6px below the design (215.8px for this line, cascading to the journey line, the field labels
	   and the CTA). Pull this element back up by that measured excess instead of resizing the title box
	   (there's a wide clear gap to the title above, confirmed in the round's diff image, so this doesn't
	   crowd it). */
	margin-top: -7.6px;
	font-size: 30px;
	line-height: 29.7px;
	letter-spacing: 0;
}
#dec-promo .dec-journey {
	/* verify round 2: with .dec-guess pulled up 13.6px, this line's own gap to it measured 2.6px tighter than
	   the design's (339px); add that back so it isn't over-corrected by the fix above. */
	margin-top: 65.8px;
	color: #000;
	font-size: 27px;
	line-height: 27px;
	letter-spacing: 0.5px;
}

/* the inline form (template-form, Form Master 1:2755): fields 564 wide, 53 tall, 25 between rows, 20 between columns */
#dec-promo .dec-form {
	z-index: 2;
	/* verify round 2: same chain as .dec-journey above - this measured 1.4px tighter than the design's 421.5px
	   once the earlier two corrections landed; add it back. */
	margin-top: 24.5px;
}
#dec-hero-form form.uni-style {
	--form-width: 583.94px;
	--form-field-padding: 12.5px 9.97px;
	--form-input-height: 53px;
	--form-input-radius: 6px;
	--form-input-font-size: 16px;
	--form-label-font-size: 16px;
	--form-label-offset-x: 17.75px;
	--form-input-text-indent: 17.75px;
	--form-label-margin-top: 0;
	--form-placeholder-color: #2a2a2a;
	--form-select-arrow-width: 12px;
	--form-select-arrow-height: 6px;
	--form-select-arrow-right: 18px;
	max-width: 100%;
	margin: 0 auto;
	color: #2a2a2a;
	font-family: 'Avenir Medium', 'Avenir-Roman', sans-serif;
}
#dec-hero-form form.uni-style input,
#dec-hero-form form.uni-style select,
#dec-hero-form form.uni-style textarea {
	border: 1.315px solid #c3c3c5;
	font-family: 'Avenir-Roman', sans-serif;
	color: #373737;
}
#dec-hero-form label .f-red {
	color: #fc5147;
}
#dec-hero-form .form-action {
	display: flex;
	justify-content: center;
	/* verify round 2: with the fields themselves landing within tolerance (4px shy of the design, chained from
	   the corrections above), the gap from the last field to the CTA (1:5792) measured 5px wider than the
	   design's (730px); trim it back. */
	padding-top: 24.5px;
	text-align: center;
}
#dec-hero-form .form-action .button {
	width: 235px;
	height: 45px;
	margin: 0 auto;
	padding: 0;
	border-radius: 54px;
	background-color: #009546;
	color: #fff;
	font-size: 20px;
	line-height: 1;
}

/* in-between desktops: the two columns shrink, then stack. The gap also has to clear the card's yeti
   (.dec-peek img, left: -119.1px of the card): at 992-1360px the card's left edge is fixed at
   (container width - 630px) regardless of gap, so only a wider gap narrows the text column enough to
   keep its wrapped lines clear of the yeti (measured overlap at 1200px: the text box reached x=520,
   the yeti's left edge was at x=431 - an 89px collision with gap:30; gap:150 clears it by ~30px) */
@media screen and (max-width: 1360px) {
	#dec-promo .dec-inner {
		justify-content: center;
		gap: 150px;
	}
	#dec-promo .dec-deals {
		font-size: clamp(32px, 3.4vw, 47px);
		line-height: 1.255;
	}
	#dec-promo .dec-offering {
		font-size: clamp(18px, 1.85vw, 25px);
		line-height: 1.6;
	}
}
@media screen and (min-width: 768px) and (max-width: 991px) {
	#dec-promo .dec-inner {
		flex-direction: column;
		align-items: center;
		gap: 60px;
		padding: 60px 0 80px;
	}
	#dec-promo .dec-top {
		flex: 0 0 auto;
		width: 605px;
		max-width: 100%;
		margin-top: 0;
	}
}

/* phones: the 390 frame. Top Hero (45:7223) then the GB block (45:9956), each its frame's own numbers */
@media screen and (max-width: 767px) {
	#dec-promo .dec-inner {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: 100%;
		max-width: none;
		padding: 0;
	}
	#dec-promo .dec-inner {
		margin: 0;
	}
	#dec-promo .dec-top {
		flex: 0 0 auto;
		width: 100%;
		height: 111.538cqw;
		margin-top: 0;
	}
	#dec-promo .dec-layer-m {
		top: -0.256cqw;
		bottom: auto;
		height: 112.564cqw;
	}
	#dec-promo .dec-t-rect { left: -2.051cqw; top: 0.256cqw; width: 104.359cqw; height: 54.872cqw; }
	#dec-promo .dec-t-red { left: 0.256cqw; top: 50.256cqw; width: 99.744cqw; height: 45.641cqw; }
	#dec-promo .dec-t-stripes { left: 0; top: 50.256cqw; width: 100cqw; height: 54.359cqw; }
	#dec-promo .dec-t-sign { left: 6.154cqw; top: 0.513cqw; width: 89.058cqw; height: 61.282cqw; }
	#dec-promo .dec-photo img {
		position: absolute;
		top: -0.256cqw;
		left: 0;
		width: 100%;
		height: 112.564cqw;
	}
	#dec-promo .dec-left {
		width: 89.744cqw;
		margin: 22.308cqw auto 0;
		gap: 7.692cqw;
	}
	#dec-promo .dec-left .dec-shop {
		margin-top: -0.513cqw;
	}
	#dec-promo .dec-deals {
		max-width: none;
		font-size: 5.897cqw;
		line-height: 7.949cqw;
	}
	#dec-promo .dec-offering {
		max-width: none;
		font-size: 3.59cqw;
		line-height: 5.897cqw;
		text-box: trim-both cap alphabetic;
		/* verify (round 1, measured against the 390 frame): with text-box trimming applied here (not at desktop),
		   the base -11px pull-up (tuned for the desktop headline's excess) left this paragraph and the CTA after
		   it 14.2px above the design's 195/305px; override back down by that measured excess. */
		margin-top: 3.2px;
	}
	#dec-promo .dec-cta {
		width: 60.256cqw;
		height: 11.538cqw;
		border-radius: 13.846cqw;
		font-size: 5.128cqw;
	}
	#dec-promo .dec-card {
		flex: 0 0 auto;
		width: 100%;
		height: 104.872cqw;
		margin-top: 0;
	}
	/* the sign (1:11502 Dropping Sign): GB (1:11227) clips it at its own top (both at 505 in the page), and sign-m.png
	   is already cropped there, so the string stops flush with GB's top edge, as the banner's wave-tag does.
	   Revision (ticket, 19 Nov, still missing): the board's own drop shadow (Figma's effect on 1:11730, the "Group"
	   inside Dropping Sign — offset 2.14/2.86, radius 1.43, 25% black) never made it into sign-m.png: baking it in
	   would need re-exporting past Dropping Sign's own clip (same class of bug as the gift card's), so it's added as
	   CSS instead, the same "clean image + CSS drop-shadow" treatment ported from Affordable's popup card. Added only
	   here (the mobile sign), not to .dec-card-bg/card.png: Figma's desktop "Card" composite (1:5512) carries no
	   shadow effect anywhere in its own layers, so nothing is missing there to add. */
	#dec-promo .dec-peek img {
		position: absolute;
		z-index: 0;
		left: 5.897cqw;
		top: 0;
		width: 88.205cqw;
		height: 61.538cqw;
		filter: drop-shadow(0.55cqw 0.733cqw 0.367cqw rgba(0, 0, 0, 0.25));
	}
	#dec-promo .dec-head {
		width: 99.744cqw;
		/* verify round 2 (measured against the 390 frame, this round's own preview): 25.718cqw renders the g1
		   group 9.2px BELOW the design (525.8px). At the 390 container, 1cqw = 3.9px, so back off by that
		   measured excess (2.359cqw) rather than swinging to the full-opposite value tried before - this also
		   brings the Play Now button (1:12073, a flow sibling after this group once the fields are hidden)
		   back from its own +6px into tolerance, by the same amount. */
		margin-top: 23.359cqw;
	}
	#dec-promo .dec-title {
		font-size: 18.7cqw;
		line-height: 17.931cqw;
	}
	#dec-promo .dec-yeti {
		display: block;
		font-size: 21.744cqw;
		line-height: 17.931cqw;
	}
	#dec-promo .dec-guess {
		color: #fff;
		margin-top: 8.718cqw;
		font-size: 5.128cqw;
		line-height: 4.103cqw;
		letter-spacing: 0.103cqw;
		-webkit-text-stroke: 0.07cqw #fff;
	}
	#dec-promo .dec-guess .dec-l2 {
		margin-top: 2.863cqw;
	}
	#dec-promo .dec-play-m {
		z-index: 1;
		margin-top: 4.923cqw;
	}
}
