/**
 * Exit-intent promo. The dialog is the add-on prompt (fwc-flow-v5.css
 * .fwc-upsell) at a narrower width, plus the code chip.
 */

.fwc-exit .fwc-upsell-panel {
	max-width: 440px;
}

/* Complete my purchase lands on the order summary; clear the sticky nav
   the same way .fwc-flow-step does (fwc-flow-v5.css). */
[data-fwc-flow-review-panel] {
	scroll-margin-top: calc(var(--fwc-nav-h, 56px) + 16px);
}

.fwc-exit .fwc-upsell-lede strong,
.fwc-exit .gform_confirmation_message strong {
	font-weight: 700;
	letter-spacing: .04em;
}

.fwc-exit-note {
	margin: 4px 0 0;
	font-family: 'Gotham', sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: 0;
	text-transform: none;
	color: #333333;
	opacity: .7;
}

body.page-template-template-passes-v2 p.fwc-exit-note {
	margin: 4px 0 0 !important;
	font-family: 'Gotham', sans-serif !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	line-height: 1.45 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: #333333 !important;
}

/* The code is shown as soon as the address passes the browser check; the
   form keeps saving behind it. */
.fwc-exit.is-revealed .fwc-exit-form,
.fwc-exit.is-revealed .fwc-flow-eyebrow,
.fwc-exit .fwc-exit-chip {
	display: none;
}

/* Validation: one plain line under the input (fwc-flow-exit.js writes it).
   Gravity Forms' summary box, boxed field message, and error field styling
   are hidden here. */
.fwc-exit .gform_validation_errors,
.fwc-exit .validation_message,
.fwc-exit .gfield_validation_message {
	display: none !important;
}

body.page-template-template-passes-v2 .fwc-exit .gform_wrapper.gform_validation_error,
body.page-template-template-passes-v2 .fwc-exit .gform_wrapper .gfield.gfield_error,
body.page-template-template-passes-v2 .fwc-exit .gform_wrapper .gfield_error {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

/* .gform_fields is a CSS grid; the line has to span it. */
body.page-template-template-passes-v2 .fwc-exit .fwc-exit-error {
	grid-column: 1 / -1;
	width: 100%;
	margin: -4px 0 12px !important;
	padding: 0 !important;
	font-family: 'Gotham', sans-serif !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: #b3261e !important;
}

body.page-template-template-passes-v2 .fwc-exit .gform_wrapper input[type="email"].fwc-exit-input-error,
body.page-template-template-passes-v2 .fwc-exit .gform_wrapper .gfield_error input[type="email"] {
	border-color: #b3261e !important;
}

.fwc-exit .gform_wrapper {
	margin: 0;
}

.fwc-exit .gform_heading,
.fwc-exit .gform_required_legend {
	display: none;
}

.fwc-exit .gform_confirmation_message {
	margin: 0;
	font-family: 'Gotham', sans-serif;
	font-size: 15px;
	line-height: 1.5;
	color: #333333;
}

.fwc-exit-chip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	margin-top: 18px;
	min-height: 52px;
	padding: 10px 16px;
	border: 1px dashed #404742;
	border-radius: 0;
	background: transparent;
	color: #404742;
	font-family: 'Gotham', sans-serif;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.2;
	text-transform: uppercase;
	cursor: pointer;
}

.fwc-exit-chip:hover {
	opacity: .85;
}

.fwc-exit-copy-label {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	opacity: .7;
	text-transform: none;
}

body.fwc-exit-open {
	overflow: hidden;
}

/* Uncode makes <html> the scroller, same as the add-on prompt. */
html:has(body.page-template-template-passes-v2.fwc-exit-open) {
	overflow: hidden !important;
}

/* Uncode's button reset. The prompt's own buttons already carry .fwc-flow-btn. */
body.page-template-template-passes-v2 button.fwc-exit-chip {
	display: none !important;
}
	align-items: center !important;
	justify-content: space-between !important;
	width: 100% !important;
	min-height: 52px !important;
	margin: 18px 0 0 !important;
	padding: 10px 16px !important;
	border: 1px dashed #404742 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #404742 !important;
	font-family: 'Gotham', sans-serif !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	letter-spacing: .08em !important;
	line-height: 1.2 !important;
	text-transform: uppercase !important;
}

body.page-template-template-passes-v2 .fwc-exit .fwc-upsell-foot .fwc-flow-btn {
	width: 100%;
}

/* Gravity Form email step. Uncode's input and button resets reach in here. */
body.page-template-template-passes-v2 .fwc-exit .gform_wrapper input[type="email"],
body.page-template-template-passes-v2 .fwc-exit .gform_wrapper input[type="text"] {
	width: 100% !important;
	min-height: 48px !important;
	height: 48px !important;
	margin: 0 0 12px !important;
	padding: 0 14px !important;
	border: 1px solid #404742 !important;
	border-radius: 0 !important;
	background: #ffffff !important;
	box-shadow: none !important;
	font-family: 'Gotham', sans-serif !important;
	font-size: 16px !important;
	line-height: normal !important;
	color: #333333 !important;
}

body.page-template-template-passes-v2 .fwc-exit .gform_wrapper .gform_footer,
body.page-template-template-passes-v2 .fwc-exit .gform_wrapper .gform_page_footer {
	margin: 0 !important;
	padding: 0 !important;
}

body.page-template-template-passes-v2 .fwc-exit .gform_wrapper input[type="submit"],
body.page-template-template-passes-v2 .fwc-exit .gform_wrapper button.gform_button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 52px !important;
	margin: 0 !important;
	padding: 13px 28px !important;
	border: none !important;
	border-radius: 0 !important;
	background-color: #D37872 !important;
	box-shadow: none !important;
	color: #333333 !important;
	font-family: 'Gotham', sans-serif !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	cursor: pointer;
}

body.page-template-template-passes-v2 .fwc-exit .gform_confirmation_message {
	font-family: 'Gotham', sans-serif !important;
	font-size: 15px !important;
	line-height: 1.5 !important;
	margin: 0 !important;
}
