.vaze-featured-properties {
  --vaze-fp-black: #0a0a0a;
  --vaze-fp-card: #ffffff;
  --vaze-fp-muted: #6b7280;
  --vaze-fp-line: rgba(255, 255, 255, 0.12);
  --vaze-fp-line-dark: #e5e7eb;
  color: #111827;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  overflow: hidden;
  background: var(--vaze-fp-black);
}

.vaze-featured-properties__wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.vaze-featured-properties__hero {
  padding: 72px 0 48px;
  color: #fff;
  background: linear-gradient(180deg, #0a0a0a 0%, #111111 48%, #141414 100%);
}

.vaze-featured-properties__eyebrow {
  margin: 0 0 12px;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.vaze-featured-properties__heading {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.vaze-featured-properties__lead {
  margin: 18px 0 0;
  max-width: 62ch;
  color: #d1d5db;
  font-size: 1.05rem;
  line-height: 1.7;
}

.vaze-featured-properties__hero-link {
  display: inline-flex;
  margin-top: 22px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  color: #fff !important;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none !important;
}

.vaze-featured-properties__hero-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.vaze-featured-properties__main {
  padding: 28px 0 72px;
}

.vaze-featured-properties__section + .vaze-featured-properties__section {
  margin-top: 42px;
}

.vaze-featured-properties__section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.vaze-featured-properties__section-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.15;
  font-weight: 700;
}

.vaze-featured-properties__section-nav {
  display: flex;
  gap: 8px;
}

.vaze-featured-properties__arrow {
  width: 42px;
  height: 42px;
  border: 1px solid var(--vaze-fp-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.vaze-featured-properties__arrow:hover {
  background: rgba(255, 255, 255, 0.1);
}

.vaze-featured-properties__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.vaze-featured-properties__track-wrap {
  overflow: hidden;
}

.vaze-featured-properties__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 44px) / 3);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.vaze-featured-properties__track::-webkit-scrollbar {
  display: none;
}

.vaze-featured-properties__card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--vaze-fp-line-dark);
  border-radius: 18px;
  background: var(--vaze-fp-card);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.vaze-featured-properties__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: #f3f4f6;
  overflow: hidden;
  text-decoration: none !important;
}

.vaze-featured-properties__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vaze-featured-properties__no-image {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #6b7280;
  font-weight: 600;
}

.vaze-featured-properties__tags {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 2;
}

.vaze-featured-properties__tag {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: #111827;
}

.vaze-featured-properties__tag.is-sale {
  background: #111827;
}

.vaze-featured-properties__tag.is-soon {
  background: #374151;
}

.vaze-featured-properties__tag.is-uc {
  background: #6b21a8;
}

.vaze-featured-properties__tag.is-sold {
  background: #4b5563;
}

.vaze-featured-properties__tag.is-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  border: 1px solid #e5e7eb;
}

.vaze-featured-properties__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 20px;
  flex: 1;
}

.vaze-featured-properties__type {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 700;
}

.vaze-featured-properties__type a {
  color: #111827 !important;
  text-decoration: none !important;
}

.vaze-featured-properties__address {
  margin: 0;
  color: var(--vaze-fp-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.vaze-featured-properties__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vaze-featured-properties__price {
  font-size: 1.45rem;
  line-height: 1.1;
  font-weight: 800;
  color: #111827;
}

.vaze-featured-properties__specs {
  color: #4b5563;
  font-size: 0.9rem;
}

.vaze-featured-properties__specs .dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 6px;
  border-radius: 50%;
  background: #9ca3af;
  vertical-align: middle;
}

.vaze-featured-properties__footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}

.vaze-featured-properties__phone {
  color: #111827 !important;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none !important;
}

.vaze-featured-properties__phone:hover {
  text-decoration: underline !important;
}

.vaze-featured-properties__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.vaze-featured-properties__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
}

.vaze-featured-properties__btn.is-dark {
  flex: 1;
  background: #111827;
  color: #fff !important;
}

.vaze-featured-properties__btn.is-dark:hover {
  background: #000;
}

.vaze-featured-properties__btn.is-full {
  width: 100%;
}

.vaze-featured-properties__icon-btn {
  width: 44px;
  height: 44px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  color: #6b7280;
  font-size: 1.1rem;
  cursor: pointer;
}

.vaze-featured-properties__icon-btn.saved {
  color: #ef4444;
  border-color: #fecaca;
  background: #fef2f2;
}

.vaze-featured-properties__empty {
  padding: 28px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  color: #d1d5db;
  text-align: center;
}

.vaze-featured-properties__overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
}

.vaze-featured-properties__overlay[hidden] {
  display: none;
}

.vaze-featured-properties__modal {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 28px;
  border-radius: 18px;
  background: #fff;
}

.vaze-featured-properties__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.vaze-featured-properties__modal h3 {
  margin: 0 32px 8px 0;
  font-size: 1.4rem;
  line-height: 1.2;
}

.vaze-featured-properties__modal-sub {
  margin: 0 0 18px;
  color: #6b7280;
}

.vaze-featured-properties__field {
  margin-bottom: 14px;
}

.vaze-featured-properties__field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #374151;
}

.vaze-featured-properties__field input,
.vaze-featured-properties__field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font: inherit;
}

.vaze-featured-properties__form-message {
  margin-top: 12px;
  font-size: 0.92rem;
}

.vaze-featured-properties__form-message.is-success {
  color: #047857;
}

.vaze-featured-properties__form-message.is-error {
  color: #b91c1c;
}

@media (max-width: 1024px) {
  .vaze-featured-properties__track {
    grid-auto-columns: calc((100% - 22px) / 2);
  }
}

@media (max-width: 720px) {
  .vaze-featured-properties__hero {
    padding: 56px 0 36px;
  }

  .vaze-featured-properties__track {
    grid-auto-columns: 100%;
  }
}
