/* GLR V1: presentation overrides for the reconciled theme. */
body.glr-direction02 .glr-native-header .topbar {
  background: #699388; color: #111;
}
body.glr-direction02 .glr-native-header .glr-slogan {
  font-weight: 700; font-style: italic;
}
body.glr-direction02 .glr-topbar-links {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
body.glr-direction02 .glr-native-header .topbar .glr-phone { font-size: 14px; line-height: 1.4; }
body.glr-direction02 .glr-facebook {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; min-height: 44px; color: inherit;
}
body.glr-direction02 .glr-facebook svg { width: 20px; height: 20px; }
body.glr-direction02 .glr-native-footer .glr-facebook { display: flex; margin-top: 8px; }
body.glr-direction02 .glr-native-footer .glr-phone { display: block; margin: 8px 0; }
body.glr-direction02 .glr-premium .glr-native-header .nav .nav-contact,
body.glr-direction02 .glr-premium #glr-mobile-menu .glr-menu-visit,
body.glr-direction02 .glr-visit-link,
body.glr-direction02 .glr-map-card .glr-map-cta {
  --action-bg: #699388; --action-fg: #111; --action-border: #699388;
  --action-hover-bg: #55796f; --action-hover-fg: #fff; --action-hover-border: #55796f;
  background: #699388; color: #111; border-color: #699388;
  min-height: 44px; box-sizing: border-box;
}
body.glr-direction02 .glr-visit-link {
  display: flex; align-items: center; justify-content: center;
  padding: 12px 16px; margin-bottom: 16px; text-align: center;
}
body.glr-direction02 .glr-visit-link:focus-visible,
body.glr-direction02 .glr-facebook:focus-visible { outline: 3px solid #111; outline-offset: 3px; }
body.glr-direction02 #formulaire { scroll-margin-top: 170px; }
body.glr-direction02 .glr-map-card {
  width: min(300px, calc(100vw - 80px)); max-width: 100%; min-width: 0;
}
body.glr-direction02 .glr-map-card h2,
body.glr-direction02 .glr-map-card h2 a {
  font-size: 16px; line-height: 1.35; white-space: normal;
  text-overflow: clip; overflow-wrap: anywhere;
}
body.glr-direction02 .glr-map-card .glr-map-copy { padding: 10px 12px 16px; }
body.glr-direction02 .glr-map-card .glr-map-price { font-size: 16px; line-height: 1.4; }
body.glr-direction02 .glr-map-card .glr-map-cta {
  width: 100%; white-space: normal; text-align: center; line-height: 1.4;
}
body.glr-direction02 .map-google-container .gm-style-iw-d {
  overflow: auto !important; max-height: min(420px, calc(100vh - 160px)) !important;
}
body.glr-direction02 .map-google-container .gm-style-iw-c {
  width: min(320px, calc(100vw - 64px)) !important;
  max-width: min(320px, calc(100vw - 64px)) !important;
}
@media (max-width: 767px) {
  body.glr-direction02 #formulaire { scroll-margin-top: 160px; }
  body.glr-direction02 .glr-property-page .glr-property-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
  }
  body.glr-direction02 .glr-property-page .glr-property-facts strong {
    font-size: 19px; line-height: 1.35; overflow-wrap: anywhere;
  }
  body.glr-direction02 .glr-property-page .glr-property-facts span { font-size: 12px; }
}
@media (max-width: 359px) {
  body.glr-direction02 .glr-property-page .glr-property-facts { grid-template-columns: minmax(0, 1fr); }
}

/* V1: explicit requested green/white, black/white hover. Google chrome excluded. */
body.glr-direction02 :is(#app, .glr-premium) :is(button,input[type="button"],input[type="submit"],input[type="reset"],.btn,.glr-action,.nav-contact,.glr-menu-visit,.glr-visit-link,.glr-map-cta,.footer-phone,.card-link,[role="button"]):not(.gm-style *):not(.slick-dots *):not(.cookie-reopen),
body.glr-direction02 .glr-map-card .glr-map-cta {
 --action-bg:#699388;--action-fg:#fff;--action-border:#699388;
 --action-hover-bg:#000;--action-hover-fg:#fff;--action-hover-border:#000;
 background-color:#699388!important;color:#fff!important;border-color:#699388!important;min-height:44px;min-width:44px;opacity:1;transition:background-color .15s ease,color .15s ease;
}
body.glr-direction02 :is(#app, .glr-premium) :is(button,input[type="button"],input[type="submit"],input[type="reset"],.btn,.glr-action,.nav-contact,.glr-menu-visit,.glr-visit-link,.glr-map-cta,.footer-phone,.card-link,[role="button"]):not(.gm-style *):not(.slick-dots *):not(.cookie-reopen):not(:disabled):not([aria-disabled="true"]):hover,
body.glr-direction02 .glr-map-card .glr-map-cta:hover {background-color:#000!important;color:#fff!important;border-color:#000!important;}
body.glr-direction02 :is(#app, .glr-premium) :is(button,input[type="button"],input[type="submit"],input[type="reset"],.btn,.glr-action,.nav-contact,.glr-menu-visit,.glr-visit-link,.glr-map-cta,.footer-phone,.card-link,[role="button"]):not(.gm-style *):not(.slick-dots *):not(.cookie-reopen) :is(span,i,svg),
body.glr-direction02 .glr-map-card .glr-map-cta :is(span,i,svg) {color:inherit!important;}
body.glr-direction02 :is(#app, .glr-premium) :is(button,input[type="button"],input[type="submit"],input[type="reset"],.btn,.glr-action,.nav-contact,.glr-menu-visit,.glr-visit-link,.glr-map-cta,.footer-phone,.card-link,[role="button"]):not(.gm-style *):not(.slick-dots *):not(.cookie-reopen):focus-visible,
body.glr-direction02 .glr-map-card .glr-map-cta:focus-visible {outline:2px solid #111!important;outline-offset:3px;box-shadow:0 0 0 2px #fff!important;}
body.glr-direction02 :is(#app, .glr-premium) :is(button,input[type="button"],input[type="submit"],input[type="reset"],.btn,.glr-action,.nav-contact,.glr-menu-visit,.glr-visit-link,.glr-map-cta,.footer-phone,.card-link,[role="button"]):not(.gm-style *):not(.slick-dots *):not(.cookie-reopen):is(:disabled,[aria-disabled="true"]) {opacity:.6;cursor:not-allowed;}
body.glr-direction02 :is(#app, .glr-premium) :is(button,input[type="button"],input[type="submit"],input[type="reset"],.btn,.glr-action,.nav-contact,.glr-menu-visit,.glr-visit-link,.glr-map-cta,.footer-phone,.card-link,[role="button"]):not(.gm-style *):not(.slick-dots *):not(.cookie-reopen):is([aria-pressed="true"],[aria-current="true"]) {box-shadow:inset 0 0 0 2px #111;}
/* Only mobile/tablet listing typography and spacing. Desktop unchanged. */
@media(max-width: 991px) {
 body.glr-direction02 .glr-property-page h1 {font-size:28px;line-height:1.18;}
 body.glr-direction02 .glr-property-page :is(h2,h3,h4,h5),
 body.glr-direction02 .glr-property-page .schedule.widget-boxed .widget-boxed-header h4 {font-size:22px;line-height:1.25;}
 body.glr-direction02 .glr-property-page .blog-info.details,
 body.glr-direction02 .glr-property-page .blog-info.details :is(p,li),
 body.glr-direction02 .glr-property-page .property-location p {font-size:15px;line-height:1.55;overflow-wrap:anywhere;}
 body.glr-direction02 .glr-property-page .glr-property-price {font-size:26px;}
 body.glr-direction02 .glr-property-page :is(.blog-info.details,.homes-content.details,.property-location,.reviews) {padding-bottom:20px;margin-bottom:20px;}
 body.glr-direction02 .glr-property-page .blog-info.details :is(h2,h3,h4,h5) {margin-bottom:16px!important;}
 body.glr-direction02 .glr-property-page .schedule.widget-boxed {padding:24px;}
 body.glr-direction02 .glr-property-page .single-proper {padding-top:24px!important;padding-bottom:40px!important;}
}

body.glr-direction02 .glr-native-footer .credits {display:flex;justify-content:space-between;align-items:flex-start;gap:16px;}
body.glr-direction02 .glr-native-footer .credits > div {min-width:0;overflow-wrap:anywhere;}
body.glr-direction02 .glr-native-footer .glr-design-credit {margin-left:auto;text-align:right;}
@media(max-width:767px) {
 body.glr-direction02 .glr-native-footer .credits {flex-direction:column;}
 body.glr-direction02 .glr-native-footer .glr-design-credit {margin-left:0;text-align:left;}
}

body.glr-direction02 #app .pagination .page-item.active > button {box-shadow:inset 0 0 0 2px #111!important;font-weight:700;}

/* Popup sizing: one shared content width; no unused right column or forced scrollbar. */
body.glr-direction02 .map-google-container .gm-style-iw-c {
 width:min(320px,calc(100vw - 32px))!important;max-width:min(320px,calc(100vw - 32px))!important;
 min-width:0!important;padding:0!important;box-sizing:border-box;
}
body.glr-direction02 .map-google-container .gm-style-iw-d {
 width:100%;max-width:100%;padding:0!important;box-sizing:border-box;overflow:auto!important;
}
body.glr-direction02 .map-google-container .glr-map-card {width:100%;max-width:100%;margin:0;box-sizing:border-box;}
body.glr-direction02 .glr-map-card .glr-map-photo,
body.glr-direction02 .glr-map-card .glr-map-photo img {display:block;width:100%;max-width:100%;box-sizing:border-box;}
body.glr-direction02 .glr-map-card .glr-map-photo img {height:110px;object-fit:cover;}
body.glr-direction02 .glr-map-card .glr-map-address {white-space:normal;overflow-wrap:anywhere;}
/* Keep Google close control separate, visible and usable in both wrapper layouts. */
body.glr-direction02 .map-google-container .gm-style-iw-chr {display:flex;justify-content:flex-end;min-height:44px;}
body.glr-direction02 .map-google-container .gm-style-iw-c .gm-ui-hover-effect {width:44px!important;height:44px!important;}
body.glr-direction02 .map-google-container .gm-style-iw-c:not(:has(> .gm-style-iw-chr)) {padding-top:44px!important;}
body.glr-direction02 .map-google-container .gm-style-iw-c > .gm-ui-hover-effect {top:0!important;right:0!important;}
body.glr-direction02 .map-google-container .gm-ui-hover-effect:focus-visible {outline:2px solid #111!important;outline-offset:-3px;}
body.glr-direction02 .glr-map-card .gmap-cycle button {background:#699388!important;color:#fff!important;border-color:#699388!important;min-width:44px;min-height:44px;}
body.glr-direction02 .glr-map-card .gmap-cycle button:hover {background:#000!important;color:#fff!important;border-color:#000!important;}
body.glr-direction02 .glr-map-card .gmap-cycle button:focus-visible {outline:2px solid #111;outline-offset:-3px;}

body.glr-direction02 .map-google-container .gm-style-iw-chr .gm-ui-hover-effect {position:static!important;top:auto!important;right:auto!important;margin:0!important;flex:0 0 44px;}

/* Indicators and the text-only cookie preferences control are not visual CTAs. */
body.glr-direction02 .glr-premium .glr-native-carousel .slick-dots button {min-height:0;}
body.glr-direction02 .slick-dots button:focus-visible {outline:2px solid #111!important;outline-offset:3px;}
body.glr-direction02 .glr-native-footer .cookie-reopen:focus-visible {outline:2px solid #fff!important;outline-offset:4px;}

/* Facebook-specific icon treatment; separate from visual CTA styling. */
body.glr-direction02 .glr-native-header .glr-facebook,
body.glr-direction02 .glr-premium .glr-native-footer .glr-facebook {
 display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;
 padding:0;border:1px solid currentColor;border-radius:50%;box-sizing:border-box;background:transparent;
}
body.glr-direction02 .glr-native-header .glr-facebook {color:#111;}
body.glr-direction02 .glr-native-header .glr-facebook:hover {background:#000;color:#fff;border-color:#000;}
body.glr-direction02 .glr-premium .glr-native-footer .glr-facebook {color:#fff;margin-top:12px;}
body.glr-direction02 .glr-premium .glr-native-footer .glr-facebook:hover {background:#699388;color:#fff;border-color:#699388;}
body.glr-direction02 .glr-native-header .glr-facebook:focus-visible {outline:2px solid #111;outline-offset:3px;}
body.glr-direction02 .glr-premium .glr-native-footer .glr-facebook:focus-visible {outline:2px solid #fff;outline-offset:3px;}

/* Visite vidéo is a text link: hover preserves its existing normal appearance. */
body.glr-direction02 .property-card .glr-video-link:hover {
 background:#fff!important;color:#202020!important;box-shadow:none!important;transform:none!important;text-decoration:none!important;opacity:1!important;
}
body.glr-direction02 .property-card .glr-video-link:focus-visible {outline:2px solid #111;outline-offset:3px;}

body.glr-direction02 .glr-native-header .glr-facebook:hover,body.glr-direction02 .glr-premium .glr-native-footer .glr-facebook:hover {opacity:1;}

body.glr-direction02 .glr-premium .glr-native-footer .glr-facebook::after {display:none;}

/* Preserve the separate bar-style carousel indicators, including their transparent hit area. */
body.glr-direction02 .featured-portfolio-items:not(.glr-native-carousel) .slick-dots button,
body.glr-direction02 .featured-portfolio-items:not(.glr-native-carousel) .slick-dots button:is(:hover,:focus-visible) {
 background:transparent!important;border-color:transparent!important;box-shadow:none!important;font-size:0!important;
}

/* Cookie preferences: hover changes only the existing underline, not text color. */
body.glr-direction02 #app .glr-native-footer .cookie-reopen {--action-hover-fg:#c7c7c7;color:#c7c7c7!important;}

/* Header-only circle fits inside the existing 38px desktop topbar; footer stays 44px. */
body.glr-direction02 .glr-native-header .glr-facebook {width:32px;height:32px;min-height:32px;flex:0 0 32px;}

/* Live FeaturedCategories combines both carousel classes. Keep its dots distinct from bars. */
body.glr-direction02 .glr-premium .glr-native-carousel .slick-dots li button {
 --action-bg:#699388;--action-border:#202020;--action-hover-bg:#202020;--action-hover-border:#202020;
 background:#699388!important;border-color:#202020!important;
}
body.glr-direction02 .glr-premium .glr-native-carousel .slick-dots li.slick-active button,
body.glr-direction02 .glr-premium .glr-native-carousel .slick-dots li button:hover {background:#202020!important;}
