.desktopPage {
  min-height: 100vh;
  position: relative;
  font-family: Inter, "SF Pro", Roboto, -apple-system, system-ui, sans-serif;
  font-size: 14px;
  color: #222222;
  background: transparent;
}

.desktopPage,
.desktopPage * {
  box-sizing: border-box;
}

.desktopPage a {
  color: #5480ba;
  text-decoration: underline;
}

.desktopPage button,
.desktopPage input,
.desktopPage select {
  font: inherit;
}

.adSkin {
  position: fixed;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 954px;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.adSkinLink {
  display: block;
  pointer-events: auto;
}

.pageLayer {
  position: relative;
  z-index: 1;
}

.header {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1040px;
  min-height: 175px;
  margin: 130px auto 0;
  border-bottom: 1px solid #c3c8c8;
  background: url("/legacy/redesign_header.png") repeat-x center bottom #ffffff;
}

.headerInner {
  position: relative;
  width: 100%;
  height: 175px;
}

.logoLink {
  position: absolute;
  z-index: 1;
  top: 42px;
  left: 20px;
  display: block;
  width: 329px;
  height: 123px;
}

.logoLink img {
  display: block;
}

/* Pure positioning wrapper — the pill's own visual chrome (background,
   border, shadow) lives on the LanguageSwitcher's trigger style instead
   (see LegacyChrome.tsx), so its own .measure() call used to position the
   dropdown sees the pill's full visual bounds, not just its inner content. */
.languageBar {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 20px;
}

.nav {
  position: absolute;
  top: 120px;
  right: 20px;
  left: 20px;
  display: flex;
  align-items: flex-start;
  min-height: 42px;
}

.navItem {
  display: block;
  height: 42px;
  margin: 0 10px 10px 0;
  padding: 0 15px;
  border: 0;
  border-radius: 5px;
  background-color: #b1b3b4;
  color: #ffffff !important;
  cursor: pointer;
  font-family: Inter, "SF Pro", Roboto, -apple-system, system-ui, sans-serif;
  font-size: 12px;
  font-weight: bold;
  line-height: 42px;
  text-decoration: none !important;
  white-space: nowrap;
}

.navItem:hover {
  color: #465052 !important;
}

.navHome {
  padding-left: 33px;
  background-image: url("/legacy/logo_activ.png");
  background-repeat: no-repeat;
  background-position: 10px 12px;
}

.navPublish {
  background-color: #0098d0;
}

.navSpacer {
  flex: 1;
}

.navSpacer + .navItem {
  margin-right: 0;
}

.searchOuter {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  box-shadow: 0 3px 5px rgba(50, 50, 50, 0.37);
  background: #eaf0f0;
}

.searchHero {
  width: 100%;
  max-width: 1060px;
  min-height: 375px;
  margin: auto;
  background: url("/legacy/moteur.jpg") no-repeat center center;
  background-size: cover;
}

.searchHero h1 {
  margin: 0;
  padding: 30px 0;
  color: #495a5a;
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
}

.searchTabs {
  display: flex;
  gap: 3px;
}

.searchTab {
  width: 122px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 5px 5px 0 0;
  background-color: #b6b7b7;
  color: #ffffff;
  cursor: pointer;
  font-family: Inter, "SF Pro", Roboto, -apple-system, system-ui, sans-serif;
  font-size: 16px;
  line-height: 42px;
}

.activeRentTab,
.activeSaleTab {
  padding-left: 16px;
  background-image: url("/legacy/moteur_tab.png");
  background-repeat: no-repeat;
  background-position: 7px 15px;
}

.activeRentTab {
  background-color: #ff9400;
}

.activeSaleTab {
  background-color: #d74038;
}

.searchForm {
  min-height: 100px;
  border: 1px solid #d0d1d1;
  box-shadow: 3px 3px 5px rgba(50, 50, 50, 0.44);
  background-color: rgba(255, 255, 255, 0.9);
}

.formFields,
.formLocationLine {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.formFields {
  padding: 20px 10px 0;
}

.inlineField {
  display: flex;
  align-items: center;
  margin: 0 10px 10px 0;
}

.inlineField > span {
  height: 30px;
  padding-right: 10px;
  color: #222222;
  font-size: 14px;
  font-weight: bold;
  line-height: 30px;
  white-space: nowrap;
}

.select,
.priceInput {
  height: 30px;
  border: 1px solid #c0c7ce;
  border-radius: 0;
  outline: none;
  background: #ffffff;
  color: #222222;
  line-height: 30px;
}

.wideSelect {
  width: 210px;
}

.priceInput {
  width: 60px;
  padding: 0 3px;
}

.roomSelect {
  width: 92px;
}

.formLocationLine {
  padding: 0 10px;
}

.formLocationLine .select {
  margin: 0 10px 10px 0;
}

.addLocationButton {
  height: 17px;
  margin: 0 15px 10px 0;
  padding: 0 0 0 25px;
  border: 0;
  background: url("/legacy/add.png") no-repeat center left;
  color: #222222;
  cursor: pointer;
  font-size: 13px;
  text-decoration: underline;
  white-space: nowrap;
}

.advancedLine {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 10px 20px;
  border-top: 1px solid #d0d1d1;
  color: #222222;
  font-size: 13px;
}

.advancedLine label {
  display: flex;
  align-items: center;
  gap: 5px;
}

.advancedLine input {
  margin: 0;
}

.formActions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 20px;
}

.moreOptions,
.searchSubmit {
  height: 42px;
  border: 0;
  border-radius: 5px 5px 0 0;
  cursor: pointer;
  font-family: Inter, "SF Pro", Roboto, -apple-system, system-ui, sans-serif;
}

.moreOptions {
  padding: 0 10px 0 25px;
  background: url("/legacy/moteur_more.png") no-repeat 7px 15px #e7e7e7;
  color: #222222;
  font-size: 14px;
}

.moreOptionsOpen {
  background-image: url("/legacy/moteur_less.png");
}

.searchSubmit {
  padding: 0 20px 0 50px;
  background: url("/legacy/moteur_search.png") no-repeat 8px 8px #ff9400;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
}

.saleSearch {
  background-color: #d74038;
}

.rentSearch {
  background-color: #ff9400;
}

.moreEngine {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 1040px;
  margin: auto;
  padding-top: 20px;
  gap: 5px;
  text-align: center;
}

.moreCard {
  width: calc(48% - 3px);
  min-height: 56px;
  padding: 0 2%;
  background: #f3f4f4;
  color: #222222;
  font-size: 15px;
  font-weight: bold;
  text-align: left;
}

.complexCard {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.complexCard label {
  white-space: nowrap;
}

.complexSelect {
  min-width: 180px;
  height: 30px;
  border: 1px solid #c0c7ce;
  background: #ffffff;
}

.referenceCard {
  position: relative;
  padding-top: 16px;
  padding-bottom: 16px;
}

.referenceCard p {
  margin: 0;
  padding-left: 20px;
  line-height: 30px;
}

.referenceControl {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 190px;
  height: 30px;
}

.referenceControl input {
  width: 100%;
  height: 30px;
  padding: 0 44px 0 8px;
  border: 1px solid #c0c7ce;
  border-radius: 5px;
  background: #ffffff;
  color: #222222;
}

.referenceControl button {
  position: absolute;
  top: 0;
  right: 0;
  width: 39px;
  height: 30px;
  border: 0;
  cursor: pointer;
  background: url("/legacy/bt_form2.png") no-repeat 0 0;
}

.countCard p {
  min-height: 51px;
  margin: 0;
  padding: 20px 0 20px 80px;
  background: url("/legacy/searching.gif") no-repeat 10px center;
}

.contentCanvas {
  display: flex;
  align-items: flex-start;
  gap: 35px;
  width: 100%;
  max-width: 1040px;
  min-height: 450px;
  margin: 10px auto 0;
  padding: 0 20px;
  background: #ffffff;
}

.contentLeft {
  flex: 0 0 635px;
  min-width: 0;
  padding-bottom: 50px;
}

.contentRight {
  flex: 0 0 295px;
  min-width: 0;
}

.sectionHeading {
  height: 31px;
  margin: 25px 0 0;
  padding-left: 38px;
  border-bottom: 1px solid #dfdfdf;
  background: url("/legacy/last_search.png") no-repeat 0 0;
  color: #5a7c81;
  font-size: 16px;
  font-weight: normal;
  line-height: 31px;
  text-transform: uppercase;
}

.quickLinks {
  margin: 0;
  padding: 10px 10px 10px 30px;
  border: 10px solid #e4e4e4;
  list-style: disc;
}

.quickLinks li {
  margin: 0 0 4px;
}

.quickLinks li:nth-child(4),
.quickLinks li:nth-child(6) {
  padding-bottom: 4px;
  border-bottom: 3px solid #dfdfdf;
}

.quickLinks a {
  color: #5480ba;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
}

.featured {
  text-align: center;
}

.featuredLead {
  display: block;
  padding-bottom: 10px;
  color: #222222 !important;
  text-align: left;
  text-decoration: none !important;
}

.featuredLead p {
  margin: 0;
  padding: 15px 0;
  font-size: 18px;
}

.featuredLead img {
  display: block;
  width: 634px;
  height: 399px;
}

.featuredThumb {
  display: inline-flex;
  align-items: center;
  width: 308px;
  margin: 5px 2px;
  padding: 5px;
  border: 1px solid #68c034;
  background: #ffffff;
  color: #222222;
  cursor: pointer;
  text-align: left;
}

.featuredThumb img {
  flex: 0 0 auto;
  margin-right: 8px;
}

.featuredThumb span {
  padding: 5px 0;
  font-size: 12px;
}

.promoTiles {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.promoTile {
  display: flex;
  flex: 0 0 202px;
  flex-direction: column;
  align-items: center;
  min-height: 250px;
  margin: 3px 0;
  background: #f3f4f4;
  color: #222222 !important;
  font-size: 14px;
  text-align: center;
  text-decoration: none !important;
}

.promoTile > span {
  width: 100%;
  padding: 15px 0;
  background: #68c034;
  color: #ffffff;
}

.promoTile img {
  width: 169px;
  height: 113px;
  margin: 10px 0;
}

.promoTile strong {
  padding: 0 10px;
}

.listingsHeading {
  position: relative;
}

.listingsHeading .sectionHeading {
  margin-bottom: 22px;
}

.listingsArrows {
  position: absolute;
  right: 0;
  bottom: 8px;
  display: flex;
  gap: 5px;
  align-items: center;
}

.listingsArrows img {
  width: 14px;
  height: 10px;
}

.listingsGrid {
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
}

.listing {
  position: relative;
  flex: 0 0 293px;
  width: 293px;
  height: 260px;
  margin-bottom: 10px;
}

.listingLeft {
  margin-right: 40px;
}

.listingRibbon {
  position: absolute;
  z-index: 2;
  top: -2px;
  left: -2px;
  width: 82px;
  height: 82px;
  background-repeat: no-repeat;
}

.ribbonSale {
  background-image: url("/legacy/ribbon_sale.png");
}

.ribbonRent {
  background-image: url("/legacy/ribbon_hire.png");
}

.listingRibbon > span,
.bestOfRibbon > span {
  position: absolute;
  top: 17px;
  left: 5px;
  width: 64px;
  height: 23px;
  transform: rotate(-45deg);
  color: #ffffff;
  font-family: Inter, "SF Pro", Roboto, -apple-system, system-ui, sans-serif;
  font-size: 13px;
  line-height: 23px;
  text-align: center;
}

.listingImage {
  position: absolute;
  z-index: 1;
  top: 10px;
  left: 12px;
  width: 280px;
  height: 187px;
}

.listingText {
  position: absolute;
  top: 200px;
  left: 20px;
  width: 255px;
  height: 55px;
  margin: 0;
  color: #222222;
  font-size: 12px;
  line-height: 15px;
  text-align: center;
}

.heart {
  color: #808080;
  font-size: 14px;
}

.seeButton {
  position: absolute;
  z-index: 3;
  top: 170px;
  right: 5px;
  width: 60px;
  padding: 3px 0 3px 20px;
  border: 1px solid #000000;
  border-radius: 5px;
  opacity: 0.7;
  background: url("/legacy/voir.png") no-repeat 5px center #ffffff;
  color: #000000;
  cursor: pointer;
  font-family: Inter, "SF Pro", Roboto, -apple-system, system-ui, sans-serif;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
}

.allListings {
  width: 100%;
  clear: both;
  text-align: center;
}

.allListings a {
  display: inline-block;
  margin: 5px;
  padding: 10px;
  border-radius: 5px;
  color: #ffffff !important;
  text-decoration: none !important;
}

.allSale {
  background: #d74038;
}

.allRent {
  background: #ff9400;
}

.bestOfSlider {
  position: relative;
  display: block;
  width: 320px;
  height: 278px;
  margin: 25px auto 0;
}

.bestOfSlide {
  position: relative;
  width: 320px;
  height: 278px;
}

.bestOfSlide > img {
  position: absolute;
  z-index: 1;
  top: 9px;
  left: 19px;
  width: 280px;
  height: 187px;
}

.bestOfRibbon {
  position: absolute;
  z-index: 2;
  top: -3px;
  left: 5px;
  width: 81px;
  height: 81px;
  background-repeat: no-repeat;
}

.bestOfSlide p {
  position: absolute;
  z-index: 3;
  top: 200px;
  left: 4px;
  width: 312px;
  margin: 0;
  color: #222222;
  font-size: 12px;
  line-height: 15px;
  text-align: center;
}

.sliderArrowLeft,
.sliderArrowRight {
  position: absolute;
  z-index: 4;
  top: 85px;
  width: 42px;
  height: 43px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.sliderArrowLeft {
  left: 0;
}

.sliderArrowRight {
  right: 2px;
}

.sliderArrowLeft img,
.sliderArrowRight img {
  display: block;
}

.recentHeading {
  height: 30px;
  margin: 30px 0 0;
  padding-left: 42px;
  border-bottom: 1px solid #dfdfdf;
  background: url("/legacy/last_search.png") no-repeat 0 0;
  color: #222222;
  font-size: 15px;
  font-weight: normal;
  line-height: 30px;
  text-transform: uppercase;
}

.recentSearch {
  position: relative;
  display: block;
  min-height: 62px;
  padding: 10px 0 10px 100px;
  border-bottom: 1px solid #dfdfdf;
  color: #475153 !important;
  font-size: 12px;
  line-height: 14px;
  text-decoration: none !important;
}

.recentImage {
  position: absolute;
  top: 10px;
  left: 0;
  display: block;
  padding: 5px;
  border: 1px solid #dfdfdf;
}

.recentImage img {
  display: block;
  width: 77px;
  height: 51px;
}

.newsItem {
  overflow: hidden;
  padding: 20px 0 10px;
  border-bottom: 1px solid #dfdfdf;
}

.newsItem > img {
  float: left;
  width: 77px;
  height: 65px;
  margin: 0 10px 5px 0;
  border: 3px solid #dfdfdf;
}

.newsItem h3,
.newsItem p {
  margin: 0;
  color: #475153;
  font-size: 13px;
  font-weight: normal;
  line-height: 19px;
}

.newsItem p {
  clear: both;
  padding: 5px 0;
  color: #b1b3b4;
}

.newsItem a {
  clear: both;
  font-size: 12px;
}

.accountPanel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 268px;
  min-height: 42px;
  margin: 10px auto 0;
  border: 1px solid #b1b3b4;
  background: #f3f4f4;
  color: #5a7c81;
  cursor: pointer;
  font-family: Inter, "SF Pro", Roboto, -apple-system, system-ui, sans-serif;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
}

.accountPanel img {
  width: 27px;
  height: 25px;
}

.footer {
  position: relative;
  z-index: 2;
  width: 100%;
  clear: both;
  background: #ffffff;
}

.footerInner {
  width: 100%;
  max-width: 960px;
  height: 105px;
  margin: auto;
  padding-top: 20px;
  border-bottom: 1px solid #dfdfdf;
  color: #989596;
  font-size: 12px;
  text-align: center;
}

.footerInner p {
  margin: 0 0 10px;
}

.footerInner a {
  color: #989596;
  text-decoration: none;
}

.help {
  position: fixed;
  z-index: 10;
  right: 1em;
  bottom: 1em;
  width: 260px;
  text-align: center;
  pointer-events: none;
}

.helpButton {
  width: 7em;
  height: 7em;
  padding: 4px;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
  background: #68c034;
  color: #ffffff;
  cursor: pointer;
  font-family: Inter, "SF Pro", Roboto, -apple-system, system-ui, sans-serif;
  font-size: 13px;
  pointer-events: auto;
}

.helpButton span {
  display: block;
  font-size: 2em;
}

.helpList {
  margin: 0 0 20px;
  padding: 10px;
  background: #f0f0f0;
  color: #222222;
  font-size: 15px;
  list-style: none;
  pointer-events: auto;
}

.helpList li {
  margin-bottom: 1em;
}

.helpOpen .helpButton {
  background: #ffaa00;
}

@media screen and (max-width: 1040px) {
  .header {
    margin-top: 0;
  }

  .contentCanvas {
    padding: 0 10px;
  }

  .contentLeft {
    flex-basis: 635px;
  }
}
