* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
}

h1 {
  font-size: 80px;
}

h2 {
  font-size: 64px;
}

h3 {
  font-size: 48px;
}

h4 {
  font-size: 32px;
}

p {
  margin: 0;
}

body {
  margin: 0;
}
body.admin-bar main {
  padding-top: 57px;
}
@media (max-width: 1200px) {
  body.admin-bar main {
    padding-top: 47px;
  }
}

main {
  padding-top: 90px;
}
@media (min-width: 769px) and (max-width: 1200px) {
  main {
    padding-top: 80px;
  }
}
@media (max-width: 768px) {
  main {
    padding-top: 80px;
  }
}

.container {
  width: 90vw;
  max-width: 1728px;
  margin: 0 auto;
  padding: 0;
}
@media (max-width: 768px) {
  .container {
    width: 100%;
    padding: 0 16px;
  }
}

.site-header {
  background-color: #fffcf2;
  border-bottom: 1px solid #909296;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 90px;
  width: 100%;
  transition: transform 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}
@media (max-width: 1200px) {
  .site-header {
    height: 80px;
    padding: 0;
  }
}
.site-header.header-hidden {
  transform: translateY(-100%);
}

.header-wrapper {
  position: relative;
  width: 100%;
  max-width: 1728px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 769px) and (max-width: 1200px) {
  .header-wrapper {
    max-width: 100%;
    padding: 0 5vw;
    justify-content: space-between;
  }
}
@media (max-width: 768px) {
  .header-wrapper {
    padding: 0 16px;
  }
}

.logo-container {
  flex-shrink: 0;
  height: 48px;
  width: auto;
}
@media (min-width: 769px) and (max-width: 1200px) {
  .logo-container {
    position: static;
  }
}
.logo-container .logo-link {
  display: block;
  height: 100%;
  width: auto;
}
.logo-container .logo-img {
  height: 100%;
  width: auto;
  display: block;
}

.main-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 16px;
  align-items: center;
  flex-shrink: 0;
}
@media (min-width: 1200px) and (max-width: 1400px) {
  .main-nav {
    gap: 8px;
  }
}
@media (max-width: 1200px) {
  .main-nav {
    display: none;
  }
}

.nav-item {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 500;
  color: #252422;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
  display: inline-block;
}
@media (min-width: 1200px) and (max-width: 1400px) {
  .nav-item {
    padding: 12px 16px;
    font-size: 22px;
  }
}
.nav-item:hover {
  background-color: #ffffff;
  border-color: #e8e8e8;
}
.nav-item.active {
  background-color: #252422;
  color: #fffcf2;
}

.btn-primary-header {
  background-color: #953a2c;
  color: #fffcf2;
  padding: 12px 41px;
  font-family: "Cormorant Garamond", serif;
  font-size: 24px !important;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
}
@media (max-width: 1200px) {
  .btn-primary-header {
    display: none !important;
  }
}
.btn-primary-header:hover {
  background-color: #7a2f24;
}

.burger-menu {
  display: none;
  width: 42px;
  height: 42px;
  background: #ffffff;
  border: 2px solid #252422;
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  flex-shrink: 0;
  transition: all 0.3s ease;
}
@media (max-width: 1200px) {
  .burger-menu {
    display: block;
  }
}
@media (max-width: 768px) {
  .burger-menu {
    right: 16px;
  }
}
.burger-menu span {
  position: absolute;
  left: 19.51%;
  right: 17.07%;
  height: 2px;
  background: #252422;
  border-radius: 4px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.burger-menu span:nth-child(1) {
  top: 10.9998px;
}
.burger-menu span:nth-child(2) {
  top: 20.0004px;
}
.burger-menu span:nth-child(3) {
  top: 29.001px;
}
.burger-menu.active {
  visibility: visible;
  border-color: #252422;
}
.burger-menu.active span {
  left: 50%;
  right: auto;
  width: 20px;
  margin-left: -10px;
}
.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 50%;
  margin-top: -1px;
}
.burger-menu.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 50%;
  margin-top: -1px;
}

.mobile-menu-overlay {
  position: absolute;
  top: 90px;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  z-index: -1;
  display: flex;
  flex-direction: column;
  padding: 16px;
  overflow-y: auto;
  transition: transform 0.3s ease-in-out;
  visibility: hidden;
}
@media (max-width: 768px) {
  .mobile-menu-overlay {
    top: 80px;
    height: calc(100vh - 80px);
    height: calc(100dvh - 80px);
  }
}
.mobile-menu-overlay.active {
  visibility: visible;
}

.mobile-logo-container {
  height: 48px;
  width: 34px;
}
.mobile-logo-container .mobile-logo-link {
  display: block;
  height: 100%;
  width: 100%;
}
.mobile-logo-container .mobile-logo-img {
  width: 100%;
  height: 100%;
  display: block;
}

.mobile-close-btn {
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.mobile-close-btn svg {
  width: 100%;
  height: 100%;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  justify-content: flex-start;
}
.mobile-nav .mobile-nav-item {
  display: block;
  background-color: #ffffff;
  font-family: "Cormorant Garamond", serif;
  font-size: 21px;
  font-weight: 500;
  color: #252422;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  line-height: 1.5;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}
.mobile-nav .mobile-nav-item:hover {
  background-color: #c0bfbf;
}
.mobile-nav .mobile-nav-item.active {
  background-color: #252422;
  color: #fffcf2;
}
.mobile-nav .btn-primary-mobile {
  margin-top: auto;
}

.btn {
  display: inline-block;
  padding: 12px 41px;
  font-family: "Cormorant Garamond", serif;
  font-size: 21px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
  text-align: center;
  white-space: nowrap;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background-color: #953a2c;
  color: #fffcf2;
  border: 1px solid #953a2c;
}
.btn-primary:hover:not(:disabled) {
  background-color: rgb(109.6269430052, 42.6735751295, 32.3730569948);
  border-color: rgb(109.6269430052, 42.6735751295, 32.3730569948);
}

.btn-secondary {
  background-color: transparent;
  color: #252422;
  border: 1px solid #252422;
}
.btn-secondary:hover:not(:disabled) {
  background-color: #252422;
  color: #fffcf2;
}

.btn-tertiary {
  background-color: #fffcf2;
  color: #252422;
  border: 1px solid #252422;
}
.btn-tertiary:hover:not(:disabled) {
  background-color: #252422;
  color: #fffcf2;
}

.btn-white {
  background-color: #ffffff;
  color: #252422;
  border: 1px solid #ffffff;
}
.btn-white:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
}

.btn-white-outline {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}
.btn-white-outline:hover:not(:disabled) {
  background-color: #ffffff;
  color: #252422;
}

.btn-sm {
  padding: 8px 41px;
  font-size: 20px;
}

.btn-md {
  padding: 12px 32px;
  font-size: 20px;
}

.btn-lg {
  padding: 16px 42px;
  font-size: 28px;
}
@media (max-width: 768px) {
  .btn-lg {
    padding: 12px 32px;
    font-size: 20px;
  }
}

.btn-full {
  width: 100%;
}

.btn-spectral {
  font-family: "Spectral", serif;
  font-weight: 400;
}

.btn-cormorant {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.btn-primary-mobile {
  width: 100%;
  background-color: #953a2c;
  color: #fffcf2;
  padding: 12px 32px;
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 600;
  border-radius: 4px;
  text-align: center;
  display: inline-block;
  border: 1px solid #953a2c;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s ease;
}
.btn-primary-mobile:hover {
  background-color: rgb(109.6269430052, 42.6735751295, 32.3730569948);
  border-color: rgb(109.6269430052, 42.6735751295, 32.3730569948);
}

.btn-footer {
  background-color: transparent;
  color: #fffcf2;
  border: 1px solid #fffcf2;
  padding: 12px 41px;
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn-footer:hover {
  background-color: #fffcf2;
  color: #252422;
}
@media (max-width: 1200px) {
  .btn-footer {
    width: 100%;
    text-align: center;
  }
}

/*
Standard button:
<a href="#" class="btn btn-primary">Click Me</a>

Large primary button:
<a href="#" class="btn btn-primary btn-lg">Get Started</a>

Secondary button with Spectral font:
<a href="#" class="btn btn-secondary btn-spectral">Learn More</a>

Medium button (hero/CTA style):
<a href="#" class="btn btn-primary btn-md btn-spectral">Contact Us</a>

Full width mobile button:
<a href="#" class="btn btn-primary btn-full">Submit</a>
*/
.site-footer {
  background-color: #252422;
  padding: 120px 0;
  color: #fffcf2;
}
.site-footer .footer-content {
  display: flex;
  gap: 40px;
  flex-direction: column;
  gap: 80px;
}
@media (min-width: 1201px) {
  .site-footer .footer-content {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}
.site-footer .footer-main {
  display: flex;
  flex-direction: column;
  gap: 105px;
  flex: 1 1 auto;
  width: 100%;
}
@media (min-width: 769px) and (max-width: 1200px) {
  .site-footer .footer-main {
    flex: 1 1 auto;
    gap: 68px;
  }
}
.site-footer .footer-cta {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: flex-start;
}
@media (min-width: 769px) and (max-width: 1200px) {
  .site-footer .footer-cta {
    gap: 48px;
    align-items: stretch;
  }
}
.site-footer .footer-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 80px;
  font-weight: 700;
  line-height: 1.4;
  color: #fffcf2;
  margin: 0;
}
@media (min-width: 769px) and (max-width: 1200px) {
  .site-footer .footer-title {
    font-size: 48px;
  }
}
.site-footer .footer-text {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
  color: #fffcf2;
  max-width: 717px;
  margin: 0;
}
@media (min-width: 769px) and (max-width: 1200px) {
  .site-footer .footer-text {
    font-size: 21px;
    max-width: 100%;
  }
}
.site-footer .footer-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 400;
  line-height: normal;
  color: #fffcf2;
}
.site-footer .footer-nav a {
  color: #fffcf2;
  text-decoration: none;
  transition: 0.3s ease;
}
.site-footer .footer-nav a:hover {
  opacity: 0.8;
}
.site-footer .footer-logo {
  flex: 1 1 auto;
  width: 100%;
  height: 793px;
  align-self: flex-start;
}
@media (min-width: 769px) and (max-width: 1200px) {
  .site-footer .footer-logo {
    flex: 1 1 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 779.48/1095.05;
    margin-top: 48px;
  }
}
.site-footer .footer-logo .footer-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (min-width: 769px) and (max-width: 1200px) {
  .site-footer {
    padding: 80px 16px;
    padding-bottom: 79px;
  }
}
@media (max-width: 768px) {
  .site-footer {
    padding: 80px 16px;
    padding-bottom: 79px;
  }
  .site-footer .footer-content {
    flex-direction: column;
    gap: 80px;
  }
  .site-footer .footer-main {
    flex: 1 1 auto;
    gap: 68px;
  }
  .site-footer .footer-title {
    font-size: 48px;
  }
  .site-footer .footer-text {
    font-size: 21px;
    max-width: 100%;
  }
  .site-footer .footer-logo {
    flex: 1 1 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 779.48/1095.05;
    margin-top: 48px;
  }
}

.btn {
  display: inline-block;
  padding: 12px 41px;
  font-family: "Cormorant Garamond", serif;
  font-size: 21px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
  text-align: center;
  white-space: nowrap;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background-color: #953a2c;
  color: #fffcf2;
  border: 1px solid #953a2c;
}
.btn-primary:hover:not(:disabled) {
  background-color: rgb(109.6269430052, 42.6735751295, 32.3730569948);
  border-color: rgb(109.6269430052, 42.6735751295, 32.3730569948);
}

.btn-secondary {
  background-color: transparent;
  color: #252422;
  border: 1px solid #252422;
}
.btn-secondary:hover:not(:disabled) {
  background-color: #252422;
  color: #fffcf2;
}

.btn-tertiary {
  background-color: #fffcf2;
  color: #252422;
  border: 1px solid #252422;
}
.btn-tertiary:hover:not(:disabled) {
  background-color: #252422;
  color: #fffcf2;
}

.btn-white {
  background-color: #ffffff;
  color: #252422;
  border: 1px solid #ffffff;
}
.btn-white:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
}

.btn-white-outline {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}
.btn-white-outline:hover:not(:disabled) {
  background-color: #ffffff;
  color: #252422;
}

.btn-sm {
  padding: 8px 41px;
  font-size: 20px;
}

.btn-md {
  padding: 12px 32px;
  font-size: 20px;
}

.btn-lg {
  padding: 16px 42px;
  font-size: 28px;
}
@media (max-width: 768px) {
  .btn-lg {
    padding: 12px 32px;
    font-size: 20px;
  }
}

.btn-full {
  width: 100%;
}

.btn-spectral {
  font-family: "Spectral", serif;
  font-weight: 400;
}

.btn-cormorant {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.btn-primary-mobile {
  width: 100%;
  background-color: #953a2c;
  color: #fffcf2;
  padding: 12px 32px;
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 600;
  border-radius: 4px;
  text-align: center;
  display: inline-block;
  border: 1px solid #953a2c;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s ease;
}
.btn-primary-mobile:hover {
  background-color: rgb(109.6269430052, 42.6735751295, 32.3730569948);
  border-color: rgb(109.6269430052, 42.6735751295, 32.3730569948);
}

.btn-footer {
  background-color: transparent;
  color: #fffcf2;
  border: 1px solid #fffcf2;
  padding: 12px 41px;
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn-footer:hover {
  background-color: #fffcf2;
  color: #252422;
}
@media (max-width: 1200px) {
  .btn-footer {
    width: 100%;
    text-align: center;
  }
}

/*
Standard button:
<a href="#" class="btn btn-primary">Click Me</a>

Large primary button:
<a href="#" class="btn btn-primary btn-lg">Get Started</a>

Secondary button with Spectral font:
<a href="#" class="btn btn-secondary btn-spectral">Learn More</a>

Medium button (hero/CTA style):
<a href="#" class="btn btn-primary btn-md btn-spectral">Contact Us</a>

Full width mobile button:
<a href="#" class="btn btn-primary btn-full">Submit</a>
*/
.form-group {
  position: relative;
}
.form-group label {
  position: absolute;
  left: 21px;
  top: 1.25em;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #252422;
  pointer-events: none;
  transition: all 0.3s ease;
  background-color: #fffcf2;
  padding: 0 4px;
  line-height: 1;
  z-index: 9;
  transform-origin: left top;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  opacity: 0;
  transition: opacity 0.15s ease;
}
.form-group input:focus + label, .form-group input:not(:placeholder-shown) + label, .form-group input[value]:not([value=""]) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group textarea[value]:not([value=""]) + label {
  transform: translateY(-30px) scale(0.875);
  color: #953a2c;
}
.form-group input:focus:placeholder-shown::placeholder,
.form-group textarea:focus:placeholder-shown::placeholder {
  opacity: 1;
  color: #909296;
  transition-delay: 0.1s;
}
.form-group:has(input:focus) label, .form-group:has(input:not(:placeholder-shown)) label, .form-group:has(textarea:focus) label, .form-group:has(textarea:not(:placeholder-shown)) label {
  transform: translateY(-30px) scale(0.875);
  color: #953a2c;
}
.form-group.is-focused label, .form-group.has-value label {
  transform: translateY(-30px) scale(0.875);
  color: #953a2c;
}
.form-group textarea + label {
  top: 24px;
}
.form-group:has(textarea) label {
  top: 24px;
}
.form-group input,
.form-group textarea {
  position: relative;
  z-index: 2;
}
.form-group .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.featured-listings-page .site-header {
  position: static;
}

.featured-listings-page {
  background-color: #fffcf2;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.filter-bar {
  position: sticky;
  top: 0;
  z-index: 99;
  background-color: #ffffff;
  border-bottom: 1px solid #909296;
  padding: 12px 24px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .filter-bar {
    padding: 10px 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .filter-bar::-webkit-scrollbar {
    display: none;
  }
}

.filter-bar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1728px;
  margin: 0 auto;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .filter-bar-inner {
    flex-wrap: nowrap;
    min-width: max-content;
  }
}

.filter-bar .buy-rent-toggle {
  display: inline-flex;
  gap: 2px;
  padding: 4px 5px;
  background: #ffffff;
  border: 1px solid #909296;
  border-radius: 360px;
  flex-shrink: 0;
}
.filter-bar .buy-rent-toggle .toggle-btn {
  padding: 6px 16px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 119px;
  color: #252422;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-bar .buy-rent-toggle .toggle-btn.active {
  background: #252422;
  border-color: #252422;
  color: #fffcf2;
}
.filter-bar .buy-rent-toggle .toggle-btn:hover:not(.active) {
  opacity: 0.7;
}

.filter-bar-search {
  display: none;
  flex-shrink: 0;
  width: 180px;
}
@media (max-width: 768px) {
  .filter-bar-search {
    width: 140px;
  }
}
.filter-bar-search .search-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #909296;
  border-radius: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #252422;
  background: #ffffff;
  line-height: 1;
}
.filter-bar-search .search-input::placeholder {
  color: #252422;
}
.filter-bar-search .search-input:focus {
  outline: none;
  border-color: #953a2c;
}
.filter-bar-search label {
  font-size: 14px;
  left: 14px;
  top: 10px;
}
.filter-bar-search.focused label, .filter-bar-search.has-value label {
  font-size: 10px;
  top: -6px;
}

.filter-bar .filter-dropdown {
  padding: 10px 36px 10px 14px;
  border: 1px solid #909296;
  border-radius: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #252422;
  background: #ffffff;
  cursor: pointer;
  appearance: none;
  line-height: 1;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 15L7 10H17L12 15Z' fill='%23252422'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
}
.filter-bar .filter-dropdown:focus {
  outline: none;
  border-color: #953a2c;
}
.filter-bar .filter-dropdown.filter-price {
  min-width: 130px;
}

.filter-bar .sort-btn,
.filter-bar .reset-filters {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: #953a2c;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 10px 12px;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}
.filter-bar .sort-btn svg,
.filter-bar .reset-filters svg {
  width: 16px;
  height: 16px;
}
.filter-bar .sort-btn:hover,
.filter-bar .reset-filters:hover {
  opacity: 0.8;
  background: rgba(0, 0, 0, 0.05);
}

.filter-bar .reset-filters {
  display: none;
}
.filter-bar .reset-filters.has-active-filters {
  display: inline-flex;
}

.filter-dropdown-wrapper {
  position: relative;
  flex-shrink: 0;
}

.filter-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid #909296;
  border-radius: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #252422;
  background: #ffffff;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
  transition: border-color 0.2s ease;
}
.filter-dropdown-trigger:hover, .filter-dropdown-trigger:focus, .filter-dropdown-trigger.active {
  border-color: #909296;
  outline: none;
}
.filter-dropdown-trigger.active {
  border-color: #252422;
}
.filter-dropdown-trigger svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.filter-dropdown-trigger.active svg {
  transform: rotate(180deg);
}

.filter-dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 100;
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #909296;
  border-radius: 8px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
  min-width: 280px;
}
.filter-dropdown-panel.active {
  display: flex;
}
.filter-dropdown-panel--price {
  min-width: 380px;
}

.dropdown-deselect-btn,
.dropdown-reset-btn {
  width: 100%;
  padding: 8px 16px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #252422;
  background: transparent;
  border: 1px solid #cfd1d4;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.dropdown-deselect-btn:hover,
.dropdown-reset-btn:hover {
  background: #f7f7f7;
}

.dropdown-apply-btn {
  width: 100%;
  padding: 16px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fffcf2;
  background: #252422;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.dropdown-apply-btn:hover {
  background: rgb(23.7112676056, 23.0704225352, 21.7887323944);
}

.dropdown-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dropdown-checkbox-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.dropdown-checkbox-item:hover {
  background: #f7f7f7;
}
.dropdown-checkbox-item input[type=checkbox] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.dropdown-checkbox-item .checkbox-box {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: #fffcf2;
  border: 1px solid #cbc5ba;
  border-radius: 4px;
  position: relative;
  transition: all 0.15s ease;
}
.dropdown-checkbox-item .checkbox-box::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 10px;
  transform: translate(-50%, -60%) scale(0);
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='10' viewBox='0 0 14 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5L5 9L13 1' stroke='%23953a2c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.15s ease;
}
.dropdown-checkbox-item input[type=checkbox]:checked + .checkbox-box {
  background: #ffffff;
  border-color: #953a2c;
}
.dropdown-checkbox-item input[type=checkbox]:checked + .checkbox-box::after {
  transform: translate(-50%, -60%) scale(1);
}
.dropdown-checkbox-item .checkbox-label {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #252422;
  letter-spacing: 0.16px;
}

.dropdown-radio-row {
  display: flex;
  width: 100%;
}
.dropdown-radio-row .radio-btn {
  flex: 1;
  padding: 19px 16px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  color: #252422;
  background: #ffffff;
  border: 1px solid #cbc5ba;
  margin-right: -1px;
  cursor: pointer;
  transition: all 0.15s ease;
  letter-spacing: 0.16px;
}
.dropdown-radio-row .radio-btn:first-child {
  border-radius: 0;
}
.dropdown-radio-row .radio-btn:last-child {
  border-radius: 0;
  margin-right: 0;
}
.dropdown-radio-row .radio-btn:hover:not(.active) {
  background: #f7f7f7;
}
.dropdown-radio-row .radio-btn.active {
  background: #953a2c;
  border-color: #953a2c;
  color: #fffcf2;
  z-index: 1;
}

.price-range-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.price-range-header .price-range-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #252422;
}
.price-range-header .dropdown-reset-btn {
  width: auto;
  padding: 6px 12px;
  font-size: 14px;
}

.price-range-slider-container {
  padding: 20px 0;
}

.price-range-slider {
  height: 6px;
  background: #e5e5e5;
  border-radius: 3px;
  position: relative;
}
.price-range-slider .slider-track {
  position: absolute;
  height: 100%;
  background: #4285f4;
  border-radius: 3px;
}
.price-range-slider .slider-handle {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background: #4285f4;
  border: 3px solid #ffffff;
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 2;
}
.price-range-slider .slider-handle:active {
  cursor: grabbing;
}
.price-range-slider .slider-handle:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.3);
}

.noUi-target {
  background: #e5e5e5;
  border: none;
  border-radius: 3px;
  box-shadow: none;
  height: 6px;
}

.noUi-connect {
  background: #953a2c !important;
}

.noUi-handle {
  width: 24px !important;
  height: 24px !important;
  top: -5px !important;
  right: -12px !important;
  background: #000929 !important;
  border: 3px solid #ffffff !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
  cursor: grab;
}
.noUi-handle::before {
  top: 4px !important;
  height: 10px !important;
  left: calc(50% - 2px) !important;
}
.noUi-handle::after {
  top: 4px !important;
  height: 10px !important;
  left: calc(50% + 2px) !important;
}
.noUi-handle::before, .noUi-handle::after {
  display: none;
}
.noUi-handle:active {
  cursor: grabbing;
}
.noUi-handle:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

.price-range-inputs {
  display: flex;
  align-items: center;
  gap: 12px;
}

.price-input-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.price-input-group label {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #252422;
}
.price-input-group .price-input-field {
  width: 100%;
  padding: 14px 16px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #252422;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-align: left;
}
.price-input-group .price-input-field:focus {
  outline: none;
  border-color: #4285f4;
  background: #ffffff;
}
.price-input-group .price-input-field::placeholder {
  color: #9e9e9e;
}

.price-separator {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  color: #252422;
  padding-top: 28px;
}

.featured-listings-container {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
@media (min-width: 769px) and (max-width: 1200px) {
  .featured-listings-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 768px) {
  .featured-listings-container {
    padding: 16px;
    gap: 32px;
  }
}

.listings-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 40px 40px;
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.listings-column::-webkit-scrollbar {
  display: none;
}
@media (max-width: 768px) {
  .listings-column {
    padding: 16px;
  }
}

.featured-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  .featured-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.featured-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.5;
  color: #000000;
  margin: 0;
}
@media (max-width: 768px) {
  .featured-title {
    font-size: 32px;
  }
}

.buy-rent-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 8px 9px;
  background: #ffffff;
  border: 1px solid #909296;
  border-radius: 360px;
}
.buy-rent-toggle .toggle-btn {
  padding: 8px 24px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 119px;
  color: #252422;
  cursor: pointer;
  transition: all 0.2s ease;
}
.buy-rent-toggle .toggle-btn.active {
  background: #252422;
  border-color: #252422;
  color: #fffcf2;
}
.buy-rent-toggle .toggle-btn:hover:not(.active) {
  opacity: 0.7;
}

.filters-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 20px;
}

.search-input {
  width: 100%;
  padding: 18px 21px;
  border: 1px solid #909296;
  border-radius: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #252422;
  background: #ffffff;
  line-height: 1;
}
.search-input::placeholder {
  color: #252422;
}
.search-input:focus {
  outline: none;
  border-color: #953a2c;
}

.filter-row {
  display: grid;
  grid-template-columns: 1fr 205px 205px;
  gap: 24px;
}
@media (max-width: 768px) {
  .filter-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.filter-dropdown {
  padding: 18px 21px;
  border: 1px solid #909296;
  border-radius: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #252422;
  background: #ffffff;
  cursor: pointer;
  appearance: none;
  line-height: 1;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 15L7 10H17L12 15Z' fill='%23252422'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 21px center;
  background-size: 24px 24px;
}
.filter-dropdown:focus {
  outline: none;
  border-color: #953a2c;
}

.price-filter-row {
  display: grid;
  grid-template-columns: 205px 1fr 205px;
  gap: 16px;
  align-items: center;
}
@media (max-width: 768px) {
  .price-filter-row {
    display: none;
  }
}
.price-filter-row .price-input input {
  width: 100%;
  padding: 18px 21px;
  border: 1px solid #909296;
  border-radius: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #252422;
  text-align: center;
  background: #ffffff;
  cursor: default;
  line-height: 1;
}
.price-filter-row .price-input input:focus {
  outline: none;
  border-color: #953a2c;
}
.price-filter-row .price-slider-visual .slider-track {
  height: 4px;
  background: #909296;
  border-radius: 360px;
  position: relative;
}
.price-filter-row .price-slider-visual .slider-track .slider-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 43.4%;
  background: #000000;
  border-radius: 360px;
}

.price-filter-mobile {
  display: none;
}
@media (max-width: 768px) {
  .price-filter-mobile {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
}
.price-filter-mobile .price-dropdown-wrapper {
  position: relative;
}
.price-filter-mobile .price-dropdown-wrapper .price-label {
  position: absolute;
  top: -6px;
  left: 16.31px;
  padding: 0 4px;
  background: #ffffff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #252422;
  z-index: 1;
}
.price-filter-mobile .price-dropdown-wrapper .filter-dropdown {
  width: 100%;
}

.sort-reset-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 19px;
}

.sort-dropdown-wrapper {
  position: relative;
}

.sort-dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 100;
  display: none;
  flex-direction: column;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #909296;
  border-radius: 8px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
  min-width: 280px;
}
.sort-dropdown-panel.active {
  display: flex;
}

.featured-header .sort-dropdown-panel {
  left: auto;
  right: 0;
}

.sort-option {
  width: 100%;
  padding: 12px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #252422;
  background: transparent;
  border: none;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
  letter-spacing: 0.16px;
}
.sort-option:hover {
  background: #f7f7f7;
}
.sort-option.active {
  background: #f7f7f7;
  color: #000929;
}

.sort-btn,
.reset-filters {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: #953a2c;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
.sort-btn svg,
.reset-filters svg {
  width: 24px;
  height: 24px;
}
.sort-btn:hover,
.reset-filters:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.listings-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: opacity 0.3s ease;
}
.listings-grid.is-filtering {
  opacity: 0.4;
  pointer-events: none;
}
.listings-grid .no-results-message {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  color: #252422;
  text-align: center;
  padding: 40px 20px;
  opacity: 0.7;
}

.listing-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  background: #ffffff;
  border: 1px solid #cfd1d4;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
}
.listing-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
  .listing-card {
    grid-template-columns: 1fr;
  }
}
.listing-card .listing-image {
  width: 300px;
  max-height: 225px;
  overflow: hidden;
  position: relative;
}
@media (max-width: 768px) {
  .listing-card .listing-image {
    width: 100%;
    height: 250px;
  }
}
.listing-card .listing-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.listing-card .listing-image .listing-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}
.listing-card .listing-image .listing-carousel .embla__viewport {
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.listing-card .listing-image .listing-carousel .embla__container {
  display: flex;
  height: 100%;
}
.listing-card .listing-image .listing-carousel .embla__slide {
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
}
.listing-card .listing-image .listing-carousel .embla__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.listing-card .listing-image .listing-carousel .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.listing-card .listing-image .listing-carousel .carousel-btn img {
  width: 100%;
  height: 100%;
  display: block;
}
.listing-card .listing-image .listing-carousel .carousel-btn-prev {
  left: 8px;
  transform: translateY(-50%) rotate(180deg);
}
.listing-card .listing-image .listing-carousel .carousel-btn-next {
  right: 8px;
}
.listing-card .listing-image .listing-carousel:hover .carousel-btn {
  opacity: 1;
}
.listing-card .listing-image .listing-carousel .carousel-btn:hover {
  transform: translateY(-50%) scale(1.1);
}
.listing-card .listing-image .listing-carousel .carousel-btn-prev:hover {
  transform: translateY(-50%) rotate(180deg) scale(1.1);
}
.listing-card .listing-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
@media (max-width: 768px) {
  .listing-card .listing-content {
    padding: 20px 16px;
  }
}
.listing-card .listing-price {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -0.5px;
  color: #252422;
  margin-bottom: 0;
}
.listing-card .listing-price .price-period {
  font-size: 18px;
  font-weight: 500;
  opacity: 0.5;
}
.listing-card .listing-name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.3px;
  color: #000929;
  margin: 0 0 4px 0;
}
.listing-card .listing-address {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: #000929;
  opacity: 0.6;
  margin: 0;
}
.listing-card .listing-features {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
  .listing-card .listing-features {
    gap: 12px;
  }
}
.listing-card .feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.listing-card .feature-item img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.listing-card .feature-item span {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #953a2c;
}

.map-column {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .map-column {
    display: none;
  }
}

.featured-map {
  position: sticky;
  top: 0;
  height: calc(100vh - 90px);
  min-height: 600px;
  width: 100%;
  background: #d1d1d1;
  overflow: hidden;
}
@media (min-width: 769px) and (max-width: 1200px) {
  .featured-map {
    position: relative;
    top: auto;
    height: 500px;
  }
}
@media (max-width: 768px) {
  .featured-map {
    display: none;
  }
}
.featured-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
