/* dec 2026 "Find the Yeti" hero (SST base, ported from Affordable's Find the Yeti: its markup, CSS and JS; this
   design's own numbers). One DOM for every breakpoint, laid out in flex.
   Desktop: the Figma frame 1:22 (1920x892): copy group 1:26 at 295,132 (618 wide), the promo card 1:5509 at 989,117
   (630x659). Phones: the 390 frame 1:2779: the photo 1:5498 (390x438) then the card GB 1:11185 (390x407), in cqw.
   The photo is the account's own (hero-global's <class>-bg on .sst-hero, and on .promo-inner at <=567px), the left
   copy the account's $config. Only art is absolute (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 .sst-hero {
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}
/* the photo layers' own boxes (the photo is painted by the account's bg class) */
#dec-promo .dec-photo,
#dec-promo .dec-photo-m {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}
#dec-promo .dec-photo-m {
	display: none;
}
#dec-promo .dec-inner {
	justify-content: space-between;
	align-items: flex-start;
	width: 1324px;
	max-width: calc(100% - 40px);
	padding: 117px 0 116px;
}
/* Figma's two columns run from 295 to 1619: 3px left of a centred 1324 */
@media screen and (min-width: 1365px) {
	#dec-promo .dec-inner {
		left: -3px;
	}
}

/* the account's copy (g1, 1:26): title 1:28 (Open Sans ExtraBold 47/64), text 1:29 (Open Sans 25/40), CTA 1:27;
   the group starts at 132 (15 below the card); each account's own copy runs as long as it is. Figma's text boxes are
   fixed (1:28 is 290 tall for its 5 lines of 64 = 320; 1:29 228 for 6 lines of 40 = 240), so its gaps between LINE
   boxes are 457 - (132 + 320) = 5 and 714 - (457 + 240) = 17, not the 35 / 29 between its boxes */
#dec-promo .dec-top {
	flex: 0 1 618px;
	min-width: 0;
	margin-top: 15px;
}
#dec-promo .dec-left {
	width: 100%;
	gap: 5px;
}
#dec-promo .dec-left .dec-shop {
	margin-top: 12px;
}
#dec-promo .dec-deals {
	max-width: 618px;
	font-family: 'Open Sans', sans-serif;
	font-size: 47px;
	line-height: 64px;
	font-weight: 800;
}
#dec-promo .dec-offering {
	max-width: 605px;
	font-family: 'Open Sans', sans-serif;
	font-size: 25px;
	line-height: 40px;
	font-weight: 400;
}
#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: #ea1945;
}
#dec-promo .dec-play {
	background-color: #009546;
}

/* the promo card (1:5509): background 1:5510, headline group g2 (1:6217, 1:6218, the form title), the form, Play Now */
#dec-promo .dec-card {
	flex: 0 0 630px;
	width: 630px;
	height: 659px;
}
#dec-promo .dec-card-bg img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/* the peeking yeti 1:5791: 152x293 at -119,412 of the card; yeti.png is its render box with a 1px margin (156x297) */
#dec-promo .dec-peek img {
	position: absolute;
	left: -121px;
	top: 410px;
	width: 156px;
	height: 297px;
	z-index: 3;
	pointer-events: none;
}
#dec-promo .dec-head {
	z-index: 1;
	flex: 0 0 auto;
	width: 664.1px;
	margin-top: 30.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;
	/* 1:6217's glyphs sit 10px lower in Figma's line box than in this face's: the padding moves them, the negative
	   margin keeps the guess line where it was */
	padding-top: 10px;
	margin-bottom: -10px;
}
#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;
	margin-top: 6px;
	font-size: 30px;
	line-height: 29.7px;
	letter-spacing: 0;
}
/* I1:5789;2:1555: Lato Heavy, drawn at 24.42px (x0.905 of its 27px style), 467 wide at 359 */
#dec-promo .dec-journey {
	margin-top: 63.2px;
	color: #000;
	font-size: 24.42px;
	line-height: 27px;
	letter-spacing: 0.452px;
}

/* the inline form (template-form, Form Master 1:5789): fields 564 wide, 53 tall, 25 between rows, 20 between columns */
#dec-promo .dec-form {
	z-index: 2;
	margin-top: 23.1px;
}
#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;
}
/* a store already chosen (an account with one store gets it pre-selected): its label floats above the value */
#dec-hero-form form.uni-style,
#popup-dec form.uni-style {
	--form-label-active-margin-top: -22px;
	--form-input-padding-top: 20px;
}
#dec-hero-form .form-action {
	display: flex;
	justify-content: center;
	padding-top: 29.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 peeking yeti hangs 124px left of the card, so the
   columns keep 124px between them, and they stack below 1200, where that would leave the copy too narrow */
@media screen and (max-width: 1364px) {
	#dec-promo .dec-inner {
		justify-content: center;
		gap: 124px;
	}
	#dec-promo .dec-deals {
		font-size: clamp(32px, 3.4vw, 47px);
		line-height: 1.362;
	}
	#dec-promo .dec-offering {
		font-size: clamp(18px, 1.85vw, 25px);
		line-height: 1.6;
	}
}
@media screen and (min-width: 768px) and (max-width: 1199px) {
	#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: 618px;
		max-width: 100%;
		margin-top: 0;
	}
	/* stacked, the card is centred: the yeti hangs only as far as the viewport leaves beside it (768: 69px, not 121) */
	#dec-promo .dec-peek img {
		left: max(-121px, calc((630px - 100vw) / 2 + 4px));
	}
}

/* phones: the 390 frame. The photo (1:5498, 438 tall) then the GB block (1:11185, 407 tall), each its frame's numbers */
@media screen and (max-width: 767px) {
	#dec-promo .dec-photo {
		display: none;
	}
	#dec-promo .dec-photo-m {
		display: block;
		height: 112.308cqw;
		background-position: center;
		background-size: cover;
		background-repeat: no-repeat;
	}
	#dec-promo .dec-inner {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: 100%;
		max-width: none;
		padding: 0;
	}
	#dec-promo .dec-top {
		flex: 0 0 auto;
		width: 100%;
		height: 112.308cqw;
		margin-top: 0;
	}
	/* the account's copy on phones (1:5500): 1:5501 at 20,42 (350 wide, Open Sans ExtraBold 23/31.3), 1:5502 at 212
	   (Open Sans 14/19.1), the CTA at 330. Between line boxes (5 lines of 31.3 = 156.5, 5 of 19.1 = 95.5) that is
	   212 - (42 + 156.5) = 13.5 and 330 - (212 + 95.5) = 22.5. The desktop title's line breaks are the desktop's. */
	#dec-promo .dec-left {
		width: 89.744cqw;
		margin: 10.769cqw auto 0;
		gap: 3.462cqw;
	}
	#dec-promo .dec-left .dec-shop {
		margin-top: 2.308cqw;
	}
	#dec-promo .dec-deals br {
		display: none;
	}
	#dec-promo .dec-deals {
		max-width: none;
		font-size: 5.897cqw;
		line-height: 8.026cqw;
		text-box: none;
	}
	#dec-promo .dec-offering {
		max-width: none;
		font-size: 3.59cqw;
		line-height: 4.897cqw;
		text-box: none;
	}
	#dec-promo .dec-offering br {
		display: none;
	}
	#dec-promo .dec-shop {
		margin-top: 0;
	}
	#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.359cqw;
	}
	/* the dropping sign (1:11460, 342x239 at 24,0; exported at that box of GB: GB clips its ropes at its top edge) */
	#dec-promo .dec-peek img {
		z-index: 0;
		left: 6.154cqw;
		top: 0;
		width: 87.692cqw;
		height: 61.538cqw;
	}
	#dec-promo .dec-head {
		width: 99.744cqw;
		margin-top: 22.769cqw;
	}
	#dec-promo .dec-title {
		font-size: 18.7cqw;
		line-height: 17.923cqw;
		padding-top: 2.436cqw;
		margin-bottom: -2.436cqw;
	}
	#dec-promo .dec-yeti {
		display: block;
		font-size: 21.744cqw;
		line-height: 17.923cqw;
	}
	#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: max(0.279px, 0.072cqw) #fff;
	}
	#dec-promo .dec-guess .dec-l2 {
		margin-top: 2.863cqw;
	}
	#dec-promo .dec-play-m {
		z-index: 1;
		margin-top: 4.923cqw;
	}
}
