@charset "UTF-8";

:root {
  --orange: #ff8000;
  --orange-dark: #e56f00;
  --orange-soft: #fff4e8;
  --ink: #252525;
  --muted: #747474;
  --line: #e8e8e8;
  --surface: #ffffff;
  --soft: #f7f8fa;
  --green: #259b69;
  --shadow: 0 5px 18px rgba(35, 35, 35, 0.08);
  --radius: 4px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft JhengHei", "PingFang TC", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
select {
  color: inherit;
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button {
  border: 0;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.35;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(255, 128, 0, 0.32);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 3000;
  padding: 10px 18px;
  color: white;
  background: var(--ink);
  border-radius: 4px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.utility-bar {
  height: 32px;
  color: #666;
  background: #f5f5f5;
  font-size: 12px;
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
}

.service-city,
.utility-links,
.utility-links button {
  display: flex;
  align-items: center;
}

.service-city {
  gap: 4px;
}

.service-city .icon {
  width: 14px;
  height: 14px;
  color: var(--orange);
}

.service-city select {
  padding: 0 14px 0 2px;
  color: #444;
  background: transparent;
  border: 0;
  font-size: 12px;
}

.utility-links {
  align-self: stretch;
  gap: 0;
}

.utility-links button {
  position: relative;
  gap: 5px;
  height: 100%;
  padding: 0 12px;
  color: #555;
  background: transparent;
  font-size: 12px;
}

.utility-links button:hover {
  color: var(--orange);
}

.utility-links button + button::before {
  position: absolute;
  left: 0;
  width: 1px;
  height: 11px;
  background: #ddd;
  content: "";
}

.utility-links .icon {
  width: 14px;
  height: 14px;
}

.utility-links .listing-link {
  color: var(--orange);
}

.utility-favorite span {
  min-width: 17px;
  padding: 0 4px;
  color: var(--orange);
  background: var(--orange-soft);
  border-radius: 9px;
  text-align: center;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 62px;
}

.brand-row > .service-city {
  flex: 0 0 auto;
}

@media (max-width: 1240px) {
  .brand-row > .service-city {
    display: none;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand-logo {
  width: 174px;
  height: 45px;
  object-fit: contain;
}

.brand-fallback {
  display: none;
  align-items: center;
}

.brand.logo-failed .brand-logo {
  display: none;
}

.brand.logo-failed .brand-fallback {
  display: inline-flex;
}

.brand-number {
  position: relative;
  color: var(--orange);
  font-family: Arial Black, Arial, sans-serif;
  font-size: 44px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -4px;
  line-height: 1;
}

.brand-number::after {
  position: absolute;
  top: -7px;
  right: 0;
  width: 20px;
  height: 8px;
  border-top: 3px solid var(--orange);
  border-right: 3px solid var(--orange);
  transform: skewY(-25deg);
  content: "";
}

.brand-name {
  padding-left: 11px;
  border-left: 1px solid #ddd;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.35;
}

.brand-name small {
  display: block;
  margin-top: 3px;
  color: #888;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1.2px;
}

.primary-nav {
  align-self: stretch;
  min-width: 0;
  margin-left: auto;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.nav-inner > a,
.more-nav > summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.nav-inner > a:hover,
.more-nav > summary:hover,
.more-nav[open] > summary {
  color: var(--orange);
}

.nav-inner > a:hover::after {
  position: absolute;
  right: 14px;
  bottom: 0;
  left: 14px;
  height: 3px;
  background: var(--orange);
  content: "";
}

.more-nav {
  position: relative;
  height: 100%;
}

.more-nav summary {
  gap: 4px;
  list-style: none;
}

.more-nav summary::-webkit-details-marker {
  display: none;
}

.more-nav summary .icon {
  width: 14px;
  height: 14px;
}

.more-menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 20;
  min-width: 142px;
  padding: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 0 0 4px 4px;
  box-shadow: var(--shadow);
}

.more-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 3px;
  font-size: 14px;
}

.more-menu a:hover {
  color: var(--orange);
  background: var(--orange-soft);
}

.mobile-nav-actions,
.menu-toggle {
  display: none;
}

.icon-button {
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border-radius: 50%;
}

.icon-button:hover {
  background: #f4f4f4;
}

/* Search */
.search-hero {
  position: relative;
  height: 470px;
  overflow: hidden;
  background-color: #edeef1;
  background-image:
    linear-gradient(rgba(18, 22, 27, 0.48), rgba(18, 22, 27, 0.48)),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1920&q=85");
  background-position: center 54%;
  background-size: cover;
}

.hero-container {
  display: grid;
  height: 100%;
  place-items: center;
}

.section-kicker {
  margin-bottom: 5px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.2px;
}

.search-panel {
  display: grid;
  grid-template-rows: 46px 70px 48px;
  width: 710px;
  max-width: 100%;
  height: 164px;
  margin: 0 auto;
  overflow: hidden;
  background: rgba(39, 39, 39, 0.94);
  border-radius: 4px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.search-tabs {
  display: flex;
  gap: 0;
  min-width: 0;
  height: 46px;
  padding: 0;
  margin: 0;
  overflow-x: auto;
  border: 0;
  scrollbar-width: none;
}

.search-tabs::-webkit-scrollbar {
  display: none;
}

.search-tabs label {
  position: relative;
  flex: 1 0 auto;
  cursor: pointer;
}

.search-tabs input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.search-tabs span {
  display: grid;
  height: 100%;
  padding: 0 11px;
  place-items: center;
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
}

.search-tabs input:checked + span {
  color: white;
  background: var(--orange);
  font-weight: 600;
}

.search-tabs label:hover span {
  background: rgba(255, 255, 255, 0.1);
}

.search-tabs input:checked + span:hover {
  background: var(--orange-dark);
}

.search-tabs input:focus-visible + span {
  outline: 3px solid rgba(255, 128, 0, 0.55);
  outline-offset: -4px;
}

.search-main-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 100px;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
}

.field {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  height: 40px;
  background: white;
  border: 1px solid #fff;
  border-radius: 3px;
}

.field:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px rgba(255, 128, 0, 0.2);
}

.field select,
.field input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 12px;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 14px;
}

.field input::placeholder {
  color: #999;
}

.keyword-field .icon {
  width: 17px;
  height: 17px;
  margin-left: 12px;
  color: #999;
}

.keyword-field input {
  padding-left: 8px;
}

.search-submit,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 22px;
  color: white;
  background: var(--orange);
  border-radius: 3px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.search-submit {
  height: 40px;
  min-height: 40px;
  padding: 0 15px;
}

.search-submit:hover,
.primary-button:hover {
  background: var(--orange-dark);
}

.search-submit:active,
.primary-button:active {
  transform: translateY(1px);
}

.search-quick-row {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 0 20px;
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
}

.search-quick-row a,
.owner-link {
  padding: 0;
  color: #fff;
  background: transparent;
}

.search-quick-row a:hover,
.owner-link:hover {
  color: #ffc27a;
}

.owner-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.owner-link .icon {
  width: 14px;
  height: 14px;
}

.quick-label {
  padding-left: 13px;
  color: #ccc;
  border-left: 1px solid #666;
}

.search-demo-note {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  color: #ccc;
  font-size: 10px;
}

.demo-dot {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  background: var(--orange);
  border-radius: 50%;
}

.search-filter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 13px 15px;
  margin-bottom: 20px;
  background: #f7f7f7;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.filter-field {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #777;
  font-size: 12px;
  white-space: nowrap;
}

.filter-field select {
  max-width: 140px;
  height: 34px;
  padding: 0 8px;
  color: #444;
  background: white;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 12px;
}

.filter-submit {
  height: 34px;
  padding: 0 14px;
  color: white;
  background: #555;
  border-radius: 3px;
  font-size: 12px;
}

.filter-submit:hover {
  background: var(--orange);
}

.filter-demo-note {
  margin-left: auto;
  color: #999;
  font-size: 11px;
}

.footer-cities button {
  padding: 0;
  color: inherit;
  background: transparent;
}

.new-homes-section {
  padding-bottom: 40px;
}

.new-homes-section .section-heading {
  margin-bottom: 15px;
}

.new-homes-section .section-heading h2 {
  font-size: 24px;
}

/* Shared section elements */
.content-section {
  padding-top: 54px;
  padding-bottom: 54px;
}

.content-section.new-homes-section {
  padding-top: 24px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 23px;
}

.section-heading h2 {
  display: inline-block;
  margin: 0 13px 0 0;
  font-size: 27px;
  letter-spacing: 0.5px;
}

.section-heading p:not(.section-kicker) {
  display: inline;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.section-heading .section-kicker {
  display: block;
}

.section-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}

.demo-label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 9px;
  color: #888;
  background: #f3f3f3;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.more-link,
.text-link,
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #666;
  font-size: 14px;
}

.more-link .icon,
.text-link .icon,
.text-button .icon {
  width: 17px;
  height: 17px;
}

.more-link:hover,
.text-link:hover,
.text-button:hover {
  color: var(--orange);
}

.text-button {
  padding: 5px 0;
  background: transparent;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 19px;
  color: var(--orange);
  background: white;
  border: 1px solid var(--orange);
  border-radius: 5px;
  font-weight: 600;
}

.secondary-button:hover {
  color: white;
  background: var(--orange);
}

.primary-button .icon,
.secondary-button .icon {
  width: 17px;
  height: 17px;
}

/* Shortcuts */
.shortcut-section {
  padding-top: 30px;
  padding-bottom: 9px;
}

.compact-heading {
  margin-bottom: 18px;
}

.compact-heading h2 {
  font-size: 20px;
}

.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  padding: 20px 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.035);
}

.shortcut-grid > a {
  display: flex;
  align-items: center;
  flex-direction: column;
  min-width: 0;
  padding: 3px 5px;
  border-right: 1px solid #eee;
  text-align: center;
}

.shortcut-grid > a:last-child {
  border: 0;
}

.shortcut-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  border-radius: 14px;
  place-items: center;
  transition: transform 0.2s;
}

.shortcut-grid a:hover .shortcut-icon {
  transform: translateY(-3px);
}

.shortcut-icon .icon {
  width: 25px;
  height: 25px;
}

.shortcut-icon.orange { color: #ef653e; background: #fff0e9; }
.shortcut-icon.blue { color: #4d85cc; background: #edf4fc; }
.shortcut-icon.green { color: #42a17d; background: #eaf7f1; }
.shortcut-icon.purple { color: #8872c5; background: #f1edfb; }
.shortcut-icon.yellow { color: #d99b31; background: #fff7e5; }
.shortcut-icon.teal { color: #459a9e; background: #eaf7f7; }
.shortcut-icon.brown { color: #a47b54; background: #f7f1eb; }
.shortcut-icon.red { color: #d76565; background: #fceded; }

.shortcut-grid a > span:not(.shortcut-icon) {
  font-size: 15px;
  font-weight: 600;
}

.shortcut-grid small {
  overflow: hidden;
  max-width: 100%;
  margin-top: 2px;
  color: #999;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Property cards */
.property-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.property-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: white;
  border: 1px solid #e7e7e7;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.property-card:hover {
  box-shadow: 0 10px 26px rgba(30, 30, 30, 0.1);
  transform: translateY(-3px);
}

.image-frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #e7e3e0, #f5f2ef);
}

.image-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.15));
  content: "";
  pointer-events: none;
}

.property-image {
  aspect-ratio: 1.5;
}

.property-image img,
.design-feature > img,
.mini-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.property-card:hover .property-image img {
  transform: scale(1.035);
}

.image-frame.image-fallback::before {
  position: absolute;
  inset: 0;
  display: grid;
  color: #a49a94;
  background: linear-gradient(135deg, #eee8e4, #dcd6d2);
  content: "591 範例物件圖片";
  font-size: 13px;
  letter-spacing: 1px;
  place-items: center;
}

.image-frame.image-fallback img {
  visibility: hidden;
}

.card-badges {
  position: absolute;
  top: 11px;
  left: 11px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-width: calc(100% - 60px);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 2px 8px;
  color: white;
  background: rgba(35, 35, 35, 0.72);
  border-radius: 3px;
  font-size: 11px;
  line-height: 1.4;
}

.badge.orange {
  background: var(--orange);
}

.badge.green {
  background: var(--green);
}

.badge.dark {
  background: rgba(30, 30, 30, 0.75);
}

.favorite-button {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 3;
  display: grid;
  width: 35px;
  height: 35px;
  padding: 0;
  color: white;
  background: rgba(20, 20, 20, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  place-items: center;
  transition: background 0.2s, transform 0.2s;
}

.favorite-button:hover {
  background: rgba(255, 128, 0, 0.9);
  transform: scale(1.06);
}

.favorite-button .icon {
  width: 19px;
  height: 19px;
}

.favorite-button[aria-pressed="true"] {
  color: white;
  background: var(--orange);
  border-color: var(--orange);
}

.favorite-button[aria-pressed="true"] .icon {
  fill: currentColor;
}

.property-body {
  padding: 15px 15px 13px;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  margin-bottom: 5px;
  color: #999;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-location .icon {
  width: 13px;
  height: 13px;
}

.property-title-button {
  display: block;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0 0 9px;
  background: transparent;
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-title-button:hover {
  color: var(--orange);
}

.property-details {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 11px;
  color: #666;
  font-size: 12px;
  white-space: nowrap;
}

.property-details span + span::before {
  margin: 0 7px;
  color: #ddd;
  content: "|";
}

.property-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px;
  min-height: 29px;
}

.property-price {
  color: var(--orange);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.price-unit {
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
}

.old-price {
  margin-left: auto;
  color: #aaa;
  font-size: 11px;
  text-decoration: line-through;
}

.property-tags {
  display: flex;
  overflow: hidden;
  gap: 5px;
  margin-top: 12px;
  white-space: nowrap;
}

.property-tags span {
  padding: 2px 6px;
  color: #777;
  background: #f7f7f7;
  border: 1px solid #eee;
  border-radius: 3px;
  font-size: 11px;
}

.property-footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 11px;
  margin-top: 11px;
  color: #999;
  border-top: 1px solid #f0f0f0;
  font-size: 11px;
}

.property-footer span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.soft-section {
  background: var(--soft);
  border-block: 1px solid #f0f0f0;
}

.community-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 25px;
  margin-top: 25px;
  background: white;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
}

.community-icon {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  color: var(--orange);
  background: var(--orange-soft);
  border-radius: 50%;
  place-items: center;
}

.community-icon .icon {
  width: 29px;
  height: 29px;
}

.community-banner h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.community-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.community-banner .secondary-button {
  margin-left: auto;
  white-space: nowrap;
}

/* Search results */
.search-results-section {
  padding-top: 38px;
  padding-bottom: 4px;
}

.results-heading {
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.results-heading p:not(.section-kicker) {
  display: block;
  margin-top: 4px;
}

.empty-state {
  padding: 45px 20px;
  color: var(--muted);
  background: var(--soft);
  border-radius: 8px;
  text-align: center;
}

.empty-state > .icon {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  color: #bbb;
}

.empty-state h3 {
  margin-bottom: 6px;
  color: #555;
  font-size: 19px;
}

.empty-state p {
  margin-bottom: 18px;
}

/* Actual price */
.price-section {
  background: #f5f6f8;
  border-block: 1px solid #eceef0;
}

.price-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
}

.price-records {
  min-width: 0;
  padding: 22px;
  background: white;
  border: 1px solid #e7e7e7;
  border-radius: 8px;
}

.record-search {
  display: flex;
  gap: 9px;
  margin-bottom: 18px;
}

.record-search label {
  flex: 1;
}

.record-search input {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
}

.record-search .primary-button {
  min-height: 44px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
  white-space: nowrap;
}

th {
  padding: 11px 10px;
  color: #888;
  background: #f7f7f7;
  font-size: 12px;
  font-weight: 500;
}

td {
  padding: 13px 10px;
  border-bottom: 1px solid #eee;
}

tbody tr:last-child td {
  border-bottom: 0;
}

td strong,
td small {
  display: block;
}

td strong {
  color: #444;
  font-size: 13px;
  font-weight: 600;
}

td small {
  color: #999;
  font-size: 11px;
}

td:nth-child(3) {
  color: var(--orange);
  font-weight: 600;
}

.record-empty {
  padding: 30px 10px;
  margin: 0;
  color: #888;
  text-align: center;
}

.market-card {
  padding: 28px 25px;
  color: white;
  background: linear-gradient(145deg, #ff8000, #ff5411);
  border-radius: 8px;
}

.market-card-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  color: white;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  place-items: center;
}

.market-card-icon .icon {
  width: 27px;
  height: 27px;
}

.market-card .section-kicker {
  color: rgba(255, 255, 255, 0.7);
}

.market-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.market-card > p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
}

.market-card ul,
.valuation-copy ul {
  padding: 0;
  margin: 22px 0;
  list-style: none;
}

.market-card li,
.valuation-copy li {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 9px 0;
  font-size: 13px;
}

.market-card li .icon,
.valuation-copy li .icon {
  width: 16px;
  height: 16px;
}

.market-card .text-link {
  color: white;
  font-weight: 600;
}

.anchor-target {
  position: absolute;
  top: -160px;
}

.commercial-section {
  position: relative;
}

.commercial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.commercial-grid .property-image {
  aspect-ratio: 1.85;
}

/* Valuation */
.valuation-section {
  position: relative;
  overflow: hidden;
  padding: 52px 0;
  background: linear-gradient(120deg, #fff3ed, #fff9f6);
  border-block: 1px solid #f5e7e0;
}

.valuation-section::before {
  position: absolute;
  top: -120px;
  left: -90px;
  width: 330px;
  height: 330px;
  border: 55px solid rgba(255, 128, 0, 0.04);
  border-radius: 50%;
  content: "";
}

.valuation-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 80px;
}

.valuation-copy h2 {
  margin-bottom: 12px;
  font-size: 31px;
}

.valuation-copy > p:not(.section-kicker):not(.valuation-disclaimer) {
  color: #777;
  font-size: 16px;
}

.valuation-copy ul {
  margin: 19px 0;
}

.valuation-copy li {
  color: #555;
  font-size: 14px;
}

.valuation-copy li .icon {
  color: var(--orange);
}

.valuation-copy .valuation-disclaimer {
  margin: 0;
  color: #a0887e;
  font-size: 11px;
}

.valuation-form {
  padding: 28px;
  background: white;
  border: 1px solid #f0e2dc;
  border-radius: 10px;
  box-shadow: 0 10px 35px rgba(130, 80, 55, 0.08);
}

.valuation-form h3 {
  margin-bottom: 20px;
  font-size: 19px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 19px;
}

.form-grid label {
  position: relative;
  color: #777;
  font-size: 12px;
}

.form-grid input,
.form-grid select {
  width: 100%;
  height: 44px;
  padding: 0 11px;
  margin-top: 5px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.form-grid input {
  padding-right: 32px;
}

.input-unit {
  position: absolute;
  right: 11px;
  bottom: 11px;
  color: #999;
}

.valuation-form > .primary-button {
  width: 100%;
}

.valuation-result {
  display: block;
  padding: 14px;
  margin-top: 16px;
  color: #555;
  background: var(--orange-soft);
  border-radius: 5px;
  font-size: 13px;
  text-align: center;
}

.valuation-result strong {
  display: block;
  margin: 3px 0;
  color: var(--orange);
  font-size: 24px;
}

/* News and design */
.lifestyle-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.editorial-column,
.design-column {
  min-width: 0;
  scroll-margin-top: 170px;
}

.news-list article {
  position: relative;
  padding: 0 0 17px 74px;
  margin-bottom: 17px;
  border-bottom: 1px solid #eee;
}

.news-list article:last-child {
  margin-bottom: 0;
}

.news-category {
  position: absolute;
  top: 2px;
  left: 0;
  padding: 3px 6px;
  color: var(--orange);
  background: var(--orange-soft);
  border-radius: 3px;
  font-size: 10px;
}

.news-list h3 {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 600;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-list p {
  overflow: hidden;
  margin-bottom: 4px;
  color: #888;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-list a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #999;
  font-size: 11px;
}

.news-list a:hover {
  color: var(--orange);
}

.news-list a .icon {
  width: 13px;
  height: 13px;
}

.design-feature {
  height: 330px;
  border-radius: 8px;
}

.design-feature::after {
  background: linear-gradient(0deg, rgba(15, 15, 15, 0.8), transparent 65%);
}

.design-overlay {
  position: absolute;
  right: 25px;
  bottom: 24px;
  left: 25px;
  z-index: 2;
  color: white;
}

.design-overlay > span {
  display: inline-block;
  padding: 2px 7px;
  margin-bottom: 8px;
  color: white;
  background: var(--orange);
  border-radius: 3px;
  font-size: 10px;
}

.design-overlay h3 {
  margin-bottom: 5px;
  font-size: 21px;
}

.design-overlay p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
}

/* App promotion */
.app-section {
  overflow: hidden;
  padding: 50px 0;
  color: white;
  background: #292b2e;
}

.app-layout {
  display: grid;
  grid-template-columns: 270px 1fr 330px;
  align-items: center;
  gap: 55px;
}

.phone-visual {
  align-self: end;
  height: 310px;
}

.phone-shell {
  position: relative;
  width: 210px;
  height: 365px;
  padding: 12px 9px;
  margin: 0 auto;
  background: #111;
  border: 3px solid #4c4e52;
  border-radius: 30px 30px 0 0;
  box-shadow: 0 0 0 2px #111;
}

.phone-speaker {
  position: absolute;
  top: 7px;
  left: 50%;
  z-index: 2;
  width: 48px;
  height: 5px;
  background: #333;
  border-radius: 4px;
  transform: translateX(-50%);
}

.phone-screen {
  height: 100%;
  padding: 21px 10px 10px;
  color: #333;
  background: #f7f7f7;
  border-radius: 19px 19px 0 0;
}

.mini-brand {
  margin-bottom: 13px;
  color: var(--orange);
  font-family: Arial Black, Arial, sans-serif;
  font-size: 23px;
  font-style: italic;
  font-weight: 900;
}

.mini-brand span {
  color: #444;
  font-family: "Microsoft JhengHei", sans-serif;
  font-size: 9px;
  font-style: normal;
}

.mini-search {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px;
  margin-bottom: 10px;
  color: #aaa;
  background: white;
  border: 1px solid #eee;
  border-radius: 4px;
  font-size: 8px;
}

.mini-search .icon {
  width: 10px;
  height: 10px;
}

.mini-photo {
  height: 112px;
  overflow: hidden;
  border-radius: 4px;
}

.mini-lines {
  padding: 9px 1px;
}

.mini-lines i {
  display: block;
  width: 80%;
  height: 5px;
  margin-bottom: 6px;
  background: #ddd;
  border-radius: 3px;
}

.mini-lines i:nth-child(2) { width: 55%; }
.mini-lines i:nth-child(3) { width: 35%; background: #ffad99; }

.mini-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.mini-cards span {
  height: 68px;
  background: #e3e3e3;
  border-radius: 4px;
}

.app-copy .section-kicker {
  color: #ff8b72;
}

.app-copy h2 {
  margin-bottom: 12px;
  font-size: 31px;
}

.app-copy > p:not(.section-kicker) {
  color: #c4c5c7;
  font-size: 15px;
}

.store-badges {
  display: flex;
  gap: 10px;
  margin: 21px 0 10px;
}

.store-badges > span {
  min-width: 135px;
  padding: 7px 14px;
  color: white;
  border: 1px solid #666;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
}

.store-badges small {
  display: block;
  color: #ccc;
  font-size: 8px;
  font-weight: 400;
}

.app-note {
  color: #777;
  font-size: 10px;
}

.line-promo {
  padding: 29px;
  color: #333;
  background: white;
  border-radius: 10px;
}

.line-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  color: white;
  background: #06c755;
  border-radius: 13px;
  place-items: center;
}

.line-icon .icon {
  width: 30px;
  height: 30px;
}

.line-promo h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.line-promo p {
  color: #777;
  font-size: 13px;
}

.line-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  color: #08aa4c;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
}

.line-button .icon {
  width: 16px;
  height: 16px;
}

/* Footer */
.site-footer {
  color: #aaa;
  background: #202123;
}

.footer-main {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 80px;
  padding-top: 48px;
  padding-bottom: 40px;
}

.brand-footer .brand-name {
  color: #eee;
  border-color: #555;
}

.brand-footer .brand-name small {
  color: #777;
}

.footer-brand > p {
  margin: 20px 0 0;
  color: #888;
  font-size: 12px;
}

.footer-brand .footer-demo {
  color: #666;
  font-size: 11px;
  line-height: 1.8;
}

.footer-directory {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.footer-directory h2 {
  margin-bottom: 14px;
  color: #eee;
  font-size: 14px;
  font-weight: 600;
}

.footer-directory a,
.footer-directory button {
  display: block;
  padding: 0;
  margin: 8px 0;
  color: #888;
  background: transparent;
  font-size: 12px;
}

.footer-directory a:hover,
.footer-directory button:hover {
  color: var(--orange);
}

.footer-cities {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 19px;
  padding-bottom: 19px;
  border-top: 1px solid #343538;
  font-size: 12px;
}

.footer-cities strong {
  color: #ddd;
  font-weight: 500;
}

.footer-cities button:hover {
  color: var(--orange);
}

.footer-bottom {
  background: #18191b;
  font-size: 11px;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 48px;
  color: #666;
}

.footer-bottom a {
  margin-left: auto;
  color: #999;
}

.footer-bottom a:hover {
  color: white;
}

/* Fixed app / LINE demo promotion */
body.promo-visible {
  padding-bottom: 95px;
}

.fixed-promo {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1200;
  height: 95px;
  background: white;
  border-top: 1px solid #e5e5e5;
  box-shadow: 0 -3px 14px rgba(0, 0, 0, 0.1);
}

.fixed-promo-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  height: 94px;
}

.promo-visual {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.promo-app-icon,
.promo-line-icon {
  display: grid;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  place-items: center;
}

.promo-app-icon {
  color: white;
  background: var(--orange);
}

.promo-line-icon {
  width: 42px;
  height: 42px;
  margin-left: -8px;
  color: white;
  background: #06c755;
  border: 3px solid white;
  border-radius: 50%;
}

.promo-app-icon .icon {
  width: 27px;
  height: 27px;
}

.promo-line-icon .icon {
  width: 22px;
  height: 22px;
}

.fixed-promo-copy {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  column-gap: 14px;
}

.fixed-promo-copy strong {
  font-size: 19px;
}

.fixed-promo-copy > span {
  color: #555;
  font-size: 14px;
}

.fixed-promo-copy small {
  grid-column: 1 / -1;
  color: #999;
  font-size: 10px;
}

.promo-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 38px;
  padding: 0 17px;
  margin-left: 12px;
  color: white;
  background: var(--orange);
  border-radius: 3px;
  font-size: 13px;
}

.promo-action:hover {
  background: var(--orange-dark);
}

.promo-action .icon {
  width: 16px;
  height: 16px;
}

.promo-dismiss {
  display: flex;
  flex: 0 0 auto;
  margin-left: 8px;
  color: #777;
}

.promo-visible .toast {
  bottom: 115px;
}

/* Dialog and toast */
.info-dialog {
  position: fixed;
  width: min(520px, calc(100% - 32px));
  max-height: min(720px, calc(100vh - 50px));
  padding: 32px;
  overflow: auto;
  color: var(--ink);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}

.info-dialog::backdrop {
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(2px);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
}

.dialog-kicker {
  margin-bottom: 6px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.info-dialog h2 {
  padding-right: 25px;
  margin-bottom: 12px;
  font-size: 25px;
}

.info-dialog p {
  color: #666;
  font-size: 14px;
}

.dialog-notice {
  padding: 13px 15px;
  margin: 18px 0;
  color: #876355 !important;
  background: var(--orange-soft);
  border-radius: 5px;
  font-size: 12px !important;
}

.dialog-detail-image {
  height: 230px;
  margin: 18px -32px 0;
}

.dialog-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dialog-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 16px 0;
  margin: 0;
  border-block: 1px solid var(--line);
}

.dialog-facts div {
  text-align: center;
}

.dialog-facts dt {
  color: #999;
  font-size: 11px;
}

.dialog-facts dd {
  margin: 3px 0 0;
  font-weight: 600;
}

.dialog-action {
  width: 100%;
  margin-top: 18px;
}

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  z-index: 2500;
  max-width: calc(100% - 32px);
  padding: 11px 20px;
  color: white;
  background: rgba(30, 30, 30, 0.92);
  border-radius: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 15px);
  transition: opacity 0.2s, transform 0.2s;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Responsive */
@media (max-width: 1100px) {
  .nav-inner > a,
  .more-nav > summary {
    padding-inline: 12px;
    font-size: 15px;
  }

  .property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .commercial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shortcut-grid {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 22px;
  }

  .shortcut-grid > a:nth-child(4) {
    border-right: 0;
  }

  .app-layout {
    grid-template-columns: 220px 1fr 280px;
    gap: 30px;
  }

  .valuation-layout {
    gap: 45px;
  }
}

@media (max-width: 1000px) {
  html {
    scroll-padding-top: 72px;
  }

  .utility-bar {
    display: none;
  }

  .brand-row {
    height: 62px;
  }

  .brand-logo {
    width: 160px;
    height: 42px;
  }

  .brand-number {
    font-size: 39px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-name small {
    font-size: 8px;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .menu-toggle .close-icon {
    display: none;
  }

  .site-header.nav-open .menu-toggle .menu-icon {
    display: none;
  }

  .site-header.nav-open .menu-toggle .close-icon {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 62px;
    right: 0;
    left: 0;
    display: none;
    overflow-y: auto;
    max-height: calc(100vh - 62px);
    background: white;
    border-top: 1px solid var(--line);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
  }

  .site-header.nav-open .primary-nav {
    display: block;
  }

  .nav-inner {
    display: block;
    width: 100%;
    height: auto;
    padding: 12px 24px 22px;
  }

  .nav-inner > a,
  .more-nav > summary {
    justify-content: flex-start;
    height: 46px;
    padding: 0 8px;
    border-bottom: 1px solid #f1f1f1;
    font-size: 15px;
  }

  .nav-inner > a:hover::after {
    display: none;
  }

  .more-nav {
    height: auto;
  }

  .more-menu {
    position: static;
    padding: 4px 8px;
    border: 0;
    box-shadow: none;
  }

  .more-menu a {
    padding: 8px;
    color: #777;
  }

  .mobile-nav-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 18px;
  }

  .mobile-nav-actions button {
    min-height: 40px;
    color: #666;
    background: #f6f6f6;
    border-radius: 4px;
    font-size: 12px;
  }

  .search-main-row {
    grid-template-columns: 110px minmax(0, 1fr) 92px;
    padding-inline: 16px;
  }

  .search-filter-row {
    gap: 10px 16px;
    padding-inline: 14px;
  }

  .search-quick-row {
    gap: 10px;
    padding-inline: 16px;
  }

  .search-demo-note {
    font-size: 9px;
  }

  .price-layout {
    grid-template-columns: 1fr;
  }

  .market-card {
    display: grid;
    grid-template-columns: 60px 1fr;
    column-gap: 15px;
  }

  .market-card-icon {
    grid-row: 1 / 4;
  }

  .market-card .section-kicker,
  .market-card h3,
  .market-card > p {
    grid-column: 2;
  }

  .market-card ul,
  .market-card .text-link {
    grid-column: 1 / -1;
  }

  .valuation-layout {
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
  }

  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid label:first-child {
    grid-column: 1 / -1;
  }

  .lifestyle-section {
    gap: 25px;
  }

  .app-layout {
    grid-template-columns: 190px 1fr;
  }

  .line-promo {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 65px 1fr auto;
    align-items: center;
    gap: 0 15px;
  }

  .line-icon {
    grid-row: 1 / 3;
    margin: 0;
  }

  .line-promo h3,
  .line-promo p {
    margin: 0;
  }

  .line-button {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

@media (max-width: 680px) {
  .container {
    width: calc(100% - 32px);
  }

  .brand-name small {
    letter-spacing: 0.5px;
  }

  .search-hero {
    height: auto;
    min-height: 470px;
    padding: 24px 0;
  }

  .hero-container {
    height: auto;
    min-height: 422px;
  }

  .search-panel {
    grid-template-rows: 46px auto auto;
    height: auto;
  }

  .search-tabs {
    height: 46px;
    padding: 0;
  }

  .search-tabs label {
    flex: 0 0 auto;
  }

  .search-tabs span {
    padding: 0 12px;
    font-size: 13px;
  }

  .search-main-row {
    grid-template-columns: minmax(0, 1fr) 100px;
    grid-template-rows: 40px 40px;
    gap: 9px;
    padding: 12px 14px;
  }

  .city-field {
    grid-column: 1;
    grid-row: 2;
  }

  .keyword-field {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .search-submit {
    grid-column: 2;
    grid-row: 2;
  }

  .search-quick-row {
    flex-wrap: wrap;
    gap: 7px 12px;
    min-height: 56px;
    padding: 9px 14px;
    font-size: 11px;
  }

  .quick-label {
    display: none;
  }

  .search-demo-note {
    width: 100%;
    margin: 0;
    font-size: 9px;
  }

  .search-filter-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
  }

  .filter-field {
    display: block;
    min-width: 0;
  }

  .filter-field > span {
    display: block;
    margin-bottom: 3px;
    font-size: 11px;
  }

  .filter-field select {
    width: 100%;
    max-width: none;
    padding: 0 6px;
  }

  .filter-submit {
    width: 100%;
  }

  .filter-demo-note {
    margin: 0;
    text-align: right;
  }

  body.promo-visible {
    padding-bottom: 82px;
  }

  .fixed-promo {
    height: 82px;
  }

  .fixed-promo-inner {
    justify-content: flex-start;
    gap: 10px;
    height: 81px;
  }

  .promo-app-icon {
    width: 44px;
    height: 44px;
  }

  .promo-line-icon {
    width: 36px;
    height: 36px;
  }

  .fixed-promo-copy strong {
    font-size: 16px;
  }

  .fixed-promo-copy > span {
    display: none;
  }

  .fixed-promo-copy small {
    font-size: 9px;
    line-height: 1.3;
  }

  .promo-action {
    min-height: 36px;
    padding: 0 11px;
    margin-left: auto;
    font-size: 11px;
  }

  .promo-dismiss {
    width: 34px;
    height: 34px;
    margin-left: 0;
  }

  .promo-visible .toast {
    bottom: 98px;
  }

  .shortcut-section {
    padding-top: 25px;
  }

  .shortcut-grid {
    padding: 18px 5px;
    row-gap: 20px;
  }

  .shortcut-grid > a {
    padding-inline: 2px;
  }

  .shortcut-icon {
    width: 43px;
    height: 43px;
    border-radius: 12px;
  }

  .shortcut-grid a > span:not(.shortcut-icon) {
    font-size: 13px;
  }

  .shortcut-grid small {
    font-size: 9px;
  }

  .content-section {
    padding-top: 39px;
    padding-bottom: 39px;
  }

  .section-heading {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
  }

  .section-heading h2 {
    display: block;
    margin: 0 0 3px;
    font-size: 24px;
  }

  .section-heading p:not(.section-kicker) {
    display: block;
    font-size: 12px;
  }

  .section-actions {
    align-items: flex-end;
    flex-direction: column-reverse;
    gap: 5px;
  }

  .more-link {
    font-size: 12px;
  }

  .property-grid,
  .commercial-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .property-card {
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
  }

  .property-image {
    height: 100%;
    min-height: 215px;
    aspect-ratio: auto;
  }

  .property-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 14px 12px;
  }

  .property-title-button {
    font-size: 15px;
  }

  .property-details {
    flex-wrap: wrap;
    font-size: 11px;
    white-space: normal;
  }

  .property-details span + span::before {
    margin-inline: 4px;
  }

  .property-price {
    font-size: 18px;
  }

  .price-unit {
    font-size: 11px;
  }

  .old-price {
    margin-left: 0;
  }

  .property-tags {
    margin-top: 8px;
  }

  .property-tags span:nth-child(n+3) {
    display: none;
  }

  .property-footer {
    margin-top: 8px;
    padding-top: 8px;
  }

  .property-footer span:last-child {
    display: none;
  }

  .card-badges {
    top: 8px;
    left: 7px;
  }

  .card-badges .badge:not(.orange):not(.green) {
    display: none;
  }

  .favorite-button {
    top: 7px;
    right: 7px;
    width: 31px;
    height: 31px;
  }

  .community-banner {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 13px;
    padding: 18px;
  }

  .community-icon {
    width: 43px;
    height: 43px;
  }

  .community-banner > div:nth-child(2) {
    flex: 1;
  }

  .community-banner h3 {
    font-size: 16px;
  }

  .community-banner .secondary-button {
    width: 100%;
    margin-left: 0;
  }

  .search-results-section {
    padding-top: 30px;
  }

  .price-records {
    padding: 15px;
  }

  table {
    min-width: 600px;
  }

  .market-card {
    display: block;
    padding: 24px;
  }

  .market-card-icon {
    margin-bottom: 15px;
  }

  .valuation-section {
    padding: 39px 0;
  }

  .valuation-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .valuation-copy h2 {
    font-size: 26px;
  }

  .valuation-copy ul {
    display: none;
  }

  .valuation-form {
    padding: 21px 17px;
  }

  .form-grid {
    gap: 10px;
  }

  .lifestyle-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .design-feature {
    height: 280px;
  }

  .app-section {
    padding: 40px 0;
  }

  .app-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .phone-visual {
    display: none;
  }

  .app-copy {
    text-align: center;
  }

  .app-copy h2 {
    font-size: 27px;
  }

  .store-badges {
    justify-content: center;
  }

  .line-promo {
    grid-column: auto;
    grid-template-columns: 52px 1fr;
    padding: 21px;
  }

  .line-icon {
    width: 43px;
    height: 43px;
  }

  .line-promo h3 {
    font-size: 17px;
  }

  .line-promo p {
    font-size: 12px;
  }

  .line-button {
    grid-column: 2;
    grid-row: auto;
    margin-top: 8px;
  }

  .footer-main {
    gap: 30px;
    padding-top: 38px;
  }

  .footer-directory {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .footer-cities {
    gap: 12px 18px;
  }

  .footer-bottom .container {
    flex-wrap: wrap;
    gap: 3px 12px;
    padding-block: 12px;
  }

  .footer-bottom a {
    margin-left: 0;
  }

  .info-dialog {
    padding: 27px 21px;
  }

  .dialog-detail-image {
    height: 200px;
    margin-inline: -21px;
  }

  .desktop-only {
    display: none;
  }
}

@media (max-width: 390px) {
  .brand {
    gap: 7px;
  }

  .brand-name {
    padding-left: 8px;
    font-size: 14px;
  }

  .promo-visual {
    display: none;
  }

  .fixed-promo-inner {
    gap: 8px;
  }

  .promo-action .icon {
    display: none;
  }

  .property-card {
    grid-template-columns: 40% minmax(0, 1fr);
  }

  .property-image {
    min-height: 225px;
  }

  .property-body {
    padding-inline: 10px;
  }

  .property-tags span:nth-child(n+2) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
