/* Shared presentation for suite components. Theme and WordPress admin UI stay scoped out. */
:root {
    --hmh-suite-sans: "HMH GT Walsheim", "GT-Walsheim-Regular", "GT Walsheim", Arial, sans-serif;
    --hmh-suite-serif: "HMH Clearface", "ClearfaceStd-Regular", "Clearface Std", Georgia, serif;
    --hmh-suite-navy: #2e4066;
    --hmh-suite-raspberry: #db365e;
}

/* Use the same registered brand fonts as the content, calculator and help modules. */
.hmh-smart-search,
.hmh-homes-results,
.hmh-map-popup,
.hmh-development-enquiry {
    font-family: var(--hmh-suite-sans);
}

.hmh-homes-results .hmh-results-summary span,
#response.hmh-results-grid > .card.homes h2,
.hmh-map-popup__title {
    font-family: var(--hmh-suite-serif);
    letter-spacing: normal;
}

#properties.hpf-enhanced {
    --hpf-serif: var(--hmh-suite-serif);
    --hpf-sans: var(--hmh-suite-sans);
    --hpf-raspberry: var(--hmh-suite-raspberry);
}

#properties.hpf-enhanced .upper h2 {
    color: var(--hmh-suite-navy);
}

/* Action buttons follow the pill shape used by About Us, stories and calculators.
   Filter toggles, plot markers and close controls retain their own interaction shapes. */
.hmh-smart-search .hmh-smart-search__submit,
#response.hmh-results-grid > .card.homes .homes-link.btn,
.leaflet-popup .hmh-map-popup__link,
#properties.hpf-enhanced .hpf-card .btn,
#properties.hpf-enhanced .hmh-development-enquiry__trigger,
.hmh-development-enquiry .hmh-development-enquiry__primary,
.hmh-development-enquiry .hmh-development-enquiry__secondary,
.hmh-spm .hmh-spm__link {
    box-sizing: border-box;
    border-radius: 999px !important;
    min-height: 48px;
    font-family: var(--hmh-suite-sans) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: normal;
    text-transform: none;
    white-space: normal;
}

/* Avoid the theme's fixed-height button line-height clipping wrapped labels. */
#response.hmh-results-grid > .card.homes .homes-link.btn,
.leaflet-popup .hmh-map-popup__link,
#properties.hpf-enhanced .hpf-card .btn,
#properties.hpf-enhanced .hmh-development-enquiry__trigger,
.hmh-development-enquiry .hmh-development-enquiry__primary,
.hmh-development-enquiry .hmh-development-enquiry__secondary,
.hmh-spm .hmh-spm__link {
    line-height: 1.3 !important;
}

#properties.hpf-enhanced .hpf-toggle,
#properties.hpf-enhanced .hpf-bedroom {
    min-height: 44px;
}
