:root { --ink:#173c3d; --muted:#667473; --accent:#e5651c; --cream:#f5f4ef; --line:#dce5df; --teal:#08716d; --surface:#fffdf9; }
* { box-sizing:border-box; }
body { margin:0; color:var(--ink); background:var(--cream); font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input { font:inherit; }
.react-shell { min-height:100vh; display:grid; grid-template-rows:auto 1fr; }
.react-header { position:sticky; top:0; z-index:1000; display:flex; align-items:center; gap:28px; padding:18px 32px; background:#fffdf9f5; backdrop-filter:blur(12px); border-bottom:1px solid var(--line); }
.react-brand { display:flex; align-items:center; color:var(--ink); text-decoration:none; letter-spacing:.02em; line-height:1.05; margin-right:0; }
.react-brand img { content:url('assets/tatui-imoveis-logo.svg'); display:block; width:240px; height:auto; }
.home-button { color:var(--muted); text-decoration:none; font-size:.88rem; white-space:nowrap; }
.home-button:hover { color:var(--accent); }
.home-button.active, .react-action.active, .react-nav > a.active, .react-user-link.active { color:var(--ink)!important; }
.home-button.active::after, .react-action.active::after, .react-nav > a.active::after, .react-user-link.active::after { content:""; position:absolute; left:0; right:0; bottom:-22px; height:4px; border-radius:4px 4px 0 0; background:var(--accent); }
.home-button, .react-nav > a, .react-user-link { position:relative; }
.react-brand strong { display:block; font-family:Georgia,serif; font-size:1.4rem; font-weight:500; }
.react-brand small { color:var(--accent); text-transform:uppercase; letter-spacing:.17em; font-size:.64rem; }
.react-nav { display:flex; gap:18px; align-items:center; margin-left:auto; }
.react-nav a { color:var(--muted); text-decoration:none; font-size:.88rem; }
.react-nav a:hover { color:var(--accent); }
.react-action { padding:0; border:0; color:var(--muted)!important; border-radius:0; background:transparent; text-decoration:none; font-size:.88rem; }
.react-action:hover { color:var(--accent)!important; }
.react-user-link { display:flex; align-items:center; gap:9px; color:var(--ink); text-decoration:none; font-size:.88rem; font-weight:600; }
.react-avatar { display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:var(--accent); color:#fff; font-size:.72rem; letter-spacing:.03em; }
.react-greeting { color:var(--ink); font-size:.8rem; font-weight:600; white-space:nowrap; }
.react-user-menu { position:relative; }
.react-user-menu > button { border:0; background:transparent; cursor:pointer; }
.user-chevron { color:var(--muted); font-size:1rem; }
.user-dropdown { position:absolute; right:0; top:calc(100% + 12px); min-width:190px; padding:7px; background:#fffdf9; border:1px solid var(--line); box-shadow:0 14px 30px #24302b20; }
.user-dropdown a, .user-dropdown button { display:block; width:100%; padding:10px 12px; border:0; background:transparent; color:var(--ink); text-align:left; text-decoration:none; cursor:pointer; font-size:.84rem; }
.user-dropdown a:hover, .user-dropdown button:hover { background:var(--cream); color:var(--accent); }
.react-main { display:grid; grid-template-columns:minmax(300px, 34%) 1fr; min-height:calc(100vh - 78px); }
.react-panel { padding:clamp(28px,5vw,72px); background:#fffdf9; display:flex; flex-direction:column; }
.eyebrow { color:var(--accent); font-size:.7rem; letter-spacing:.18em; text-transform:uppercase; margin:0 0 16px; }
h1 { font:500 clamp(2.2rem,4vw,4.5rem)/.98 Georgia,serif; margin:0 0 22px; letter-spacing:-.04em; }
.react-copy { color:var(--muted); line-height:1.7; max-width:410px; }
.react-search { margin-top:35px; position:relative; }
.react-search label { display:block; font-size:.76rem; text-transform:uppercase; letter-spacing:.1em; margin-bottom:9px; }
.react-search-row { display:flex; gap:8px; }
.react-search input { width:100%; min-width:0; padding:14px 16px; border:1px solid var(--line); border-radius:4px; background:white; outline:none; }
.react-search input:focus { border-color:var(--accent); box-shadow:0 0 0 3px #b36d4322; }
.react-search button { border:0; border-radius:4px; padding:0 18px; color:#fff; background:var(--ink); cursor:pointer; }
.react-suggestions { position:absolute; z-index:20; left:0; right:65px; top:74px; background:white; border:1px solid var(--line); box-shadow:0 12px 30px #24302b1c; }
.react-suggestions button { display:block; width:100%; padding:12px 14px; border:0; border-bottom:1px solid var(--line); background:white; color:var(--ink); text-align:left; cursor:pointer; }
.react-suggestions button:hover { background:#f7f3ed; }
.react-stats { display:flex; gap:28px; margin-top:auto; padding-top:45px; }
.react-stats strong { display:block; font:500 1.7rem Georgia,serif; }
.react-stats span { color:var(--muted); font-size:.75rem; }
.react-map { position:relative; min-height:520px; }
#react-map, #vue-map { position:absolute; inset:0; }
.react-map-label { position:absolute; z-index:10; top:20px; right:20px; padding:10px 14px; border-radius:999px; background:#fffdf9e8; color:var(--ink); box-shadow:0 8px 24px #24302b1c; font-size:.78rem; }
.react-error { color:#a14e38; font-size:.8rem; margin-top:10px; }
.react-empty { color:var(--muted); font-size:.8rem; margin-top:20px; }
.react-popup { min-width:190px; }
.react-popup-image-link { display:block; overflow:hidden; }
.react-popup-image { display:block; width:100%; height:120px; object-fit:cover; margin:-2px 0 12px; border-radius:2px; }
.react-popup-image-link:hover .react-popup-image, .react-popup-image-link:focus-visible .react-popup-image { filter:brightness(.88); transform:scale(1.02); transition:transform .2s,filter .2s; }
.react-popup small { color:var(--accent); text-transform:uppercase; letter-spacing:.08em; }
.react-popup h3 { margin:7px 0; font:500 1.1rem Georgia,serif; }
.react-popup p { margin:0 0 12px; color:var(--muted); }
.react-popup a { color:var(--accent); font-weight:600; text-decoration:none; }
@media (max-width:800px) { .react-header { padding:16px 20px; } .react-brand img { width:190px; } .react-nav a:not(.react-action) { display:none; } .react-main { display:block; } .react-panel { min-height:430px; padding:34px 24px; } .react-map { height:58vh; min-height:420px; } .react-stats { margin-top:25px; padding-top:0; } }

.home-redesign { color:#173c3d; background:#fffdf9; min-height:100vh; }
.home-header { align-items:center; background:#fffdf9; border-bottom:1px solid #e4e3dc; display:flex; gap:32px; padding:14px clamp(22px,7vw,110px); position:relative; z-index:1000; }
.home-logo { align-items:center; color:#173c3d; display:flex; gap:10px; text-decoration:none; white-space:nowrap; }
.home-logo strong { display:block; font-size:1.05rem; letter-spacing:.06em; }
.home-logo small { color:#6d7775; display:block; font-size:.66rem; margin-top:3px; }
.home-logo-mark { border:2px solid #173c3d; font-size:1.45rem; line-height:1; padding:5px 7px; }
.home-header .home-logo { background:url('assets/tatui-imoveis-logo.svg') left center/contain no-repeat; height:58px; width:245px; }
.home-header .home-logo > * { display:none; }
.home-header nav { display:flex; gap:25px; margin-left:auto; }
.home-header nav a { color:#314748; font-size:.82rem; text-decoration:none; }
.home-header nav a:hover { color:#e5651c; }
.home-announce,.home-announce-button { background:#e5651c; border-radius:7px; color:#fff; font-weight:700; padding:13px 19px; text-decoration:none; white-space:nowrap; }
.home-hero { align-items:center; background:linear-gradient(100deg,#102d32e8 0%,#16494db5 52%,#b3613a66 100%),url('assets/tatui-basilica.jpg') center/cover; color:#fff; display:flex; min-height:430px; padding:70px clamp(22px,8vw,120px) 105px; position:relative; }
.home-hero-content { max-width:590px; }
.home-kicker { font-size:.72rem; font-weight:800; letter-spacing:.16em; margin:0 0 14px; text-transform:uppercase; }
.home-hero h1 { font-family:inherit; font-size:clamp(2.8rem,6vw,5.2rem); font-weight:800; letter-spacing:-.06em; line-height:.98; margin:0 0 20px; }
.home-hero p:not(.home-kicker) { font-size:1.08rem; line-height:1.55; max-width:540px; }
.home-search { background:#fff; border:1px solid #dce5df; border-radius:12px; bottom:25px; box-shadow:0 15px 35px #102d3244; display:grid; gap:9px; grid-template-columns:2fr 1fr 1fr 1fr auto; left:8%; padding:9px; position:absolute; right:8%; }
.home-search input,.home-search select { border:1px solid #d9dfdb; border-radius:7px; color:#435658; min-width:0; padding:15px; }
.home-location-field { align-items:center; border:1px solid #d9dfdb; border-radius:7px; display:flex; gap:9px; padding:0 13px; }
.home-location-field span { color:#08716d; font-size:1.25rem; }.home-location-field input { border:0; outline:0; padding-left:0; width:100%; }
.home-search > button { background:#08716d; border:0; border-radius:7px; color:#fff; cursor:pointer; font-weight:700; min-height:50px; padding:0 22px; text-transform:capitalize; }
.home-suggestions { background:#fff; border:1px solid #d9dfdb; box-shadow:0 8px 18px #102d3222; left:13px; position:absolute; right:calc(60% + 13px); top:69px; z-index:20; }.home-suggestions button { background:#fff; border:0; border-bottom:1px solid #edf0ed; color:#314748; cursor:pointer; display:block; padding:12px; text-align:left; width:100%; }.home-search-error { color:#b44927; grid-column:1/-1; }
.home-map-section,.home-categories { display:grid; gap:clamp(32px,3.2vw,58px); grid-template-columns:minmax(0,1.85fr) minmax(300px,.8fr); margin:0 auto; max-width:1600px; padding:70px clamp(32px,6vw,110px); }
.home-map-column { min-width:0; }.home-section-copy { align-self:center; }.home-section-copy h2,.home-categories h2,.home-announce-card h2 { font-size:clamp(2rem,3.5vw,3.2rem); letter-spacing:-.05em; margin:0 0 14px; }.home-section-copy p:not(.home-kicker),.home-categories p:not(.home-kicker),.home-announce-card p:not(.home-kicker) { color:#667473; line-height:1.65; }.home-section-copy a { color:#e5651c; font-weight:700; text-decoration:none; }
.home-map { border-radius:12px; box-shadow:0 12px 30px #173c3d22; min-height:430px; overflow:hidden; position:relative; }.home-map #react-map { height:100%; min-height:430px; position:absolute; inset:0; }.home-map > span { background:#fff; bottom:14px; color:#435658; font-size:.75rem; padding:9px 13px; position:absolute; right:14px; z-index:500; }
.home-categories { align-items:center; background:#f5f4ef; max-width:none; }.home-category-grid { display:grid; gap:14px; grid-template-columns:repeat(5,1fr); }.home-category-grid a { align-items:center; background:#fff; border:1px solid #e1e4df; border-radius:10px; color:#173c3d; display:flex; flex-direction:column; gap:12px; justify-content:center; min-height:115px; text-decoration:none; }.home-category-grid strong { color:#08716d; font-size:2rem; }.home-category-grid span { font-size:.8rem; font-weight:700; text-align:center; }
.home-announce-card { align-self:start; background:#fff7ed; border:1px solid #f0dfcf; border-radius:14px; box-sizing:border-box; display:flex; flex-direction:column; justify-content:center; margin-top:132px; min-height:430px; padding:clamp(28px,4vw,52px); }.home-announce-card h2 { color:#d45216; }.home-announce-button { background:#e5651c; border-radius:7px; color:#fff; display:inline-block; font-weight:700; margin-top:18px; padding:14px 18px; text-decoration:none; }
.home-footer { align-items:center; background:#173c3d; color:#d9e2de; display:flex; justify-content:space-between; padding:28px clamp(22px,7vw,110px); }.home-footer .home-logo { color:#fff; }.home-footer .home-logo small { color:#b4c6c0; }
.home-footer .home-logo { background:url('assets/tatui-imoveis-logo-light.svg') left center/contain no-repeat; height:58px; width:245px; }
.home-footer .home-logo > * { display:none; }
@media (max-width:850px) { .home-header { flex-wrap:wrap; gap:15px; }.home-header .home-logo { height:48px; width:205px; }.home-header nav { display:none; }.home-announce { margin-left:auto; }.home-hero { min-height:560px; padding-top:45px; }.home-search { bottom:22px; grid-template-columns:1fr 1fr; left:22px; right:22px; }.home-location-field { grid-column:1/-1; }.home-search > button { min-height:50px; }.home-suggestions { right:22px; top:68px; }.home-map-section,.home-categories { display:block; padding:52px 22px; }.home-map { margin-top:30px; min-height:360px; }.home-map #react-map { min-height:360px; }.home-announce-card { margin-top:30px; min-height:0; }.home-category-grid { margin-top:28px; grid-template-columns:repeat(2,1fr); }.home-announce-button { display:inline-block; margin-top:18px; }.home-footer { align-items:flex-start; flex-direction:column; gap:18px; } }
.home-area-button { background:#08716d; border:0; border-radius:7px; bottom:14px; color:#fff; cursor:pointer; font-size:.78rem; font-weight:700; left:14px; padding:11px 15px; position:absolute; z-index:500; }
.home-category-grid strong { background:center/contain no-repeat; display:block; font-size:0; height:52px; width:52px; }
.home-category-grid a:nth-child(1) strong { background-image:url('assets/icon-casa.svg'); }
.home-category-grid a:nth-child(2) strong { background-image:url('assets/icon-apartamento.svg'); }
.home-category-grid a:nth-child(3) strong { background-image:url('assets/icon-terreno.svg'); }
.home-category-grid a:nth-child(4) strong { background-image:url('assets/icon-chacara.svg'); }
.home-category-grid a:nth-child(5) strong { background-image:url('assets/icon-comercial.svg'); }

/* Sistema visual compartilhado com a home */
.react-header { background:#fffdf9; border-bottom-color:#e4e3dc; padding:14px clamp(22px,7vw,110px); }
.react-brand img { width:245px; }
.react-nav { gap:25px; }
.react-nav a, .home-button, .react-action { color:#314748; }
.react-nav a:hover, .home-button:hover, .react-action:hover { color:var(--accent)!important; }
.react-page { max-width:1400px; padding:clamp(40px,6vw,78px) clamp(22px,7vw,110px); }
.react-button { background:var(--accent); border:0; border-radius:7px; box-shadow:0 8px 18px #e5651c26; font-weight:700; padding:14px 20px; transition:background .2s,transform .2s,box-shadow .2s; }
.react-button:hover, .react-button:focus-visible { background:#c95216; box-shadow:0 12px 24px #e5651c35; transform:translateY(-2px); }
.react-button.secondary { background:transparent; border:1px solid var(--teal); box-shadow:none; color:var(--teal); }
.react-button.secondary:hover, .react-button.secondary:focus-visible { background:#eaf3ef; color:var(--teal); }
.react-form, .react-profile-form { background:#fff; border:1px solid #e1e4df; border-radius:14px; box-shadow:0 12px 30px #173c3d12; padding:clamp(24px,4vw,42px); }
.react-form input, .react-form select, .react-form textarea, .react-profile-grid input { background:#fff; border:1px solid #d9dfdb; border-radius:7px; color:#314748; }
.react-form input:focus, .react-form select:focus, .react-form textarea:focus, .react-profile-grid input:focus { border-color:var(--teal); box-shadow:0 0 0 3px #08716d1c; outline:0; }
.react-property-card, .react-account-summary, .react-modal-card { background:#fff; border:1px solid #e1e4df; border-radius:12px; box-shadow:0 12px 30px #173c3d12; }
.react-success { background:#fff; border:1px solid #e1e4df; border-radius:14px; box-shadow:0 12px 30px #173c3d12; padding:clamp(28px,5vw,58px); }
.react-success>span { background:var(--teal); }
.site-footer { align-items:center; background:#173c3d; color:#d9e2de; display:flex; gap:32px; justify-content:space-between; padding:28px clamp(22px,7vw,110px); }
.site-footer-brand { align-items:center; color:#fff; display:flex; flex-direction:column; gap:6px; text-decoration:none; }
.site-footer-brand img { display:block; height:48px; object-fit:contain; width:205px; }
.site-footer-brand span, .site-footer-note { color:#b4c6c0; font-size:.72rem; }
.site-footer nav { display:flex; gap:24px; }
.site-footer nav a { color:#d9e2de; font-size:.8rem; text-decoration:none; }
.site-footer nav a:hover { color:#f4a06f; }
@media (max-width:700px) { .site-footer { align-items:flex-start; flex-direction:column; gap:18px; } .site-footer nav { flex-wrap:wrap; gap:12px 20px; } }
.listing-heading { align-items:flex-end; display:flex; gap:24px; justify-content:space-between; margin-bottom:30px; }
.listing-heading h1 { color:#173c3d; font-family:inherit; font-size:clamp(2rem,4vw,3.5rem); font-weight:800; letter-spacing:-.06em; margin-bottom:12px; }
.listing-layout { align-items:start; display:grid; gap:30px; grid-template-columns:minmax(0,1fr); }
.listing-top-search { align-items:center; background:#fff; border:1px solid #dce5df; border-radius:12px; box-shadow:0 8px 24px #173c3d10; display:flex; gap:10px; margin-bottom:28px; padding:9px; }
.listing-search-icon { color:#0b6863; font-size:1.4rem; padding:0 8px; }
.listing-top-search input { border:0; color:#435658; flex:1; min-width:0; outline:0; padding:12px 4px; }
.listing-top-search select { background:#fff; border:1px solid #d9dfdb; border-radius:7px; color:#435658; min-width:140px; padding:12px 10px; }
.listing-top-search button { background:#08716d; border:0; border-radius:7px; color:#fff; cursor:pointer; font-size:.82rem; font-weight:700; padding:13px 20px; }
.listing-filters { background:#fff; border:1px solid #e3e7e2; border-radius:12px; padding:20px; position:sticky; top:20px; }
.listing-filters { display:none; }
.listing-filters form > label:first-child { display:none; }
.listing-filter-title { align-items:center; display:flex; justify-content:space-between; margin-bottom:18px; }
.listing-filter-title button { background:none; border:0; color:#0b6863; cursor:pointer; font-size:.75rem; padding:0; }
.listing-filters label { color:#435658; display:block; font-size:.75rem; font-weight:700; margin-bottom:15px; }
.listing-filters input,.listing-filters select { background:#fff; border:1px solid #d9dfdb; border-radius:6px; color:#435658; display:block; margin-top:7px; padding:11px; width:100%; }
.listing-filter-button { border:0; cursor:pointer; font-size:.8rem; margin-top:4px; width:100%; }
.listing-results-bar { align-items:center; display:flex; justify-content:space-between; margin-bottom:16px; }
.listing-results-bar strong { color:#173c3d; font-size:.95rem; }
.listing-results-bar label { align-items:center; color:#667473; display:flex; font-size:.75rem; gap:8px; }
.listing-results-bar select { background:#fff; border:1px solid #d9dfdb; border-radius:6px; color:#435658; padding:9px; }
.listing-empty { background:#fff; border:1px dashed #cbd6d0; border-radius:12px; padding:45px 25px; text-align:center; }
.listing-empty strong { color:#173c3d; display:block; font-size:1.1rem; margin-bottom:8px; }
.listing-empty p { color:#667473; margin:0 0 20px; }
.listing-property-card { background:#fff; border:1px solid #cfd8d3; border-radius:12px; display:grid; grid-template-columns:340px minmax(0,1fr); height:300px; overflow:hidden; }
.listing-property-image { background:#e9eeeb; height:300px; overflow:hidden; position:relative; }
.listing-property-image-link { display:block; height:100%; }
.listing-property-image img { display:block; height:100%; object-fit:cover; transition:transform .25s; width:100%; }
.listing-property-image:hover img { transform:scale(1.03); }
.listing-property-image span { align-items:center; color:#667473; display:flex; height:100%; justify-content:center; }
.listing-photo-arrow { align-items:center; background:#fffdf9dd; border:0; border-radius:50%; color:#173c3d; cursor:pointer; display:flex; font-size:1.7rem; height:32px; justify-content:center; line-height:1; position:absolute; top:calc(50% - 16px); width:32px; z-index:2; }.listing-photo-arrow:hover { background:#fff; }.listing-photo-prev { left:12px; }.listing-photo-next { right:12px; }.listing-photo-dots { bottom:11px; display:flex; gap:5px; left:0; position:absolute; right:0; justify-content:center; z-index:2; }.listing-photo-dots i { background:#fff9; border:1px solid #fff; border-radius:50%; height:7px; width:7px; }.listing-photo-dots i.active { background:#fff; }
.listing-property-body { display:flex; flex-direction:column; min-width:0; overflow:hidden; padding:18px 22px 14px; }
.listing-property-main { color:inherit; display:flex; flex-direction:column; flex:1; text-decoration:none; }
.listing-property-card h2 { color:#173c3d; font-family:Georgia,serif; font-size:1.35rem; font-weight:500; margin:2px 0 6px; order:2; }
.listing-property-price { color:#111; font-size:1.35rem; margin:0 0 6px; order:1; }
.listing-property-address { color:#435658; font-size:.88rem; font-weight:700; margin:0 0 8px; order:3; }
.listing-property-main > .offer-included { margin:0 0 8px; order:2; }
.listing-property-features { align-items:center; color:#315f59; display:flex; flex-wrap:wrap; gap:8px 18px; margin:0 0 8px; order:4; }
.listing-property-feature { align-items:center; display:inline-flex; font-size:.78rem; gap:6px; line-height:1.25; white-space:nowrap; }
.listing-property-feature svg { fill:none; flex:0 0 18px; height:18px; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.7; width:18px; }
.listing-property-description { -webkit-box-orient:vertical; -webkit-line-clamp:2; color:#667473; display:-webkit-box; font-size:.82rem; line-height:1.5; margin:0; max-height:2.95em; order:5; overflow:hidden; }
.listing-property-footer { align-items:center; border-top:1px solid #e1e7e3; color:#667473; display:flex; font-size:.76rem; gap:16px; justify-content:flex-end; margin-top:10px; padding-top:10px; }.listing-property-footer a { color:#e5651c; font-weight:700; text-decoration:none; white-space:nowrap; }
.listing-property-footer-actions { align-items:center; display:flex; flex-wrap:wrap; gap:14px; justify-content:flex-end; }.listing-property-footer-actions .listing-edit-link { color:#08716d; }
@media (max-width:850px) { .listing-heading { align-items:flex-start; flex-direction:column; }.listing-heading .react-button { align-self:stretch; text-align:center; }.listing-top-search { align-items:stretch; flex-wrap:wrap; }.listing-top-search input { flex-basis:calc(100% - 42px); }.listing-top-search select { flex:1; min-width:0; }.listing-top-search button { flex:1 0 100%; }.listing-layout { display:block; }.listing-filters { display:none; }.listing-results-bar { align-items:flex-start; flex-direction:column; gap:12px; }.listing-results-bar label { width:100%; }.listing-results-bar select { flex:1; }.listing-property-card { height:auto; grid-template-columns:1fr; }.listing-property-image { height:220px; }.listing-property-body { padding:18px; }.listing-property-footer { margin-top:14px; } }

/* Keep shared React pages constrained to the viewport instead of the grid's
   intrinsic min-content width, and give the shared header a compact mobile row. */
.react-shell { grid-template-columns: minmax(0, 1fr); min-width: 0; width: 100%; }
.react-shell > * { min-width: 0; max-width: 100%; }
.react-header { box-sizing: border-box; width: 100%; }
.react-page { box-sizing: border-box; min-width: 0; width: 100%; }

@media (max-width: 700px) {
  .react-header { align-items: center; flex-wrap: wrap; gap: 10px 14px; padding: 12px 18px; }
  .react-brand { flex: 0 1 auto; min-width: 0; }
  .react-brand img { max-width: 100%; width: min(190px, 48vw); }
  .home-button { font-size: .8rem; margin-left: auto; }
  .react-nav { flex: 0 0 100%; justify-content: flex-end; margin-left: 0; min-width: 0; }
  .react-nav .react-user-menu, .react-nav .react-action { min-width: 0; }
  .react-nav .react-user-link { white-space: nowrap; }
  .react-page { padding-left: 18px; padding-right: 18px; }
  .listing-top-search { min-width: 0; }
  .listing-top-search select { max-width: 100%; }
  .listing-results-bar { min-width: 0; }
  .listing-results-bar label { min-width: 0; }
}

@media (max-width: 480px) {
  .listing-top-search select { flex: 1 0 100%; }
  .home-search { grid-template-columns: minmax(0, 1fr); }
  .home-search .home-location-field,
  .home-search > button { grid-column: 1; }
  .home-hero { min-height: 700px; }
}

@media (min-width: 851px) and (max-width: 1100px) {
  .home-categories { display: block; }
  .home-category-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 28px; }
}

.listing-filters.listing-filter-panel { background:#fff; border:1px solid #dce5df; border-radius:12px; display:block; margin:0 0 24px; padding:0; position:static; }
.listing-filter-panel>summary { align-items:center; color:#173c3d; cursor:pointer; display:flex; font-size:.9rem; font-weight:700; gap:9px; list-style:none; padding:16px 20px; }
.listing-filter-panel>summary::-webkit-details-marker { display:none; }
.listing-filter-panel>summary::after { color:#08716d; content:'＋'; font-size:1.05rem; margin-left:auto; }
.listing-filter-panel[open]>summary::after { content:'−'; }
.listing-filter-count { align-items:center; background:#e8f3f0; border-radius:999px; color:#08716d; display:inline-flex; font-size:.72rem; height:22px; justify-content:center; min-width:22px; padding:0 6px; }
.listing-filter-content { border-top:1px solid #e6ece8; display:grid; gap:16px 20px; grid-template-columns:repeat(4,minmax(0,1fr)); padding:18px 20px 20px; }
.listing-filter-content>label { color:#435658; display:grid; font-size:.76rem; font-weight:700; gap:7px; }
.listing-filter-content input[type="number"],.listing-filter-content select { background:#fff; border:1px solid #d9dfdb; border-radius:7px; color:#435658; min-height:42px; padding:10px 12px; width:100%; }
.listing-feature-filters { border:0; display:flex; flex-wrap:wrap; gap:8px; grid-column:1/-1; margin:0; padding:0; }
.listing-feature-filters legend { color:#173c3d; font-size:.8rem; font-weight:700; margin-bottom:9px; padding:0; width:100%; }
.listing-feature-filter { align-items:center; background:#f5f8f6; border:1px solid #e1e9e4; border-radius:999px; color:#435658; cursor:pointer; display:inline-flex; font-size:.78rem; gap:7px; padding:8px 12px; }
.listing-feature-filter input[type="checkbox"] { accent-color:#08716d; height:16px; margin:0; width:16px; }
.listing-feature-filter select { border:0; margin:0; min-height:0; padding:2px 4px; width:auto; }
.listing-filter-hint { color:#667473; font-size:.8rem; grid-column:1/-1; margin:0; }
.listing-filter-actions { align-items:center; display:flex; gap:16px; grid-column:1/-1; justify-content:flex-end; }
.listing-filter-apply { background:#08716d; border:0; border-radius:7px; color:#fff; cursor:pointer; font-weight:700; padding:12px 18px; }
.listing-filter-actions>a { color:#667473; font-size:.78rem; text-decoration:underline; }
@media(max-width:850px) { .listing-filter-content { grid-template-columns:repeat(2,minmax(0,1fr)); }.listing-feature-filters,.listing-filter-hint,.listing-filter-actions { grid-column:1/-1; } }
@media(max-width:480px) { .listing-filter-content { grid-template-columns:1fr; }.listing-feature-filters,.listing-filter-hint,.listing-filter-actions { grid-column:1; }.listing-filter-actions { align-items:stretch; flex-direction:column; text-align:center; } }
.listing-feature-filters { align-items:start; display:grid; gap:9px; grid-template-columns:repeat(auto-fit,minmax(min(100%,175px),1fr)); }
.listing-feature-filters legend { margin-bottom:2px; }
.listing-filters .listing-feature-filter { align-items:center; background:#f7faf8; border:1px solid #e1e9e4; border-radius:9px; box-sizing:border-box; color:#435658; cursor:pointer; display:flex; font-size:.82rem; font-weight:500; gap:10px; letter-spacing:normal; margin:0; min-height:46px; padding:10px 12px; text-transform:none; width:100%; }
.listing-filters .listing-feature-filter.is-selected { background:#edf7f3; border-color:#80b7a7; color:#145c50; }
.listing-filters .listing-feature-filter input[type="checkbox"] { accent-color:#08716d; display:block; flex:0 0 17px; height:17px; margin:0; padding:0; width:17px; }
.listing-filters .listing-feature-filter-select { justify-content:space-between; }
.listing-filters .listing-feature-filter-select span { white-space:nowrap; }
.listing-filters .listing-feature-filter-select select { flex:1; margin:0; min-height:34px; min-width:78px; padding:6px 8px; width:auto; }

.home-map-explorer { border-radius:14px; box-shadow:none; margin-top:0; min-width:0; }
.home-map-categories { align-items:center; background:transparent; border:0; border-radius:0; display:grid; gap:24px; grid-template-columns:minmax(205px,.7fr) minmax(0,1.5fr); padding:20px 0 18px; }
.home-map-categories h3 { color:#173c3d; font-size:1.15rem; margin:0 0 6px; }
.home-map-categories p:not(.home-kicker) { color:#667473; font-size:.85rem; margin:0; }
.home-map-categories .home-category-grid { align-items:center; gap:8px; grid-template-columns:repeat(5,minmax(0,1fr)); margin-top:0; }
.home-map-category-button { align-items:center; background:transparent; border:0; border-radius:14px; color:var(--category-color); cursor:pointer; display:flex; flex-direction:column; gap:7px; justify-content:center; min-height:86px; padding:8px 6px; transition:background .2s,transform .2s; }
.home-map-category-button:hover,.home-map-category-button.active { background:color-mix(in srgb,var(--category-color) 10%,transparent); transform:translateY(-2px); }
.home-map-category-button strong { background-color:color-mix(in srgb,var(--category-color) 20%,#fff); background-position:center; background-repeat:no-repeat; background-size:contain; border-radius:50%; display:block; filter:saturate(1.15); height:56px; padding:12px; width:56px; }
.home-map-category-button span { height:1px; overflow:hidden; position:absolute; width:1px; }
.home-category-clear { background:transparent; border:0; color:#d45216; cursor:pointer; font-size:.78rem; font-weight:700; grid-column:2; justify-self:end; margin-top:-12px; padding:0; }
.home-map-marker-wrapper { background:transparent; border:0; }
.home-map-marker { background:var(--marker-color); border:3px solid #fff; border-radius:50% 50% 50% 0; box-shadow:0 2px 6px #173c3d55; display:block; height:24px; position:relative; transform:rotate(-45deg); width:24px; }
.home-map-marker::after { background:#fff; border-radius:50%; content:''; height:7px; left:6px; position:absolute; top:6px; width:7px; }
.home-map-explorer .home-map { border-radius:0 0 14px 14px; box-shadow:none; margin-top:0; }
@media(max-width:850px) { .home-map-categories { display:block; }.home-map-categories .home-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:18px; }.home-category-clear { display:block; margin-top:14px; } }

/* Shared grid aligns the introduction, map controls and announcement. */
.home-map-section { width:100%; max-width:1720px; padding:64px 48px; gap:28px 32px; grid-template-columns:minmax(0,1fr) 340px; align-items:stretch; font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; }
.home-map-column { display:contents; }
.home-map-section .home-map-explorer { display:contents; }
.home-map-section .home-map-explorer .home-map { grid-column:1; grid-row:3; }
.home-map-section .home-map-categories { grid-column:1; grid-row:2; }
.home-map-section .home-announce-card { grid-column:2; grid-row:3; }
.home-map-section .home-section-copy { grid-column:1/-1; display:grid; grid-template-columns:1fr auto; gap:10px 32px; align-items:center; }
.home-map-section .home-section-copy .home-kicker { grid-column:1/-1; margin:0; font-size:11px; }
.home-map-section .home-section-copy h2 { grid-column:1; margin:0; font:700 clamp(28px,2.3vw,42px)/1.15 Inter,ui-sans-serif,system-ui,sans-serif; letter-spacing:-.035em; }
.home-map-section .home-section-copy p:not(.home-kicker) { grid-column:1; margin:0; font-size:15px; line-height:1.6; }
.home-map-section .home-section-copy a { grid-column:2; grid-row:2/4; font-size:14px; }
.home-map-section .home-map-categories { display:grid; grid-template-columns:1fr auto; gap:12px 24px; padding:0 0 20px; }
.home-map-categories h3 { font:600 15px/1.5 Inter,ui-sans-serif,system-ui,sans-serif; margin:0 0 4px; }
.home-map-categories .home-map-category-help { font-size:13px; line-height:1.5; min-height:20px; }
.home-map-categories .home-category-grid { grid-column:1/-1; grid-row:2; display:flex; justify-content:flex-start; gap:24px; margin:0; }
.home-map-category-button { min-height:60px; min-width:64px; padding:10px; border-radius:12px; position:relative; }
.home-map-category-button strong { background:var(--category-color); width:38px; height:38px; padding:0; border-radius:0; filter:none; mask:var(--category-icon) center/contain no-repeat; -webkit-mask:var(--category-icon) center/contain no-repeat; }
.home-map-category-button.active::after { content:''; position:absolute; bottom:2px; width:20px; height:3px; border-radius:3px; background:var(--category-color); }
.home-map-category-button:focus-visible,.home-category-clear:focus-visible { outline:2px solid var(--teal); outline-offset:4px; }
.home-map-categories .home-category-clear { grid-row:1; grid-column:2; margin:0; align-self:center; font-family:inherit; font-weight:600; font-size:13px; line-height:1.5; min-height:40px; }
.home-category-clear:disabled { visibility:hidden; }
.home-map-explorer .home-map { height:480px; min-height:480px; border-radius:14px; box-shadow:0 6px 24px #173c3d12; isolation:isolate; }
.home-map-section .home-announce-card { margin:0; min-height:0; align-self:stretch; padding:32px; border-radius:14px; justify-content:center; }
.home-map-section .home-announce-card h2 { font:700 32px/1.2 Inter,ui-sans-serif,system-ui,sans-serif; letter-spacing:-.03em; margin:0 0 18px; }
.home-map-section .home-announce-card p:not(.home-kicker) { font-size:15px; line-height:1.7; margin:0 0 24px; }
.home-map-section .home-announce-button { white-space:normal; text-align:center; font-size:14px; line-height:1.5; margin:0; padding:14px 18px; }
@media(max-width:1100px) { .home-map-section { padding:48px 28px; grid-template-columns:minmax(0,1fr) 280px; gap:24px; }.home-map-section .home-announce-card { padding:24px; }.home-map-section .home-announce-card h2 { font-size:28px; }.home-map-categories .home-category-grid { gap:12px; } }
@media(max-width:850px) { .home-map-section { display:grid; grid-template-columns:minmax(0,1fr); padding:40px 20px; }.home-map-section .home-section-copy { display:block; }.home-map-section .home-section-copy>* { margin-bottom:12px!important; }.home-map-section .home-announce-card { margin:0; }.home-map-explorer .home-map { height:400px; min-height:400px; }.home-map-categories .home-category-grid { justify-content:space-between; gap:4px; }.home-map-category-button { min-width:44px; padding:8px; }.home-map-category-button strong { width:32px; height:32px; } }
@media(prefers-reduced-motion:reduce) { .home-map-category-button { transition:none; }.home-map-category-button:hover,.home-map-category-button.active { transform:none; } }
@media(max-width:850px) { .home-map-section .home-announce-card { grid-column:1; grid-row:4; } }

.home-highlights-section { box-sizing:border-box; margin:0 auto; max-width:1720px; padding:12px 48px 72px; width:100%; }
.home-highlights-heading { align-items:end; display:grid; gap:8px 24px; grid-template-columns:1fr auto; margin-bottom:24px; }
.home-highlights-heading .home-kicker { grid-column:1/-1; margin:0; }
.home-highlights-heading h2 { color:#173c3d; font:700 clamp(28px,2.3vw,42px)/1.15 Inter,ui-sans-serif,system-ui,sans-serif; letter-spacing:-.035em; margin:0; }
.home-highlights-heading p:last-child { color:#667473; font-size:15px; grid-column:1; margin:0; }
.home-highlights-grid { display:grid; gap:20px; grid-template-columns:repeat(4,minmax(0,1fr)); }
.home-highlight-card { background:#fff; border:1px solid #dce5df; border-radius:14px; box-shadow:0 8px 24px #173c3d0d; min-width:0; overflow:hidden; }
.home-highlight-media { background:#edf2ef; color:#52706c; display:block; height:190px; overflow:hidden; position:relative; text-align:center; text-decoration:none; }
.home-highlight-media img { height:100%; object-fit:cover; transition:transform .25s ease; width:100%; }
.home-highlight-media:hover img { transform:scale(1.03); }
.home-highlight-media>span:not(.home-highlight-badge) { align-items:center; display:flex; height:100%; justify-content:center; }
.home-highlight-badge { background:#173c3d; border-radius:0 0 8px 0; color:#fff; font-size:11px; font-weight:700; left:0; padding:8px 10px; position:absolute; top:0; }
.home-highlight-body { display:flex; flex-direction:column; min-height:190px; padding:18px; }
.home-highlight-category { color:#e5651c; font-size:11px; font-weight:700; letter-spacing:.1em; margin:0 0 8px; text-transform:uppercase; }
.home-highlight-body h3 { color:#173c3d; font:600 21px/1.25 Georgia,serif; margin:0 0 8px; }
.home-highlight-price { color:#173c3d; font-size:17px; margin-bottom:8px; }
.home-highlight-location { color:#667473; font-size:13px; line-height:1.45; margin:0; }
.home-highlight-footer { align-items:center; border-top:1px solid #e1e7e3; color:#84918f; display:flex; font-size:11px; gap:10px; justify-content:space-between; margin-top:auto; padding-top:14px; }
.home-highlight-footer a { color:#e5651c; font-weight:700; text-decoration:none; white-space:nowrap; }
@media(max-width:1100px) { .home-highlights-section { padding-left:28px; padding-right:28px; }.home-highlights-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:560px) { .home-highlights-section { padding:8px 20px 48px; }.home-highlights-grid { grid-template-columns:1fr; }.home-highlight-media { height:220px; } }
.login-password-toggle { align-items: center; color: #667473; display: flex; font-size: .76rem; font-weight: 400; gap: 6px; letter-spacing: 0; margin-top: -2px; text-transform: none; }
.login-password-toggle input { accent-color: #08716d; margin: 0; padding: 0; width: auto; }
.react-form button:disabled { cursor: wait; opacity: .7; }
.home-suggestions button { min-height: 46px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }
