/*
 * Staging-only responsive corrections. Loading is guarded in
 * fp-preprod-priority-corrections.php.
 */

/* Frédéric: bypass WPResidence's tightly cropped 525 x 328 derivative. */
body.single-estate_agent
    .wpestate_agent_header2_content
    .wpestate_single_agent_details_wrapper_type2
    .agentpict[style*="/Fred-Photo-1-525x328.jpg"] {
    aspect-ratio: 4 / 3;
    height: auto;
    background-color: #fff;
    background-image: url("https://preprod.franceproprietes.fr/wp-content/uploads/2025/08/Fred-Photo-1.jpg") !important;
    background-position: 50% 0;
    background-size: contain;
}

/*
 * Responsive Elementor header.
 *
 * WPResidence caps the logo at 198px on tablet and 162px on mobile. Its menu
 * widget also gives the trigger a white background while Elementor makes the
 * SVG paths white, producing an empty white square. Keep the correction scoped
 * to the reconciled header and the staging-only stylesheet.
 */
body .elementor-19534 .elementor-element.elementor-element-2be08547 .wpresidence-site-logo .logo img,
body .elementor-19534 .elementor-element.elementor-element-2be08547 img.wp-image-19481 {
    height: auto !important;
    max-width: clamp(350px, 25vw, 370px) !important;
    width: clamp(350px, 25vw, 370px) !important;
}

@media (max-width: 1024px) {
    body .elementor-19534 .elementor-element.elementor-element-2be08547 .wpresidence-site-logo .logo img,
    body .elementor-19534 .elementor-element.elementor-element-2be08547 img.wp-image-19481 {
        height: auto !important;
        max-width: clamp(195px, 33vw, 280px) !important;
        width: clamp(195px, 33vw, 280px) !important;
    }

    .elementor-19534 .wpestate-elementor-menu-mobile-container .wpestate_mobile_menu_trigger,
    .elementor-19534 .wpestate-elementor-menu-mobile-container .wpestate_mobile_menu_trigger_close {
        align-items: center;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.28);
        border-radius: 6px;
        color: #fff !important;
        display: flex;
        height: 48px;
        justify-content: center;
        min-height: 48px;
        min-width: 48px;
        padding: 11px;
        width: 48px;
    }

    .elementor-19534 .elementor-element.elementor-element-58cb4f1,
    .elementor-19534 .wpestate-elementor-menu-mobile-container {
        min-height: 48px;
        position: relative;
        z-index: 3;
    }

    .elementor-19534 .wpestate-elementor-menu-mobile-container .wpestate_mobile_menu_trigger_close {
        display: none;
    }

    .elementor-19534 .wpestate-elementor-menu-mobile-container .wpestate_mobile_menu_trigger svg,
    .elementor-19534 .wpestate-elementor-menu-mobile-container .wpestate_mobile_menu_trigger_close svg {
        display: block;
        height: 24px;
        width: 24px;
    }

    .elementor-19534 .wpestate-elementor-menu-mobile-container .wpestate_mobile_menu_trigger svg path,
    .elementor-19534 .wpestate-elementor-menu-mobile-container .wpestate_mobile_menu_trigger_close svg path {
        stroke: currentColor !important;
    }

    .elementor-19534 .wpestate-elementor-menu-mobile-container .wpestate_mobile_menu_trigger:focus-visible,
    .elementor-19534 .wpestate-elementor-menu-mobile-container .wpestate_mobile_menu_trigger_close:focus-visible {
        outline: 2px solid #fff;
        outline-offset: 2px;
    }

    /*
     * Keep submenu links readable when WPResidence propagates a parent
     * li:hover background to every descendant link. Elementor otherwise keeps
     * those descendants gray on blue.
     */
    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu > li > a,
    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu .sub-menu > li > a {
        background-color: #fff !important;
        box-sizing: border-box;
        color: #263238 !important;
        max-width: 100%;
    }

    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu .sub-menu > li > a {
        background-color: #f4f7f9 !important;
    }

    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu > li:has(> .sub-menu[style*="display: block"]) > a,
    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu > li.current-menu-item > a,
    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu > li.current-menu-parent > a,
    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu > li.current-menu-ancestor > a,
    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu > li > a:hover,
    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu > li > a:focus,
    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu > li > a:active,
    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu .sub-menu > li.current-menu-item > a,
    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu .sub-menu > li > a:hover,
    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu .sub-menu > li > a:focus,
    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu .sub-menu > li > a:active {
        background-color: #005ea8 !important;
        color: #fff !important;
    }

    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu a:focus-visible {
        outline: 2px solid currentColor;
        outline-offset: -4px;
    }

    .elementor-19534 .wpestate-elementor-menu-mobile-container .mobilex-menu > li.menu-item-has-children > a::after {
        color: currentColor !important;
        opacity: 1;
    }
}

@media (max-width: 480px) {
    body .elementor-19534 .elementor-element.elementor-element-2be08547 .wpresidence-site-logo .logo img,
    body .elementor-19534 .elementor-element.elementor-element-2be08547 img.wp-image-19481 {
        max-width: min(50vw, 195px) !important;
        width: min(50vw, 195px) !important;
    }
}

@media (max-width: 768px) {
    .wpestate_filter_list_properties_wrapper.row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    .wpestate_filter_list_properties_wrapper > .listing_wrapper,
    .wpestate_filter_list_properties_wrapper > .pagination {
        left: auto !important;
        max-width: 100% !important;
        right: auto !important;
        width: 100% !important;
    }
}

/*
 * WPResidence renders these controls outside the gallery to navigate between
 * property posts. They are not image-carousel arrows. On phones and small
 * tablets their fixed 110px wrappers follow the viewport and cover the page,
 * so keep that unrelated listing navigation out of the mobile property view.
 */
@media (max-width: 1024px) {
    body.single-estate_property .nav-prev-wrapper,
    body.single-estate_property .nav-next-wrapper {
        display: none !important;
    }
}

/*
 * Property pages: keep WPResidence's mobile contact actions available without
 * letting its two 49% floated columns clip long agent names or cover the end
 * of the page. CookieYes keeps its own control and is only lifted above this
 * bar while the bar is present.
 */
@media (max-width: 991.98px) {
    body.single-estate_property {
        --fp-mobile-contact-bar-height: 68px;
    }

    body.single-estate_property #all_wrapper {
        padding-bottom: calc(
            var(--fp-mobile-contact-bar-height) + env(safe-area-inset-bottom)
        ) !important;
    }

    body.single-estate_property .mobile_agent_area_wrapper {
        align-items: center;
        bottom: 0;
        box-sizing: border-box;
        display: grid !important;
        float: none;
        gap: 8px;
        grid-template-columns: minmax(0, 1fr) max-content;
        height: calc(
            var(--fp-mobile-contact-bar-height) + env(safe-area-inset-bottom)
        );
        left: 0;
        max-height: calc(
            var(--fp-mobile-contact-bar-height) + env(safe-area-inset-bottom)
        );
        min-height: calc(
            var(--fp-mobile-contact-bar-height) + env(safe-area-inset-bottom)
        );
        overflow: hidden;
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
        position: fixed;
        right: 0;
        width: 100%;
        z-index: 105;
    }

    body.single-estate_property .mobile_agent_area_wrapper .agent-listing-img-wrapper {
        align-items: center;
        display: grid;
        float: none;
        font-size: 13px;
        gap: 8px;
        grid-template-columns: 48px minmax(0, 1fr);
        min-width: 0;
        overflow: hidden;
        width: auto;
    }

    body.single-estate_property .mobile_agent_area_wrapper .agentpict {
        border-radius: 50%;
        float: none;
        height: 48px;
        margin: 0;
        width: 48px;
    }

    body.single-estate_property .mobile_agent_area_wrapper .agent-listing-img-wrapper > a {
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        float: none;
        font-size: 13px;
        height: auto;
        line-height: 1.2;
        max-height: 2.4em;
        max-width: none;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: normal;
    }

    body.single-estate_property .mobile_agent_area_wrapper .mobile_agent_area_details_wrapper {
        align-items: center;
        display: flex;
        float: none;
        gap: 4px;
        justify-content: flex-end;
        min-width: 0;
        width: auto;
    }

    body.single-estate_property .mobile_agent_area_wrapper .agent_detail {
        float: none;
        margin: 0;
        min-width: 0;
    }

    body.single-estate_property .mobile_agent_area_wrapper .agent_detail > a {
        align-items: center;
        box-sizing: border-box;
        display: flex;
        float: none;
        flex-direction: row;
        font-size: 13px;
        height: 44px;
        justify-content: center;
        line-height: 1;
        max-width: none;
        min-height: 44px;
        min-width: 44px;
        white-space: nowrap;
    }

    body.single-estate_property .mobile_agent_area_wrapper .agent_mobile_class > a {
        padding: 0 7px;
    }

    body.single-estate_property .mobile_agent_area_wrapper .agent_detail i {
        align-items: center;
        display: flex;
        font-size: 17px;
        height: 44px;
        justify-content: center;
        line-height: 1;
        margin: 0;
        width: 44px;
    }

    body.single-estate_property .cky-btn-revisit-wrapper.cky-revisit-bottom-left {
        bottom: calc(
            var(--fp-mobile-contact-bar-height) + 12px + env(safe-area-inset-bottom)
        ) !important;
    }
}

@media (max-width: 359px) {
    body.single-estate_property .mobile_agent_area_wrapper .agent_mobile_class > a {
        font-size: 0;
        padding: 0;
        width: 44px;
    }

    body.single-estate_property .mobile_agent_area_wrapper .agent_mobile_class > a::before {
        content: "\f095";
        font-family: "Font Awesome 5 Free";
        font-size: 17px;
        font-weight: 900;
    }
}

@media (max-width: 767px) {
    .single-estate_property .wpestate-energy_class_container {
        max-width: 100%;
        min-width: 0;
    }

    .single-estate_property .indicator-energy {
        line-height: 1.25 !important;
        max-width: min(260px, calc(100vw - 30px)) !important;
        text-align: center !important;
        white-space: normal !important;
        width: max-content !important;
    }

    .single-estate_property .wpestate-class-energy_no_4 .indicator-energy,
    .single-estate_property .wpestate-class-energy_no_5 .indicator-energy,
    .single-estate_property .wpestate-class-energy_no_6 .indicator-energy,
    .single-estate_property .wpestate-class-co2_no_4 .indicator-energy,
    .single-estate_property .wpestate-class-co2_no_5 .indicator-energy,
    .single-estate_property .wpestate-class-co2_no_6 .indicator-energy {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
    }

    .single-estate_property .wpestate-class-energy_no_7 .indicator-energy,
    .single-estate_property .wpestate-class-energy_no_8 .indicator-energy,
    .single-estate_property .wpestate-class-energy_no_9 .indicator-energy,
    .single-estate_property .wpestate-class-co2_no_7 .indicator-energy,
    .single-estate_property .wpestate-class-co2_no_8 .indicator-energy {
        left: auto !important;
        right: 0 !important;
        transform: none !important;
    }

}

/*
 * Recompose the Elementor footer on portrait phones without changing its
 * content, links, tablet landscape layout or desktop layout.
 */
@media (max-width: 767px) and (orientation: portrait) {
    .elementor-19656 .elementor-element.elementor-element-14569ed > .e-con-inner {
        align-items: center;
        max-width: 100%;
        row-gap: 8px;
    }

    .elementor-19656 .elementor-element.elementor-element-f1c0d39,
    .elementor-19656 .elementor-element.elementor-element-61d987d,
    .elementor-19656 .elementor-element.elementor-element-ec8579a {
        align-items: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 370px;
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
        width: 100%;
    }

    .elementor-19656 .elementor-element.elementor-element-f1c0d39 {
        padding-bottom: 24px;
        padding-top: 20px;
    }

    .elementor-19656 .elementor-element.elementor-element-61d987d,
    .elementor-19656 .elementor-element.elementor-element-ec8579a {
        padding-bottom: 22px;
        padding-top: 22px;
        row-gap: 14px;
    }

    .elementor-19656 .elementor-element.elementor-element-84dd51d,
    .elementor-19656 .elementor-element.elementor-element-28c19bd,
    .elementor-19656 .elementor-element.elementor-element-f4be341,
    .elementor-19656 .elementor-element.elementor-element-958e9c0,
    .elementor-19656 .elementor-element.elementor-element-c3c56a4,
    .elementor-19656 .elementor-element.elementor-element-157a48d,
    .elementor-19656 .elementor-element.elementor-element-712d7e6,
    .elementor-19656 .elementor-element.elementor-element-a706f87 {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }

    .elementor-19656 .elementor-element.elementor-element-28c19bd,
    .elementor-19656 .elementor-element.elementor-element-958e9c0,
    .elementor-19656 .elementor-element.elementor-element-a706f87 {
        max-width: 320px;
        width: 100% !important;
    }

    .elementor-19656 .elementor-element.elementor-element-f4be341,
    .elementor-19656 .elementor-element.elementor-element-712d7e6 {
        width: 100%;
    }

    .elementor-19656 .elementor-element.elementor-element-958e9c0 .elementor-icon-list-item,
    .elementor-19656 .elementor-element.elementor-element-a706f87 .elementor-icon-list-item,
    .elementor-19656 .elementor-element.elementor-element-5369d7e .elementor-icon-list-item,
    .elementor-19656 .elementor-element.elementor-element-cb7151d .elementor-icon-list-item {
        justify-content: center;
        text-align: center;
    }

    .elementor-19656 .elementor-element.elementor-element-958e9c0 .elementor-icon-list-item > a,
    .elementor-19656 .elementor-element.elementor-element-a706f87 .elementor-icon-list-item > a,
    .elementor-19656 .elementor-element.elementor-element-5369d7e .elementor-icon-list-item > a,
    .elementor-19656 .elementor-element.elementor-element-cb7151d .elementor-icon-list-item > a {
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    .elementor-19656 .elementor-element.elementor-element-c642d01 {
        align-items: center !important;
        justify-content: center !important;
        max-width: 320px;
        width: 100%;
    }

    .elementor-19656 .elementor-element.elementor-element-157a48d .elementor-button {
        min-height: 44px;
    }

    .elementor-19656 .elementor-element.elementor-element-f15a94d {
        padding-bottom: 120px;
    }

    .elementor-19656 .elementor-element.elementor-element-415c3e7,
    .elementor-19656 .elementor-element.elementor-element-27ed5e3,
    .elementor-19656 .elementor-element.elementor-element-d2596d7 {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 370px;
        width: 100%;
    }

    .elementor-19656 .elementor-element.elementor-element-5369d7e,
    .elementor-19656 .elementor-element.elementor-element-cb7151d {
        max-width: 330px;
        text-align: center !important;
        width: 100%;
    }

    .backtop,
    .contact-box {
        bottom: 16px;
        height: 44px;
        transition: opacity 0.2s ease, visibility 0.2s ease;
        width: 44px;
    }

    html.fp-mobile-footer-is-visible .backtop,
    html.fp-mobile-footer-is-visible .contact-box {
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
    }
}

/*
 * Property lightbox: branded, uncropped 3:2 presentation.
 * WPResidence and Owl Carousel retain opening, closing and navigation.
 */
body.single-estate_property .lightbox_property_wrapper {
    --fp-lightbox-edge: 16px;
    --fp-lightbox-frame: 44px;
    --fp-lightbox-header: 102px;
    --fp-lightbox-control-size: 56px;
}

body.single-estate_property .lightbox_property_wrapper .lighbox_overlay {
    background: #07090c;
    opacity: 0.96;
}

body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_wrapper_level2.lightbox_wrapped_no_contact {
    background: #f7f7f5;
    border-radius: 6px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.48);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: fit-content !important;
    max-height: calc(100vh - (2 * var(--fp-lightbox-edge))) !important;
    max-height: calc(100dvh - (2 * var(--fp-lightbox-edge))) !important;
    max-width: calc(100vw - (2 * var(--fp-lightbox-edge))) !important;
    overflow: hidden;
    padding: 0 var(--fp-lightbox-frame) var(--fp-lightbox-frame);
    position: relative;
    width: fit-content !important;
}

/* White header with a restrained gold rule, following the supplied mockup. */
body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_wrapper_level2.lightbox_wrapped_no_contact::before {
    background-color: #f7f7f5;
    border-top: 4px solid #b89058;
    box-sizing: border-box;
    content: "";
    display: block;
    flex: 0 0 var(--fp-lightbox-header);
    height: var(--fp-lightbox-header);
    margin-left: calc(-1 * var(--fp-lightbox-frame));
    width: calc(100% + (2 * var(--fp-lightbox-frame)));
}

/* The official white PNG remains unchanged; its alpha renders the mockup's
 * anthracite wordmark and restrained gold roof segment.
 */
body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_wrapper_level2.lightbox_wrapped_no_contact::after {
    -webkit-mask: url("../images/logo-horizontal-fp-exp-blanc.png") center / contain no-repeat;
    background: linear-gradient(
        90deg,
        #303030 0 38.2%,
        #b89058 38.2% 47.5%,
        #303030 47.5% 100%
    );
    box-shadow: none;
    content: "";
    filter: none;
    height: 44px;
    left: 50%;
    mask: url("../images/logo-horizontal-fp-exp-blanc.png") center / contain no-repeat;
    max-width: calc(100% - 160px);
    position: absolute;
    top: 29px;
    transform: translateX(-50%);
    text-shadow: none;
    width: 514px;
    z-index: 5;
}

body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_content.row {
    align-items: center;
    height: auto !important;
    justify-content: center;
    margin: 0;
    width: auto;
}

body.single-estate_property .lightbox_property_wrapper .lightbox_property_slider
    :is(#owl-demo, .owl-stage-outer, .owl-stage, .owl-item, .item) {
    aspect-ratio: auto !important;
    height: 100% !important;
    min-height: 0 !important;
}

body.single-estate_property .lightbox_property_wrapper .lightbox_property_slider {
    aspect-ratio: 3 / 2 !important;
    height: auto !important;
    max-width: none !important;
    padding: 0;
    position: static !important;
    transform: none !important;
    width: min(
        calc(94vw - (2 * var(--fp-lightbox-frame))),
        calc((100vh - (2 * var(--fp-lightbox-edge)) - var(--fp-lightbox-header) - var(--fp-lightbox-frame)) * 1.5)
    ) !important;
    width: min(
        calc(94vw - (2 * var(--fp-lightbox-frame))),
        calc((100dvh - (2 * var(--fp-lightbox-edge)) - var(--fp-lightbox-header) - var(--fp-lightbox-frame)) * 1.5)
    ) !important;
}

body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_slider .item {
    align-items: center;
    background-position: center !important;
    background-repeat: no-repeat;
    background-size: contain !important;
    display: flex;
    justify-content: center;
    padding: 0 !important;
}

body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_slider .item img {
    display: block;
    height: 100% !important;
    max-height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center;
    width: 100% !important;
}

/* Thin black photographic edge with a restrained inward shadow. */
body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_slider #owl-demo::after {
    box-shadow:
        inset 0 0 22px rgba(0, 0, 0, 0.42),
        inset 0 0 0 1px rgba(0, 0, 0, 0.62);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 20;
}

/* Existing Owl controls: visible, contrasted and comfortably clickable. */
body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_slider :is(.owl-prev, .owl-next) {
    align-items: center;
    background: transparent !important;
    border: 0 !important;
    border-radius: 5px;
    box-shadow: none;
    color: #fff !important;
    display: flex;
    height: var(--fp-lightbox-control-size) !important;
    justify-content: center;
    opacity: 1 !important;
    padding: 0 !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%);
    width: var(--fp-lightbox-control-size) !important;
    z-index: 25 !important;
}

body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_slider .owl-prev {
    left: 16px !important;
}

body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_slider .owl-next {
    left: auto !important;
    right: 16px !important;
}

body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_slider :is(.owl-prev, .owl-next)
    > .wpresidence-carousel-control {
    align-items: center;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #fff !important;
    display: flex;
    height: 100% !important;
    inset: auto !important;
    justify-content: center;
    opacity: 1 !important;
    padding: 0 !important;
    pointer-events: none;
    position: static !important;
    width: 100% !important;
}

body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_slider :is(.owl-prev, .owl-next)
    > .wpresidence-carousel-control
    :is(.carousel-control-prev-icon, .carousel-control-next-icon) {
    display: none !important;
}

body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_slider :is(.owl-prev, .owl-next)::before,
body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_slider :is(.owl-prev, .owl-next)::after {
    content: none !important;
    display: none !important;
}

body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_slider :is(.owl-prev, .owl-next)
    > .wpresidence-carousel-control::before {
    background: currentColor;
    content: "";
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8));
    height: 32px;
    width: 32px;
}

body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_slider .owl-prev
    > .wpresidence-carousel-control::before {
    -webkit-mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMTEuMzU0IDEuNjQ2YS41LjUgMCAwIDEgMCAuNzA4TDUuNzA3IDhsNS42NDcgNS42NDZhLjUuNSAwIDAgMS0uNzA4LjcwOGwtNi02YS41LjUgMCAwIDEgMC0uNzA4bDYtNmEuNS41IDAgMCAxIC43MDggMCIvPjwvc3ZnPg==") center / contain no-repeat;
    mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMTEuMzU0IDEuNjQ2YS41LjUgMCAwIDEgMCAuNzA4TDUuNzA3IDhsNS42NDcgNS42NDZhLjUuNSAwIDAgMS0uNzA4LjcwOGwtNi02YS41LjUgMCAwIDEgMC0uNzA4bDYtNmEuNS41IDAgMCAxIC43MDggMCIvPjwvc3ZnPg==") center / contain no-repeat;
}

body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_slider .owl-next
    > .wpresidence-carousel-control::before {
    -webkit-mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNNC42NDYgMS42NDZhLjUuNSAwIDAgMSAuNzA4IDBsNiA2YS41LjUgMCAwIDEgMCAuNzA4bC02IDZhLjUuNSAwIDAgMS0uNzA4LS43MDhMMTAuMjkzIDggNC42NDYgMi4zNTRhLjUuNSAwIDAgMSAwLS43MDgiLz48L3N2Zz4=") center / contain no-repeat;
    mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNNC42NDYgMS42NDZhLjUuNSAwIDAgMSAuNzA4IDBsNiA2YS41LjUgMCAwIDEgMCAuNzA4bC02IDZhLjUuNSAwIDAgMS0uNzA4LS43MDhMMTAuMjkzIDggNC42NDYgMi4zNTRhLjUuNSAwIDAgMSAwLS43MDgiLz48L3N2Zz4=") center / contain no-repeat;
}

body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_slider :is(.owl-prev, .owl-next):is(:hover, :focus-visible) {
    background: rgba(0, 0, 0, 0.3) !important;
}

body.single-estate_property .lightbox_property_wrapper
    .lightbox_property_slider :is(.owl-prev, .owl-next):focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

/* Native close control. */
body.single-estate_property .lightbox_property_wrapper .lighbox-image-close {
    align-items: center;
    background: rgba(7, 9, 12, 0.38);
    border: 0;
    border-radius: 5px;
    box-shadow: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    height: var(--fp-lightbox-control-size);
    justify-content: center;
    line-height: 1;
    right: var(--fp-lightbox-frame);
    top: var(--fp-lightbox-header);
    width: var(--fp-lightbox-control-size);
    z-index: 30;
}

body.single-estate_property .lightbox_property_wrapper .lighbox-image-close i {
    display: none;
}

body.single-estate_property .lightbox_property_wrapper .lighbox-image-close::before,
body.single-estate_property .lightbox_property_wrapper .lighbox-image-close::after {
    background: #fff;
    border-radius: 999px;
    content: "";
    height: 2px;
    left: 50%;
    position: absolute;
    top: 50%;
    width: 28px;
}

body.single-estate_property .lightbox_property_wrapper .lighbox-image-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

body.single-estate_property .lightbox_property_wrapper .lighbox-image-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

body.single-estate_property .lightbox_property_wrapper
    .lighbox-image-close:is(:hover, :focus-visible) {
    background: rgba(7, 9, 12, 0.62);
    color: #fff;
}

body.single-estate_property .lightbox_property_wrapper
    .lighbox-image-close:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

@media screen and (max-width: 600px) {
    body.single-estate_property .lightbox_property_wrapper {
        --fp-lightbox-edge: 8px;
        --fp-lightbox-frame: 10px;
        --fp-lightbox-header: 64px;
        --fp-lightbox-control-size: 44px;
    }

    body.single-estate_property .lightbox_property_wrapper
        .lightbox_property_wrapper_level2.lightbox_wrapped_no_contact {
        border-radius: 4px;
        max-width: calc(100vw - (2 * var(--fp-lightbox-edge))) !important;
        padding: 0 var(--fp-lightbox-frame) var(--fp-lightbox-frame);
        width: fit-content !important;
    }

    body.single-estate_property .lightbox_property_wrapper
        .lightbox_property_wrapper_level2.lightbox_wrapped_no_contact::before {
        border-top-width: 3px;
    }

    body.single-estate_property .lightbox_property_wrapper
        .lightbox_property_wrapper_level2.lightbox_wrapped_no_contact::after {
        height: 22px;
        max-width: calc(100% - 64px);
        top: 21px;
        width: 256px;
    }

    body.single-estate_property .lightbox_property_wrapper
        .lightbox_property_slider {
        width: calc(
            100vw - (2 * var(--fp-lightbox-edge)) - (2 * var(--fp-lightbox-frame))
        ) !important;
    }

    body.single-estate_property .lightbox_property_wrapper
        .lightbox_property_slider .owl-prev {
        left: 8px !important;
    }

    body.single-estate_property .lightbox_property_wrapper
        .lightbox_property_slider .owl-next {
        right: 8px !important;
    }

    body.single-estate_property .lightbox_property_wrapper
        .lightbox_property_slider :is(.owl-prev, .owl-next)
        > .wpresidence-carousel-control::before {
        height: 26px;
        width: 26px;
    }

    body.single-estate_property .lightbox_property_wrapper .lighbox-image-close {
        right: 0;
        top: calc((var(--fp-lightbox-header) - var(--fp-lightbox-control-size)) / 2);
    }

    body.single-estate_property .lightbox_property_wrapper
        .lighbox-image-close::before,
    body.single-estate_property .lightbox_property_wrapper
        .lighbox-image-close::after {
        width: 24px;
    }
}

@media screen and (max-width: 768px) {
    body.single-estate_agent
        .wpestate_agent_header2_content
        .wpestate_single_agent_details_wrapper_type2 {
        flex-direction: column !important;
    }
}

/* 2026-09-05: exact FP gold, desktop and mobile navigation only.
 * Known menu IDs keep these rules above the later legacy !important rules.
 * The mobile trigger, profile, logo and links outside this widget are excluded.
 */
body .elementor-19534 .elementor-element-c711837 :is(#menu-main-menu, #menu-main-menu-1) .sub-menu,
body .elementor-19534 .elementor-element-c711837 #menu-main-menu-1 {
    background-color: #303030 !important;
}

body .elementor-19534 .elementor-element-c711837 :is(#menu-main-menu, #menu-main-menu-1) li,
body .elementor-19534 .elementor-element-c711837 :is(#menu-main-menu, #menu-main-menu-1) li > a {
    background-color: transparent !important;
}

body .elementor-19534 .elementor-element-c711837 :is(#menu-main-menu, #menu-main-menu-1) li > a {
    color: #FFFFFF !important;
    text-decoration: none !important;
    /* Avoid intermediate color shades during the old all-property transition. */
    transition: none !important;
}

body .elementor-19534 .elementor-element-c711837 :is(#menu-main-menu, #menu-main-menu-1) li:is(:hover, :focus-within, .current-menu-item, .current-menu-parent, .current-menu-ancestor, .current_page_item, .current_page_parent, .current_page_ancestor) > a,
body .elementor-19534 .elementor-element-c711837 :is(#menu-main-menu, #menu-main-menu-1) li > a:is(:hover, :focus, :focus-visible, :active),
body .elementor-19534 .elementor-element-c711837 #menu-main-menu-1 > li:has(> .sub-menu[style*="display: block"]) > a {
    color: #B9915B !important;
}

body .elementor-19534 .elementor-element-c711837 :is(#menu-main-menu, #menu-main-menu-1) li > a::before,
body .elementor-19534 .elementor-element-c711837 :is(#menu-main-menu, #menu-main-menu-1) li > a::after,
body .elementor-19534 .elementor-element-c711837 :is(#menu-main-menu, #menu-main-menu-1) li > a i {
    color: inherit !important;
}

body .elementor-19534 .elementor-element-c711837 :is(#menu-main-menu, #menu-main-menu-1) li > a svg {
    fill: currentColor;
}

/* Preserve native separators; keep them neutral in every interaction state. */
body .elementor-19534 .elementor-element-c711837 :is(#menu-main-menu, #menu-main-menu-1) .sub-menu > li:not(:last-child) {
    border-bottom-color: #7A7A7A !important;
}

/* Mirror native hover opening for keyboard access, without changing geometry. */
body .elementor-19534 .wpresidence-navigation-menu ul.menu > li:focus-within > ul.sub-menu {
    opacity: 1;
    pointer-events: auto;
    top: var(--wp-estate-header-height-option, var(--wp-estate-header-height));
    visibility: visible;
}

/* Keep the existing keyboard outline neutral: only the text becomes gold. */
body .elementor-19534 .elementor-element-c711837 :is(#menu-main-menu, #menu-main-menu-1) li > a:focus-visible {
    outline-color: #FFFFFF !important;
}

/* France Proprietes — palette proposee le 24 septembre 2026.
 * Scope: shared header/footer and estimation-page presentation only.
 * Navy #091B2C, existing Elementor Or #B9915B; logos remain unchanged.
 */
body .elementor-19534,
body .elementor-19656 {
    --e-global-color-d351c81: #091B2C;
    --e-global-color-8472b34: #B9915B;
}
body .elementor-19534 .elementor-element-c711837 :is(#menu-main-menu, #menu-main-menu-1) .sub-menu,
body .elementor-19534 .elementor-element-c711837 #menu-main-menu-1 {
    background-color: #091B2C !important;
}
body .elementor-19656 :is(p, .elementor-icon-list-text) { color: #FFFFFF; }
body .elementor-19656 a:not(.elementor-button):is(:hover, :focus-visible),
body .elementor-19656 a:is(:hover, :focus-visible) .elementor-icon-list-text { color: #B9915B; }
body .elementor-19656 .elementor-element.elementor-element-157a48d .elementor-button {
    background-color: #B9915B;
    color: #091B2C;
}
body .elementor-19656 .elementor-element.elementor-element-157a48d .elementor-button:is(:hover, :focus-visible) {
    background-color: #FFFFFF;
    color: #091B2C;
    box-shadow: inset 0 0 0 2px #B9915B;
}
body .elementor-19656 a:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 4px; }
body.page-id-19820 a.fp-estimation-cta { background: #B9915B; color: #091B2C; }
body.page-id-19820 a.fp-estimation-cta:hover { background: #FFFFFF; color: #091B2C; box-shadow: inset 0 0 0 2px #B9915B; }
body .fp-est-guide { color: #303030; }
body .fp-est-guide .fp-est-guide__eyebrow,
body .fp-est-guide .fp-est-guide__intro h2 span,
body .fp-est-guide .fp-est-guide__answer a,
body .fp-est-guide .fp-est-guide__small a { color: #091B2C; }
body .fp-est-guide .fp-est-guide__answer { color: #303030; }
body .fp-est-guide .fp-est-guide__group-head p { color: #595959; }
body .fp-est-guide .fp-est-guide__number { color: #B9915B; }
body .fp-est-guide .fp-est-guide__nav a:hover { border-color: #B9915B; background: #FFFFFF; }
body .fp-est-guide .fp-est-guide__toggle::before,
body .fp-est-guide .fp-est-guide__toggle::after { background: #091B2C; }
body .fp-est-guide details[open] { border-color: #B9915B; }
body .fp-est-guide :is(details, .fp-est-guide__group, .fp-est-guide__nav a) { border-color: #E3E3E3; }
body .fp-est-guide .fp-est-guide__network .fp-est-guide__eyebrow,
body .fp-est-guide .fp-est-guide__stats dd { color: #B9915B; }
body .fp-est-guide .fp-est-guide__network :is(.fp-est-guide__source, .fp-est-guide__stats dt) { color: #FFFFFF; }
body .fp-est-guide a:focus-visible,
body .fp-est-guide summary:focus-visible { outline-color: #B9915B; }

/* Remove remaining legacy blue-grey accents in the validated surfaces. */
body .elementor-19656 .elementor-icon-list-text { color: #FFFFFF !important; }
body .elementor-19656 a:is(:hover, :focus-visible) .elementor-icon-list-text { color: #B9915B !important; }
body.page-id-19820 .elementor-19820 .elementor-shape-bottom .elementor-shape-fill { fill: #091B2C !important; }
body.page-id-19820 #fp-estimation-parcours :is(.fp-mpv-vps__eyebrow, .fp-mpv-vps__step-label) { color: #091B2C; }
body.page-id-19820 #fp-estimation-parcours ol li[data-progress] > span { background: #091B2C; color: #FFFFFF; }

/* Shared public-site brand tokens: Navy and the existing named Or. */
:root:root {
    --wp-estate-main-color-option: #091B2C;
    --wp-estate-second-color-option: #B9915B;
    --wp_estate_link_color-option: #091B2C;
    --wp-estate-hover-button-color-option: #091B2C;
    --wp-estate-mobile-header-background-color-option: #091B2C;
    --wp-estate-top-bar-back-option: #091B2C;
    --wp-estate-top-bar-font-option: #FFFFFF;
    --wp-estate-active-menu-font-color-option: #B9915B;
}
body.elementor-kit-21 {
    --e-global-color-primary: #091B2C;
    --e-global-color-secondary: #303030;
    --e-global-color-text: #303030;
    --e-global-color-accent: #B9915B;
    --e-global-color-d351c81: #091B2C;
    --e-global-color-3c223c5: #091B2C;
    --e-global-color-8472b34: #B9915B;
    --e-global-color-9bbdbd8: #595959;
    --e-global-color-e70b426: #091B2C;
    --e-global-color-db372a5: #091B2C;
}

/* Footer: maisons Or #B9915B, demande du 24 septembre 2026. */
.elementor-19656 .elementor-element-84dd51d img {
  content: url("../images/logo-footer-maisons-b9915b.svg");
}

/* Essai PREPROD 24-09-2026 : bleu grise #B7C9D9. */
.elementor .elementor-element.elementor-element-ba2d110,
.elementor .elementor-element.elementor-element-e09b15d,
.elementor .elementor-element.elementor-element-bcd4e09,
.elementor .elementor-element.elementor-element-3cfe4fe,
.elementor .elementor-element.elementor-element-7327af6,
.elementor .elementor-element.elementor-element-52b5921,
.elementor .elementor-element.elementor-element-73511dc { background-color: #B7C9D9 !important; color: #303030; }
.elementor .elementor-element.elementor-element-ba2d110 .elementor-heading-title,
.elementor .elementor-element.elementor-element-e09b15d .elementor-heading-title,
.elementor .elementor-element.elementor-element-bcd4e09 .elementor-heading-title,
.elementor .elementor-element.elementor-element-3cfe4fe .elementor-heading-title,
.elementor .elementor-element.elementor-element-7327af6 .elementor-heading-title,
.elementor .elementor-element.elementor-element-52b5921 .elementor-heading-title,
.elementor .elementor-element.elementor-element-73511dc .elementor-heading-title { color: #091B2C !important; }
.elementor .elementor-element.elementor-element-ba2d110 .elementor-widget-text-editor,
.elementor .elementor-element.elementor-element-e09b15d .elementor-widget-text-editor,
.elementor .elementor-element.elementor-element-bcd4e09 .elementor-widget-text-editor,
.elementor .elementor-element.elementor-element-3cfe4fe .elementor-widget-text-editor,
.elementor .elementor-element.elementor-element-7327af6 .elementor-widget-text-editor,
.elementor .elementor-element.elementor-element-52b5921 .elementor-widget-text-editor,
.elementor .elementor-element.elementor-element-73511dc .elementor-widget-text-editor { color: #303030 !important; }

/* L'annuaire precedant le footer, commun aux 93 pages d'estimation. */
.fp-local-area.fp-local-directory { background-color: #B7C9D9; border-top-color: #B7C9D9; }
.fp-local-directory #fp-town-list a { background-color: #FFFFFF; }
.fp-local-directory #fp-town-list a:hover,
.fp-local-directory #fp-town-list a[aria-current] { background-color: #F7F7F5; }

/* Texte secondaire sur le fond bleu : contraste 7.77:1. */
.fp-local-directory #fp-town-count { color: #303030; }

/* Fond Terre Navy exact — 24 septembre 2026. */
body .fp-est-guide .fp-est-guide__network { background: #091B2C; }

/* Home property carousel: definite photo box for mobile WebKit, 2026-09-24. */
@media (max-width: 767px) {
 body.home .elementor-element-1285c25 .property_unit_carousel .carousel-item > a {
  position: relative;
  display: block;
  box-sizing: content-box;
  width: 100%;
  height: 0 !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  padding: 66.666667% 0 0;
  overflow: hidden;
 }
 body.home .elementor-element-1285c25 .property_unit_carousel .fp-responsive-picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
 }
 body.home .elementor-element-1285c25 .property_unit_carousel .fp-responsive-picture > img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  transform: none !important;
  -webkit-transform: none !important;
 }
}

@media (max-width: 767px) {
 body.home .elementor-element-1285c25 .property_unit_carousel,
 body.home .elementor-element-1285c25 .property_unit_carousel .carousel-inner,
 body.home .elementor-element-1285c25 .property_unit_carousel .carousel-item { width: 100% !important; min-width: 0; }
}

/* Mobile home: one navigation row below the property card. */
@media (max-width: 767px) {
 body.home .elementor-element-1285c25 .shortcode_slider_wrapper { padding-bottom: 76px; }
 body.home .elementor-element-1285c25 .shortcode_slider_list > button.slick-arrow {
  top: auto !important;
  bottom: -60px !important;
  margin: 0 !important;
  transform: none !important;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #B9915B;
  border-radius: 50%;
  background: #091B2C;
  color: #FFFFFF;
 }
 body.home .elementor-element-1285c25 .shortcode_slider_list > button.slick-prev { left: 6px !important; right: auto !important; }
 body.home .elementor-element-1285c25 .shortcode_slider_list > button.slick-next { left: auto !important; right: 6px !important; }
 body.home .elementor-element-1285c25 .shortcode_slider_list > .slick-dots {
  position: absolute;
  top: auto;
  bottom: -60px;
  left: 60px;
  width: calc(100% - 120px);
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin: 0;
 }
 body.home .elementor-element-1285c25 .slick-dots li { margin: 0; width: 20px; height: 24px; }
 body.home .elementor-element-1285c25 .slick-dots li button { width: 20px; height: 24px; padding: 0; }
 body.home .elementor-element-1285c25 .shortcode_slider_list > button.slick-arrow:focus-visible { outline: 2px solid #B9915B; outline-offset: 3px; }
}
