/* Upload welcome-lightbox-assets/ to /img/welcome-lightbox/.
 * Private font names keep all typography changes inside the native dialog. */
@font-face {
	font-family: AHWelcomePoppins;
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/img/welcome-lightbox/site-font-0.ttf") format("truetype");
}
@font-face {
	font-family: AHWelcomePoppins;
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("/img/welcome-lightbox/site-font-1.ttf") format("truetype");
}
@font-face {
	font-family: AHWelcomePoppins;
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("/img/welcome-lightbox/site-font-2.ttf") format("truetype");
}
@font-face {
	font-family: AHWelcomeRoboto;
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/img/welcome-lightbox/site-font-3.ttf") format("truetype");
}
@font-face {
	font-family: AHWelcomeRoboto;
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("/img/welcome-lightbox/site-font-4.ttf") format("truetype");
}
.ahwl-dialog {
	box-sizing: border-box;
	width: min(500px, calc(100vw - 32px));
	max-width: none;
	max-height: calc(100vh - 40px);
	max-height: calc(var(--ahwl-viewport-height, 100dvh) - 40px);
	top: var(--ahwl-viewport-top, 0px);
	bottom: var(--ahwl-viewport-bottom, 0px);
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: #fff;
	color: #0b3158;
	font:
		16px/1.55 AHWelcomeRoboto,
		Roboto,
		Arial,
		sans-serif;
	overflow: auto;
	overscroll-behavior: contain;
	box-shadow: 0 22px 80px #102f3950;
}
.ahwl-dialog:not([open]) {
	display: none;
}
.ahwl-dialog::backdrop {
	background: #14242d77;
	backdrop-filter: blur(8px);
}
.ahwl-dialog *,
.ahwl-dialog *::before,
.ahwl-dialog *::after {
	box-sizing: border-box;
}
.ahwl-dialog .ahwl-panel {
	position: relative;
}
.ahwl-dialog .ahwl-content {
	position: relative;
	min-width: 0;
	padding: 38px 38px 26px;
}
.ahwl-dialog .ahwl-heading {
	margin: 0 0 20px;
	color: #0b3158;
	font:
		400 27px/1.2 AHWelcomePoppins,
		Poppins,
		Arial,
		sans-serif;
	letter-spacing: -0.6px;
}
.ahwl-dialog .ahwl-title {
	margin: 0 0 20px;
	padding: 0;
	color: #007e97;
	font-family: AHWelcomePoppins, Poppins, Arial, sans-serif;
	font-weight: 600;
	line-height: 1.05;
}
.ahwl-dialog .ahwl-discount {
	display: block;
	font-size: 72px;
	letter-spacing: -3px;
	white-space: nowrap;
}
.ahwl-dialog .ahwl-discount > span {
	font-size: 44px;
	letter-spacing: -1px;
}
.ahwl-dialog .ahwl-first {
	display: block;
	margin-top: 8px;
	color: #0b3158;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 400;
	letter-spacing: 0;
}
.ahwl-dialog .ahwl-form {
	margin: 0;
	padding: 0;
	text-align: left;
}
.ahwl-dialog .ahwl-email-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.ahwl-dialog .ahwl-email {
	display: block;
	width: 100%;
	min-width: 0;
	height: 52px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid #9fb3bd;
	border-radius: 4px;
	background: #fff;
	color: #0b3158;
	font: inherit;
}
.ahwl-dialog .ahwl-consent {
	display: block;
	margin: 16px 0 0;
	color: #38556b;
	font-size: 12px;
	line-height: 1.55;
	font-weight: 400;
}
.ahwl-dialog .ahwl-privacy {
	margin: 10px 0 0;
	color: #38556b;
	font-size: 12px;
}
.ahwl-dialog .ahwl-privacy a,
.ahwl-dialog .ahwl-privacy a:visited {
	color: #345c71;
	text-decoration: underline;
}
.ahwl-dialog button {
	font: inherit;
	cursor: pointer;
	text-transform: none;
	touch-action: manipulation;
}
.ahwl-dialog .ahwl-submit {
	display: block;
	width: 100%;
	min-height: 52px;
	margin: 10px 0 0;
	padding: 12px 18px;
	border: 0;
	border-radius: 4px;
	background: #0b3158;
	color: #fff;
	font:
		500 16px/1.4 AHWelcomePoppins,
		Poppins,
		Arial,
		sans-serif;
}
.ahwl-dialog .ahwl-submit:hover:not(:disabled) {
	background: #164b73;
}
.ahwl-dialog .ahwl-submit:disabled {
	opacity: 0.65;
	cursor: default;
}
/* Zero-height sticky rail keeps the close target independent of art and scrolling. */
.ahwl-dialog .ahwl-close-bar { position: sticky; top: 0; height: 0; z-index: 4; }
.ahwl-dialog .ahwl-close {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #ffffffdc;
	color: #0b3158;
	font-size: 28px;
	line-height: 1;
}
.ahwl-dialog .ahwl-close:hover {
	background: #e6edef;
}
.ahwl-dialog .ahwl-message {
	margin: 12px 0 0;
	overflow-wrap: anywhere;
	font-size: 14px;
}
.ahwl-dialog .ahwl-message:empty {
	display: none;
}
.ahwl-dialog .ahwl-message-error {
	color: #a32323;
}
.ahwl-dialog [hidden] {
	display: none !important;
}
.ahwl-dialog :is(button, input, a):focus-visible {
	outline: 3px solid #d17b33;
	outline-offset: 3px;
}
.ahwl-dialog :is(button, input, a) {
	scroll-margin-block: 60px 24px;
}
.ahwl-dialog .ahwl-art {
	display: none;
	pointer-events: none;
}
.ahwl-dialog .ahwl-art img {
	display: none;
}
.ahwl-dialog .ahwl-continue { display: none; }
.ahwl-dialog .ahwl-offer-copy, .ahwl-dialog .ahwl-fields, .ahwl-dialog .ahwl-permission { display: contents; }
/* A: compact, centered card without artwork. */
.ahwl-dialog.ahwl-test-minimal .ahwl-content {
	text-align: center;
}
/* B: 35/65 split and the supplied hand/bottle artwork. */
.ahwl-dialog.ahwl-test-art {
	width: min(920px, calc(100vw - 32px));
	background: #fffdf9;
}
.ahwl-dialog.ahwl-test-art .ahwl-panel {
	display: grid;
	grid-template-columns: 35% 65%;
}
.ahwl-dialog.ahwl-test-art .ahwl-content {
	padding: 38px 42px 28px;
}
.ahwl-dialog.ahwl-test-art .ahwl-art {
	display: block;
	position: relative;
	overflow: hidden;
}
.ahwl-dialog.ahwl-test-art .ahwl-hand {
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}
.ahwl-dialog.ahwl-test-art .ahwl-heading {
	font-size: 28px;
	margin-bottom: 18px;
}
.ahwl-dialog.ahwl-test-art .ahwl-discount {
	font-size: 76px;
}
.ahwl-dialog.ahwl-test-art .ahwl-discount > span {
	font-size: 46px;
}
/* C: preferred 2:1 desktop composition, with natural content-height growth. */
.ahwl-dialog.ahwl-test-fullscreen { border-radius: 12px; background: #fffdf9; }
.ahwl-dialog.ahwl-test-fullscreen .ahwl-panel { position: relative; }
.ahwl-dialog.ahwl-test-fullscreen .ahwl-art { display: block; overflow: hidden; }
.ahwl-dialog.ahwl-test-fullscreen .ahwl-scene { display: block; position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; object-position: center; }
.ahwl-dialog.ahwl-test-fullscreen .ahwl-bottle { display: block; position: absolute; height: 72%; width: auto; right: 21%; bottom: 10%; filter: drop-shadow(4px 6px 5px #543c2324); }
@media (min-width: 661px) {
  .ahwl-dialog.ahwl-test-fullscreen {
    box-sizing: border-box;
    width: var(--ahwl-c-width, min(90vw, 180dvh, 1440px));
    height: fit-content;
    min-width: 0;
    min-height: var(--ahwl-c-min-height, min(90dvh, 560px));
    max-width: 90vw;
    max-height: calc(var(--ahwl-viewport-height, 100dvh) * .9);
    padding: 0;
    border: 0;
    overflow: auto;
  }
  .ahwl-dialog.ahwl-test-fullscreen .ahwl-panel { position: relative; width: 100%; min-height: var(--ahwl-c-min-height, min(90dvh, 560px)); display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; }
  .ahwl-dialog.ahwl-test-fullscreen .ahwl-art { position: absolute; inset: 0; width: 100%; height: 100%; }
  .ahwl-dialog.ahwl-test-fullscreen .ahwl-bottle { height: auto; width: 22%; max-height: 78%; object-fit: contain; right: 18%; bottom: 10%; }
  /* Center one intrinsic-height block, never distribute height between its sections. */
  .ahwl-dialog.ahwl-test-fullscreen .ahwl-content {
    --c-scale: var(--ahwl-c-scale, 1);
    position: relative;
    width: min(48%, max(260px, calc(480px * var(--c-scale))));
    min-height: 0;
    margin: 0 0 0 6%;
    padding: max(12px, calc(24px * var(--c-scale))) 4px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: max(10px, calc(16px * var(--c-scale)));
    overflow: visible;
  }
  .ahwl-dialog.ahwl-test-fullscreen .ahwl-offer-copy { display: block; }
  .ahwl-dialog.ahwl-test-fullscreen .ahwl-heading { font-size: max(22px, calc(32px * var(--c-scale))); line-height: 1.14; margin-bottom: max(8px, calc(14px * var(--c-scale))); }
  .ahwl-dialog.ahwl-test-fullscreen .ahwl-discount { font-size: max(44px, calc(80px * var(--c-scale))); }
  .ahwl-dialog.ahwl-test-fullscreen .ahwl-discount > span { font-size: max(26px, calc(48px * var(--c-scale))); }
  .ahwl-dialog.ahwl-test-fullscreen .ahwl-first { font-size: max(18px, calc(24px * var(--c-scale))); margin: max(4px, calc(8px * var(--c-scale))) 0 0; }
  .ahwl-dialog.ahwl-test-fullscreen .ahwl-title { margin-bottom: 0; }
.ahwl-dialog.ahwl-test-fullscreen .ahwl-form { display: flex; flex-direction: column; gap: max(10px, calc(16px * var(--c-scale))); width: 100%; min-width: 0; }
  .ahwl-dialog.ahwl-test-fullscreen .ahwl-fields,
  .ahwl-dialog.ahwl-test-fullscreen .ahwl-permission { display: block; }
  .ahwl-dialog.ahwl-test-fullscreen .ahwl-entry { display: flex; align-items: stretch; gap: max(8px, calc(10px * var(--c-scale))); }
  .ahwl-dialog.ahwl-test-fullscreen .ahwl-email { flex: 1 1 auto; width: 0; min-width: 0; font-size: max(16px, calc(16px * var(--c-scale))); height: max(44px, calc(52px * var(--c-scale))); min-height: 44px; padding-inline: max(10px, calc(14px * var(--c-scale))); }
  .ahwl-dialog.ahwl-test-fullscreen .ahwl-submit { flex: 0 0 38%; width: auto; min-height: max(44px, calc(52px * var(--c-scale))); font-size: max(16px, calc(16px * var(--c-scale))); margin: 0; padding: max(8px, calc(10px * var(--c-scale))) max(8px, calc(10px * var(--c-scale))); }
  .ahwl-dialog.ahwl-test-fullscreen .ahwl-privacy { font-size: max(12px, calc(12px * var(--c-scale))); margin-top: max(6px, calc(10px * var(--c-scale))); }
  .ahwl-dialog.ahwl-test-fullscreen .ahwl-consent { font-size: max(12px, calc(12px * var(--c-scale))); line-height: 1.5; margin-top: 0; gap: max(8px, calc(10px * var(--c-scale))); }
  .ahwl-dialog.ahwl-test-fullscreen .ahwl-message { font-size: max(14px, calc(14px * var(--c-scale))); margin: 0; }

}
@media (min-width: 661px) {
  .ahwl-dialog.ahwl-test-fullscreen .ahwl-continue {
    display: block;
    align-self: flex-start;
    min-height: 44px;
    margin: 0;
    padding: 10px 0;
    border: 0;
    background: transparent;
    color: #345c71;
    font-size: max(14px, calc(14px * var(--c-scale)));
    text-decoration: underline;
  }
  .ahwl-dialog.ahwl-test-fullscreen .ahwl-continue:hover { color: #0b3158; }
}
/* Keep the cap extension on roomy desktops; the content pane still scrolls. */
@media (min-width: 661px) and (min-height: 650px) {
	.ahwl-dialog.ahwl-test-art {
		overflow: visible;
	}
	.ahwl-dialog.ahwl-test-art .ahwl-content {
		max-height: calc(var(--ahwl-viewport-height, 100dvh) - 120px);
		overflow-y: auto;
	}
	.ahwl-dialog.ahwl-test-art .ahwl-art {
		overflow: visible;
		clip-path: inset(-60px 0 0 0 round 0 0 0 8px);
	}
	.ahwl-dialog.ahwl-test-art .ahwl-hand {
		top: -50px;
		bottom: auto;
		height: calc(100% + 50px);
	}
}
@media (max-width: 660px) {
	.ahwl-dialog {
		width: calc(100vw - 24px);
		max-height: calc(100vh - 24px);
		max-height: calc(var(--ahwl-viewport-height, 100dvh) - 24px);
	}
	.ahwl-dialog .ahwl-content {
		padding: 48px 26px 26px;
	}
	.ahwl-dialog .ahwl-heading {
		font-size: 25px;
	}
	.ahwl-dialog .ahwl-discount,
	.ahwl-dialog.ahwl-test-art .ahwl-discount {
		font-size: clamp(48px, 16vw, 64px);
	}
	.ahwl-dialog .ahwl-discount > span,
	.ahwl-dialog.ahwl-test-art .ahwl-discount > span {
		font-size: clamp(30px, 10vw, 39px);
	}
	.ahwl-dialog .ahwl-consent {
		font-size: 12px;
	}

}
@media (min-width: 661px) and (max-height: 500px) {
	.ahwl-dialog .ahwl-content {
		padding-top: 48px;
	}
	.ahwl-dialog.ahwl-test-art .ahwl-art {
		display: none;
	}
	.ahwl-dialog.ahwl-test-art .ahwl-panel {
		display: block;
	}
}

/* B/C mobile heroes share the offer row with artwork; the form stays intact below. */
@media (max-width: 660px) {
  .ahwl-dialog { width: calc(100vw - 32px); max-height: calc(100vh - 32px); max-height: calc(var(--ahwl-viewport-height, 100dvh) - 32px); }
  .ahwl-dialog.ahwl-test-art,
  .ahwl-dialog.ahwl-test-fullscreen { width: min(430px, calc(100vw - 32px)); height: fit-content; min-height: 0; border-radius: 12px; overflow: auto; }
  .ahwl-dialog:is(.ahwl-test-art, .ahwl-test-fullscreen) .ahwl-panel { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: max-content; align-content: start; height: auto; min-height: 0; }
  .ahwl-dialog:is(.ahwl-test-art, .ahwl-test-fullscreen) .ahwl-content { display: contents; }
  .ahwl-dialog:is(.ahwl-test-art, .ahwl-test-fullscreen) .ahwl-art { grid-area: 1 / 1; display: block; position: relative; height: clamp(190px, 54vw, 222px); overflow: hidden; clip-path: none; }
  .ahwl-dialog.ahwl-test-art .ahwl-art { background: #f6ede0; }
  .ahwl-dialog.ahwl-test-art .ahwl-hand { display: block; position: absolute; width: 43%; height: calc(100% - 20px); max-width: none; top: 14px; bottom: auto; left: auto; right: 2px; object-fit: contain; object-position: center; }
  .ahwl-dialog.ahwl-test-fullscreen .ahwl-art { height: clamp(210px, 58vw, 240px); }
  .ahwl-dialog.ahwl-test-fullscreen .ahwl-scene { object-position: 48% center; }
  .ahwl-dialog.ahwl-test-fullscreen .ahwl-bottle { height: 73%; width: auto; left: auto; right: 5%; bottom: 12px; }
  .ahwl-dialog:is(.ahwl-test-art, .ahwl-test-fullscreen) .ahwl-offer-copy { grid-area: 1 / 1; display: block; position: relative; align-self: center; width: 61%; padding: 18px 8px 18px 24px; }
  .ahwl-dialog:is(.ahwl-test-art, .ahwl-test-fullscreen) .ahwl-heading { font-size: 19.36px; line-height: 1.25; letter-spacing: -.6px; margin: 0 0 10px; }
  .ahwl-dialog:is(.ahwl-test-art, .ahwl-test-fullscreen) .ahwl-title { margin: 0; }
  .ahwl-dialog:is(.ahwl-test-art, .ahwl-test-fullscreen) .ahwl-discount { font-size: clamp(43.56px, 12.1vw, 55.66px); letter-spacing: -1.5px; }
  .ahwl-dialog:is(.ahwl-test-art, .ahwl-test-fullscreen) .ahwl-discount > span { font-size: clamp(24.2px, 6.655vw, 29.04px); letter-spacing: -.5px; }
  .ahwl-dialog:is(.ahwl-test-art, .ahwl-test-fullscreen) .ahwl-first { font-size: 19.36px; letter-spacing: -.3px; line-height: 1.3; margin: 6px 0 0; }
.ahwl-dialog:is(.ahwl-test-art, .ahwl-test-fullscreen) .ahwl-form { grid-row: 2; align-self: start; min-height: 0; padding: 0 20px 10px; background: #fffdf9; }
  .ahwl-dialog:is(.ahwl-test-art, .ahwl-test-fullscreen) .ahwl-entry { display: block; }
  .ahwl-dialog:is(.ahwl-test-art, .ahwl-test-fullscreen) .ahwl-email { width: 100%; height: 48px; font-size: 16px; }
  .ahwl-dialog:is(.ahwl-test-art, .ahwl-test-fullscreen) .ahwl-submit { width: 100%; min-height: 48px; margin: 8px 0 0; }
  .ahwl-dialog:is(.ahwl-test-art, .ahwl-test-fullscreen) .ahwl-consent { margin-top: 12px; font-size: 12px; line-height: 1.5; }
  .ahwl-dialog:is(.ahwl-test-art, .ahwl-test-fullscreen) .ahwl-privacy { margin-top: 4px; }
  .ahwl-dialog:is(.ahwl-test-art, .ahwl-test-fullscreen) .ahwl-privacy a { display: inline-flex; align-items: center; min-height: 44px; }
  .ahwl-dialog .ahwl-close { background: #fff; box-shadow: 0 1px 5px #102f3930; }
}

/* Natural mobile card height: insets center the card without stretching its body. */
@media (max-width: 660px) {
  .ahwl-dialog { height: fit-content; min-height: 0; }
  .ahwl-dialog.ahwl-test-minimal .ahwl-content { padding: 34px 20px 14px; }
  .ahwl-dialog.ahwl-test-minimal .ahwl-heading { font-size: 22px; margin-bottom: 12px; }
  .ahwl-dialog.ahwl-test-minimal .ahwl-title { margin-bottom: 12px; }
  .ahwl-dialog.ahwl-test-minimal .ahwl-discount { font-size: clamp(46px, 14vw, 58px); }
  .ahwl-dialog.ahwl-test-minimal .ahwl-first { font-size: 18px; margin-top: 4px; }
.ahwl-dialog.ahwl-test-minimal .ahwl-email { height: 48px; font-size: 16px; }
  .ahwl-dialog.ahwl-test-minimal .ahwl-submit { min-height: 48px; margin-top: 8px; }
  .ahwl-dialog.ahwl-test-minimal .ahwl-consent { margin-top: 12px; }
  .ahwl-dialog.ahwl-test-minimal .ahwl-privacy { margin-top: 4px; }
  .ahwl-dialog.ahwl-test-minimal .ahwl-privacy a { display: inline-flex; align-items: center; min-height: 44px; }
}
