body.uk-bootstrap-site {
  background: var(--estate-paper, #fbfcf9);
}

body.uk-bootstrap-site #propertyGrid .property-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e1e9e2;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 5px 18px rgba(16, 61, 45, 0.06);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

body.uk-bootstrap-site #propertyGrid .property-card:hover {
  transform: translateY(-5px);
  border-color: rgba(196, 154, 58, 0.55);
  box-shadow: 0 16px 34px rgba(16, 61, 45, 0.13);
}

body.uk-bootstrap-site #propertyGrid .property-image-wrapper {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8eee8;
}

body.uk-bootstrap-site #propertyGrid .property-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

body.uk-bootstrap-site #propertyGrid .property-card:hover .property-image {
  transform: scale(1.045);
}

/* body.uk-bootstrap-site #propertyGrid .property-type {
  top: 14px;
  left: 14px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 4px;
  background: var(--estate-green, #176044);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(16, 44, 36, 0.2);
} */

/* body.uk-bootstrap-site #propertyGrid .property-type.bg-success {
  background: var(--estate-gold, #c49a3a) !important;
  color: #173b2b !important;
} */

body.uk-bootstrap-site #propertyGrid .property-card > .p-3 {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.2rem !important;
}

/* body.uk-bootstrap-site #propertyGrid .property-price {
  color: var(--estate-green-deep, #103d2d);
  font-size: clamp(1.0rem, 1.1vw, 1.15rem);
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
} */

/* body.uk-bootstrap-site #propertyGrid .property-title {
  display: -webkit-box;
  min-height: 3.2em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--estate-ink, #23352c);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
} */

body.uk-bootstrap-site #propertyGrid .property-location {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: var(--estate-muted, #66756c);
  font-size: 0.82rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

body.uk-bootstrap-site #propertyGrid .property-location i,
body.uk-bootstrap-site #propertyGrid .property-location svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 1px;
  color: var(--estate-green, #176044);
}

body.uk-bootstrap-site #propertyGrid .property-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #e8eee8;
}

body.uk-bootstrap-site #propertyGrid .property-feature {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #52635a;
  font-size: 0.76rem;
  line-height: 1.35;
}

body.uk-bootstrap-site #propertyGrid .property-feature i,
body.uk-bootstrap-site #propertyGrid .property-feature svg {
  width: 15px;
  height: 15px;
  color: var(--estate-gold, #c49a3a);
  flex: 0 0 15px;
}

body.uk-bootstrap-site .property-pagination-wrap {
  margin-top: 2rem;
  text-align: center;
}

body.uk-bootstrap-site .property-pagination-status {
  margin-bottom: 0.75rem;
  color: var(--estate-muted, #66756c);
  font-size: 0.85rem;
}

body.uk-bootstrap-site .property-pagination {
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 0;
}

body.uk-bootstrap-site .property-pagination .page-link {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dce6de;
  border-radius: 5px !important;
  color: var(--estate-green-deep, #103d2d);
  background: #fff;
  font-size: 0.88rem;
  box-shadow: none;
}

body.uk-bootstrap-site .property-pagination .page-item.active .page-link {
  border-color: var(--estate-green, #176044);
  background: var(--estate-green, #176044);
  color: #fff;
}

body.uk-bootstrap-site .property-pagination .page-link:hover:not(:disabled) {
  border-color: var(--estate-gold, #c49a3a);
  background: #fbf7eb;
  color: var(--estate-green-deep, #103d2d);
}

body.uk-bootstrap-site .property-pagination .page-link:focus-visible {
  outline: 3px solid rgba(196, 154, 58, 0.35);
  outline-offset: 2px;
}

body.uk-bootstrap-site .property-pagination .page-item.disabled .page-link {
  color: #96a199;
  background: #f4f6f4;
}

body.uk-bootstrap-site #propertyGrid > [hidden] {
  display: none !important;
}

/* Modal */

.property-modal .modal-dialog {
  max-width: 1100px;
}

.main-property-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
}

.property-thumbnail {
  width: 90px;
  height: 70px;
  object-fit: cover;
  border-radius: 7px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.2s;
}

.property-thumbnail:hover,
.property-thumbnail.active {
  border-color: #0d6efd;
}

.modal-property-title {
  font-size: 25px;
  font-weight: 700;
}

.modal-property-price {
  font-size: 25px;
  font-weight: 700;
  color: #0d6efd;
}

.modal-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.modal-feature i {
  width: 20px;
  height: 20px;
  color: #0d6efd;
}

.modal-feature strong {
  margin-left: auto;
}

@media (max-width: 767px) {
  body.uk-bootstrap-site #propertyGrid .property-card > .p-3 {
    padding: 1rem !important;
  }

  .main-property-image {
    height: 300px;
  }

  .property-modal .modal-dialog {
    margin: 10px;
  }
}

/* ============================================= */

/* Property Call-to-Action */
.property-cta-section {
  background: #f7f8f5;
}

.property-cta-card {
  isolation: isolate;
  padding: 70px 35px;
  color: #ffffff;
  background: linear-gradient(135deg, #102c24 0%, #173f32 55%, #102c24 100%);
  border: 1px solid rgba(201, 168, 76, 0.3);
  box-shadow: 0 20px 55px rgba(16, 44, 36, 0.12);
}

.property-cta-glow {
  position: absolute;
  z-index: -1;
  width: 380px;
  height: 380px;
  top: -190px;
  right: -100px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.13);
  filter: blur(35px);
  pointer-events: none;
}

.property-cta-card::before,
.property-cta-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(201, 168, 76, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.property-cta-card::before {
  top: -80px;
  left: -70px;
}

.property-cta-card::after {
  bottom: -115px;
  right: 10%;
  width: 230px;
  height: 230px;
}

.cta-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  color: #c9a84c;
  font-size: 2.5rem;
  border: 1px solid rgba(201, 168, 76, 0.55);
  border-radius: 22px;
  background: rgba(201, 168, 76, 0.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.cta-icon-spark {
  position: absolute;
  top: -8px;
  right: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  color: #102c24;
  font-size: 0.9rem;
  border-radius: 50%;
  background: #c9a84c;
  border: 3px solid #173f32;
}

.cta-eyebrow {
  color: #dfc779;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
}

.property-cta-title {
  max-width: 800px;
  margin-inline: auto;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.8px;
}

.property-cta-description {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.85;
}

.btn-cta-primary,
.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-cta-primary {
  color: #f8faf9;
  background: #c9a84c;
  border: 1px solid #c9a84c;
}

.btn-cta-primary:hover {
  color: #102c24;
  background: #dfc779;
  border-color: #dfc779;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.btn-cta-outline {
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-cta-outline:hover,
.btn-cta-outline:focus {
  color: #102c24;
  background: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
}

.cta-trust-note {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.cta-trust-note i {
  color: #c9a84c;
}

/* Tablet */
@media (max-width: 767.98px) {
  .property-cta-card {
    padding: 55px 25px;
  }

  .property-cta-description {
    font-size: 0.98rem;
    line-height: 1.7;
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  .property-cta-card {
    padding: 42px 20px;
    border-radius: 16px !important;
  }

  .property-cta-title {
    font-size: 1.8rem;
    letter-spacing: -0.4px;
  }

  .btn-cta-primary,
  .btn-cta-outline {
    width: 100%;
    min-height: 52px;
    padding-inline: 14px;
    font-size: 0.9rem;
  }

  .cta-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 1.8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-cta-primary,
  .btn-cta-outline {
    transition: none;
  }
}

/* <!-- =========================
     PROPERTY MODAL STYLES
========================== -->
 */

/* =========================================
   GREEN & GOLD PROPERTY MODAL THEME
========================================= */

:root {
  --property-green: #0d5304;
  --property-green-dark: #073b03;
  --property-green-light: #eaf4e8;

  --property-gold: #c9a227;
  --property-gold-light: #f8f1d8;
  --property-gold-dark: #a58213;

  --property-text: #172033;
  --property-muted: #6c757d;
  --property-border: #e8ece8;
}

/* =========================================
   MODAL
========================================= */

.property-modal .modal-content {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(13, 83, 4, 0.08);
  box-shadow: 0 25px 70px rgba(7, 59, 3, 0.18);
}

.property-modal .modal-dialog {
  align-items: flex-start;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.property-modal .property-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1085;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #d9e5da;
  border-radius: 50%;
  background-color: #edf4ef;
  background-size: 12px;
  opacity: 1;
  box-shadow: 0 4px 14px rgba(7, 59, 3, 0.2);
}

.property-modal .property-modal-close:hover {
  border-color: var(--property-gold);
  background-color: var(--property-gold-light);
  transform: rotate(90deg);
}

/* =========================================
   HEADER
========================================= */

.property-modal .modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--property-green);
}

.property-modal .modal-header {
  position: sticky;
  top: 0;
  z-index: 5;
  align-items: flex-start;
  padding-right: 4rem !important;
  background: #fff;
}

.property-modal .btn-close {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  margin: 0 0 0 1rem;
  padding: 0;
  border: 1px solid #d9e5da;
  border-radius: 50%;
  background-color: #edf4ef;
  background-size: 12px;
  opacity: 1;
  box-shadow: 0 3px 10px rgba(7, 59, 3, 0.1);
}

.property-modal .btn-close:hover {
  border-color: var(--property-gold);
  background-color: var(--property-gold-light);
  transform: rotate(90deg);
}

.letter-spacing-1 {
  letter-spacing: 1.5px;
}

/* =========================================
   MAIN IMAGE
========================================= */

.main-image-wrapper {
  position: relative;
  width: 100%;
  height: 470px;
  overflow: hidden;
  border-radius: 18px;
  background: #f1f5f1;
  border: 1px solid rgba(13, 83, 4, 0.08);
}

.main-property-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.main-image-wrapper:hover .main-property-image {
  transform: scale(1.025);
}

/* =========================================
   IMAGE OVERLAY
========================================= */

.image-overlay {
  position: absolute;
  left: 18px;
  bottom: 18px;
}

.image-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 30px;

  background: rgba(7, 59, 3, 0.88);
  border: 1px solid rgba(201, 162, 39, 0.45);

  color: #ffffff;
  font-size: 13px;
  font-weight: 600;

  backdrop-filter: blur(8px);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.18);
}

.image-badge svg {
  width: 16px;
  height: 16px;
  color: var(--property-gold);
}

/* =========================================
   THUMBNAILS
========================================= */

.property-thumbnails {
  overflow-x: auto;
  padding: 4px 2px 8px;
  scrollbar-width: thin;
}

.property-thumbnails img {
  width: 78px;
  height: 65px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;

  border: 2px solid transparent;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    border-color 0.25s ease;

  opacity: 0.72;
}

.property-thumbnails img:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.property-thumbnails img.active {
  opacity: 1;
  border-color: var(--property-gold);

  box-shadow:
    0 0 0 2px rgba(201, 162, 39, 0.15),
    0 5px 12px rgba(13, 83, 4, 0.12);
}

/* =========================================
   PROPERTY TYPE BADGE
========================================= */

/* .property-type-badge {
  display: inline-flex;
  align-items: center;

  padding: 7px 14px;

  border-radius: 30px;

  background: var(--property-green-light);
  color: var(--property-green);

  border: 1px solid rgba(13, 83, 4, 0.12);

  font-size: 13px;
  font-weight: 700;
} */

/* =========================================
   PROPERTY TITLE
========================================= */

.modal-property-title {
  color: var(--property-green);

  font-size: clamp(1.7rem, 3vw, 2.3rem);

  line-height: 1.2;
  font-weight: 750;

  letter-spacing: -0.3px;
}

/* =========================================
   LOCATION
========================================= */

.property-modal .property-location {
  display: flex;
  align-items: center;
  gap: 8px;

  color: var(--property-muted);

  font-size: 14px;
}

.property-modal .property-location svg {
  width: 18px;
  height: 18px;

  color: var(--property-gold);

  flex-shrink: 0;
}

/* =========================================
   PRICE
========================================= */

.property-price-box {
  position: relative;

  padding: 18px 20px;

  border-radius: 14px;

  background: linear-gradient(135deg, #f5f9f3 0%, #ffffff 100%);

  border: 1px solid rgba(13, 83, 4, 0.1);

  box-shadow: 0 5px 18px rgba(13, 83, 4, 0.04);
}

.property-price-box::before {
  content: "";

  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;

  width: 3px;

  border-radius: 5px;

  background: var(--property-gold);
}

.modal-property-price {
  color: var(--property-green);

  font-size: 1.8rem;
  font-weight: 750;

  line-height: 1.2;
}


/* =========================================
   PROPERTY FEATURE GRID
========================================= */

.property-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 8px;
    width: 100%;
    margin-bottom: 1rem !important;
}

.property-feature-item {
    min-width: 0;
    width: 100%;
}


/* =========================================
   FEATURE CARD
   [ ICON ] 3 Bedrooms
========================================= */

.property-feature-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;

    width: 100%;
    min-height: 22px;

    gap: 4px;
    padding: 2px 4px;

    background: #fff;
    border: 1px solid var(--property-border);
    border-radius: 6px;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}


/* =========================================
   ICON
========================================= */

.property-feature-card .feature-icon {
    display: flex;
    flex: 0 0 22px;
    align-items: center;
    justify-content: center;
    padding: 4px 6px;
    width: 32px;
    height: 42px;

    color: var(--property-green);
    background: var(--property-green-light);
    border-radius: 5px;
}

.property-feature-card .feature-icon svg {
    width: 34px;
    height: 24px;
    stroke-width: 2;
}


/* =========================================
   FEATURE DETAILS
========================================= */

.property-feature-details {
    display: flex;
    flex: 1;
    flex-direction: row;
    align-items: center;

    min-width: 0;
    gap: 3px;

    overflow: hidden;
}

.property-feature-details strong {
    display: inline-block;

    margin: 0;
    color: var(--property-green-dark);

    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;

    white-space: nowrap;
}

.property-feature-details small {
    display: inline-block;

    margin: 0;
    color: #858b87;

    font-size: 0.70rem;
    line-height: 1.2;

    white-space: nowrap;
}


/* =========================================
   HOVER
========================================= */

.property-feature-card:hover {
    background: #fffdf6;
    border-color: rgba(201, 162, 39, 0.55);
}

.property-feature-card:hover .feature-icon {
    color: var(--property-gold);
    background: var(--property-green);
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .property-feature-grid {
        gap: 5px;
    }

    .property-feature-card {
        gap: 5px;
        min-height: 30px;
        padding: 3px 5px;
    }

    .property-feature-card .feature-icon {
        flex-basis: 20px;
        width: 20px;
        height: 20px;
    }

    .property-feature-card .feature-icon svg {
        width: 13px;
        height: 13px;
    }

    .property-feature-details strong {
        font-size: 0.73rem;
    }

    .property-feature-details small {
        font-size: 0.65rem;
    }
}


/* =========================================
   DESCRIPTION
========================================= */

.property-description {
  border-top: 1px solid var(--property-border);

  padding-top: 20px;
}

.section-heading {
  display: flex;
  align-items: center;

  gap: 8px;

  margin-bottom: 10px;
}

.section-heading svg {
  width: 18px;
  height: 18px;

  color: var(--property-gold);
}

.section-heading h5 {
  font-size: 16px;
  font-weight: 700;

  color: var(--property-green-dark);
}

#modalDescription {
  font-size: 14px;
  line-height: 1.75;

  color: #68736a !important;
}

/* =========================================
   CONTACT AGENT BUTTON
========================================= */

.contact-agent-btn {
  min-height: 52px;

  display: flex;
  align-items: center;

  gap: 10px;

  border-radius: 12px;

  padding: 12px 18px;

  font-weight: 700;

  color: #ffffff;

  /* background: linear-gradient(
    135deg,
    var(--property-green) 0%,
    var(--property-green-dark) 100%
  ); */

  border: 1px solid var(--property-green);

  box-shadow: 0 8px 20px rgba(13, 83, 4, 0.18);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.contact-agent-btn:hover {
  color: #b3f106;

  background: linear-gradient(135deg, #116a08 0%, var(--property-green) 100%);

  border-color: var(--property-green);

  transform: translateY(-2px);

  box-shadow: 0 12px 25px rgba(13, 83, 4, 0.25);
}

.contact-agent-btn:active {
  transform: translateY(0);
}

.contact-agent-btn svg {
  width: 19px;
  height: 19px;
}

/* =========================================
   GOLD ACCENT
========================================= */

.contact-agent-btn svg:last-child {
  /* color: var(--property-gold); */
  color:white;
}

/* =========================================
   MODAL SCROLLBAR
========================================= */

.property-modal .modal-body::-webkit-scrollbar {
  width: 7px;
}

.property-modal .modal-body::-webkit-scrollbar-track {
  background: #f4f6f4;
}

.property-modal .modal-body::-webkit-scrollbar-thumb {
  background: var(--property-green);
  border-radius: 10px;
}

.property-modal .modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--property-gold-dark);
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 991.98px) {
  .main-image-wrapper {
    height: 400px;
  }
}

@media (max-width: 575.98px) {
  .property-modal .modal-dialog {
    margin: 10px auto;
  }

  .property-modal .modal-content {
    border-radius: 16px;
  }

  .property-modal .modal-body,
  .property-modal .modal-header {
    padding-left: 18px;
    padding-right: 18px;
  }

  .property-modal .btn-close {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    top: 10px;
    right: 10px;
  }

  .property-modal .property-modal-close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
  }

  .property-feature-card {
    min-height: 62px;
    gap: 5px;
    padding: 6px;
  }

  .property-feature-card .feature-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }

  .property-feature-details {
    gap: 0.12rem;
  }

  .property-feature-card small {
    font-size: 0.62rem;
  }

  .property-feature-card strong {
    font-size: 0.8rem;
  }

  .main-image-wrapper {
    height: 280px;
    border-radius: 14px;
  }

  .property-thumbnails img {
    width: 68px;
    height: 56px;
  }

  .modal-property-title {
    font-size: 1.65rem;
  }

  .modal-property-price {
    font-size: 1.5rem;
  }

  .property-price-box {
    padding: 15px 17px;
  }
}
