@font-face {
	font-family: "HMH GT Walsheim";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/wp-content/themes/homemadehomes/src/assets/fonts/GT-Walsheim-Regular.woff2") format("woff2");
}

@font-face {
	font-family: "HMH GT Walsheim";
	font-style: normal;
	font-weight: 600 700;
	font-display: swap;
	src: url("/wp-content/themes/homemadehomes/src/assets/fonts/GT-Walsheim-Medium.woff2") format("woff2");
}

@font-face {
	font-family: "HMH Clearface";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/wp-content/themes/homemadehomes/src/assets/fonts/3B107E_0_0.woff2") format("woff2");
}

:where(.hmh-help, .hmh-alerts) {
	--hmh-alert-raspberry: #db365e;
	--hmh-alert-navy: #2e4066;
	--hmh-alert-yellow: #faeb89;
	--hmh-alert-ink: #201e28;
	--hmh-alert-white: #fff;
	--hmh-alert-surface: #f4f3f0;
	--hmh-alert-line: rgba(46, 64, 102, 0.25);
	--hmh-alert-serif: "HMH Clearface", "ClearfaceStd-Regular", "Clearface Std", Georgia, serif;
	--hmh-alert-sans: "HMH GT Walsheim", "GT Walsheim", Arial, sans-serif;
}

.hmh-help *,
.hmh-help *::before,
.hmh-help *::after {
	box-sizing: border-box;
}

html.hmh-help-ready .cky-btn-revisit-wrapper {
	display: none !important;
}

html.hmh-help-ready #superchat-widget-content-root {
	display: none !important;
}

html.hmh-cookie-banner-open .hmh-help__launcher,
html.hmh-cookie-banner-open .hmh-help__panel {
	visibility: hidden;
	pointer-events: none;
}

.hmh-help__launcher {
	position: fixed;
	z-index: 999900;
	right: 24px;
	bottom: 24px;
	display: flex;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border: 2px solid var(--hmh-alert-raspberry) !important;
	border-radius: 999px;
	padding: 13px 22px;
	color: var(--hmh-alert-white) !important;
	background: var(--hmh-alert-raspberry) !important;
	box-shadow: 0 14px 34px rgba(32, 30, 40, 0.24);
	cursor: pointer;
	font: 700 16px/1.2 var(--hmh-alert-sans) !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.hmh-help__launcher:hover,
.hmh-help__launcher:focus-visible,
.hmh-help__launcher[aria-expanded="true"] {
	border-color: var(--hmh-alert-navy) !important;
	background: var(--hmh-alert-navy) !important;
	transform: translateY(-2px);
}

.hmh-help__launcher svg,
.hmh-help__icon svg,
.hmh-help__close svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hmh-help__launcher svg {
	width: 22px;
	height: 22px;
}

.hmh-help__badge {
	position: absolute;
	top: -7px;
	right: -4px;
	display: grid;
	width: 23px;
	height: 23px;
	place-items: center;
	border: 2px solid var(--hmh-alert-white);
	border-radius: 50%;
	color: var(--hmh-alert-navy);
	background: var(--hmh-alert-yellow);
	font: 700 12px/1 var(--hmh-alert-sans);
}

.hmh-help__panel[hidden] {
	display: none !important;
}

.hmh-help__panel {
	position: fixed;
	z-index: 999910;
	right: 24px;
	bottom: 90px;
	width: min(370px, calc(100vw - 32px));
	overflow: hidden;
	border: 1px solid rgba(46, 64, 102, 0.16);
	border-top: 6px solid var(--hmh-alert-raspberry);
	border-radius: 16px;
	color: var(--hmh-alert-ink);
	background: var(--hmh-alert-white);
	box-shadow: 0 24px 65px rgba(32, 30, 40, 0.28);
	font-family: var(--hmh-alert-sans);
}

.hmh-help__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	padding: 24px 22px 18px;
	background: var(--hmh-alert-surface);
}

.hmh-help__eyebrow {
	margin: 0 0 5px !important;
	color: var(--hmh-alert-raspberry) !important;
	font: 700 12px/1.2 var(--hmh-alert-sans) !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hmh-help__header h2 {
	margin: 0 !important;
	color: var(--hmh-alert-navy) !important;
	font: 400 30px/1.1 var(--hmh-alert-serif) !important;
	letter-spacing: 0 !important;
}

.hmh-help__close {
	display: grid;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	place-items: center;
	border: 0 !important;
	border-radius: 50%;
	padding: 0 !important;
	color: var(--hmh-alert-navy) !important;
	background: var(--hmh-alert-white) !important;
	box-shadow: none !important;
	cursor: pointer;
}

.hmh-help__close:hover,
.hmh-help__close:focus-visible {
	color: var(--hmh-alert-white) !important;
	background: var(--hmh-alert-navy) !important;
}

.hmh-help__close svg {
	width: 18px;
	height: 18px;
	stroke-width: 2;
}

.hmh-help__actions {
	display: grid;
}

.hmh-help__action {
	appearance: none !important;
	display: grid !important;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	width: 100% !important;
	min-height: 78px;
	align-items: center;
	gap: 13px;
	margin: 0 !important;
	border: 0 !important;
	border-top: 1px solid rgba(46, 64, 102, 0.13) !important;
	border-radius: 0 !important;
	padding: 14px 18px !important;
	color: var(--hmh-alert-ink) !important;
	background: var(--hmh-alert-white) !important;
	box-shadow: none !important;
	cursor: pointer;
	font-family: var(--hmh-alert-sans) !important;
	letter-spacing: 0 !important;
	text-align: left !important;
	text-decoration: none !important;
	text-transform: none !important;
}

.hmh-help__action:hover,
.hmh-help__action:focus-visible {
	color: var(--hmh-alert-ink) !important;
	background: #fbfaf8 !important;
}

.hmh-help__action--alert {
	background: #fff8fa !important;
}

.hmh-help__icon {
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	border-radius: 50%;
	color: var(--hmh-alert-navy);
	background: var(--hmh-alert-yellow);
}

.hmh-help__action--alert .hmh-help__icon {
	color: var(--hmh-alert-white);
	background: var(--hmh-alert-raspberry);
}

.hmh-help__icon svg {
	width: 22px;
	height: 22px;
}

.hmh-help__action-copy {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.hmh-help__action-copy strong {
	color: var(--hmh-alert-navy);
	font: 700 16px/1.25 var(--hmh-alert-sans);
}

.hmh-help__action-copy small {
	color: #5b5d66;
	font: 400 13px/1.35 var(--hmh-alert-sans);
}

.hmh-help__chevron {
	color: var(--hmh-alert-raspberry);
	font: 400 28px/1 var(--hmh-alert-sans);
	transition: transform 160ms ease;
}

.hmh-help__action[aria-expanded="true"] .hmh-help__chevron {
	transform: rotate(90deg);
}

.hmh-help__channels[hidden] {
	display: none !important;
}

.hmh-help__channels {
	display: grid;
	grid-template-columns: 1fr;
	border-top: 1px solid rgba(46, 64, 102, 0.13);
	padding: 8px 14px 12px 74px;
	background: #fbfaf8;
}

.hmh-help__channel {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) auto;
	min-height: 54px;
	align-items: center;
	gap: 10px;
	border-bottom: 1px solid rgba(46, 64, 102, 0.1);
	padding: 8px 4px;
	color: var(--hmh-alert-ink) !important;
	font-family: var(--hmh-alert-sans);
	text-decoration: none !important;
}

.hmh-help__channel:last-child {
	border-bottom: 0;
}

.hmh-help__channel:hover,
.hmh-help__channel:focus-visible {
	color: var(--hmh-alert-navy) !important;
	background: var(--hmh-alert-white);
}

.hmh-help__channel > span:nth-child(2) {
	display: grid;
	gap: 2px;
}

.hmh-help__channel strong {
	color: var(--hmh-alert-navy);
	font: 700 14px/1.25 var(--hmh-alert-sans);
}

.hmh-help__channel small {
	color: #5b5d66;
	font: 400 12px/1.3 var(--hmh-alert-sans);
}

.hmh-help__channel-mark {
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	border-radius: 50%;
	color: var(--hmh-alert-navy);
	background: var(--hmh-alert-yellow);
}

.hmh-help__channel-mark svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hmh-help__external {
	color: var(--hmh-alert-raspberry);
	font: 700 18px/1 var(--hmh-alert-sans);
}

.hmh-alerts__backdrop[hidden] {
	display: none !important;
}

.hmh-alerts__backdrop {
	position: fixed;
	z-index: 999990;
	inset: 0;
	display: grid;
	place-items: center;
	overflow-y: auto;
	padding: 24px;
	background: rgba(32, 30, 40, 0.7);
	backdrop-filter: blur(4px);
}

.hmh-alerts__dialog {
	position: relative;
	width: min(620px, 100%);
	border-top: 6px solid var(--hmh-alert-raspberry);
	border-radius: 14px;
	padding: 38px;
	color: var(--hmh-alert-ink);
	background: var(--hmh-alert-white);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
	font-family: var(--hmh-alert-sans);
}

.hmh-alerts__close {
	position: absolute;
	top: 16px;
	right: 16px;
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	border: 0;
	border-radius: 50%;
	color: var(--hmh-alert-navy);
	background: var(--hmh-alert-surface);
	cursor: pointer;
}

.hmh-alerts__close:hover,
.hmh-alerts__close:focus-visible {
	color: var(--hmh-alert-white);
	background: var(--hmh-alert-navy);
}

.hmh-alerts__close svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
}

.hmh-alerts__eyebrow {
	margin: 0 48px 8px 0 !important;
	color: var(--hmh-alert-raspberry) !important;
	font-family: var(--hmh-alert-sans) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hmh-alerts__dialog h2 {
	margin: 0 48px 14px 0 !important;
	color: var(--hmh-alert-navy) !important;
	font-family: var(--hmh-alert-serif) !important;
	font-size: clamp(30px, 5vw, 42px) !important;
	font-weight: 400 !important;
	line-height: 1.08 !important;
	letter-spacing: 0 !important;
}

.hmh-alerts__intro {
	margin: 0 0 24px !important;
	font-size: 16px !important;
	line-height: 1.55 !important;
}

.hmh-alerts__form {
	display: grid;
	gap: 17px;
}

.hmh-alerts__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.hmh-alerts__form label:not(.hmh-alerts__consent):not(.hmh-alerts__honeypot) {
	display: grid;
	gap: 7px;
	color: var(--hmh-alert-navy);
	font-size: 15px;
	font-weight: 700;
}

.hmh-alerts__form input[type="text"],
.hmh-alerts__form input[type="email"] {
	width: 100%;
	min-height: 48px;
	border: 1px solid var(--hmh-alert-line);
	border-radius: 8px;
	padding: 10px 13px;
	color: var(--hmh-alert-ink);
	background: var(--hmh-alert-white);
	font: 400 16px/1.3 var(--hmh-alert-sans);
}

.hmh-alerts__form input:focus {
	border-color: var(--hmh-alert-raspberry);
	outline: 3px solid rgba(219, 54, 94, 0.17);
}

.hmh-alerts__form input[aria-invalid="true"] {
	border-color: var(--hmh-alert-raspberry) !important;
	outline: 3px solid rgba(219, 54, 94, 0.17) !important;
}

.hmh-alerts__consent {
	display: grid;
	grid-template-columns: 22px 1fr;
	gap: 11px;
	align-items: start;
	color: var(--hmh-alert-ink);
	font-size: 14px;
	line-height: 1.5;
}

.hmh-alerts__consent input {
	width: 19px;
	height: 19px;
	margin: 2px 0 0;
	accent-color: var(--hmh-alert-raspberry);
}

.hmh-alerts__consent a {
	color: var(--hmh-alert-navy);
	font-weight: 700;
}

.hmh-alerts__honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.hmh-alerts__submit {
	appearance: none !important;
	justify-self: start !important;
	width: auto !important;
	min-width: 0 !important;
	min-height: 46px !important;
	margin: 0 !important;
	border: 2px solid var(--hmh-alert-raspberry) !important;
	border-radius: 999px !important;
	padding: 10px 22px !important;
	color: var(--hmh-alert-white) !important;
	background: var(--hmh-alert-raspberry) !important;
	box-shadow: none !important;
	cursor: pointer;
	font-family: var(--hmh-alert-sans) !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-align: center !important;
	text-decoration: none !important;
	text-transform: none !important;
}

.hmh-alerts__submit:hover,
.hmh-alerts__submit:focus-visible {
	border-color: var(--hmh-alert-navy) !important;
	background: var(--hmh-alert-navy) !important;
}

.hmh-alerts__submit:disabled {
	cursor: wait;
	opacity: 0.65;
}

.hmh-alerts__message:empty {
	display: none;
}

.hmh-alerts__message {
	border-radius: 8px;
	padding: 12px 14px;
	font-size: 15px;
	line-height: 1.45;
}

.hmh-alerts__message.is-success {
	color: #163f2a;
	background: #e5f5ec;
}

.hmh-alerts__message.is-error {
	position: relative;
	border-left: 4px solid var(--hmh-alert-raspberry);
	padding-left: 40px;
	color: #7e2036;
	background: #fde8ed;
}

.hmh-alerts__message.is-error::before {
	position: absolute;
	top: 50%;
	left: 14px;
	display: grid;
	width: 18px;
	height: 18px;
	place-items: center;
	border-radius: 50%;
	color: var(--hmh-alert-white);
	background: var(--hmh-alert-raspberry);
	content: "!";
	font: 700 13px/1 var(--hmh-alert-sans);
	transform: translateY(-50%);
}

html.hmh-alerts-open,
html.hmh-alerts-open body {
	overflow: hidden;
}

@media (max-width: 640px) {
	.hmh-help__launcher {
		right: 14px;
		bottom: max(14px, env(safe-area-inset-bottom));
		width: 56px;
		height: 56px;
		min-height: 56px;
		padding: 0 !important;
	}

	.hmh-help__launcher-text {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.hmh-help__panel {
		right: 0;
		bottom: 0;
		width: 100%;
		max-height: 88vh;
		max-height: 88dvh;
		overflow-y: auto;
		border-right: 0;
		border-bottom: 0;
		border-left: 0;
		border-radius: 16px 16px 0 0;
		padding-bottom: max(10px, env(safe-area-inset-bottom));
	}

	.hmh-help__header {
		padding: 22px 20px 16px;
	}

	.hmh-help__action {
		min-height: 76px;
		padding: 13px 16px !important;
	}

	.hmh-help__channels {
		padding-left: 68px;
	}

	.hmh-alerts__backdrop {
		align-items: end;
		padding: 0;
	}

	.hmh-alerts__dialog {
		width: 100%;
		max-height: 94vh;
		max-height: 94dvh;
		overflow-y: auto;
		border-radius: 14px 14px 0 0;
		padding: 30px 22px max(28px, env(safe-area-inset-bottom));
	}

	.hmh-alerts__grid {
		grid-template-columns: 1fr;
	}

	.hmh-alerts__submit {
		width: 100% !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hmh-help__launcher {
		transition: none;
	}
}
