/* Properties catalog — modern layout (props-*) */

.props-page {
  --props-y: clamp(1.25rem, 3vw, 2rem);
  background: var(--wdh-bg, #fdf5f0);
  font-family: var(--wdh-font, "DM Sans", system-ui, sans-serif);
}

.props-page .props-main {
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

/* Layout */
.props-shell {
  padding: clamp(1rem, 2.5vw, 1.35rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}

.props-layout {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 992px) {
  .props-layout {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
  }
}

/* Demo banner */
.props-demo-note {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.5;
  background: rgba(173, 114, 29, 0.1);
  border: 1px solid rgba(173, 114, 29, 0.22);
  color: var(--wdh-ink);
}

.props-demo-note[hidden] {
  display: none !important;
}

.props-demo-note i {
  color: var(--wdh-gold, #ad721d);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Toolbar */
.props-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.props-toolbar__count {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--wdh-ink);
}

.props-toolbar__count span {
  color: var(--wdh-muted);
  font-weight: 500;
}

.props-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.05rem;
  border-radius: 999px;
  border: 1px solid rgba(183, 12, 37, 0.15);
  background: #fff;
  box-shadow: 0 4px 14px rgba(29, 0, 1, 0.06);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--wdh-ink);
  cursor: pointer;
  position: relative;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.props-filter-toggle:hover {
  border-color: rgba(183, 12, 37, 0.28);
  box-shadow: 0 6px 18px rgba(29, 0, 1, 0.08);
}

.props-filter-toggle i {
  color: var(--wdh-red, #b70c25);
}

.props-filter-toggle__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--wdh-red, #b70c25);
  color: #fff;
}

.props-filter-toggle__badge[hidden] {
  display: none !important;
}

@media (min-width: 992px) {
  .props-filter-toggle,
  .props-mobile-quick {
    display: none !important;
  }
}

.props-mobile-quick {
  margin-top: 0.15rem;
}

.props-mobile-quick__scroll {
  display: flex;
  gap: 0.28rem;
  padding: 0.22rem;
  border-radius: 12px;
}

.props-mobile-quick__chips .props-chip {
  flex: 1;
  min-width: 0;
  padding: 0.45rem 0.35rem;
  font-size: 0.78rem;
}

.props-results__sticky {
  margin-bottom: 0.65rem;
}

/* Sidebar filters */
.props-filters__handle {
  display: none;
}

.props-filters {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 1250;
  width: min(100%, 360px);
  max-width: 92vw;
  background: #fffbf8;
  box-shadow: 16px 0 48px rgba(29, 0, 1, 0.15);
  transform: translateX(-105%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  visibility: hidden;
}

.props-filters.is-open {
  transform: translateX(0);
  visibility: visible;
}

@media (max-width: 991.98px) {
  .props-filters {
    inset: auto 0 0 0;
    width: 100%;
    max-width: none;
    max-height: min(90vh, 720px);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -12px 48px rgba(29, 0, 1, 0.18);
    transform: translate3d(0, 105%, 0);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .props-filters.is-open {
    transform: translate3d(0, 0, 0);
  }

  .props-filters__handle {
    display: block;
    flex-shrink: 0;
    width: 2.75rem;
    height: 0.28rem;
    margin: 0.55rem auto 0;
    border-radius: 999px;
    background: rgba(29, 0, 1, 0.16);
  }

  .props-filters__inner {
    overflow-y: auto;
    padding: 0.85rem 1rem 1.15rem;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
  }

  .props-filters__eyebrow,
  .props-filters__lead {
    display: none;
  }

  .props-filters__head {
    margin-bottom: 0.65rem;
  }

  .props-filters__head h2 {
    font-size: 1.05rem;
  }

  .props-filters__panel {
    padding: 0.85rem;
    border-radius: 14px;
  }

  .props-filters__help {
    margin-top: 0.85rem;
    padding: 0.7rem 0.8rem;
  }
}

@media (min-width: 992px) {
  .props-filters {
    position: sticky;
    top: 5.5rem;
    z-index: 2;
    width: auto;
    max-width: none;
    transform: none;
    visibility: visible;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.9) inset,
      0 18px 48px rgba(29, 0, 1, 0.07);
    border-radius: 20px;
    border: 1px solid rgba(183, 12, 37, 0.08);
    overflow: visible;
    background: linear-gradient(165deg, #fff 0%, #fff8f4 48%, #fdf0e8 100%);
  }
}

.props-filters__backdrop {
  position: fixed;
  inset: 0;
  z-index: 1240;
  background: rgba(29, 0, 1, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.props-filters__backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 992px) {
  .props-filters__backdrop {
    display: none;
  }
}

.props-filters__inner {
  padding: 1.35rem 1.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  gap: 0.25rem;
}

@media (max-width: 991.98px) {
  .props-filters__inner form {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .props-filters__actions {
    margin-top: auto;
    padding-top: 1rem;
    position: sticky;
    bottom: 0;
    background: linear-gradient(0deg, #fffbf8 78%, rgba(255, 251, 248, 0));
    z-index: 1;
  }
}

.props-filters__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.props-filters__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wdh-gold-dark, #8f5a14);
}

.props-filters__head h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  font-family: var(--wdh-display, "Fraunces", Georgia, serif);
  color: var(--wdh-ink);
}

.props-filters__lead {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--wdh-muted);
  max-width: 16rem;
}

.props-filters__panel {
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(29, 0, 1, 0.06);
  box-shadow: 0 4px 24px rgba(29, 0, 1, 0.04);
}

.props-filters__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 10px;
  background: var(--wdh-bg);
  color: var(--wdh-ink);
  cursor: pointer;
}

@media (min-width: 992px) {
  .props-filters__close {
    display: none;
  }
}

.props-filter-chips {
  margin-bottom: 0.95rem;
}

.props-filter-chips__label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wdh-muted);
}

.props-segment {
  display: flex;
  gap: 0.28rem;
  padding: 0.28rem;
  border-radius: 14px;
  background: rgba(253, 245, 240, 0.95);
  border: 1px solid var(--wdh-border);
}

.props-chip {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.55rem 0.5rem;
  border-radius: 11px;
  border: none;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--wdh-muted);
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

.props-chip:hover {
  color: var(--wdh-ink);
  background: rgba(255, 255, 255, 0.65);
}

.props-chip.is-active {
  background: #fff;
  color: var(--wdh-red, #b70c25);
  box-shadow: 0 2px 10px rgba(29, 0, 1, 0.08);
}

.props-chip:focus-visible {
  outline: 2px solid rgba(183, 12, 37, 0.45);
  outline-offset: 2px;
}

.props-field {
  margin-bottom: 0.9rem;
}

.props-field:last-child {
  margin-bottom: 0;
}

.props-field--sync[hidden] {
  display: none !important;
}

.props-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wdh-muted);
}

.props-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.props-input-wrap > i {
  position: absolute;
  left: 0.88rem;
  top: 50%;
  z-index: 2;
  font-size: 0.95rem;
  line-height: 1;
  transform: translateY(-50%);
  color: var(--wdh-gold-dark, #8f5a14);
  pointer-events: none;
}

.props-input-wrap .form-control,
.props-input-wrap .form-select {
  width: 100%;
  border-radius: 13px;
  border: 1px solid rgba(29, 0, 1, 0.1);
  background: #fff;
  font-size: 0.9rem;
  min-height: 2.75rem;
  padding: 0.5rem 2.35rem 0.5rem 2.55rem;
  color: var(--wdh-ink);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.props-input-wrap .form-select {
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238f5a14' d='M1.5 1.5 6 6l4.5-4.5' stroke='%238f5a14' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 12px 8px;
  appearance: none;
  cursor: pointer;
}

.props-input-wrap .form-control::placeholder {
  color: rgba(29, 0, 1, 0.38);
}

.props-input-wrap .form-control:hover,
.props-input-wrap .form-select:hover {
  border-color: rgba(183, 12, 37, 0.22);
  background-color: #fffdfb;
}

.props-input-wrap .form-control:focus,
.props-input-wrap .form-select:focus {
  border-color: rgba(183, 12, 37, 0.4);
  box-shadow: 0 0 0 3px rgba(183, 12, 37, 0.12);
  background-color: #fff;
  outline: none;
}

.props-filters__actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1rem;
}

.props-filters__actions .wdh-btn {
  width: 100%;
  justify-content: center;
  border-radius: 13px;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  font-size: 0.9rem;
}

.props-filters__actions .wdh-btn--outline {
  background: rgba(255, 255, 255, 0.85);
}

.props-filters__help {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(183, 12, 37, 0.12);
  background: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.props-filters__help:hover {
  background: #fff;
  border-color: rgba(183, 12, 37, 0.22);
  transform: translateY(-1px);
}

.props-filters__help-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(183, 12, 37, 0.1);
  color: var(--wdh-red, #b70c25);
  font-size: 1rem;
}

.props-filters__help-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.props-filters__help-title {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--wdh-muted);
}

.props-filters__help-line {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--wdh-ink);
}

/* Grid */
.props-grid {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1.1rem;
}

@media (min-width: 992px) {
  .props-grid {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.35rem;
  }
}

.props-grid__col {
  display: flex;
}

.props-grid__col > .props-card {
  flex: 1;
  width: 100%;
}

/* Empty / error */
.props-empty {
  text-align: center;
  padding: 2.5rem 1.25rem;
  border-radius: var(--wdh-radius);
  background: #fff;
  border: 1px dashed var(--wdh-border);
}

.props-empty i {
  font-size: 2rem;
  color: var(--wdh-muted);
  margin-bottom: 0.75rem;
}

.props-empty h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.props-empty p {
  margin: 0 0 1rem;
  color: var(--wdh-muted);
  font-size: 0.9rem;
}

/* Skeleton */
.props-skeleton-grid .wdh-property--skeleton {
  pointer-events: none;
}

.props-page.props-filters-open {
  overflow: hidden;
}

/* ——— Property cards (catalog) ——— */
.props-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(29, 0, 1, 0.07);
  box-shadow: 0 8px 28px rgba(29, 0, 1, 0.06);
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s ease,
    border-color 0.25s ease;
  animation: props-card-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--props-card-delay, 0s);
}

@keyframes props-card-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.props-card.wdh-property--featured {
  border-color: rgba(183, 12, 37, 0.22);
  box-shadow:
    0 0 0 1px rgba(183, 12, 37, 0.08),
    0 14px 40px rgba(29, 0, 1, 0.09);
}

.props-catalog .props-card.wdh-property--interactive {
  cursor: pointer;
}

.props-catalog .props-card.wdh-property--sample {
  cursor: default;
}

.props-catalog .wdh-property__card-link {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  text-decoration: none;
}

.props-catalog .wdh-property--interactive .props-card__media,
.props-catalog .wdh-property--interactive .props-card__body {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.props-catalog .wdh-property--interactive:hover {
  transform: translateY(-5px);
  border-color: rgba(183, 12, 37, 0.18);
  box-shadow: 0 20px 48px rgba(29, 0, 1, 0.11);
}

.props-catalog .wdh-property--interactive:hover .props-card__media img {
  transform: scale(1.06);
}

.props-catalog .wdh-property--interactive:hover .props-card__cta i {
  transform: translate(2px, -2px);
}

/* Media */
.props-card__media {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: rgba(29, 0, 1, 0.04);
}

.props-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.props-card__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    185deg,
    rgba(18, 8, 6, 0.08) 0%,
    rgba(18, 8, 6, 0) 38%,
    rgba(18, 8, 6, 0.55) 100%
  );
}

.props-card__badges {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  right: 0.7rem;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  pointer-events: none;
}

.props-card__badges-start,
.props-card__badges-end {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.props-card__badges-end {
  justify-content: flex-end;
  flex-shrink: 0;
}

.props-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.props-card__badge--listing {
  background: rgba(183, 12, 37, 0.92);
  color: #fff;
  box-shadow: 0 4px 14px rgba(183, 12, 37, 0.35);
}

.props-card__badge--type {
  background: rgba(255, 255, 255, 0.92);
  color: var(--wdh-ink);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.props-card__badge--featured {
  background: linear-gradient(135deg, #c41e3a 0%, #8f0a1f 100%);
  color: #fff;
}

.props-card__badge--sample {
  background: rgba(29, 0, 1, 0.78);
  color: #fff;
}

.props-card__price-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0.65rem 0.85rem 0.75rem;
  pointer-events: none;
}

.props-card__price {
  display: inline-flex;
  align-items: baseline;
  max-width: 100%;
  padding: 0.32rem 0.65rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  font-size: clamp(0.85rem, 1.8vw, 0.98rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--wdh-red, #b70c25);
  line-height: 1.2;
  box-shadow: 0 4px 16px rgba(29, 0, 1, 0.12);
}

/* Body */
.props-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.05rem 1.05rem;
  gap: 0;
}

.props-catalog .props-card__body .wdh-property__title {
  font-family: var(--wdh-display, "Fraunces", Georgia, serif);
  font-size: clamp(0.92rem, 1.5vw, 1.02rem);
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -0.015em;
  margin: 0 0 0.45rem;
  color: var(--wdh-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(2 * 1.38em);
}

.props-catalog .props-card__body .wdh-property__meta {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--wdh-muted);
}

.props-catalog .props-card__body .wdh-property__meta i {
  flex-shrink: 0;
  margin-top: 0.12em;
  font-size: 0.85rem;
  color: var(--wdh-gold-dark, #8f5a14);
}

.props-catalog .props-card__body .wdh-property__meta span {
  flex: 1;
  min-width: 0;
}

.props-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
  padding: 0;
  list-style: none;
}

.props-card__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--wdh-ink);
  background: rgba(253, 245, 240, 0.95);
  border: 1px solid rgba(29, 0, 1, 0.06);
}

.props-card__chip i {
  font-size: 0.78rem;
  color: var(--wdh-gold-dark, #8f5a14);
}

.props-card__foot {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(29, 0, 1, 0.07);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 2.5rem;
}

.props-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: rgba(183, 12, 37, 0.08);
  color: var(--wdh-red, #b70c25);
  font-size: 0.78rem;
  font-weight: 700;
  transition: background 0.22s ease, color 0.22s ease;
}

.props-catalog .wdh-property--interactive:hover .props-card__cta {
  background: var(--wdh-red, #b70c25);
  color: #fff;
}

.props-card__cta i {
  font-size: 0.85rem;
  transition: transform 0.22s ease;
}

.props-card__preview-note {
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--wdh-muted);
}

.props-skeleton-grid .props-card {
  animation: none;
  box-shadow: none;
}

.props-skeleton-grid .wdh-property__media--skeleton {
  min-height: 0;
}

/* Responsive columns */
@media (min-width: 576px) {
  .props-grid .col-12 {
    flex: 0 0 auto;
    width: 50%;
  }
}

@media (min-width: 1400px) {
  .props-grid .col-12 {
    width: 33.333%;
  }
}

/* ——— Mobile: compact catalog ——— */
@media (max-width: 991.98px) {
  .props-shell {
    padding: 0.55rem 0 clamp(1.75rem, 4vw, 2.25rem);
  }

  .props-page .props-catalog .container {
    padding-left: max(0.65rem, env(safe-area-inset-left));
    padding-right: max(0.65rem, env(safe-area-inset-right));
  }

  .props-layout {
    gap: 0.5rem;
  }

  .props-results__sticky {
    position: sticky;
    top: var(--wdh-header-h, 3.5rem);
    z-index: 50;
    margin-left: -0.65rem;
    margin-right: -0.65rem;
    padding: 0.45rem 0.65rem 0.5rem;
    background: rgba(253, 245, 240, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(29, 0, 1, 0.06);
    margin-bottom: 0.55rem;
  }

  .props-toolbar {
    margin-bottom: 0;
    gap: 0.5rem;
  }

  .props-toolbar__count {
    font-size: 0.82rem;
    line-height: 1.35;
    flex: 1;
    min-width: 0;
  }

  .props-filter-toggle {
    flex-shrink: 0;
    padding: 0.48rem 0.75rem;
    font-size: 0.8rem;
    box-shadow: 0 2px 10px rgba(29, 0, 1, 0.05);
  }

  .props-filter-toggle__label {
    display: none;
  }

  .props-demo-note {
    font-size: 0.78rem;
    line-height: 1.4;
    padding: 0.6rem 0.7rem;
    margin-bottom: 0.65rem;
    border-radius: 12px;
  }

  .props-grid {
    --bs-gutter-x: 0.55rem;
    --bs-gutter-y: 0.55rem;
  }
}

@media (max-width: 575.98px) {
  .props-card {
    flex-direction: row;
    align-items: stretch;
    border-radius: 14px;
    box-shadow: 0 3px 14px rgba(29, 0, 1, 0.06);
    animation-duration: 0.4s;
  }

  .props-catalog .wdh-property--interactive:hover {
    transform: none;
    box-shadow: 0 4px 18px rgba(29, 0, 1, 0.09);
  }

  .props-card__media {
    width: 38%;
    max-width: 128px;
    flex-shrink: 0;
    aspect-ratio: auto;
    min-height: 6.85rem;
    align-self: stretch;
  }

  .props-card__body {
    flex: 1;
    min-width: 0;
    padding: 0.55rem 0.62rem 0.58rem;
    justify-content: center;
  }

  .props-catalog .props-card__body .wdh-property__title {
    font-size: 0.84rem;
    line-height: 1.32;
    margin-bottom: 0.25rem;
    -webkit-line-clamp: 2;
    min-height: 0;
  }

  .props-catalog .props-card__body .wdh-property__meta {
    font-size: 0.72rem;
    margin-bottom: 0.4rem;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .props-catalog .props-card__body .wdh-property__meta i {
    font-size: 0.75rem;
  }

  .props-card__specs {
    margin-bottom: 0.35rem;
    gap: 0.28rem;
  }

  .props-card__chip {
    padding: 0.18rem 0.38rem;
    font-size: 0.62rem;
    border-radius: 6px;
  }

  .props-card__chip i {
    display: none;
  }

  .props-card__foot {
    padding-top: 0.35rem;
    min-height: 0;
    border-top: none;
    justify-content: flex-start;
  }

  .props-card__cta {
    padding: 0.28rem 0.5rem;
    font-size: 0.68rem;
    gap: 0.2rem;
  }

  .props-card__cta span:first-child {
    display: none;
  }

  .props-card__preview-note {
    text-align: left;
    font-size: 0.62rem;
  }

  .props-card__badges {
    top: 0.35rem;
    left: 0.35rem;
    right: 0.35rem;
  }

  .props-card__badge {
    font-size: 0.5rem;
    padding: 0.16rem 0.34rem;
    letter-spacing: 0.03em;
  }

  .props-card__badge--type,
  .props-card__badges-end .props-card__badge--featured {
    display: none;
  }

  .props-card__badges-end .props-card__badge--sample {
    display: inline-flex;
    font-size: 0.48rem;
    padding: 0.12rem 0.3rem;
  }

  .props-card__price-bar {
    padding: 0.25rem 0.35rem 0.38rem;
  }

  .props-card__price {
    font-size: 0.68rem;
    padding: 0.18rem 0.4rem;
    border-radius: 7px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .props-skeleton-grid .props-card {
    flex-direction: row;
    min-height: 6.85rem;
  }

  .props-skeleton-grid .props-card__media {
    width: 38%;
    max-width: 128px;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .props-card__media {
    aspect-ratio: 16 / 10;
  }

  .props-card__body {
    padding: 0.8rem 0.9rem 0.9rem;
  }

  .props-catalog .props-card__body .wdh-property__title {
    min-height: 0;
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .props-card {
    animation: none;
  }

  .props-card__media img,
  .props-catalog .wdh-property--interactive,
  .props-card__cta i {
    transition: none;
  }
}