/* ============================================
   EAGLEFRESH PROPERTIES LIMITED — DESIGN SYSTEM
   ============================================ */

:root {
  /* Colour */
  --navy: #10192B;
  --navy-2: #182338;
  --off-white: #F7F3EA;
  --white: #FFFFFF;
  --gold: #B08D57;
  --gold-light: #D9C193;
  --ink: #1B2130;
  --grey: #6E7482;
  --grey-line: #DED7C6;
  --red-badge: #8C3B2E;
  --green-badge: #38583F;

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --max-width: 1240px;
  --edge: 20px;
  --radius: 2px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: 16px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--edge);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  color: var(--navy);
}

p { margin: 0; line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   TOP BAR
   ============================================ */

.topbar {
  background: var(--navy);
  color: rgba(247, 243, 234, 0.75);
  font-size: 12.5px;
  letter-spacing: 0.01em;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  gap: 16px;
}

.topbar-services {
  display: flex;
  gap: 18px;
  overflow: hidden;
  white-space: nowrap;
}

.topbar-services span:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  margin-left: 18px;
  vertical-align: middle;
}

.topbar-contact {
  display: flex;
  gap: 18px;
  flex-shrink: 0;
}

.topbar-contact a {
  color: var(--gold-light);
  white-space: nowrap;
}

.topbar-contact a:hover { color: var(--white); }

@media (max-width: 720px) {
  .topbar-services { display: none; }
  .topbar .container { justify-content: center; }
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--grey-line);
  position: sticky;
  top: 0;
  z-index: 200;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.brand-sub {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-top: 3px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 14.5px;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-links a.active { color: var(--navy); font-weight: 600; }

.nav-right { display: flex; align-items: center; gap: 18px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: var(--gold); color: var(--navy); }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover { background: var(--navy); color: var(--white); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-outline-light {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.btn-full { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 13px; }

.icon-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--grey-line);
  border-radius: 50%;
  position: relative;
  color: var(--navy);
}
.icon-btn:hover { border-color: var(--gold); }

.fav-count {
  position: absolute;
  top: -5px; right: -5px;
  background: var(--red-badge);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}

.hamburger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.hamburger span {
  width: 22px; height: 2px;
  background: var(--navy);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  background: var(--white);
  border-bottom: 1px solid var(--grey-line);
  position: sticky;
  top: 76px;
  z-index: 199;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}
.mobile-menu.open { max-height: 520px; }
.mobile-menu ul { list-style: none; margin: 0; padding: 8px var(--edge) 18px; }
.mobile-menu li { border-bottom: 1px solid var(--grey-line); }
.mobile-menu a {
  display: block;
  padding: 15px 4px;
  font-size: 16px;
  color: var(--ink);
}
.mobile-menu .btn { margin-top: 16px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .nav-right .btn-primary.desktop-only { display: none; }
}

/* ============================================
   HERO
   ============================================ */

.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  min-height: 620px;
}

.hero-copy {
  padding: 80px var(--edge) 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 560px;
  margin-left: auto;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-light);
  font-size: 13px;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}
.hero-eyebrow .rule { width: 30px; height: 1px; background: var(--gold); }

.hero-copy h1 {
  color: var(--white);
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 600;
}

.hero-copy p.lede {
  color: rgba(247,243,234,0.78);
  font-size: 16.5px;
  margin-top: 22px;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 320px;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,25,43,0.55) 0%, rgba(16,25,43,0.0) 40%);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { margin: 0; padding: 44px var(--edge) 40px; max-width: none; }
  .hero-image { min-height: 240px; order: -1; }
}

/* ============================================
   SEARCH PANEL
   ============================================ */

.search-wrap {
  position: relative;
  z-index: 10;
  margin-top: -46px;
}

.search-panel {
  background: var(--white);
  box-shadow: 0 18px 40px rgba(16,25,43,0.16);
  padding: 26px;
}

.search-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--grey-line);
}

.search-tab {
  padding: 10px 22px 14px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--grey);
  position: relative;
  top: 1px;
}

.search-tab.active {
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
}

.search-fields {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr 0.8fr auto;
  gap: 16px;
  align-items: end;
}

.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--grey);
  margin-bottom: 7px;
  font-weight: 600;
}

.field input, .field select {
  width: 100%;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: 12px 12px;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--white);
}

.field input:focus, .field select:focus {
  border-color: var(--gold);
  outline: none;
}

.search-btn {
  height: 46px;
}

@media (max-width: 1080px) {
  .search-fields { grid-template-columns: 1fr 1fr; }
  .search-btn { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .search-panel { padding: 20px 18px; }
  .search-tabs { gap: 0; }
  .search-tab { padding: 8px 14px 12px; font-size: 13px; }
  .search-fields { grid-template-columns: 1fr; gap: 14px; }
}

/* ============================================
   TRUST STRIP
   ============================================ */

.trust-strip {
  padding: 78px var(--edge) 40px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--grey-line);
  border: 1px solid var(--grey-line);
}

.trust-card {
  background: var(--off-white);
  padding: 30px 26px;
}

.trust-card .num {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 22px;
  margin-bottom: 14px;
  display: block;
}

.trust-card h4 { font-size: 16px; margin-bottom: 8px; }
.trust-card p { font-size: 13.5px; color: var(--grey); }

@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section { padding: 70px var(--edge); }
.section-tight { padding-top: 20px; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 20px;
  flex-wrap: wrap;
}

.section-head .eyebrow {
  color: var(--gold);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.section-head h2 {
  font-size: clamp(26px, 3vw, 36px);
}

.section-head .view-all {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  white-space: nowrap;
}

/* ============================================
   PROPERTY GRID / CARDS
   ============================================ */

.property-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1100px) { .property-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .property-grid { grid-template-columns: 1fr; gap: 22px; } }

.property-card {
  background: var(--white);
  border: 1px solid var(--grey-line);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
  display: flex;
  flex-direction: column;
}

.property-card:hover { border-color: var(--gold); transform: translateY(-3px); }

.property-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--grey-line);
}

.property-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.property-card:hover .property-media img { transform: scale(1.05); }

.badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  border-radius: var(--radius);
}
.badge.sale { background: var(--red-badge); }
.badge.rent { background: var(--green-badge); }

.fav-toggle {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  transition: color 0.2s var(--ease), transform 0.15s var(--ease);
}
.fav-toggle:hover { transform: scale(1.08); }
.fav-toggle.active { color: var(--red-badge); }
.fav-toggle svg { width: 17px; height: 17px; }

.property-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.property-price {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--navy);
  font-weight: 600;
}
.property-price .per { font-family: var(--font-body); font-size: 12px; color: var(--grey); font-weight: 500; }

.property-title {
  font-size: 15px;
  font-weight: 600;
  margin-top: 8px;
  color: var(--ink);
}

.property-location {
  font-size: 13px;
  color: var(--grey);
  margin-top: 5px;
}

.property-specs {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--grey-line);
  font-size: 12.5px;
  color: var(--grey);
}
.property-specs span { display: flex; align-items: center; gap: 5px; }

.property-view {
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.property-card:hover .property-view { color: var(--gold); }

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--grey);
}
.empty-state h3 { color: var(--navy); margin-bottom: 10px; }

/* ============================================
   CTA — SELL SECTION
   ============================================ */

.cta-sell {
  background: var(--navy);
  color: var(--white);
  padding: 64px var(--edge);
}

.cta-sell-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-sell h2 { color: var(--white); font-size: clamp(24px, 3vw, 32px); max-width: 480px; }
.cta-sell p { color: rgba(247,243,234,0.75); margin-top: 14px; max-width: 460px; }

/* ============================================
   WHY CHOOSE US
   ============================================ */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

.why-card { padding-right: 10px; }
.why-icon {
  width: 46px; height: 46px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  margin-bottom: 18px;
}
.why-card h4 { font-size: 17px; margin-bottom: 9px; }
.why-card p { font-size: 14px; color: var(--grey); }

/* ============================================
   ABOUT
   ============================================ */

.about-section {
  background: var(--white);
  border-top: 1px solid var(--grey-line);
  border-bottom: 1px solid var(--grey-line);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-grid h2 { font-size: clamp(24px, 3vw, 32px); }
.about-grid p { color: var(--grey); margin-top: 16px; font-size: 15px; }

.service-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--grey-line);
}
.service-list li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--gold);
  flex-shrink: 0;
}

.about-rc {
  font-size: 12.5px;
  color: var(--grey);
  margin-top: 24px;
  letter-spacing: 0.02em;
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .service-list { grid-template-columns: 1fr; }
}

/* ============================================
   CONTACT
   ============================================ */

.contact-section {
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
}

.contact-info h2 { font-size: clamp(24px, 3vw, 32px); }
.contact-info > p { color: var(--grey); margin-top: 14px; max-width: 380px; }

.contact-numbers { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.contact-numbers a {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--navy);
}
.contact-numbers a svg { color: var(--gold); flex-shrink: 0; }

.contact-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--grey-line);
  padding: 32px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--grey-line);
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--off-white);
  border-radius: var(--radius);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-error {
  font-size: 12px;
  color: var(--red-badge);
  margin-top: 5px;
  display: none;
}
.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea { border-color: var(--red-badge); }
.form-group.invalid .form-error { display: block; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
}
@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--navy);
  color: rgba(247,243,234,0.7);
  padding: 60px var(--edge) 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-brand .brand-name { color: var(--white); }
.footer-brand p { font-size: 13.5px; margin-top: 16px; max-width: 300px; line-height: 1.7; }

.footer h5 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer ul a, .footer ul span { font-size: 13.5px; }
.footer ul a:hover { color: var(--gold-light); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 50px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(247,243,234,0.14);
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================
   PROPERTY DETAILS MODAL / VIEW
   ============================================ */

.details-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16,25,43,0.6);
  z-index: 500;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}
.details-overlay.open { display: flex; }

.details-panel {
  background: var(--white);
  max-width: 880px;
  width: 100%;
  margin-top: 20px;
  position: relative;
}

.details-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 38px; height: 38px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  z-index: 5;
}

.details-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.details-body { padding: 32px; }

.details-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 18px;
}

.details-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.details-price { font-family: var(--font-display); font-size: 28px; color: var(--navy); }
.details-title { font-size: 19px; margin-top: 8px; }
.details-location { font-size: 14px; color: var(--grey); margin-top: 6px; }

.details-specs {
  display: flex;
  gap: 26px;
  margin-top: 22px;
  padding: 18px 0;
  border-top: 1px solid var(--grey-line);
  border-bottom: 1px solid var(--grey-line);
  flex-wrap: wrap;
}
.details-specs .spec { text-align: left; }
.details-specs .spec b { display: block; font-family: var(--font-display); font-size: 18px; color: var(--navy); }
.details-specs .spec span { font-size: 12px; color: var(--grey); }

.details-section-title {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--gold);
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 12px;
}

.details-desc { font-size: 14.5px; color: var(--ink); line-height: 1.7; }

.features-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}
.features-grid li {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.features-grid li::before { content: "✓"; color: var(--gold); font-weight: 700; }

.details-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

@media (max-width: 560px) {
  .details-body { padding: 22px 18px; }
  .details-actions { flex-direction: column; }
  .details-actions .btn { width: 100%; }
  .features-grid { grid-template-columns: 1fr; }
}

/* ============================================
   GENERIC MODAL (List property / favourites)
   ============================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16,25,43,0.6);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }

.modal-panel {
  background: var(--white);
  max-width: 520px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  padding: 32px;
}

.modal-panel h3 { font-size: 22px; margin-bottom: 6px; }
.modal-panel .modal-sub { font-size: 13.5px; color: var(--grey); margin-bottom: 24px; }

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  color: var(--grey);
}
.modal-close:hover { color: var(--navy); }

@media (max-width: 560px) {
  .modal-panel { padding: 24px 20px; }
}

/* Favourites list inside modal */
.fav-list { display: flex; flex-direction: column; gap: 14px; }
.fav-item {
  display: flex;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--grey-line);
}
.fav-item img { width: 76px; height: 60px; object-fit: cover; flex-shrink: 0; }
.fav-item-info { flex: 1; }
.fav-item-info .t { font-size: 14px; font-weight: 600; }
.fav-item-info .p { font-family: var(--font-display); color: var(--navy); font-size: 14.5px; margin-top: 4px; }
.fav-item-remove { font-size: 12px; color: var(--red-badge); margin-top: 6px; }
.fav-empty { text-align: center; padding: 30px 0; color: var(--grey); font-size: 14px; }

/* ============================================
   TOAST
   ============================================ */

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy);
  color: var(--white);
  padding: 14px 24px;
  font-size: 14px;
  z-index: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  max-width: 90vw;
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast svg { color: var(--gold); flex-shrink: 0; }

/* ============================================
   UTIL
   ============================================ */

.sticky-mobile-cta {
  display: none;
}

@media (max-width: 720px) {
  .sticky-mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 250;
    background: var(--white);
    border-top: 1px solid var(--grey-line);
    padding: 10px var(--edge);
    gap: 10px;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
  }
  .sticky-mobile-cta .btn { flex: 1; }
  body { padding-bottom: 64px; }
}
