/* ============ PAGE CONTENT ============ */
@media (max-width: 1024px) {
  .page-wrap {
    position: relative;
  }
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 18px;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
@media (max-width: 1024px) {
  .toolbar {
    position: absolute;
    right: 0;
    top: -60px;
  }
}
@media (max-width: 767px) {
  .toolbar {
    position: static;
    margin-top: 16px;
    width: 100%;
  }
}

.filters-btn {
  display: none;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #1F1F1F;
  border: 1px solid #E7E5E1;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
@media (max-width: 1024px) {
  .filters-btn {
    display: flex;
  }
}
@media (max-width: 767px) {
  .filters-btn {
    width: 100%;
    justify-content: center;
  }
}

.filters-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #1F1F1F;
}

/* ============ DESKTOP FILTER PANEL (inline) ============ */
.desktop-filter-panel {
  background: #fff;
  border-radius: 12px;
  padding: 8px 16px;
}

.filter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.filter-group.number-employees {
  max-width: 100px;
}
.filter-group.w500 {
  min-width: 520px;
}
@media (max-width: 1024px) {
  .filter-group.w500 {
    min-width: inherit;
  }
}

.filter-group__label {
  font-size: 10px;
  color: rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

.filter-divider {
  width: 1px;
  align-self: stretch;
  background: #E7E5E1;
}

/* pill buttons */
.pill-row {
  display: flex;
  gap: 5px;
}

.pill {
  border: 1px solid #808080;
  background: #fff;
  color: #1F1F1F;
  padding: 10px;
  border-radius: 5px;
  font-size: 11px;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.15s ease;
  user-select: none;
}

.pill:hover {
  border-color: #B08D57;
}

.pill.active {
  background: #C59651;
  border-color: #B08D57;
  color: #fff;
  font-weight: 600;
}

/* numeric single input */
.num-input-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #808080;
  min-width: 100px;
  flex-grow: 1;
}
.num-input-wrap.no-grow {
  flex-grow: 0;
}

.num-input-wrap span.prefix {
  font-size: 13px;
  color: #9A9A9A;
  white-space: nowrap;
}

.num-input-wrap input {
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: #1F1F1F;
  width: 100%;
  outline: none;
}

/* range slider group */
.range-group {
  min-width: 220px;
  flex: 1 1 220px;
}
@media (max-width: 1024px) {
  .range-group {
    flex: 0;
  }
}

.range-values {
  display: flex;
  gap: 16px;
  margin-bottom: 0px;
}

.range-values .num-input-wrap {
  min-width: 90px;
}

.range-slider {
  position: relative;
  height: 20px;
  top: -30px;
}

.range-slider .track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #9a9a9a;
  transform: translateY(-50%);
  border-radius: 5px;
}

.range-slider .track-active {
  position: absolute;
  top: 50%;
  height: 2px;
  background: #B08D57;
  transform: translateY(-50%);
  border-radius: 2px;
}

.range-slider input[type=range] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  height: 20px;
  background: none;
  -webkit-appearance: none;
  appearance: none;
  pointer-events: none;
}

.range-slider input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #B08D57;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #B08D57;
  cursor: pointer;
  margin-top: 0;
}

.range-slider input[type=range]::-moz-range-thumb {
  pointer-events: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #B08D57;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #B08D57;
  cursor: pointer;
}

.range-slider input[type=range]::-webkit-slider-runnable-track {
  background: transparent;
}

.range-slider input[type=range]::-moz-range-track {
  background: transparent;
}

.apply-btn {
  background: #B08D57;
  color: #fff;
  border: none;
  padding: 13px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  display: none;
}
@media (max-width: 767px) {
  .apply-btn {
    display: flex;
  }
}

/* ============ CATALOG CARDS ============ */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid #E7E5E1;
  border-radius: 12px;
  overflow: hidden;
}

.card__img {
  background: #EDEEF0;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B9BEC4;
  font-size: 12px;
}

.card__body {
  padding: 14px 16px 18px;
}

.card__meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #9A9A9A;
  margin-bottom: 6px;
}

.card__title {
  font-size: 17px;
  font-weight: 700;
  margin: 2px 0 4px;
}

.card__sub {
  font-size: 12px;
  color: #9A9A9A;
  margin-bottom: 10px;
}

.card__price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}

.card__price-old {
  font-size: 12px;
  color: #9A9A9A;
  text-decoration: line-through;
}

.card__discount {
  font-size: 11px;
  font-weight: 700;
  color: #C0472C;
}

.card__price {
  font-size: 18px;
  font-weight: 700;
}

.card__tag {
  display: inline-block;
  font-size: 11px;
  color: #9A9A9A;
  background: #F6F5F3;
  padding: 4px 8px;
  border-radius: 6px;
  margin-top: 6px;
}

/* ============ MOBILE TOP BAR ============ */
.mobile-bar {
  display: none;
}

/* ============ FILTER POPUP (mobile) ============ */
.filter-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 15, 0.45);
  display: none;
  z-index: 1000;
}

.filter-popup {
  display: none;
}
@media (max-width: 1279px) {
  .filter-popup {
    display: block;
  }
}

.filter-popup__header {
  display: flex;
  align-items: center;
  justify-content: end;
  margin-bottom: 16px;
}

.filter-popup__title {
  /* font-size: 14px;
  font-weight: 600;
  color: #9A9A9A; */
  display: none;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1F1F1F;
  border-radius: 50%;
  flex-shrink: 0;
}

.modal-close:hover {
  background: #F6F5F3;
}

.modal-close svg {
  width: 16px;
  height: 16px;
}

/* ============ RESPONSIVE: <= 767px ============ */
@media (max-width: 1279px) {
  .topbar {
    display: none;
  }

  .page-title {
    font-size: 22px;
    margin-bottom: 14px;
  }

  .desktop-filter-panel {
    display: none;
  }

  .apply-btn {
    display: none;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .filter-overlay.open {
    display: block;
  }

  .filter-popup {
    display: block;
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    max-width: 100%;
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }

  .filter-popup.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .filter-popup .filter-grid {
    flex-direction: column;
    gap: 0px;
    flex-wrap: nowrap;
  }

  .office-directory-block .filter-group.number-employees {
    max-width: 100% !important;
}
  .filter-popup .filter-divider {
    display: none;
  }

  .filter-popup .filter-group {
    width: 100%;
  }

  .filter-popup .range-group {
    width: 100%;
  }

  .filter-popup .pill-row {
    gap: 8px;
  }

  .filter-popup .pill {
    flex: 1 1 auto;
    text-align: center;
    padding: 10px 10px;
  }

  /* Р’РёРґ РёР· РѕРєРЅР°: 2x2 grid on mobile popup */
  .filter-popup .pill-row[data-group=view] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

 /*  .filter-popup .pill-row[data-group=view] .pill {
    white-space: normal;
  } */

  .filter-popup .apply-btn {
    display: block;
    width: 100%;
    margin-top: 18px;
    padding: 14px;
  }
      .office-directory-content .filter-popup .filter-grid {
        width: 100% !important;
        margin-top: -35px !important;
    }
    .filter-popup__title {
    display: none;
}

.office-directory-block .num-input-wrap {
    border-radius: 8px;
    padding: 0px 14px;
    border: 1px solid #808080;
    min-width: 100px;
}
.pill-row {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.office-directory-block .range-group {
    min-width: 220px;
    flex: 1 1 0px !important;
}


}
@media (min-width: 1280px) {
  .filter-popup, .filter-overlay {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .filter-popup .filter-group {
        width: 100%;
        max-width: 100% !important;
    }
    .range-slider {
      position: relative;
      height: 20px;
      top: -30p !important;
  }
  .office-directory-block .range-group {
    min-width: 220px;
    flex: 1 1 0px;
}
.filter-popup .filter-grid {
        flex-direction: column;
        gap: 0px;
        flex-wrap: nowrap;
    }


}
/*# sourceMappingURL=style.css.map */

/* Desktop filter must stay in the single-row layout shown in the reference. */
@media (min-width: 1280px) {
  .office-directory-content .toolbar { display: none !important; }
  .office-directory-content .desktop-filter-panel { display: block !important; }
  .office-directory-content .filter-grid { display: flex !important; flex-wrap: nowrap !important; align-items: baseline; gap: 20px !important; }
  .office-directory-content .filter-group { flex: 0 0 auto !important; }
  .office-directory-content .range-group { min-width: 220px !important; flex: 1 1 220px !important; }
  .office-directory-content .range-values { display: flex !important; flex-wrap: nowrap !important; gap: 16px !important; }
  .office-directory-content .range-values .num-input-wrap { min-width: 90px !important; }
  .office-directory-content .range-slider { display: block !important; }
  .office-directory-content .filter-group.number-employees { align-self: flex-start !important; }
  .office-directory-content .filter-group.number-employees .num-input-wrap { margin-top: 0 !important; }
  .office-directory-content .filter-popup,
  .office-directory-content .filter-overlay { display: none !important; }
}

/* Catalog spacing requested on 2026-09-15; scoped against legacy filter rules. */
@media (min-width: 1280px) {
  .office-directory-block { padding-top: 160px; }
  .office-directory-block .desktop-filter-panel .filter-grid .range-group {
    flex: 0 1 440px !important;
    min-width: 220px !important;
  }
}
@media (min-width: 1280px) and (max-width: 1500px) {
  .office-directory-block { padding-top: 128px; }
}

/* Compact office catalog ranges: keep room for the values, not empty field space. */
@media (min-width: 1280px) {
  .office-directory-content .desktop-filter-panel .filter-grid .range-group {
    flex: 0 0 240px !important;
    min-width: 240px !important;
  }
  .office-directory-content .desktop-filter-panel .filter-grid .range-group[data-filter-type="floor"] {
    flex-basis: 180px !important;
    min-width: 180px !important;
  }
  .office-directory-content .desktop-filter-panel .filter-grid .range-group[data-filter-type="price"] {
    flex-basis: 250px !important;
    min-width: 250px !important;
  }
  .office-directory-content .desktop-filter-panel .range-values .num-input-wrap {
    padding-inline: 12px !important;
  }
  .office-directory-content .desktop-filter-panel .num-input-wrap input {
    min-width: 0;
    font-size: 16px !important;
    line-height: 1.2;
  }
  .office-directory-content .desktop-filter-panel .num-input-wrap .prefix {
    font-size: 14px !important;
  }
  .office-directory-content .desktop-filter-panel .range-slider .track,
  .office-directory-content .desktop-filter-panel .range-slider .track-active {
    height: 1px !important;
  }
  .office-directory-content .desktop-filter-panel .range-slider .track-active {
    background: #b8a077 !important;
  }
  .office-directory-content .desktop-filter-panel .range-slider input[type=range]::-webkit-slider-thumb {
    width: 14px !important;
    height: 14px !important;
  }
  .office-directory-content .desktop-filter-panel .range-slider input[type=range]::-moz-range-thumb {
    width: 14px !important;
    height: 14px !important;
  }
}


/* Number of offices matching the active catalog filter. */
.office-directory-content > .filter-results-count {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  min-width: 0;
  margin: 20px 0;
  flex-direction: row;
  align-items: baseline;
  justify-content: flex-start;
  gap: 8px;
  text-align: left;
}
.office-directory-content > .filter-results-count .filter-results-count__label {
  color: rgba(47, 47, 47, .45);
  font-size: 14px;
  font-weight: 500;
}
.office-directory-content > .filter-results-count .filter-results-count__value {
  display: inline;
  min-height: 0;
  padding: 0;
  color: #2f2f2f;
  background: none;
  border: 0;
  border-radius: 0;
  font-size: 20px;
  font-weight: 500;
}
.office-directory-content .filter-results-count {
  flex: 0 0 auto !important;
  min-width: 124px;
  gap: 10px;
  white-space: nowrap;
}
.office-directory-content .filter-results-count__value {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  color: #6f542c;
  background: #fff;
  border: 1px solid rgba(176, 141, 87, 0.65);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}
@media (max-width: 1279px) {
  .office-directory-content .filter-popup .filter-results-count {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 52px;
    margin-top: 18px;
    padding: 0 16px;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    background: #f8f6f2;
    border: 1px solid #e7e0d4;
    border-radius: 8px;
  }
  .office-directory-content .filter-popup .filter-results-count__label {
    color: rgba(31, 31, 31, 0.62);
    font-size: 14px;
  }
  .office-directory-content .filter-popup .filter-results-count__value {
    min-height: 0;
    padding: 0;
    color: #6f542c;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
  }
  .office-directory-content .filter-popup .filter-results-count + input + .apply-btn {
    margin-top: 12px;
  }
}


/* Favorites page: 1-NG composition adapted to the EON visual system. */
.header.catalog .favorite-link {
  text-decoration: none;
}
.eon-favorites-page {
  min-height: calc(100vh - 96px);
  background: #f5f5f5;
}
.eon-favorites-page .wrapper {
  text-align: left;
}
.eon-favorites-page .favorites-heading {
  margin: 0 0 50px;
}
.eon-favorites-page .favorites-title {
  margin: 0;
  color: #2f2f2f;
  font-size: clamp(52px, 4.15vw, 76px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.eon-favorites-page .favorites-title__count {
  display: inline-block;
  margin-top: 15px;
  font-family: Manrope, Arial, sans-serif;
  font-size: 0.72em;
  font-weight: 400;
  letter-spacing: -0.035em;
}
.eon-favorites-page .favorites-results[hidden],
.eon-favorites-page .favorites-empty[hidden] {
  display: none !important;
}
.eon-favorites-page .favorites-empty {
  min-height: 335px;
}
.eon-favorites-table-wrap {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #c59651 transparent;
}
.eon-favorites-table {
  width: 100%;
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0 12px;
  color: #2f2f2f;
  font-family: Manrope, Arial, sans-serif;
}
.eon-favorites-table th {
  padding: 0 16px 4px;
  color: rgba(47, 47, 47, 0.48);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.25;
  text-align: left;
  white-space: nowrap;
}
.eon-favorites-table td {
  padding: 22px 16px;
  background: #fff;
  border-top: 1px solid rgba(47, 47, 47, 0.12);
  border-bottom: 1px solid rgba(47, 47, 47, 0.12);
  font-size: 18px;
  line-height: 1.25;
  vertical-align: middle;
  white-space: nowrap;
  transition: border-color 0.2s ease;
}
.eon-favorites-table td:first-child {
  border-left: 1px solid rgba(47, 47, 47, 0.12);
  border-radius: 6px 0 0 6px;
}
.eon-favorites-table td:last-child {
  border-right: 1px solid rgba(47, 47, 47, 0.12);
  border-radius: 0 6px 6px 0;
}
.eon-favorite-row:hover td {
  border-color: #c59651;
}
.eon-favorite-row.is-removing {
  opacity: 0;
  transform: scale(0.99);
  pointer-events: none;
}
.eon-favorite-row {
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.eon-favorite-office-link {
  color: #2f2f2f;
  font-size: 19px;
  font-weight: 500;
  text-decoration: none;
}
.eon-favorite-number {
  display: block;
  margin-top: 5px;
  color: rgba(47, 47, 47, 0.46);
  font-size: 12px;
  font-weight: 400;
}
.eon-favorite-floor-total {
  color: rgba(47, 47, 47, 0.48);
  font-size: 13px;
}
.eon-favorite-price {
  color: #6f4b14;
  font-size: 19px;
  font-weight: 600;
}
.eon-favorite-old-price {
  display: block;
  margin-bottom: 3px;
  color: rgba(47, 47, 47, 0.35);
  font-size: 12px;
  font-weight: 400;
  text-decoration: line-through;
}
.eon-favorite-discount {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 5px;
  color: #fff;
  background: #c59651;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  vertical-align: 2px;
}
.eon-favorite-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.eon-favorite-action {
  display: inline-flex;
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: #2f2f2f;
  background: #fff;
  border: 1px solid rgba(47, 47, 47, 0.55);
  border-radius: 50%;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.eon-favorite-action svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
}
.eon-favorite-action--heart.active {
  color: #fff;
  background: #c59651;
  border-color: #c59651;
}
.eon-favorite-action--heart.active svg {
  fill: #fff;
  stroke: #fff;
}
.eon-favorite-action--arrow svg {
  width: 24px;
  height: 12px;
  stroke-width: 1.4;
}
.eon-favorites-clear-wrap {
  display: flex;
  justify-content: flex-end;
  margin: 34px 0 70px;
}
.eon-favorites-clear {
  display: inline-flex;
  width: min(346px, 100%);
  min-height: 58px;
  align-items: center;
  justify-content: center;
  color: #2f2f2f;
  background: transparent;
  border: 1px solid rgba(47, 47, 47, 0.72);
  border-radius: 6px;
  font-family: Manrope, Arial, sans-serif;
  font-size: 16px;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.eon-favorites-clear:disabled {
  cursor: wait;
  opacity: 0.55;
}
@media (hover: hover) and (pointer: fine) {
  .eon-favorite-action:hover,
  .eon-favorites-clear:hover {
    color: #fff;
    background: #c59651;
    border-color: #c59651;
  }
}
@media (max-width: 1024px) {
  .eon-favorites-page .favorites-heading {
    margin-bottom: 38px;
  }
  .eon-favorites-page .favorites-title {
    font-size: clamp(46px, 7vw, 64px);
  }
  .eon-favorites-table td {
    padding-top: 18px;
    padding-bottom: 18px;
    font-size: 16px;
  }
}
@media (max-width: 767px) {
  .eon-favorites-page:not(.is-empty) {
    padding-top: 112px;
  }
  .eon-favorites-page .favorites-heading {
    margin-bottom: 30px;
  }
  .eon-favorites-page .favorites-title {
    font-size: 48px;
    line-height: 1.02;
  }
  .eon-favorites-page .favorites-title__count {
    margin-top: 10px;
    font-size: 34px;
    line-height: 1.08;
  }
  .eon-favorites-page .favorites-empty {
    min-height: 300px;
  }
  .eon-favorites-table {
    min-width: 900px;
  }
  .eon-favorites-clear-wrap {
    justify-content: stretch;
    margin: 24px 0 48px;
  }
  .eon-favorites-clear {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .eon-favorite-row,
  .eon-favorite-action,
  .eon-favorites-clear {
    transition: none !important;
  }
}

/* Restore the original empty-favorites state while keeping the filled table layout. */
.eon-favorites-page .favorites-heading[hidden] {
  display: none !important;
}
.eon-favorites-page.is-empty {
  min-height: initial;
  background: #fff;
}
.eon-favorites-page.is-empty .favorites-heading--empty {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
  text-align: left;
}
.eon-favorites-page.is-empty .favorites-heading--empty .main-title {
  margin-bottom: 0;
}
.eon-favorites-page.is-empty .favorites-summary {
  flex: 0 0 auto;
  color: rgba(47, 47, 47, 0.55);
  font-size: 16px;
  line-height: 1.3;
}
.eon-favorites-page.is-empty .favorites-empty {
  display: flex;
  min-height: 360px;
  padding: 54px 24px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-top: 1px solid rgba(47, 47, 47, 0.14);
  border-bottom: 1px solid rgba(47, 47, 47, 0.14);
}
.eon-favorites-page.is-empty .favorites-empty__icon {
  display: flex;
  width: 70px;
  height: 70px;
  margin-bottom: 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(197, 150, 81, 0.48);
  border-radius: 50%;
}
.eon-favorites-page.is-empty .favorites-empty__icon svg {
  width: 30px;
  height: 30px;
  fill: transparent;
  stroke: #c59651;
  stroke-width: 1.2;
}
.eon-favorites-page.is-empty .favorites-empty h2 {
  margin: 0 0 10px;
  color: #2f2f2f;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
}
.eon-favorites-page.is-empty .favorites-empty p {
  max-width: 450px;
  margin: 0 0 26px;
  color: rgba(47, 47, 47, 0.62);
  font-size: 16px;
  line-height: 1.5;
}
.eon-favorites-page.is-empty .favorites-empty__link {
  display: inline-flex;
  min-height: 48px;
  padding: 0 26px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #c59651;
  border: 1px solid #c59651;
  border-radius: 6px;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .eon-favorites-page.is-empty .favorites-empty__link:hover {
    background: #aa7e3f;
    border-color: #aa7e3f;
  }
}
@media (max-width: 767px) {
  .eon-favorites-page.is-empty .favorites-heading--empty {
    align-items: flex-end;
    margin-bottom: 22px;
  }
  .eon-favorites-page.is-empty .favorites-summary {
    padding-bottom: 4px;
    font-size: 14px;
  }
  .eon-favorites-page.is-empty .favorites-empty {
    min-height: 320px;
    padding: 42px 18px;
  }
  .eon-favorites-page.is-empty .favorites-empty h2 {
    font-size: 23px;
  }
  .eon-favorites-page.is-empty .favorites-empty__link {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .eon-favorites-page.is-empty .favorites-empty__link {
    transition: none !important;
  }
}

/* Filled favorites: compact cards on narrow screens, without horizontal scrolling. */
@media (max-width: 900px) {
  .eon-favorites-page:not(.is-empty) .eon-favorites-table-wrap {
    overflow: visible;
  }
  .eon-favorites-page:not(.is-empty) .eon-favorites-table {
    display: block;
    min-width: 0;
    border-spacing: 0;
  }
  .eon-favorites-page:not(.is-empty) .eon-favorites-table thead {
    display: none;
  }
  .eon-favorites-page:not(.is-empty) .eon-favorites-table tbody {
    display: grid;
    gap: 12px;
  }
  .eon-favorites-page:not(.is-empty) .eon-favorite-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid rgba(47, 47, 47, 0.12);
    border-radius: 6px;
    transition: opacity 0.18s ease, transform 0.18s ease, border-color 0.2s ease;
  }
  .eon-favorites-page:not(.is-empty) .eon-favorite-row:hover {
    border-color: #c59651;
  }
  .eon-favorites-page:not(.is-empty) .eon-favorites-table .eon-favorite-cell {
    display: block;
    min-width: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: 16px;
    white-space: normal;
  }
  .eon-favorites-page:not(.is-empty) .eon-favorite-cell[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: rgba(47, 47, 47, 0.48);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.2;
  }
  .eon-favorites-page:not(.is-empty) .eon-favorite-cell--office {
    grid-column: 1 / -1;
  }
  .eon-favorites-page:not(.is-empty) .eon-favorite-office-link {
    font-size: 20px;
  }
  .eon-favorites-page:not(.is-empty) .eon-favorite-cell--price {
    align-self: end;
  }
  .eon-favorites-page:not(.is-empty) .eon-favorite-price {
    font-size: 18px;
  }
  .eon-favorites-page:not(.is-empty) .eon-favorite-cell--actions {
    align-self: end;
  }
  .eon-favorites-page:not(.is-empty) .eon-favorite-actions {
    justify-content: flex-end;
    gap: 8px;
  }
  .eon-favorites-page:not(.is-empty) .eon-favorite-action {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
}
@media (max-width: 480px) {
  .eon-favorites-page:not(.is-empty) .favorites-results,
  .eon-favorites-page:not(.is-empty) .eon-favorites-table-wrap,
  .eon-favorites-page:not(.is-empty) .eon-favorites-table,
  .eon-favorites-page:not(.is-empty) .eon-favorites-table tbody {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }
  .eon-favorites-page:not(.is-empty) .eon-favorite-row {
    width: 100%;
    box-sizing: border-box;
    gap: 15px 16px;
    padding: 18px 16px;
  }
  .eon-favorites-page:not(.is-empty) .eon-favorite-office-link {
    font-size: 18px;
  }
  .eon-favorites-page:not(.is-empty) .eon-favorite-price {
    font-size: 16px;
  }
  .eon-favorites-page:not(.is-empty) .eon-favorites-clear-wrap {
    width: calc(100vw - 32px);
  }
}

/* The field border is the slider baseline; overlapping tracks made it too heavy. */
.office-directory-block .desktop-filter-panel .range-slider .track,
.office-directory-block .desktop-filter-panel .range-slider .track-active,
.office-directory-content .filter-popup .range-slider .track,
.office-directory-content .filter-popup .range-slider .track-active {
  display: none !important;
}

/* The shared field draws the outer edge; the right half must not draw it again. */
.office-directory-block .desktop-filter-panel .range-values .num-input-wrap:last-child,
.office-directory-content .filter-popup .range-values .num-input-wrap:last-child {
  border-right: 0 !important;
}

/* Keep the filter headings legible without changing the results count. */
.office-directory-content .filter-group--corpus .filter-group__label {
  font-size: 14px !important;
}
.office-directory-content .range-group .filter-group__label {
  font-size: 14px !important;
}
/* Increase the catalog card metadata highlighted in the review. */
.office-directory-content .office-directory-item .eon-office-number {
  font-size: 19px;
}
.office-directory-content .office-directory-item .eon-office-meta .card-list li {
  font-size: 16px !important;
}
