/* ============================================================
 * MAMO Shared Header v3.1 - per-element overflow containment v2
 *
 * Fix Aurora 390 horizontal overflow (109px) at the SOURCE:
 *   - .rh-ultra-property-thumb-container / .rh-ultra-thumb-info-box / .page-head-inner
 *   - .rh-ultra-property-tags / .rh-ultra-property-title-price / .rh-ultra-property-address
 *   - .ere-properties-slide.item / .owl-item (carousel)
 *   - .leaflet-tile (256x256 tile images)
 *   - .share-this / .social (share bar)
 *
 * Rule: NEVER use overflow-x:hidden on body/html — root-cause fix per element.
 * ============================================================ */

body.single-property .rh-ultra-property-thumb-container,
body.single-property .rh-ultra-thumb-info-box,
body.single-property .page-head-inner,
body.single-property .rh-ultra-property-tags,
body.single-property .rh-ultra-property-title-price,
body.single-property .rh-ultra-property-address {
    max-width: 100% !important;
    box-sizing: border-box !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

body.single-property .owl-stage-outer {
    overflow: hidden !important;
    max-width: 100% !important;
}
body.single-property .owl-stage {
    max-width: 100% !important;
}
body.single-property .owl-item {
    max-width: 100% !important;
}

body.single-property .leaflet-container {
    max-width: 100% !important;
    overflow: hidden !important;
}
body.single-property .leaflet-tile-container,
body.single-property .leaflet-pane {
    max-width: 100% !important;
}
body.single-property img.leaflet-tile {
    max-width: none !important;
    width: 256px !important;
    height: 256px !important;
}

body.single-property .ere-properties-slide.item,
body.single-property .ere-ultra-side-properties .owl-item,
body.single-property .ere-properties-slider .owl-item {
    max-width: 100% !important;
}

body.single-property .ere-ultra-side-properties,
body.single-property .ere-properties-slider,
body.single-property .owl-carousel,
body.single-property .related-properties,
body.single-property .rh-ultra-related-properties {
    max-width: 100% !important;
    overflow: hidden !important;
}

body.single-property .rh-floor-plan-tab {
    max-width: 100% !important;
    word-break: break-word !important;
}

body.single-property .share-this,
body.single-property .social-share {
    max-width: 100% !important;
    flex-wrap: wrap !important;
    overflow: hidden !important;
}

body.single-property .rhea_trigger_map {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

body.single-property .rh-floor-meta-label,
body.single-property .rh-floor-meta-value {
    word-break: break-word !important;
    max-width: 100% !important;
}

body.single-property .rh_property_appointment_form,
body.single-property .rh_property_agent_info,
body.single-property .rh-property-agent {
    max-width: 100% !important;
    box-sizing: border-box !important;
}