.csh-vnext.page-favorites #page-content {
  padding: clamp(2rem, 4vw, 4rem) 0;
}

.csh-vnext.page-favorites #page-content > .container-fluid,
.csh-vnext.page-favorites #page-content > .container {
  width: min(100% - 2rem, 1500px);
  max-width: 1500px;
  margin-inline: auto;
}

.csh-vnext.page-favorites #resetlink,
.csh-vnext.page-favorites #favorites,
.csh-vnext.page-favorites #searches {
  margin-bottom: clamp(2rem, 4vw, 3.5rem) !important;
}

.csh-vnext.page-favorites #resetlink > h1,
.csh-vnext.page-favorites #favorites > h1,
.csh-vnext.page-favorites #searches > h1 {
  margin-bottom: 1.25rem !important;
  font-size: clamp(1.7rem, 2.4vw, 2.4rem);
  line-height: 1.15;
}

.csh-vnext.page-favorites #resetlink #properties {
  display: flex;
  justify-content: center;
  margin: 0;
}

.csh-vnext.page-favorites .reset-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .65rem 1.15rem;
  border: 1px solid rgba(var(--csh-primary-rgb), .35);
  border-radius: 10px;
  background: #fff;
  color: var(--csh-primary);
  font-weight: 700;
  text-align: center;
}

.csh-vnext.page-favorites #favorites #properties {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 320px));
  gap: 1.25rem;
  justify-content: center;
  margin: 0;
}

.csh-vnext.page-favorites #favorites #properties > [class*="col-"] {
  position: relative;
  width: auto;
  max-width: none;
  min-width: 0;
  padding: 0 !important;
  flex: none;
}

.csh-vnext.page-favorites #favorites .property-box {
  height: 100%;
  overflow: hidden;
  border: 1px solid #e1e6eb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(18, 35, 52, .11);
}

.csh-vnext.page-favorites #favorites .property-box-inner {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.csh-vnext.page-favorites #favorites .save-favorite {
  position: absolute;
  top: .55rem;
  right: .55rem;
  z-index: 20;
  cursor: pointer;
}

.csh-vnext.page-favorites #favorites .save-favorite,
.csh-vnext.page-favorites #favorites .save-favorite:link,
.csh-vnext.page-favorites #favorites .save-favorite:visited,
.csh-vnext.page-favorites #favorites .save-favorite:hover,
.csh-vnext.page-favorites #favorites .save-favorite:focus,
.csh-vnext.page-favorites #favorites .save-favorite:active,
.csh-vnext.page-favorites #favorites .save-favorite i {
  text-decoration: none !important;
}

.csh-vnext.page-favorites #favorites .btn-favorite-on,
.csh-vnext.page-favorites #favorites .btn-favorite-off {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
  color: var(--csh-primary);
}

.csh-vnext.page-favorites #favorites .btn-favorite-on {
  color: #d72638;
}

.csh-vnext.page-favorites #favorites .property-box-address {
  min-height: 64px;
  padding: .8rem 3.5rem .65rem .85rem;
}

.csh-vnext.page-favorites #favorites .property-box-title {
  margin: 0;
  overflow: hidden;
  font-size: clamp(1.15rem, 1.35vw, 1.45rem);
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.csh-vnext.page-favorites #favorites .property-box-label {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-radius: 0;
  background: var(--csh-primary);
  color: #fff;
  font-weight: 800;
  letter-spacing: .035em;
  text-align: center;
  text-transform: uppercase;
}

.csh-vnext.page-favorites #favorites .property-box-picture,
.csh-vnext.page-favorites #favorites .property-box-picture-inner,
.csh-vnext.page-favorites #favorites .property-box-picture-target,
.csh-vnext.page-favorites #favorites .property-box-picture-bg {
  position: relative;
  display: block;
  width: 100%;
}

.csh-vnext.page-favorites #favorites .property-box-picture-target,
.csh-vnext.page-favorites #favorites .property-box-picture-bg {
  height: 100%;
}

.csh-vnext.page-favorites #favorites .property-box-picture-inner {
  background: #e8edf1;
}

.csh-vnext.page-favorites #favorites .property-box-picture-target {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.csh-vnext.page-favorites #favorites .property-box-picture-bg {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.csh-vnext.page-favorites #favorites .property-box-picture-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.csh-vnext.page-favorites #favorites .property-views-overlay {
  position: absolute;
  top: .6rem;
  left: .6rem;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .55rem;
  border-radius: 6px;
  background: rgba(12, 18, 24, .88);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1;
}

.csh-vnext.page-favorites #favorites .property-views-overlay::before {
  content: "\f06e";
  font-family: FontAwesome;
  font-weight: normal;
}

.csh-vnext.page-favorites #favorites .property-box .tag,
.csh-vnext.page-favorites #favorites .property-box .tag > div {
  border-radius: 0 !important;
}

.csh-vnext.page-favorites #favorites .property-box .tag {
  position: relative !important;
  display: flex;
  width: 100% !important;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: .45rem .6rem !important;
  overflow: hidden;
  background: var(--csh-primary);
  color: #fff;
}

.csh-vnext.page-favorites #favorites .property-box .tag > div:not(.listingClock) {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center !important;
  text-transform: uppercase;
}

.csh-vnext.page-favorites #favorites .property-box-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: auto 0 0;
  padding: .75rem .35rem;
  background: #fff;
}

.csh-vnext.page-favorites #favorites .property-box-meta-item {
  width: auto;
  max-width: none;
  min-width: 0;
  padding: 0 .15rem;
  text-align: center;
}

.csh-vnext.page-favorites #favorites .property-box-meta-item strong,
.csh-vnext.page-favorites #favorites .property-box-meta-item span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.csh-vnext.page-favorites #favorites .property-box-meta-item strong {
  font-size: clamp(.92rem, 1.15vw, 1.08rem);
}

.csh-vnext.page-favorites #favorites .property-box-meta-item span {
  margin-top: .15rem;
  font-size: .76rem;
}

.csh-vnext.page-favorites #searches_list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 1rem;
  margin: 0;
}

.csh-vnext.page-favorites .saved-search-row {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid #e0e6eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(18, 35, 52, .08);
}

.csh-vnext.page-favorites .searches-note {
  display: flex;
  width: auto;
  max-width: none;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  gap: .55rem;
  margin: 0 !important;
  padding: 0;
}

.csh-vnext.page-favorites .searches-note a {
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.csh-vnext.page-favorites .searches-actions {
  width: auto;
  max-width: none;
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0;
}

.csh-vnext.page-favorites .searches-delete .tag {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: .35rem;
  padding: .45rem .7rem;
  border: 0;
  border-radius: 8px;
  background: var(--csh-primary);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

.csh-vnext.page-favorites #favorites .mt-3.text-center,
.csh-vnext.page-favorites #searches .mt-3.text-center {
  margin-top: 1.5rem !important;
}

@media (max-width: 575.98px) {
  .csh-vnext.page-favorites .saved-search-row {
    align-items: stretch;
    flex-direction: column;
  }

  .csh-vnext.page-favorites .searches-delete .tag {
    justify-content: center;
    width: 100%;
  }
}
