/* Mobile header logo flashing fix */
@media (max-width: 800px) {
  .header-logo,
  .header-logo a,
  .header-logo-image-container {
    opacity: 1 !important;
    visibility: visible !important;
    transition: none !important;
    animation: none !important; }
  .header-logo-image,
  .header-logo-image-unknown-size {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transition: none !important;
    animation: none !important;
    transform: none !important;
    max-height: 42px; }
  .header,
  .header.is-sticky,
  .header.sticky,
  .header--fixed,
  .has-sticky-header .header {
    transition: none !important;
    animation: none !important; } }

/* IMI Heatmiser marketing opt-in */
#FormField_26 {
  background: #f7f3f9;
  border: 1px solid #e5dcea;
  border-left: 4px solid #441f54;
  border-radius: 8px;
  padding: 18px;
  box-sizing: border-box; }

#FormField_26 > .form-label:first-child {
  display: block;
  color: #441f54;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px; }

#FormField_26 > .form-checkbox + .form-label {
  color: #29252c;
  font-size: 14px;
  line-height: 1.6; }

/* Account form: layout and spacing */
form:has(#FormField_26) {
  max-width: 900px;
  margin: 20px auto 40px;
  padding: 28px;
  background: #fff;
  border: 1px solid #e8e2eb;
  border-radius: 12px;
  box-sizing: border-box; }

/* Clearer field labels */
form:has(#FormField_26) .form-field > .form-label:first-child {
  color: #38303d;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 8px; }

/* More visible, comfortable inputs */
form:has(#FormField_26) .form-input,
form:has(#FormField_26) .form-select {
  min-height: 46px;
  border: 1px solid #cfc7d4;
  border-radius: 6px;
  background-color: #fff;
  color: #29252c;
  font-size: 16px;
  box-shadow: none; }

/* Visible keyboard and click focus */
form:has(#FormField_26) .form-input:focus,
form:has(#FormField_26) .form-select:focus {
  border-color: #441f54;
  outline: 2px solid #441f54;
  outline-offset: 2px; }

/* Preserve visible validation errors */
form:has(#FormField_26) .form-field--error .form-input,
form:has(#FormField_26) .form-field--error .form-select {
  border-color: #b42318; }

/* Match the account button to the brand */
form:has(#FormField_26) .form-actions .button--primary {
  min-height: 48px;
  padding: 12px 28px;
  border: 1px solid #441f54;
  border-radius: 6px;
  background: #441f54;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4; }

form:has(#FormField_26) .form-actions .button--primary:hover {
  background: #603474;
  border-color: #603474; }

form:has(#FormField_26) .form-actions .button--primary:focus-visible {
  outline: 2px solid #441f54;
  outline-offset: 3px; }

/* Smaller screens */
@media (max-width: 600px) {
  form:has(#FormField_26) {
    margin: 16px auto 28px;
    padding: 16px; }
  form:has(#FormField_26) .form-actions .button--primary {
    width: 100%;
    margin-left: 0;
    margin-right: 0; } }

/* Required markers: clearer and beside the label */
form:has(#FormField_26) .form-label > small {
  float: none;
  position: static;
  display: inline-block;
  margin-left: 5px;
  color: #b42318;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  vertical-align: baseline; }
