.lpwa-finder {
    --lpwa-border: #dfe3e7;
    --lpwa-surface: #f7f8f9;
    --lpwa-text: #27323b;
    --lpwa-accent: #177a42;
    margin-block: 2rem;
    color: var(--lpwa-text);
}

.lpwa-finder-submit { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 1rem; padding: 1rem; border: 1px solid #c7e4d3; border-radius: 8px; background: #f1faf5; }
.lpwa-finder-submit strong, .lpwa-finder-submit span { display: block; }
.lpwa-finder-submit a { flex: 0 0 auto; padding: .7rem 1.1rem; border-radius: 5px; background: var(--lpwa-accent); color: #fff; font-weight: 700; text-decoration: none; }

.lpwa-finder-form { padding: clamp(1rem, 3vw, 1.5rem); border: 1px solid var(--lpwa-border); border-radius: 8px; background: var(--lpwa-surface); }
.lpwa-finder-primary, .lpwa-finder-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.lpwa-finder-form label > span { display: block; margin-bottom: .35rem; font-weight: 650; }
.lpwa-finder .lpwa-finder-form input[type="search"], .lpwa-finder .lpwa-finder-form select { box-sizing: border-box; width: 100%; min-height: 46px !important; padding: 11px 14px !important; border: 1px solid #9ca3af !important; border-radius: 8px !important; background: #fff; color: inherit; font-family: inherit; font-size: 16px !important; font-weight: 400; line-height: 1.35; }
.lpwa-finder .lpwa-finder-form select { padding-right: 2.25rem; }
.lpwa-finder .lpwa-finder-form input::placeholder { color: #6b7280; opacity: .72; }
.lpwa-finder .lpwa-finder-form input:focus, .lpwa-finder .lpwa-finder-form select:focus { border-color: var(--lpwa-accent); outline: 3px solid rgb(23 122 66 / 18%); outline-offset: 1px; box-shadow: none; }
.lpwa-finder-more { margin-top: 1rem; }
.lpwa-finder-more summary { cursor: pointer; font-weight: 700; }
.lpwa-finder-more[open] summary { margin-bottom: 1rem; }
.lpwa-finder-actions { display: flex; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.lpwa-finder-actions button { padding: .7rem 1.1rem; border: 0; border-radius: 5px; background: var(--lpwa-accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.lpwa-finder-count { margin-block: 1.5rem 1rem; }
.lpwa-finder-map-shell { margin-bottom: 1.5rem; padding: 1rem; border: 1px solid var(--lpwa-border); border-radius: 10px; background: #fff; }
.lpwa-finder-map-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.lpwa-finder-map-heading h2, .lpwa-finder-map-heading p { margin: 0; }
.lpwa-finder-map-heading h2 { font-size: 1.25rem; }
.lpwa-finder-map-heading p { margin-top: .2rem; color: #53616d; font-size: .92rem; }
.lpwa-finder-map-toggle { flex: 0 0 auto; min-height: 40px; padding: .5rem .85rem; border: 1px solid var(--lpwa-accent); border-radius: 6px; background: #fff; color: var(--lpwa-accent); font: inherit; font-weight: 700; cursor: pointer; }
.lpwa-finder-map { position: relative; z-index: 0; width: 100%; height: clamp(320px, 52vw, 560px); overflow: hidden; border-radius: 7px; background: #e9eef1; }
.lpwa-finder-map--unavailable::after { position: absolute; inset: 0; display: grid; padding: 1rem; color: #53616d; content: "Map could not be loaded. Browse the accommodation list below."; place-items: center; text-align: center; }
.lpwa-finder-map-status { margin: .6rem 0 0; color: #53616d; font-size: .88rem; }
.lpwa-finder-map-shell.is-map-collapsed .lpwa-finder-map, .lpwa-finder-map-shell.is-map-collapsed .lpwa-finder-map-status { display: none; }
.lpwa-finder-map-popup { display: grid; gap: .25rem; min-width: 180px; }
.lpwa-finder-map-popup span { color: #53616d; font-size: .88rem; }
.lpwa-finder-map-popup a { margin-top: .25rem; font-weight: 700; }
.lpwa-finder-map-empty { display: grid; gap: .2rem; margin-bottom: 1.5rem; padding: 1rem; border: 1px dashed var(--lpwa-border); border-radius: 8px; background: var(--lpwa-surface); }
.lpwa-finder-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.lpwa-property-card { display: flex; overflow: hidden; flex-direction: column; border: 1px solid var(--lpwa-border); border-radius: 8px; background: #fff; transition: border-color 120ms ease, box-shadow 120ms ease; }
.lpwa-property-card.is-map-active { border-color: var(--lpwa-accent); box-shadow: 0 0 0 3px rgb(23 122 66 / 16%); }
.lpwa-finder-results > .lpwa-property-card > .lpwa-property-card-image { position: relative !important; display: block !important; overflow: hidden !important; contain: size layout paint; flex: 0 0 auto !important; width: 100% !important; min-width: 0 !important; height: auto !important; min-height: 0 !important; aspect-ratio: 16 / 10 !important; background: var(--lpwa-surface); }
.lpwa-finder-results > .lpwa-property-card > .lpwa-property-card-image > img { position: absolute !important; inset: 0 !important; display: block !important; width: 100% !important; max-width: none !important; height: 100% !important; max-height: none !important; margin: 0 !important; object-fit: cover !important; object-position: center center !important; }
.lpwa-property-card-body { display: flex; flex: 1; flex-direction: column; padding: 1rem; }
.lpwa-property-card h2 { margin: 0; font-size: 1.25rem; }
.lpwa-property-card-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.lpwa-property-card-tags span { padding: .25rem .55rem; border-radius: 999px; background: #f1f3f4; font-size: .85rem; }
.lpwa-property-card-link { margin-top: auto; padding-top: .6rem; font-weight: 700; }
.lpwa-finder-empty { padding: 2rem; border: 1px dashed var(--lpwa-border); text-align: center; }
.lpwa-finder-pagination ul { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.lpwa-finder-pagination a, .lpwa-finder-pagination .current { display: inline-flex; min-width: 2.4rem; min-height: 2.4rem; align-items: center; justify-content: center; padding: .35rem .65rem; border: 1px solid var(--lpwa-border); border-radius: 4px; }
.lpwa-finder-pagination .current { border-color: var(--lpwa-accent); background: var(--lpwa-accent); color: #fff; }

@media (max-width: 900px) { .lpwa-finder-grid, .lpwa-finder-results { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .lpwa-finder-primary, .lpwa-finder-grid, .lpwa-finder-results { grid-template-columns: 1fr; } .lpwa-finder-submit { align-items: stretch; flex-direction: column; } .lpwa-finder-submit a { text-align: center; } .lpwa-finder-map-heading { align-items: stretch; flex-direction: column; } .lpwa-finder-map-toggle { width: 100%; } .lpwa-finder-map { height: 420px; } }
