.hgt-general-contact-modal[hidden] { display: none; }
.hgt-general-contact-modal { align-items: center; background: rgba(17,18,17,.64); display: flex; inset: 0; justify-content: center; overflow: auto; padding: clamp(1rem,4vw,2rem); position: fixed; z-index: 100001; }
.hgt-general-contact-modal__dialog { background: #fefefe; border: 1px solid rgba(23,63,56,.24); border-top: 4px solid #60875a; box-shadow: 0 24px 70px rgba(17,18,17,.25); box-sizing: border-box; color: #111211; margin: auto; max-height: calc(100vh - 2rem); max-width: 38rem; overflow-y: auto; padding: clamp(2rem,6vw,3.5rem); position: relative; width: 100%; }
.hgt-general-contact-modal__close { align-items: center; background: transparent; border: 1px solid rgba(23,63,56,.3); border-radius: 50%; color: #173f38; cursor: pointer; display: inline-flex; font-size: 1.65rem; height: 2.5rem; justify-content: center; line-height: 1; padding: 0; position: absolute; right: 1rem; top: 1rem; width: 2.5rem; }
.hgt-general-contact-modal__eyebrow { color: #315f38; font-size: .75rem; font-weight: 800; letter-spacing: .12em; margin: 0 3rem 1rem 0; text-transform: uppercase; }
.hgt-general-contact-modal h2 { color: #111211; font-size: clamp(1.75rem,5vw,2.5rem); line-height: 1.15; margin: 0 0 1rem; }
.hgt-general-contact-modal #hgt-general-contact-message { color: #384239; font-size: 1rem; line-height: 1.7; margin: 0 0 1.25rem; }
.hgt-general-contact-modal__email { color: #173f38; display: block; font-size: clamp(1rem,4vw,1.25rem); font-weight: 800; overflow-wrap: anywhere; text-underline-offset: .2em; }
.hgt-general-contact-modal__action { margin-top: 1.75rem; }
.hgt-general-contact-modal :where(a,button):focus-visible { outline: 3px solid #d6a84b; outline-offset: 3px; }
@media (max-width:480px) { .hgt-general-contact-modal { align-items: flex-end; padding: .75rem; } .hgt-general-contact-modal__dialog { max-height: calc(100vh - 1.5rem); padding: 2rem 1.25rem 1.5rem; } .hgt-general-contact-modal__action { width: 100%; } }
@media (prefers-reduced-motion:reduce) { .hgt-general-contact-modal *, .hgt-general-contact-modal *::before, .hgt-general-contact-modal *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }

/* Only the two approved pre-launch CTAs are disabled by the runtime adapter. */
[data-hgt-specific-cta-disabled] {
	cursor: default !important;
	filter: grayscale(.2) !important;
	opacity: .56 !important;
	pointer-events: none !important;
	transform: none !important;
	transition: none !important;
}

[data-hgt-specific-cta-disabled]:is(:hover, :focus, :active) {
	box-shadow: none !important;
	filter: grayscale(.2) !important;
	opacity: .56 !important;
	transform: none !important;
}

#sesame-genetics.hgt-sesame-australia-native--genetics .hgt-ew-card
a.button.hgt-sesame-catalogue-cta--disabled {
	-webkit-text-fill-color: #626862 !important;
	background: #d9ddd8 !important;
	border-color: #b7bdb7 !important;
	box-shadow: none !important;
	color: #626862 !important;
	cursor: default !important;
	filter: none !important;
	opacity: 1 !important;
	pointer-events: none !important;
	transform: none !important;
	transition: none !important;
}

#sesame-genetics.hgt-sesame-australia-native--genetics .hgt-ew-card
a.button.hgt-sesame-catalogue-cta--disabled:is(:hover, :focus, :active) {
	-webkit-text-fill-color: #626862 !important;
	background: #d9ddd8 !important;
	border-color: #b7bdb7 !important;
	box-shadow: none !important;
	color: #626862 !important;
	transform: none !important;
}

/* Compact HGT-owned modal close controls; behavior remains owned by existing scripts. */
.hgt-general-contact-modal .hgt-general-contact-modal__close,
.hgt-team-auth-modal .hgt-team-auth-modal__close,
.elementor-widget-hgt_team_grid .profile-modal .profile-modal__close,
.hgt-global-enquiry-modal .hgt-global-enquiry-modal__close,
.hgt-ew-request [data-hgt-request-close] {
	align-items: center !important;
	box-sizing: border-box !important;
	display: inline-flex !important;
	font-family: Arial, sans-serif !important;
	font-size: 20px !important;
	font-weight: 400 !important;
	height: 40px !important;
	justify-content: center !important;
	line-height: 1 !important;
	margin: 0 !important;
	max-height: 40px !important;
	max-width: 40px !important;
	min-height: 40px !important;
	min-width: 40px !important;
	padding: 0 0 2px !important;
	position: absolute !important;
	right: 12px !important;
	top: 12px !important;
	width: 40px !important;
	z-index: 3 !important;
}

.hgt-general-contact-modal__dialog,
.hgt-team-auth-modal__dialog,
.elementor-widget-hgt_team_grid .profile-modal__dialog,
.hgt-global-enquiry-modal__dialog {
	overflow-x: hidden !important;
}

.hgt-general-contact-modal__dialog > :where(.hgt-general-contact-modal__eyebrow, h2),
.hgt-team-auth-modal__dialog > :where(.eyebrow, h2, .hgt-auth__intro),
.hgt-global-enquiry-modal .hgt-enquiry-form__intro {
	padding-right: 48px !important;
}
