/* Black Friday signups outside the campaign page: homepage hero and popup.
   Same look as /black-friday/. The !important rules hold against Woodmart's form styles. */
.hmbfs {
	--s-bg: #0A0A08;
	--s-text: #F1ECDF;
	--s-muted: #B9B3A2;
	--s-yellow: #FFD400;
	--s-gold: #C9A35A;
	--s-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
	--s-sans: 'Inter', 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
	box-sizing: border-box;
	color: var(--s-text);
	font-family: var(--s-sans);
}
.hmbfs *, .hmbfs *::before, .hmbfs *::after { box-sizing: border-box; }
.hmbfs p { margin: 0; }
.hmbfs-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.hmbfs-hp { position: absolute !important; left: -9999px; width: 1px !important; height: 1px !important; opacity: 0; }

.hmbfs-bf { font-family: var(--s-serif); font-weight: 700; font-size: clamp(84px, 9.6vw, 150px); line-height: 0.88; letter-spacing: -0.02em; text-transform: uppercase; }
.hmbfs-bf span { display: block; color: var(--s-text); }
.hmbfs-bf span + span { color: var(--s-yellow); text-shadow: 0 0 28px rgba(255, 212, 0, 0.40), 0 0 70px rgba(255, 212, 0, 0.18); }
.hmbfs-bf--sm { font-size: 58px; }
.hmbfs-since { margin-top: 16px !important; font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #D2CCBC; }
.hmbfs-upto { margin-top: 22px; display: flex; align-items: flex-end; gap: 14px; }
.hmbfs-upto span { padding-bottom: 14px; font-size: 15px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #FFFFFF; }
.hmbfs-upto strong { font-family: var(--s-serif); font-weight: 700; font-size: clamp(84px, 8vw, 120px); line-height: 0.9; color: var(--s-yellow); text-shadow: 0 0 30px rgba(255, 212, 0, 0.35); }
.hmbfs h2.hmbfs-h { margin: 0; padding: 0; font-family: var(--s-serif) !important; font-weight: 700 !important; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.1; letter-spacing: -0.01em; text-transform: none; color: #FFFFFF !important; }
.hmbfs-i { margin-top: 4px !important; font-family: var(--s-serif); font-style: italic; font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; color: var(--s-gold); }
.hmbfs-t { margin-top: 8px !important; font-size: 16px; line-height: 1.5; color: var(--s-text); }
.hmbfs-note { margin-top: 10px !important; font-size: 13px; color: var(--s-muted); }

.hmbfs-timer { margin-top: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.hmbfs-timer > div { padding: 13px 0 11px; border: 1px solid rgba(255, 255, 255, 0.10); border-radius: 14px; background: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hmbfs-timer span { font-family: var(--s-serif); font-size: 30px; font-weight: 700; line-height: 1; color: var(--s-yellow); font-variant-numeric: tabular-nums; }
.hmbfs-timer small { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--s-muted); }

.hmbfs-form { margin: 18px 0 0 !important; }
.hmbfs-form__row { display: flex; gap: 8px; }
.hmbfs input[type="email"] { flex: 1 1 auto; min-width: 0; width: auto !important; height: 54px !important; margin: 0 !important; padding: 0 18px !important; background: rgba(0, 0, 0, 0.45) !important; border: 1px solid rgba(255, 255, 255, 0.22) !important; border-radius: 999px !important; box-shadow: none !important; color: var(--s-text) !important; font-family: var(--s-sans) !important; font-size: 16px !important; }
.hmbfs input[type="email"]::placeholder { color: var(--s-muted); opacity: 1; }
.hmbfs input[type="email"]:focus { border-color: var(--s-yellow) !important; outline: none; }
.hmbfs-form button[type="submit"], .hmbfs a.hmbfs-cta { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; height: 54px; min-height: 54px; margin: 0; padding: 0 24px !important; border: 0 !important; border-radius: 999px !important; background: var(--s-yellow) !important; color: var(--s-bg) !important; font-family: var(--s-sans) !important; font-size: 15px !important; font-weight: 700 !important; line-height: 1 !important; letter-spacing: normal !important; text-transform: none !important; text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: 0 0 28px rgba(255, 212, 0, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important; }
.hmbfs-form button[type="submit"]:hover, .hmbfs a.hmbfs-cta:hover { box-shadow: 0 0 40px rgba(255, 212, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important; color: var(--s-bg) !important; }
.hmbfs-form button[disabled] { opacity: .6; cursor: wait; }
.hmbfs a.hmbfs-cta { margin-top: 20px; padding: 0 34px !important; font-size: 16px !important; }
.hmbfs-legal { margin-top: 10px !important; font-size: 12px; line-height: 1.5; color: var(--s-muted); }
.hmbfs-legal a { color: #FFFFFF !important; text-decoration: underline; }
.hmbfs-msg { margin-top: 10px !important; font-size: 15px; line-height: 1.5; }
.hmbfs-msg:empty { display: none; }
.hmbfs-msg.is-ok { color: var(--s-yellow); font-weight: 700; }
.hmbfs-msg.is-err { color: #FF9C8A; }
.hmbfs-form.is-done .hmbfs-form__row, .hmbfs-form.is-done .hmbfs-legal { display: none; }

/* Homepage hero */
.hmbfs-hero { background: radial-gradient(70% 90% at 85% 0%, rgba(201, 163, 90, 0.24), rgba(10, 10, 8, 0) 70%), radial-gradient(50% 70% at 20% 40%, rgba(255, 212, 0, 0.08), rgba(10, 10, 8, 0) 70%), var(--s-bg); }
.hmbfs-hero__in { max-width: 1240px; margin: 0 auto; padding: 56px 40px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; align-items: center; }

/* Popup */
dialog.hmbfs-pop { width: min(460px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 30px 28px 18px; overflow-y: auto; border: 1px solid rgba(201, 163, 90, 0.45); border-radius: 22px; background: radial-gradient(90% 50% at 90% 0%, rgba(201, 163, 90, 0.26), rgba(10, 10, 8, 0) 70%), var(--s-bg); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
dialog.hmbfs-pop::backdrop { background: rgba(0, 0, 0, 0.72); }
.hmbfs-pop .hmbfs-upto { position: absolute; top: 46px; right: 28px; margin: 0; flex-direction: column; align-items: flex-end; gap: 2px; }
.hmbfs-pop .hmbfs-upto span { padding: 0; font-size: 11px; }
.hmbfs-pop .hmbfs-upto strong { font-size: 58px; }
.hmbfs-pop .hmbfs-h { margin-top: 20px !important; font-size: 28px; outline: none; }
.hmbfs-pop .hmbfs-form__row { flex-direction: column; }
.hmbfs-pop input[type="email"] { flex: 0 0 auto; width: 100% !important; }
.hmbfs-pop .hmbfs-form button[type="submit"] { width: 100%; }
button.hmbfs-pop__x { position: absolute; top: 6px; right: 6px; z-index: 1; width: 44px; height: 44px; min-height: 0; padding: 0 !important; display: flex; align-items: center; justify-content: center; border: 0 !important; background: none !important; box-shadow: none !important; color: var(--s-muted) !important; cursor: pointer; }
button.hmbfs-pop__x:hover { color: #FFFFFF !important; }
button.hmbfs-pop__no { display: block; width: 100%; height: 44px; min-height: 0; margin-top: 4px; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; color: var(--s-muted) !important; font-family: var(--s-sans) !important; font-size: 14px !important; font-weight: 500 !important; text-transform: none !important; letter-spacing: normal !important; cursor: pointer; }
button.hmbfs-pop__no:hover { color: #FFFFFF !important; }

@media (max-width: 900px) {
	.hmbfs-hero__in { padding: 26px 20px 28px; grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.hmbfs-hero__l { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 12px; }
	.hmbfs-hero .hmbfs-bf { font-size: clamp(50px, 15vw, 96px); }
	.hmbfs-hero .hmbfs-since { grid-column: 1 / -1; grid-row: 2; margin-top: 12px !important; font-size: 11px; letter-spacing: 0.14em; }
	.hmbfs-hero .hmbfs-upto { grid-column: 2; grid-row: 1; margin: 0; flex-direction: column; align-items: flex-end; gap: 2px; }
	.hmbfs-hero .hmbfs-upto span { padding: 0; font-size: 11px; }
	.hmbfs-hero .hmbfs-upto strong { font-size: clamp(50px, 15vw, 96px); }
	.hmbfs-hero .hmbfs-form__row { flex-direction: column; }
	.hmbfs-hero input[type="email"] { flex: 0 0 auto; width: 100% !important; }
	.hmbfs-hero .hmbfs-form button[type="submit"], .hmbfs-hero a.hmbfs-cta { width: 100%; }
}
@media (max-width: 560px) {
	dialog.hmbfs-pop { width: 100vw; max-width: 100vw; margin: auto 0 0; padding: 26px 20px 12px; border-width: 1px 0 0; border-radius: 22px 22px 0 0; }
	.hmbfs-pop .hmbfs-upto { top: 44px; right: 20px; }
	.hmbfs-bf--sm, .hmbfs-pop .hmbfs-upto strong { font-size: 50px; }
}
