/* Pro-Home Builders – brand colours and type taken from the live site */
:root {
  --primary: #0051a5;
  --primary-dark: #003d7d;
  --accent: #008fde;
  --navy: #1f232b;
  --ink: #252628;
  --muted: #5d6066;
  --cream: #f8f5ee;
  --light: #f3f6fa;
  --line: #e2e6ec;
  --white: #fff;
  --radius: 6px;
  --shadow: 0 6px 24px rgba(16, 24, 40, .08);
  --head: 'Montserrat', system-ui, sans-serif;
  --body: 'Poppins', system-ui, sans-serif;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.7 var(--body); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4, h5, h6 { font-family: var(--head); font-weight: 700; line-height: 1.25; color: var(--navy); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden-h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* buttons */
.btn { display: inline-block; background: var(--primary); color: #fff; font: 700 15px/1 var(--head); padding: 14px 26px; border-radius: 3px; text-decoration: none; border: 2px solid var(--primary); transition: background .2s, color .2s; cursor: pointer; }
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-light { background: #fff; color: var(--primary); border-color: #fff; }
.btn-light:hover { background: var(--cream); color: var(--primary-dark); border-color: var(--cream); }
.btn-outline, .btn-outline-light { background: transparent; border-color: #fff; color: #fff; }
.btn-outline:hover, .btn-outline-light:hover { background: #fff; color: var(--primary); }
.btn-row { margin: 1.2em 0; }

/* top bar + header */
.topbar { background: var(--navy); color: #cfd5de; font-size: 13px; }
.topbar-in { display: flex; gap: 22px; justify-content: flex-end; padding: 6px 20px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar-phone { font-weight: 600; }
.site-header { background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .06); position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.logo img { max-height: 70px; width: auto; }
.nav { display: flex; align-items: center; gap: 18px; }
.nav > ul { list-style: none; display: flex; margin: 0; padding: 0; gap: 2px; }
.nav li { position: relative; }
.nav > ul > li > a { display: block; padding: 28px 12px; font: 600 14px var(--head); color: var(--navy); text-decoration: none; text-transform: uppercase; letter-spacing: .02em; }
.nav > ul > li > a:hover { color: var(--primary); }
.nav .sub { display: none; position: absolute; top: 100%; left: 0; background: #fff; box-shadow: var(--shadow); border-top: 3px solid var(--primary); list-style: none; margin: 0; padding: 10px 0; min-width: 240px; z-index: 60; }
.nav .sub a { display: block; padding: 7px 18px; color: var(--ink); text-decoration: none; font-size: 14px; }
.nav .sub a:hover { background: var(--light); color: var(--primary); }
.nav .has-sub:hover > .sub, .nav .has-sub:focus-within > .sub { display: block; }
.nav .mega { position: static; }
.nav .mega-panel { left: 50%; transform: translateX(-50%); width: min(1100px, 96vw); padding: 20px; }
.nav .has-sub:hover > .mega-panel, .nav .has-sub:focus-within > .mega-panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 24px; }
.mega-panel ul { list-style: none; padding: 0; margin: 0; }
.mega-title a { font: 700 13px var(--head) !important; text-transform: uppercase; color: var(--primary) !important; padding-left: 18px; }
.btn-call { white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* breadcrumbs */
.crumbs { background: var(--light); font-size: 13px; border-bottom: 1px solid var(--line); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 10px 0; gap: 6px; }
.crumbs li + li::before { content: '›'; margin-right: 6px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--primary); }

/* hero */
.page-hero { background: linear-gradient(120deg, var(--navy), var(--primary)); color: #fff; padding: 64px 0 56px; position: relative; }
.page-hero.has-img { background: linear-gradient(120deg, rgba(31, 35, 43, .88), rgba(0, 81, 165, .78)), var(--hero) center/cover no-repeat; }
.page-hero h1 { color: #fff; max-width: 900px; }
.hero-sub { color: #dce6f3; font-size: 1.1rem; }
.hero-actions { margin: 1.4em 0 0; display: flex; gap: 12px; flex-wrap: wrap; }

/* imported content sections */
.sec { padding: 60px 0; }
.sec + .sec { padding-top: 30px; }
.sec--primary { background: var(--primary); color: var(--cream); }
.sec--dark { background: var(--navy); color: #e8ebf0; }
.sec--light { background: var(--light); }
.sec--image { background: linear-gradient(rgba(31, 35, 43, .78), rgba(31, 35, 43, .78)), var(--bg) center/cover no-repeat; color: #fff; }
.sec--primary h1, .sec--primary h2, .sec--primary h3, .sec--primary h4, .sec--primary h5, .sec--primary h6,
.sec--dark h1, .sec--dark h2, .sec--dark h3, .sec--dark h4, .sec--dark h5, .sec--dark h6,
.sec--image h1, .sec--image h2, .sec--image h3, .sec--image h4, .sec--image h5, .sec--image h6 { color: #fff; }
.sec--primary a:not(.btn), .sec--dark a:not(.btn), .sec--image a:not(.btn) { color: #fff; }
.sec--primary .btn, .sec--image .btn { background: #fff; color: var(--primary); border-color: #fff; }
.sec + .sec--primary, .sec + .sec--dark, .sec + .sec--image, .sec + .sec--light { padding-top: 60px; }
.cols { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.cols + .cols { margin-top: 32px; }
.col { flex: 1 1 calc(var(--w, 100%) - 32px); min-width: 0; }
.col-bg { width: 100%; border-radius: var(--radius); }
.rich ul, .rich ol { padding-left: 1.3em; }
.rich li { margin-bottom: .4em; }
.rich table { border-collapse: collapse; width: 100%; margin: 1em 0; }
.rich th, .rich td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.sec--primary .rich th, .sec--primary .rich td { border-color: rgba(255, 255, 255, .3); }
figure.img { margin: 0 0 1em; }
figure.img img { border-radius: var(--radius); width: 100%; object-fit: cover; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.5em 0; }
.icon-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.icon-item h6, .icon-item h5, .icon-item h4 { font-size: 1rem; margin: 0; color: inherit; }
.icon-check { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--accent); position: relative; }
.icon-check::after { content: ''; position: absolute; left: 9px; top: 4px; width: 7px; height: 13px; border: solid var(--accent); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.custom-code { width: 100%; }
.map { position: relative; padding-bottom: 56%; border-radius: var(--radius); overflow: hidden; background: var(--light); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* keyword highlighting & contextual links */
.kw { font-weight: 600; color: inherit; }
.kw-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; background: #fff; color: var(--ink); }
.faq summary { cursor: pointer; padding: 14px 44px 14px 18px; font: 600 1rem var(--head); color: var(--navy); list-style: none; position: relative; background: var(--light); border-radius: var(--radius); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--primary); }
.faq details[open] summary::after { content: '–'; }
.faq-a { padding: 12px 18px 4px; }
.faq-a a { color: var(--primary) !important; }

/* lead form */
.lead-form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.lead-form label { display: grid; gap: 4px; font: 600 13px var(--head); color: var(--navy); }
.lead-form input, .lead-form select, .lead-form textarea { font: 15px var(--body); padding: 11px 12px; border: 1px solid #c8cfd9; border-radius: 4px; width: 100%; background: #fff; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 14px; margin: 0; }
.form-note a { color: var(--primary) !important; }
.form-msg { padding: 12px 16px; border-radius: 4px; margin-bottom: 12px; font-weight: 600; }
.form-msg.ok { background: #e6f6ee; color: #11683f; }
.form-msg.err { background: #fdecec; color: #9b1c1c; }

/* related / interlinking blocks */
.related { background: var(--light); }
.related-block + .related-block { margin-top: 34px; }
.related h2 { font-size: 1.35rem; }
.link-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px 20px; }
.link-grid a { display: block; padding: 8px 0 8px 18px; position: relative; text-decoration: none; color: var(--navy); border-bottom: 1px solid var(--line); font-size: 15px; }
.link-grid a::before { content: '›'; position: absolute; left: 2px; color: var(--primary); font-weight: 700; }
.link-grid a:hover { color: var(--primary); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; color: var(--ink); }
.card-img img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card-body { padding: 18px; }
.card h3 { font-size: 1.05rem; }
.card h3 a { color: var(--navy); text-decoration: none; }
.card h3 a:hover { color: var(--primary); }
.card time { font-size: 13px; color: var(--muted); display: block; margin-bottom: 6px; }
.card p { font-size: 14px; color: var(--muted); }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.svc-card { background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--navy); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.svc-card img { aspect-ratio: 16/10; object-fit: cover; }
.svc-card span { padding: 14px 16px; font: 600 15px var(--head); }
.svc-card:hover span { color: var(--primary); }

/* blog */
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding: 50px 20px; }
.blog-side h2 { font-size: 1.1rem; margin-top: 1.4em; }
.blog-side ul { list-style: none; padding: 0; font-size: 14px; }
.blog-side li { padding: 4px 0; border-bottom: 1px solid var(--line); }
.tag-cloud a { display: inline-block; font-size: 13px; background: var(--light); padding: 3px 10px; border-radius: 20px; margin: 0 4px 6px 0; text-decoration: none; }
.pager { display: flex; gap: 6px; margin-top: 30px; flex-wrap: wrap; }
.pager a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; }
.pager a[aria-current] { background: var(--primary); color: #fff; border-color: var(--primary); }
.post-head { padding-top: 40px; }
.post-meta { color: var(--muted); font-size: 14px; }
.post-img { border-radius: var(--radius); margin: 20px 0; width: 100%; max-height: 520px; object-fit: cover; }
.post-body .sec { padding: 10px 0; }
.post-body .wrap { max-width: 860px; }
.post-tags { padding: 10px 20px 40px; }
.post-tags a { display: inline-block; font-size: 13px; margin-right: 8px; }
.sitemap-groups { columns: 3 300px; column-gap: 40px; }
.sitemap-groups > div { break-inside: avoid; margin-bottom: 30px; }
.sitemap-groups ul { padding-left: 1.1em; font-size: 14px; }

/* CTA band + footer */
.cta-band { background: var(--primary); color: #fff; padding: 40px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .2em; }
.cta-band p { margin: 0; color: #dce6f3; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer { background: var(--navy); color: #b9c0cb; font-size: 14px; padding: 56px 0 0; }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; margin-top: 0; }
.site-footer a { color: #e3e8ef; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 1.4em; }
.site-footer li { padding: 3px 0; }
.site-footer address { font-style: normal; margin-bottom: .6em; }
.footer-logo { background: #fff; padding: 8px; border-radius: 4px; margin-bottom: 14px; max-width: 170px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 30px; padding: 18px 20px; }
.footer-bottom p { margin: 0; }
.sticky-call { display: none; }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 20px 20px; box-shadow: var(--shadow); max-height: calc(100vh - 120px); overflow: auto; }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; }
  .nav > ul > li > a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .sub, .nav .mega-panel { position: static; display: block; box-shadow: none; border: 0; transform: none; width: auto; padding: 0 0 6px 12px; }
  .nav .has-sub:hover > .mega-panel, .nav .has-sub:focus-within > .mega-panel { display: block; }
  .site-header { position: sticky; }
  .header-in { position: relative; }
}
@media (max-width: 860px) {
  .cols { flex-direction: column; align-items: stretch; }
  .col { flex-basis: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .topbar-in { justify-content: center; }
  .topbar-in span { display: none; }
  .sec { padding: 40px 0; }
  .sticky-call { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80; background: var(--primary); color: #fff; text-align: center; padding: 14px; border-radius: 40px; font: 700 16px var(--head); text-decoration: none; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
  body { padding-bottom: 76px; }
}
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* fixes */
.logo { flex: none; }
.logo img { height: 70px; width: auto; }
.nav > ul > li > a { white-space: nowrap; padding-left: 9px; padding-right: 9px; font-size: 13px; }
.lead-form .btn, .sec--primary .lead-form .btn, .sec--image .lead-form .btn { background: var(--primary); color: #fff; border-color: var(--primary); }
.lead-form .btn:hover { background: var(--primary-dark); }
@media (max-width: 1250px) { .topbar-phone { display: none; } }
/* the brand logo has white lettering, so the header is dark like the live site */
.site-header { background: var(--navy); box-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.topbar { background: #14171d; }
.nav > ul > li > a { color: #fff; }
.nav > ul > li > a:hover { color: #8fd0ff; }
.nav-toggle span { background: #fff; }
.footer-logo { background: transparent; padding: 0; }
@media (max-width: 1100px) {
  .nav { background: var(--navy); }
  .nav > ul > li > a { border-bottom-color: rgba(255, 255, 255, .12); }
  .nav .sub a, .mega-title a { color: #dfe6ef !important; }
  .nav .sub a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
}

/* ---------- showcase: homes for sale, design center, wishlist ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; background: var(--light); padding: 16px; border-radius: var(--radius); margin-bottom: 28px; }
.filter-bar label { display: grid; gap: 4px; font: 600 12px var(--head); color: var(--navy); }
.filter-bar .grow { flex: 1 1 260px; }
.filter-bar input, .filter-bar select { font: 15px var(--body); padding: 10px; border: 1px solid #c8cfd9; border-radius: 4px; background: #fff; min-width: 120px; }
.card { position: relative; }
.card-img { display: block; position: relative; background: var(--light); }
.card-img.sq img { aspect-ratio: 1; }
.no-photo { display: flex; align-items: center; justify-content: center; aspect-ratio: 16/10; color: var(--muted); font-size: 14px; background: var(--light); }
.no-photo.big { aspect-ratio: 1; border-radius: var(--radius); }
.status { display: inline-block; font: 700 11px var(--head); text-transform: uppercase; letter-spacing: .05em; padding: 4px 9px; border-radius: 3px; background: var(--primary); color: #fff; }
.card-img .status { position: absolute; left: 10px; top: 10px; }
.st-sold { background: #9b1c1c; } .st-pending { background: #b45309; } .st-coming_soon { background: var(--navy); }
.price { font: 800 1.35rem var(--head); color: var(--navy); margin: 0 0 4px; }
.facts, .where, .brand, .finishes { font-size: 14px; color: var(--muted); margin: 0 0 4px; }
.brand { font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 12px; }
.tier { font: 700 14px var(--head); color: var(--primary); margin: 2px 0; }
.tier span { color: var(--muted); font-weight: 500; }
.tier.big { font-size: 1.2rem; }
.wish-btn { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); cursor: pointer; font-size: 20px; line-height: 1; color: #c0264b; display: flex; align-items: center; justify-content: center; gap: 8px; z-index: 2; }
.wish-btn.on { background: #c0264b; color: #fff; }
.wish-btn.wish-big { position: static; width: auto; height: auto; border-radius: 30px; padding: 10px 18px; font: 600 15px var(--head); margin: 6px 0 14px; border: 2px solid #c0264b; box-shadow: none; }
.wish-big .heart { font-size: 20px; }
.empty { text-align: center; padding: 40px 20px; background: var(--light); border-radius: var(--radius); }
.disclaimer { font-size: 12.5px; color: var(--muted); margin-top: 30px; }
.mt { margin-top: 40px; }
.cta-split { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.cards-sm { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.cards-items { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.cat-tile { display: grid; gap: 4px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy); transition: box-shadow .2s, border-color .2s; }
.cat-tile:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.cat-tile img { aspect-ratio: 16/10; object-fit: cover; border-radius: 4px; margin-bottom: 6px; }
.cat-tile strong { font: 700 1rem var(--head); } .cat-tile span { font-size: 13px; color: var(--muted); }
/* listing detail */
.listing-top { padding-top: 30px; }
.listing-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.listing-head h1 { margin: 8px 0 4px; }
.listing-price { text-align: right; } .listing-price .price { font-size: 2rem; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 8px; border-radius: var(--radius); overflow: hidden; }
.gallery a { position: relative; display: block; } .gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g-main { grid-row: span 2; } .gallery .g-more { display: none; }
.g-count { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); color: #fff; display: flex; align-items: center; justify-content: center; font: 700 1.1rem var(--head); }
.facts-bar { list-style: none; display: flex; flex-wrap: wrap; gap: 0; padding: 0; margin: 18px 0 0; border: 1px solid var(--line); border-radius: var(--radius); }
.facts-bar li { flex: 1 1 110px; padding: 14px; text-align: center; border-right: 1px solid var(--line); display: grid; }
.facts-bar li:last-child { border-right: 0; } .facts-bar b { font: 700 1.15rem var(--head); color: var(--navy); } .facts-bar span { font-size: 13px; color: var(--muted); }
.listing-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.listing-side { position: sticky; top: 110px; }
.lead-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.lead-box .lead-form { box-shadow: none; padding: 0; }
.feature-list { columns: 2 220px; padding-left: 1.2em; } .feature-list li { margin-bottom: 6px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge, .chip { display: inline-block; background: var(--light); border: 1px solid var(--line); color: var(--navy); border-radius: 20px; padding: 6px 14px; font-size: 14px; text-decoration: none; }
.badge:hover { border-color: var(--primary); color: var(--primary); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
/* design item */
.item-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.item-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.item-photos .ip-main { grid-column: 1 / -1; } .item-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: var(--light); }
.eyebrow { font: 700 12px var(--head); text-transform: uppercase; letter-spacing: .06em; margin: 0; }
.eyebrow a { text-decoration: none; }
.lead { font-size: 1.1rem; }
.btn-outline-dark { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline-dark:hover { background: var(--primary); color: #fff; }
.specs { width: 100%; border-collapse: collapse; background: #fff; } .specs th, .specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); } .specs th { width: 40%; color: var(--navy); }
.link-grid.one { grid-template-columns: 1fr; }
/* wishlist */
.wish-list { display: grid; gap: 10px; }
.wish-row { display: grid; grid-template-columns: 90px 1fr auto; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.wish-row img, .wish-row .no-photo { width: 90px; height: 68px; object-fit: cover; border-radius: 4px; aspect-ratio: auto; }
.wish-row small { display: block; color: var(--muted); font-size: 12px; } .wish-row a { font: 600 15px var(--head); color: var(--navy); }
.link { background: none; border: 0; color: var(--primary); cursor: pointer; text-decoration: underline; font: inherit; }
.nav-wish { position: relative; }
.wish-count { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: #c0264b; color: #fff; font-size: 11px; text-align: center; margin-left: 4px; }
/* lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(10, 12, 16, .92); z-index: 200; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 44px; cursor: pointer; padding: 10px 18px; }
.lb-close { top: 10px; right: 10px; } .lb-prev { left: 10px; } .lb-next { right: 10px; }
@media (max-width: 860px) {
  .listing-body, .item-layout { grid-template-columns: 1fr; }
  .listing-side { position: static; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px; }
  .gallery .g-main { grid-column: 1 / -1; grid-row: auto; }
  .gallery a:nth-child(n+4) { display: none; }
  .listing-price { text-align: left; }
}
.gallery-1 { grid-template-columns: 1fr; grid-template-rows: 460px; }
.gallery-2 { grid-template-columns: 2fr 1fr; grid-template-rows: 460px; } .gallery-2 .g-main { grid-row: auto; }
.gallery-3, .gallery-4 { grid-template-columns: 2fr 1fr; } .gallery-4 a:nth-child(4) { display: none; }
@media (max-width: 860px) { .gallery-1, .gallery-2 { grid-template-columns: 1fr; grid-template-rows: 260px; } .gallery-2 .g-thumb { display: none; } }
.listing-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.listing-tabs a { padding: 9px 18px; border-radius: 999px; border: 2px solid var(--primary); color: var(--primary); font-weight: 700; text-decoration: none; }
.listing-tabs a.on, .listing-tabs a:hover { background: var(--primary); color: #fff; }
.listing-tabs small { font-weight: 400; opacity: .8; }
.st-rent.st-active { background: #0f766e; }
.flash-banner { background: #fff4e0; color: #7c4a03; border-bottom: 2px solid #f0c64a; padding: 10px 16px; margin: 0; text-align: center; font-weight: 600; }
