:root {
  --ip-ink: #062644;
  --ip-ink-deep: #062644;
  --ip-green: #0d3a5c;
  --ip-green-soft: #dce7ee;
  --ip-paper: #f7f4ed;
  --ip-white: #fff;
  --ip-line: #d8e1e7;
  --ip-muted: #536a7c;
  --ip-accent: #ca5501;
  --ip-accent-dark: #b54800;
  --ip-focus: #ffbf47;
  --ip-shadow: 0 18px 55px rgba(6, 38, 68, .11);
  --ip-radius: 18px;
  --ip-shell: min(1180px, calc(100% - 40px));
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ip-ink); background: var(--ip-white); line-height: 1.55; }
body, button, input, select { font: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, select, input { min-height: 46px; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--ip-focus); outline-offset: 3px; }
.ip-shell { width: var(--ip-shell); margin-inline: auto; }
.ip-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ip-skip { position: fixed; z-index: 999; left: 16px; top: 12px; padding: 10px 14px; background: var(--ip-focus); color: #111; font-weight: 800; transform: translateY(-160%); }
.ip-skip:focus { transform: none; }

.ip-utility { background: var(--ip-ink-deep); color: rgba(255, 255, 255, .82); font-size: .82rem; }
.ip-utility-inner { display: flex; min-height: 37px; align-items: center; justify-content: space-between; gap: 16px; }
.ip-utility nav { display: flex; gap: 20px; }
.ip-utility a { color: #fff; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ip-header { position: relative; z-index: 20; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--ip-line); }
.ip-header-inner { min-height: 82px; display: flex; align-items: center; gap: 26px; }
.ip-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.ip-brand-mark { display: block; width: 50px; height: 50px; padding: 0; border: 0; color: inherit; background: transparent; border-radius: 0; box-shadow: none; }
.ip-nav { display: flex; align-items: center; gap: 24px; }
.ip-nav a { text-decoration: none; font-weight: 700; font-size: .92rem; }
.ip-nav a:hover { color: var(--ip-accent-dark); }
.ip-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 12px 20px; border: 2px solid transparent; border-radius: 999px; background: var(--ip-accent); color: #fff; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.ip-button:hover { background: var(--ip-accent-dark); transform: translateY(-1px); }
.ip-button-secondary { background: var(--ip-green); }
.ip-button-secondary:hover { background: var(--ip-ink-deep); }
.ip-button-outline { color: var(--ip-ink); background: transparent; border-color: var(--ip-ink); }
.ip-button-outline:hover { background: var(--ip-ink); color: #fff; }
.ip-button-gap { margin-left: 10px; }

.ip-search-hero { color: white; background: linear-gradient(125deg, var(--ip-ink-deep), var(--ip-green)); overflow: hidden; }
.ip-search-hero-inner { position: relative; padding: 60px 0 66px; }
.ip-search-hero-inner::after { content: ""; position: absolute; width: 340px; height: 340px; right: 1%; top: -170px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; box-shadow: 0 0 0 72px rgba(255, 255, 255, .04), 0 0 0 145px rgba(255, 255, 255, .025); }
.ip-eyebrow { margin: 0 0 10px; color: var(--ip-accent-dark); font-size: .72rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.ip-eyebrow-light { color: #f0b29d; }
.ip-search-hero h1, .ip-detail-title h1 { max-width: 820px; margin: 0; font: 500 clamp(2.45rem, 6vw, 5.2rem)/.98 Georgia, "Times New Roman", serif; letter-spacing: -.045em; }
.ip-search-hero p:last-of-type { max-width: 650px; margin: 20px 0 0; color: rgba(255, 255, 255, .77); font-size: 1.08rem; }
.ip-channel-tabs { position: relative; z-index: 1; display: inline-flex; margin-top: 30px; padding: 4px; border: 1px solid rgba(255, 255, 255, .27); border-radius: 999px; background: rgba(255, 255, 255, .08); }
.ip-channel-tabs button { min-width: 110px; padding: 9px 20px; color: white; border: 0; border-radius: 999px; background: transparent; font-weight: 800; cursor: pointer; }
.ip-channel-tabs button[aria-pressed="true"] { color: var(--ip-ink); background: white; }

.ip-search-area { padding: 44px 0 84px; background: var(--ip-paper); }
.ip-search-layout { display: grid; grid-template-columns: 285px minmax(0, 1fr); gap: 38px; align-items: start; }
.ip-filters { position: sticky; top: 18px; padding: 24px; border: 1px solid var(--ip-line); border-radius: var(--ip-radius); background: white; box-shadow: 0 10px 35px rgba(13, 36, 37, .06); }
.ip-filter-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.ip-filter-heading h2 { margin: 0; font: 600 1.45rem/1.15 Georgia, serif; }
.ip-filter-heading button { min-height: auto; padding: 4px; border: 0; background: transparent; color: var(--ip-accent-dark); font-size: .84rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ip-fields { display: grid; gap: 17px; }
.ip-fields label { display: grid; gap: 6px; color: var(--ip-ink); font-size: .78rem; font-weight: 800; }
.ip-fields input, .ip-fields select, .ip-sort select { width: 100%; padding: 10px 12px; border: 1px solid #b8c3be; border-radius: 9px; color: var(--ip-ink); background: white; }
.ip-fields input:hover, .ip-fields select:hover, .ip-sort select:hover { border-color: var(--ip-green); }
.ip-filter-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ip-alert-card { margin-top: 24px; padding: 20px; border-radius: 14px; color: white; background: var(--ip-green); }
.ip-alert-card h3 { margin: 4px 0 8px; font: 600 1.35rem/1.15 Georgia, serif; }
.ip-alert-card p { margin: 0 0 13px; color: rgba(255, 255, 255, .77); font-size: .86rem; }
.ip-alert-card a { font-weight: 800; text-underline-offset: 4px; }
.ip-results { min-width: 0; }
.ip-results-toolbar { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 21px; }
.ip-results-count strong { display: block; font: 600 1.35rem/1.2 Georgia, serif; }
.ip-results-count span { color: var(--ip-muted); font-size: .86rem; }
.ip-sort { display: flex; align-items: center; gap: 9px; font-size: .78rem; font-weight: 800; }
.ip-sort select { width: auto; min-width: 170px; }
.ip-results-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

.ip-card { min-width: 0; overflow: hidden; border: 1px solid var(--ip-line); border-radius: var(--ip-radius); background: white; box-shadow: 0 7px 28px rgba(13, 36, 37, .055); transition: box-shadow .2s ease; }
.ip-card:hover { box-shadow: var(--ip-shadow); }
.ip-card-image { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ip-green-soft); }
.ip-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ip-card-placeholder-image { display: grid; place-items: center; height: 100%; color: var(--ip-muted); font-size: .82rem; }
.ip-status, .ip-new { position: absolute; top: 14px; padding: 7px 10px; border-radius: 999px; color: white; background: rgba(13, 36, 37, .9); font-size: .68rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.ip-status { left: 14px; }
.ip-status[data-status="let-agreed"] { background: var(--ip-accent-dark); }
.ip-new { right: 14px; background: var(--ip-accent); }
.ip-card-body { padding: 20px; }
.ip-card-place { margin: 0 0 5px; color: var(--ip-accent-dark); font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.ip-card h2 { margin: 0; font: 600 1.25rem/1.22 Georgia, serif; }
.ip-card h2 a { text-decoration: none; }
.ip-card h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ip-card-price { margin: 13px 0 15px; color: var(--ip-ink); font-size: 1.03rem; font-weight: 900; }
.ip-card-facts { display: flex; flex-wrap: wrap; gap: 7px 16px; margin: 0; padding-top: 13px; border-top: 1px solid var(--ip-line); color: var(--ip-muted); font-size: .82rem; text-transform: capitalize; }
.ip-card-facts strong { color: var(--ip-ink); }
.ip-load-more { min-height: 72px; display: flex; align-items: center; justify-content: center; margin-top: 20px; }
.ip-load-more[hidden] { display: none; }
.ip-load-status { display: none; color: var(--ip-muted); font-size: .86rem; }
.ip-load-more[data-auto="true"] .ip-load-status { display: inline; }
.ip-load-more[data-auto="true"] .ip-button { display: none; }
.ip-message { padding: 44px; border: 1px solid var(--ip-line); border-radius: var(--ip-radius); background: white; text-align: center; }
.ip-message h2 { margin: 0 0 10px; font: 600 2rem/1.1 Georgia, serif; }
.ip-message p { max-width: 550px; margin: 0 auto 22px; color: var(--ip-muted); }
.ip-loading-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ip-skeleton { min-height: 390px; overflow: hidden; border-radius: var(--ip-radius); background: white; }
.ip-skeleton::before { content: ""; display: block; height: 235px; background: linear-gradient(90deg, #e5ebe7 25%, #f5f7f5 50%, #e5ebe7 75%); background-size: 200% 100%; animation: ip-shimmer 1.4s infinite; }
.ip-skeleton::after { content: ""; display: block; width: 72%; height: 65px; margin: 24px; background: linear-gradient(#e7ece9 0 0) 0 0 / 62% 10px no-repeat, linear-gradient(#e7ece9 0 0) 0 28px / 100% 15px no-repeat, linear-gradient(#e7ece9 0 0) 0 55px / 45% 10px no-repeat; }
@keyframes ip-shimmer { to { background-position: -200% 0; } }

.ip-detail-main { background: var(--ip-paper); }
.ip-breadcrumbs { padding: 18px 0; color: var(--ip-muted); font-size: .82rem; }
.ip-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 auto; padding: 0; list-style: none; }
.ip-breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: #9aa7a1; }
.ip-detail-loading { padding: 60px 0 90px; }
.ip-detail-title { padding: 34px 0 38px; color: white; background: var(--ip-ink-deep); }
.ip-detail-title-row { display: flex; align-items: end; justify-content: space-between; gap: 35px; }
.ip-detail-title h1 { max-width: 760px; font-size: clamp(2.2rem, 5vw, 4.4rem); }
.ip-detail-location { margin: 12px 0 0; color: #f5f1e9 !important; font-weight: 600; }
.ip-detail-price { margin: 0; text-align: right; font-size: clamp(1.25rem, 2.5vw, 1.8rem); font-weight: 900; white-space: nowrap; }
.ip-gallery { display: block; padding-top: 30px; }
.ip-gallery-mosaic { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(180px, 280px)); gap: 8px; }
.ip-gallery-mosaic-count-1 { grid-template-columns: 1fr; grid-template-rows: clamp(390px, 52vw, 650px); }
.ip-gallery-mosaic-count-1 .ip-gallery-stage { grid-row: auto; }
.ip-gallery-mosaic-count-2 { grid-template-columns: minmax(0, 3fr) minmax(260px, 2fr); grid-template-rows: clamp(390px, 46vw, 570px); }
.ip-gallery-mosaic-count-2 .ip-gallery-stage { grid-row: auto; }
.ip-gallery-stage { position: relative; grid-row: 1 / span 2; min-height: 0; overflow: hidden; border-radius: 14px; background: var(--ip-navy-soft); box-shadow: 0 14px 34px rgba(6,38,68,.14); }
.ip-gallery-primary { width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.ip-gallery-primary img { width: 100%; height: 100%; object-fit: cover; }
.ip-gallery-side { width: 100%; height: 100%; min-height: 0; padding: 0; overflow: hidden; border: 0; border-radius: 12px; background: var(--ip-navy-soft); cursor: zoom-in; }
.ip-gallery-side img { width: 100%; height: 100%; object-fit: cover; }
.ip-gallery-count { position: absolute; right: 16px; bottom: 16px; z-index: 2; padding: 8px 12px; border-radius: 999px; color: white; background: rgba(6,38,68,.9); box-shadow: 0 4px 16px rgba(0,0,0,.18); font-size: .74rem; font-weight: 800; pointer-events: none; }
.ip-carousel-button { display: grid; place-items: center; width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.76); border-radius: 50%; color: white; background: rgba(6,38,68,.72); box-shadow: 0 5px 18px rgba(0,0,0,.22); backdrop-filter: blur(6px); cursor: pointer; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.ip-carousel-button:hover { border-color: white; background: var(--ip-orange-action); transform: translateY(-50%) scale(1.04); }
.ip-carousel-button:focus-visible, .ip-gallery-primary:focus-visible, .ip-gallery-side:focus-visible, .ip-lightbox-thumbnail:focus-visible, .ip-lightbox-close:focus-visible { outline: 3px solid #ffcfad; outline-offset: 3px; }
.ip-carousel-icon { width: 11px; height: 11px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; }
.ip-carousel-icon-previous { transform: translateX(2px) rotate(-135deg); }
.ip-carousel-icon-next { transform: translateX(-2px) rotate(45deg); }
.ip-gallery-previous, .ip-gallery-next { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); }
.ip-gallery-previous { left: 16px; }
.ip-gallery-next { right: 16px; }
.ip-lightbox-thumbnails { display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-width: none; }
.ip-lightbox-thumbnails::-webkit-scrollbar { display: none; }
.ip-lightbox-thumbnail { flex: 0 0 auto; padding: 0; overflow: hidden; border: 3px solid transparent; border-radius: 7px; background: rgba(255,255,255,.08); opacity: .72; cursor: pointer; scroll-snap-align: center; transition: border-color .16s ease, opacity .16s ease; }
.ip-lightbox-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.ip-lightbox-thumbnail:hover { opacity: 1; }
.ip-lightbox-thumbnail.is-selected { border-color: var(--ip-orange-action); opacity: 1; }
.ip-lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-rows: minmax(0,1fr) auto auto; gap: 10px; padding: 68px 20px 14px; color: white; background: rgba(1,14,25,.97); }
.ip-lightbox[hidden] { display: none; }
.ip-lightbox-main { position: relative; min-height: 0; width: min(100%, 1560px); margin: 0 auto; overflow: hidden; }
.ip-lightbox-stage { position: relative; width: 100%; height: 100%; min-width: 0; min-height: 0; overflow: hidden; }
.ip-lightbox .ip-lightbox-stage > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
.ip-lightbox-nav { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); }
.ip-lightbox-previous { left: 14px; }
.ip-lightbox-next { right: 14px; }
.ip-lightbox-close { position: absolute; z-index: 4; right: 20px; top: 14px; display: grid; place-items: center; width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; color: white; background: rgba(6,38,68,.72); cursor: pointer; }
.ip-lightbox-close:hover { background: var(--ip-orange-action); }
.ip-close-icon { position: relative; width: 17px; height: 17px; }
.ip-close-icon::before, .ip-close-icon::after { content: ""; position: absolute; left: 8px; top: 0; width: 2px; height: 17px; border-radius: 2px; background: currentColor; }
.ip-close-icon::before { transform: rotate(45deg); }
.ip-close-icon::after { transform: rotate(-45deg); }
.ip-lightbox-counter { position: absolute; z-index: 4; left: 22px; top: 28px; margin: 0; font-size: .88rem; font-weight: 800; }
.ip-lightbox-thumbnails { width: min(100%, 1260px); margin: 0 auto; padding: 4px 2px; }
.ip-lightbox-thumbnail { width: 94px; height: 62px; }
.ip-lightbox-caption { max-width: calc(100% - 44px); margin: 0 auto; overflow: hidden; color: rgba(255,255,255,.76); font-size: .8rem; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
body.ip-lightbox-open { overflow: hidden; }
.ip-section-nav { margin-top: 28px; overflow-x: auto; scrollbar-width: thin; }
.ip-section-nav ul { display: flex; min-width: max-content; gap: 7px; margin: 0; padding: 7px; border: 1px solid var(--ip-line); border-radius: 14px; background: white; list-style: none; box-shadow: 0 8px 25px rgba(6,38,68,.06); }
.ip-section-nav a { display: block; padding: 10px 16px; border-radius: 9px; color: var(--ip-ink); font-size: .84rem; font-weight: 800; text-decoration: none; }
.ip-section-nav a:hover { color: white; background: var(--ip-green); }
.ip-property-return { margin-top: 28px; }
.ip-property-return + .ip-gallery { padding-top: 20px; }
.ip-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 325px; gap: 46px; padding: 36px 0 82px; align-items: start; }
.ip-fact-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.ip-fact-strip span { min-width: 118px; padding: 14px 18px; border: 1px solid var(--ip-line); border-radius: 12px; background: white; color: var(--ip-muted); font-size: .8rem; text-transform: capitalize; }
.ip-fact-strip strong { display: block; color: var(--ip-ink); font-size: 1.12rem; }
.ip-content-card { margin-bottom: 24px; padding: 30px; border: 1px solid var(--ip-line); border-radius: var(--ip-radius); background: white; }
.ip-content-card[id] { scroll-margin-top: 20px; }
.ip-content-card h2 { margin: 0 0 20px; font: 600 1.8rem/1.15 Georgia, serif; }
.ip-content-card p { color: #405451; }
.ip-content-card ul { display: grid; gap: 10px; margin: 0; padding-left: 21px; }
.ip-content-card li::marker { color: var(--ip-accent); }
.ip-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin: 0; }
.ip-specs div { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--ip-line); }
.ip-specs dt { color: var(--ip-muted); }
.ip-specs dd { margin: 0; font-weight: 800; text-align: right; }
.ip-specification-card { display: grid; gap: 28px; }
.ip-specification-card > h2 { margin-bottom: -2px; }
.ip-spec-group h3 { margin: 0 0 7px; padding-bottom: 10px; border-bottom: 2px solid var(--ip-ink); font-size: .92rem; letter-spacing: .02em; }
.ip-map-section iframe { display: block; width: 100%; height: 440px; border: 1px solid var(--ip-line); border-radius: 12px; background: var(--ip-green-soft); }
.ip-map-note { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 14px; }
.ip-map-note p { margin: 0; font-size: .86rem; }
.ip-text-link { color: var(--ip-ink); font-size: .86rem; font-weight: 800; text-underline-offset: 4px; white-space: nowrap; }
.ip-document-section { overflow: hidden; }
.ip-document-summary { max-width: 640px; margin: 0 0 20px; }
.ip-document-button { width: fit-content; }
.ip-epc-image { width: min(100%, 620px); max-height: 500px; margin: 0 0 22px; object-fit: contain; object-position: left center; border: 1px solid var(--ip-line); border-radius: 12px; background: white; }
.ip-cta-card { position: sticky; top: 18px; padding: 27px; border-radius: var(--ip-radius); color: white; background: var(--ip-green); box-shadow: var(--ip-shadow); }
.ip-cta-card h2 { margin: 0 0 9px; font: 600 1.65rem/1.15 Georgia, serif; }
.ip-cta-card > p { margin: 0 0 21px; color: rgba(255, 255, 255, .75); }
.ip-cta-card .ip-button { width: 100%; margin-bottom: 10px; }
.ip-cta-card .ip-button-outline { color: white; border-color: rgba(255, 255, 255, .65); }
.ip-cta-card .ip-button-outline:hover { color: var(--ip-ink); background: white; }
.ip-reference { margin: 14px 0 0 !important; font-size: .74rem; text-align: center; }
.ip-legal-information { margin-bottom: 30px; padding: 28px 30px; border: 1px solid var(--ip-line); border-radius: var(--ip-radius); background: #fff; }
.ip-legal-information h2 { margin: 0 0 14px; font: 600 1.35rem/1.15 Georgia, serif; }
.ip-legal-information p { margin: 9px 0; color: #405451; font-size: .82rem; line-height: 1.65; }
.ip-affiliations { margin-bottom: 70px; padding: 24px 30px; border: 1px solid var(--ip-line); border-radius: var(--ip-radius); background: #fff; }
.ip-affiliations img { width: min(100%, 760px); height: auto; margin: 0 auto; }
.ip-detail-error { padding: 80px 0; }

.ip-footer { padding: 45px 0 26px; color: rgba(255, 255, 255, .74); background: var(--ip-ink-deep); }
.ip-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 38px; }
.ip-footer h2 { margin: 0 0 13px; color: white; font: 600 1rem/1.2 Georgia, serif; }
.ip-footer p, .ip-footer address { margin: 13px 0; font-style: normal; font-size: .88rem; }
.ip-footer-links { display: grid; align-content: start; gap: 8px; }
.ip-footer a { color: white; text-underline-offset: 3px; font-size: .86rem; }
.ip-footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .13); font-size: .76rem; }

@media (max-width: 900px) {
  :root { --ip-shell: min(100% - 30px, 760px); }
  .ip-nav { display: none; }
  .ip-search-layout, .ip-detail-layout { grid-template-columns: 1fr; }
  .ip-filters, .ip-cta-card { position: static; }
  .ip-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ip-filter-heading, .ip-alert-card { grid-column: 1 / -1; }
  .ip-results-grid, .ip-loading-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ip-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --ip-shell: calc(100% - 24px); }
  .ip-utility-inner > span, .ip-utility nav a:not([href^="tel:"]) { display: none; }
  .ip-utility-inner { justify-content: flex-end; }
  .ip-header-inner { min-height: 70px; gap: 12px; }
  .ip-brand-mark { width: 40px; height: 40px; }
  .ip-header .ip-button { min-height: 42px; padding: 9px 13px; font-size: .78rem; }
  .ip-search-hero-inner { padding: 46px 0 52px; }
  .ip-search-hero h1 { font-size: 2.7rem; }
  .ip-channel-tabs { width: 100%; }
  .ip-channel-tabs button { flex: 1; }
  .ip-search-area { padding: 25px 0 58px; }
  .ip-fields, .ip-filter-pair, .ip-results-grid, .ip-loading-grid { grid-template-columns: 1fr; }
  .ip-filter-heading, .ip-alert-card { grid-column: auto; }
  .ip-results-toolbar { align-items: end; }
  .ip-results-count span { display: none; }
  .ip-sort { display: grid; gap: 4px; }
  .ip-sort select { min-width: 155px; }
  .ip-card-body { padding: 17px; }
  .ip-detail-title-row { display: block; }
  .ip-detail-price { margin-top: 20px; text-align: left; }
  .ip-property-return .ip-button { width: 100%; }
  .ip-gallery-mosaic { grid-template-columns: 1fr; grid-template-rows: 310px 150px; }
  .ip-gallery-mosaic-count-1 { grid-template-rows: 310px; }
  .ip-gallery-mosaic-count-2 { grid-template-columns: 1fr; grid-template-rows: 310px 150px; }
  .ip-gallery-stage { grid-row: auto; border-radius: 10px; }
  .ip-gallery-side:last-child { display: none; }
  .ip-gallery-previous, .ip-lightbox-previous { left: 9px; }
  .ip-gallery-next, .ip-lightbox-next { right: 9px; }
  .ip-carousel-button { width: 42px; height: 42px; min-width: 42px; min-height: 42px; }
  .ip-lightbox { padding: 62px 8px 10px; }
  .ip-lightbox-close { right: 10px; top: 10px; }
  .ip-lightbox-counter { left: 12px; top: 24px; }
  .ip-lightbox-thumbnail { width: 76px; height: 52px; }
  .ip-lightbox-caption { max-width: calc(100% - 20px); }
  .ip-detail-layout { gap: 20px; padding-top: 25px; }
  .ip-message .ip-button-gap { margin: 10px 0 0; }
  .ip-content-card { padding: 23px; }
  .ip-specs { grid-template-columns: 1fr; }
  .ip-section-nav { width: 100%; padding-inline: 12px; }
  .ip-section-nav ul { border-radius: 11px; }
  .ip-map-section iframe { height: 340px; }
  .ip-map-note { display: block; }
  .ip-map-note .ip-text-link { display: inline-block; margin-top: 4px; }
  .ip-legal-information, .ip-affiliations { padding: 22px; }
  .ip-footer-grid { grid-template-columns: 1fr; }
  .ip-footer-grid > div:nth-child(2), .ip-footer-grid > div:nth-child(3) { display: none; }
  .ip-footer-bottom { display: grid; }
}

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

@media print {
  .ip-utility, .ip-header, .ip-footer, .ip-cta-card, .ip-load-more, .ip-filters, .ip-lightbox-thumbnails, .ip-carousel-button, .ip-section-nav, .ip-map-section { display: none !important; }
  body, .ip-detail-main, .ip-search-area { background: white; }
  .ip-detail-title { color: black; background: white; }
  .ip-detail-title h1 { font-size: 2.4rem; }
  .ip-detail-layout { display: block; }
  .ip-content-card { break-inside: avoid; box-shadow: none; }
}
