.resultados-asten-page {
  background: #fff;
  color: #15243e;
}

body.resultados-asten-page {
  background: #fff;
}

.resultados-asten-page .asten-search-shell {
  max-width: none;
  border: none !important;
  background: #fff !important;
}

.resultados-asten-page .asten-resultados-header {
  padding: 2.5rem 1rem 1.5rem;
}

.resultados-asten-page .asten-resultados-search {
  padding: 0 1rem 2rem;
}

.resultados-asten-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem 4rem;
}

@media (min-width: 1280px) {
  .resultados-asten-layout {
    flex-direction: row;
    align-items: flex-start;
  }
}

.asten-filtros-sidebar {
  flex: 0 0 100%;
  background: transparent;
  border: none;
  padding: 0;
}

@media (min-width: 1280px) {
  .asten-filtros-sidebar {
    flex: 0 0 220px;
    position: sticky;
    top: 6rem;
    padding-right: 0.5rem;
  }
}

.asten-filtros-sidebar__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', 'Helvetica Neue', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #15243e;
  padding-bottom: 0.85rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid #e5e2dc;
}

.asten-filtros-sidebar__title svg {
  flex-shrink: 0;
  color: #c49c60;
}

.asten-filtros-section-title,
.asten-filtros-sidebar h6,
#content2 h6 {
  font-family: var(--font-display, 'Cormorant Garamond', 'Playfair Display', Georgia, serif);
  font-size: 1.35rem;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #15243e;
  line-height: 1.2;
  margin: 0 0 0.85rem;
}

.asten-filtros-sidebar hr,
#content2 hr {
  border: 0;
  border-top: 1px solid #e5e2dc;
  margin: 1.35rem 0;
}

.asten-filtros-sidebar label,
#content2 label {
  font-family: 'Inter', 'Helvetica Neue', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: #5c6b77;
}

.asten-filtros-sidebar input[type="checkbox"],
#content2 input[type="checkbox"] {
  border-radius: 0;
  border-color: #d1d5db;
}

.asten-filtros-group .flex.items-center {
  margin-bottom: 0.55rem;
}

.asten-resultados-main {
  flex: 1;
  min-width: 0;
}

.asten-resultados-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.asten-resultados-contador {
  font-family: 'Inter', 'Helvetica Neue', system-ui, sans-serif;
  font-size: 0.8rem;
  color: #5c6b77;
}

.asten-resultados-orden {
  font-family: 'Inter', 'Helvetica Neue', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #15243e;
  border: 1px solid #e5e2dc;
  background: #fff;
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border-radius: 0;
  appearance: none;
  background-image: url('https://www.genteel-home.com/iconos-gh/arrow-down.svg');
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  background-size: 10px;
}

.resultados-asten-page #inmueblesContainer {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 1.5rem;
  row-gap: 3rem;
  width: 100%;
  align-items: start;
}

@media (min-width: 768px) {
  .resultados-asten-page #inmueblesContainer {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1280px) {
  .resultados-asten-page #inmueblesContainer {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

.resultados-asten-page #inmueblesContainer > .asten-card-inmueble {
  width: 100%;
  max-width: 100%;
}

.asten-card-inmueble {
  display: block;
  min-width: 0;
  text-align: left;
  color: inherit;
  text-decoration: none;
}

.asten-card-inmueble:focus {
  outline: none;
}

.asten-card-inmueble:focus-visible {
  outline: 2px solid rgba(21, 36, 62, 0.35);
  outline-offset: 3px;
}

.resultados-asten-page .asten-card-inmueble__img-wrap {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 75%;
  overflow: hidden;
  background: #e5e2dc;
}

.resultados-asten-page .asten-card-inmueble__img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.resultados-asten-page .asten-card-inmueble:hover .asten-card-inmueble__img-wrap img {
  transform: scale(1.03);
}

.asten-card-inmueble__body {
  padding-top: 0.75rem;
}

.asten-card-inmueble__kicker {
  font-family: 'Inter', 'Helvetica Neue', system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7a8894;
}

.asten-card-inmueble__title {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.25;
  color: #15243e;
  margin-top: 0.35rem;
}

@media (min-width: 1024px) {
  .asten-card-inmueble__title {
    font-size: 1.05rem;
  }
}

.asten-card-inmueble__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 0.5rem;
  margin-top: 0.45rem;
}

.asten-card-inmueble__meta {
  font-family: 'Inter', 'Helvetica Neue', system-ui, sans-serif;
  font-size: 0.72rem;
  color: #5c6b77;
}

.asten-card-inmueble__precio {
  font-family: 'Inter', 'Helvetica Neue', system-ui, sans-serif;
  font-size: 0.8rem;
  color: #5c6b77;
  white-space: nowrap;
}

.asten-resultados-empty {
  grid-column: 1 / -1;
  text-align: center;
  font-family: 'Inter', 'Helvetica Neue', system-ui, sans-serif;
  font-size: 1rem;
  color: #5c6b77;
  padding: 3rem 1rem;
}

.asten-filtros-mobile-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', 'Helvetica Neue', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #15243e;
  border: 1px solid #e5e2dc;
  background: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0;
  margin-bottom: 1rem;
}

@media (min-width: 1280px) {
  .asten-filtros-mobile-toggle {
    display: none;
  }
}

.asten-filtros-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
}

.asten-filtros-drawer.is-open {
  display: block;
}

.asten-filtros-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.asten-filtros-drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 92vw);
  background: #fff;
  overflow-y: auto;
  padding: 1.25rem 1.35rem;
  border: none;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.08);
}

.asten-filtros-drawer__close {
  display: block;
  margin-left: auto;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  line-height: 1;
  color: #15243e;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 1280px) {
  .asten-filtros-drawer {
    display: none !important;
  }
}
