@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --ink: #222222;
  --muted: #6a6a6a;
  --brand: #004455;
  --brand-hover: #003845;
  --accent: #00ccff;
  --surface: #ffffff;
  --soft: #f7f7f7;
  --soft-blue: #f3f8f9;
  --line: #e4e4e4;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, .06);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, .09);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Refined property presentation: spacious editorial layout in the PROMACAN theme. */
body:has(main.property) .energy-grade{--energy-grade:#13a85d}
body:has(main.property) .energy-grade:nth-child(2){--energy-grade:#55b849}
body:has(main.property) .energy-grade:nth-child(3){--energy-grade:#bfdc25}
body:has(main.property) .energy-grade:nth-child(4){--energy-grade:#ffe500}
body:has(main.property) .energy-grade:nth-child(5){--energy-grade:#ffb719}
body:has(main.property) .energy-grade:nth-child(6){--energy-grade:#f56b1f}
body:has(main.property) .energy-grade:nth-child(7){--energy-grade:#ef1c2b}
body:has(main.property) .energy-grade.selected{clip-path:none!important;width:calc(100% - 20px)!important;overflow:visible}
body:has(main.property) .energy-grade.selected:before{content:"";position:absolute;right:-20px;top:0;border-top:24px solid transparent;border-bottom:24px solid transparent;border-left:20px solid var(--energy-grade)}
body:has(main.property) .energy-grade.selected:after{left:calc(100% + 34px)!important}
body:has(main.property) .energy-section{padding:30px 0!important}
body:has(main.property) .energy-section h2{margin-bottom:16px!important;font-size:1.25rem!important}
body:has(main.property) .energy-layout{grid-template-columns:minmax(205px,245px) minmax(260px,1fr)!important;gap:64px!important}
body:has(main.property) .energy-scale{max-width:205px!important;gap:3px!important}
body:has(main.property) .energy-grade{height:29px!important;padding:0 10px!important;font-size:.78rem!important;clip-path:polygon(0 0,calc(100% - 12px) 0,100% 50%,calc(100% - 12px) 100%,0 100%)!important}
body:has(main.property) .energy-grade.selected{clip-path:none!important;width:calc(100% - 12px)!important}
body:has(main.property) .energy-grade.selected:before{right:-12px!important;border-top-width:15px!important;border-bottom-width:15px!important;border-left-width:12px!important}
body:has(main.property) .energy-grade.selected:after{left:calc(100% + 20px)!important;width:36px!important;height:29px!important;font-size:.78rem!important;clip-path:polygon(11px 0,100% 0,100% 100%,11px 100%,0 50%)!important}
body:has(main.property) .energy-results{gap:22px!important;padding-left:10px}
body:has(main.property) .energy-result-label{margin-bottom:9px!important;font-size:.78rem!important}
body:has(main.property) .energy-result-value{gap:8px!important;font-size:.92rem!important}
body:has(main.property) .energy-badge{width:30px!important;height:30px!important;border-radius:6px!important;font-size:.84rem!important}
body:has(main.property) .energy-note{margin-top:5px!important;font-size:.78rem!important;line-height:1.45!important;max-width:380px}
@media(max-width:700px){body:has(main.property) .energy-layout{grid-template-columns:1fr!important;gap:32px!important}body:has(main.property) .energy-scale{max-width:205px!important}body:has(main.property) .energy-results{padding-left:0}}
body:has(main.property) .property{padding-top:42px}
body:has(main.property) .back{color:#547076;font-size:.82rem;margin-bottom:34px}
body:has(main.property) .title-row{align-items:flex-end;margin-bottom:30px}
body:has(main.property) .title-row h1{font-size:clamp(2.25rem,4vw,3.55rem);line-height:1.06;letter-spacing:-.05em;font-weight:600}
body:has(main.property) .title-actions{padding-bottom:4px}
body:has(main.property) .icon-button{border:1px solid #dce4e6;border-radius:999px;padding:10px 15px;color:#39545a}
body:has(main.property) .gallery{grid-template-columns:1.55fr .78fr .78fr;grid-template-rows:250px 250px;gap:8px;border-radius:22px!important}
body:has(main.property) .show-all{right:20px;bottom:20px;border-radius:999px!important;padding:10px 16px!important}
body:has(main.property) .content-grid{grid-template-columns:minmax(0,1fr) 370px;gap:82px;padding-top:52px}
body:has(main.property) .summary h2{font-size:1.65rem;letter-spacing:-.025em;font-weight:600}
body:has(main.property) .public-address{font-size:1rem;margin-top:8px}
body:has(main.property) .facts{gap:0;margin:20px 0 30px;padding:17px 0;border-block:1px solid var(--line)}
body:has(main.property) .fact{font-size:.91rem;font-weight:600}
body:has(main.property) .fact+.fact:before{margin:0 14px;color:#9aabad}
body:has(main.property) .verified-owner{padding:22px 24px!important;border:0!important;border-radius:16px;background:#eef6f6}
body:has(main.property) .verified-owner strong{color:#003f4e}
body:has(main.property) .trust-list{gap:10px!important;margin-top:10px}
body:has(main.property) .trust-item{position:relative;padding:18px 8px 18px 48px;border:0;border-radius:0;border-top:1px solid var(--line)}
body:has(main.property) .trust-item:before{left:8px;top:18px;width:28px;height:28px;margin:0}
body:has(main.property) .section,body:has(main.property) .energy-section,body:has(main.property) .purchase-costs{padding:42px 0}
body:has(main.property) .section h2,body:has(main.property) .energy-section h2,body:has(main.property) .purchase-costs h2{font-size:1.55rem!important;letter-spacing:-.025em;font-weight:600}
body:has(main.property) .section p{font-size:1rem;line-height:1.78}
body:has(main.property) .features{grid-template-columns:1fr 1fr;gap:0 30px}
body:has(main.property) .feature{position:relative;padding:13px 0 13px 28px;border-bottom:1px solid var(--line);font-size:.9rem}
body:has(main.property) .feature:before{content:"✓";position:absolute;left:0;top:13px;width:18px;margin:0;color:#00738a;font-weight:800;text-align:center}
body:has(main.property) .market-reassurance span{display:grid;grid-template-columns:14px minmax(0,1fr);gap:8px;align-items:start}
body:has(main.property) .market-reassurance span:before{display:block;width:14px;margin:0;text-align:center}
body:has(main.property) .map{height:390px;border-radius:18px}
body:has(main.property) .action-card{top:112px;border:0;border-radius:20px;padding:30px;background:#f3f7f7;box-shadow:none}
body:has(main.property) .price{font-size:2rem;letter-spacing:-.035em;margin-bottom:25px}
body:has(main.property) .price span{display:block;margin-top:2px;font-size:.74rem;letter-spacing:0}
body:has(main.property) .action-card h2{font-size:1.35rem;letter-spacing:-.02em}
body:has(main.property) .action-card .primary{margin-top:20px;border-radius:999px;padding:14px 18px;background:#004f60}
body:has(main.property) .fine{text-align:left!important;line-height:1.5}
body:has(main.property) .process{padding-top:18px;border-top:1px solid #d8e4e5}
body:has(main.property) .buying-step b,body:has(main.property) .process b{background:#dceced;color:#004455}
body:has(main.property) .cost-row.final{border-radius:14px}
body:has(main.property) .home-footer{margin-top:30px}
@media(max-width:900px){body:has(main.property) .property{padding-top:28px}body:has(main.property) .content-grid{grid-template-columns:1fr;gap:34px}body:has(main.property) .action-card{position:static;max-width:620px}body:has(main.property) .gallery{grid-template-rows:210px 210px}}
@media(max-width:620px){body:has(main.property) .back{margin-bottom:22px}body:has(main.property) .title-row{display:block;margin-bottom:20px}body:has(main.property) .title-row h1{font-size:2.15rem}body:has(main.property) .title-actions{margin-top:18px}body:has(main.property) .gallery{grid-template-rows:330px;border-radius:16px!important}body:has(main.property) .content-grid{padding-top:32px}body:has(main.property) .summary h2{font-size:1.4rem}body:has(main.property) .facts{display:grid;grid-template-columns:repeat(3,1fr);text-align:center}body:has(main.property) .fact+.fact:before{display:none}body:has(main.property) .section,body:has(main.property) .energy-section,body:has(main.property) .purchase-costs{padding:34px 0}body:has(main.property) .features{grid-template-columns:1fr}body:has(main.property) .action-card{padding:24px}body:has(main.property) .map{height:320px}}

.legal-note { background:#f7f9f9; border:1px solid var(--line); border-radius:14px; padding:22px !important; margin-top:8px; }
.legal-note p { font-size:.79rem; line-height:1.6; margin:10px 0; }
.legal-cost { display:flex; justify-content:space-between; gap:20px; padding:12px 0; margin-bottom:12px; border-bottom:1px solid var(--line); }
.legal-cost strong { color:var(--ink); }
@media (max-width:620px) { .legal-cost { display:block; } .legal-cost strong { display:block; margin-top:4px; } }

.client-references { background: #f5f7f7; }
.client-references .section-head { margin-bottom: 24px; }
.reference-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.reference-public-card { display: flex; flex-direction: column; width: 100%; max-width: 360px; min-height: 205px; padding: 21px; border: 1px solid #dfe6e7; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(23,40,45,.045); }
.reference-stars { color: #004455; font-size: .92rem; letter-spacing: .12em; }
.reference-public-card blockquote { margin: 15px 0 19px; color: #31474e; font-family: inherit; font-size: .88rem; font-weight: 400; font-style: normal; line-height: 1.55; }
.reference-person { display: flex; align-items: center; gap: 11px; margin-top: auto; }
.reference-person > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #e7f1f2; color: #004455; font-size: .78rem; font-weight: 800; }
.reference-person strong, .reference-person small { display: block; }
.reference-person strong { font-size: .84rem; }
.reference-person small { margin-top: 2px; color: var(--muted); font-size: .72rem; }
.reference-empty { grid-column: 1/-1; padding: 42px; border: 1px dashed #cbd7d9; border-radius: 18px; background: #fff; text-align: center; }
.reference-empty strong, .reference-empty span { display: block; }
.reference-empty span { margin-top: 5px; color: var(--muted); }
@media (max-width: 900px) { .reference-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .reference-grid { grid-template-columns: 1fr; } .reference-public-card { max-width: none; min-height: 190px; padding: 20px; } }

* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); letter-spacing: -.025em; }
h1 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; }
h2 { font-size: clamp(1.35rem, 2.3vw, 2rem); line-height: 1.18; }
h3 { font-size: 1.05rem; line-height: 1.3; }
p, li { color: var(--muted); }

/* Unified controls */
.btn, .primary, .secondary, .button, button[type="submit"], .account {
  min-height: 44px;
  border-radius: 10px !important;
  padding: 10px 16px;
  font-weight: 600 !important;
  line-height: 1.2;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.btn.primary, .btn-dark, .btn-yellow, .primary, .button, button[type="submit"] {
  background: var(--brand) !important;
  border-color: var(--brand) !important;
  color: #fff !important;
}
.btn.primary:hover, .btn-dark:hover, .btn-yellow:hover, .primary:hover, .button:hover, button[type="submit"]:hover {
  background: var(--brand-hover) !important;
  border-color: var(--brand-hover) !important;
  box-shadow: var(--shadow-sm);
}
.secondary, .btn:not(.primary):not(.btn-dark):not(.btn-yellow), .account {
  background: #fff;
  border: 1px solid var(--line) !important;
  color: var(--ink);
}
.secondary:hover, .btn:not(.primary):not(.btn-dark):not(.btn-yellow):hover, .account:hover {
  border-color: #b7b7b7 !important;
  box-shadow: var(--shadow-sm);
}

.public-nav .account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  background: #fff;
  border: 1px solid #004455 !important;
  color: #17282d !important;
  box-shadow: none;
}

.public-nav .account:hover {
  background: #f3f8f8;
  border-color: #004455 !important;
  color: #17282d !important;
}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(0, 204, 255, .32);
  outline-offset: 2px;
}
input, select, textarea {
  min-height: 46px;
  border: 1px solid #cfcfcf !important;
  border-radius: 10px !important;
  background: #fff;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 3px rgba(0, 68, 85, .09) !important;
  outline: none;
}

/* Public header */
body > header:not(.top) {
  min-height: 76px;
  background: rgba(255, 255, 255, .98) !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: none !important;
}
body > header .nav { min-height: 76px; }
.public-nav { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.public-nav > nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.public-nav > nav a { color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 600; }
.public-nav > nav a:hover { color: var(--brand); }
body > header img.menu-logo,
body > header img.logo,
body > header .wrap > a > img { width: 205px !important; height: auto; }
.navlinks { gap: 28px !important; font-size: .9rem !important; font-weight: 600 !important; }
.navlinks a, .nav-actions a:not(.btn):not(.account) { color: var(--ink); }
.navlinks a:hover { color: var(--brand) !important; }
.nav-actions { gap: 10px !important; }

/* Public content and property cards */
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.hero h1 { font-size: clamp(2.6rem, 4.2vw, 4.1rem) !important; }
.hero p { max-width: 600px; }
.head h1,
.title-row h1 { font-size: clamp(2rem, 3vw, 2.75rem) !important; line-height: 1.08 !important; }
.section-head h2,
.brand-statement h2 { font-size: clamp(1.8rem, 3vw, 2.7rem) !important; }
.trust h2 { font-size: clamp(2rem, 3.6vw, 3.35rem) !important; }
.journey h3 { font-size: 1.75rem !important; }
.hero-photo, .photo, .gallery { border-radius: var(--radius) !important; }
.searchbox, .search {
  border-color: var(--line) !important;
  border-radius: 18px !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .08) !important;
  background: #fff;
}
.searchbox {
  grid-template-columns: 1.15fr 1.25fr .65fr .65fr auto !important;
  align-items: stretch;
  padding: 8px !important;
  gap: 0;
}
.searchbox .field,
.search .field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 6px 16px !important;
}
.searchbox .field label,
.search .field label {
  margin: 0 0 3px !important;
  color: var(--ink);
  font-size: .72rem !important;
  font-weight: 700 !important;
  line-height: 1.2;
}
.searchbox .field input,
.searchbox .field select,
.search .field input,
.search .field select {
  width: 100%;
  min-height: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background-color: transparent !important;
  color: var(--muted);
  font-size: .9rem;
  text-overflow: ellipsis;
}
.searchbox .field select,
.search .field select { padding-right: 18px !important; }
.searchbox input[type="number"],
.search input[type="number"] { appearance: textfield; -moz-appearance: textfield; }
.searchbox input[type="number"]::-webkit-inner-spin-button,
.searchbox input[type="number"]::-webkit-outer-spin-button,
.search input[type="number"]::-webkit-inner-spin-button,
.search input[type="number"]::-webkit-outer-spin-button { margin: 0; appearance: none; }
.searchbox .field input:focus,
.searchbox .field select:focus,
.search .field input:focus,
.search .field select:focus { border: 0 !important; box-shadow: none !important; }
.searchbox > button,
.search > button {
  align-self: stretch;
  min-width: 92px;
  min-height: 58px !important;
  margin: 0;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--brand) !important;
  color: #fff !important;
  font-weight: 700 !important;
}
.searchbox > button:hover,
.search > button:hover { background: var(--brand-hover) !important; }
.chip { border-color: var(--line) !important; font-weight: 500; }
.chip.active { background: var(--ink) !important; border-color: var(--ink) !important; }
.badge { color: var(--ink); box-shadow: var(--shadow-sm); }
.trust, .offer-flow, .journey.seller { background: var(--soft) !important; color: var(--ink) !important; }
.feature, .offer-step, .journey, .action-card, .panel, .stat, .info-card, .threads, .chat {
  border-color: var(--line) !important;
  border-radius: var(--radius) !important;
  background: #fff;
}
.offer-flow p, .journey.seller p { color: var(--muted) !important; }
.action-card { box-shadow: var(--shadow-md) !important; }
.action-card a.primary[href="login.html"],
.action-card a.primary[href^="dashboard.html"] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0 17px;
  background: #fff !important;
  border: 1px solid #004455 !important;
  border-radius: 10px;
  color: #004455 !important;
  line-height: 1.2;
  text-align: center;
  box-shadow: none;
}
.action-card a.primary[href="login.html"]:hover,
.action-card a.primary[href^="dashboard.html"]:hover {
  background: #f3f8f8 !important;
  border-color: #004455 !important;
  color: #004455 !important;
}
.facts .fact, .status, .badge { border-radius: 999px !important; }
footer { border-color: var(--line) !important; background: #fff; }

/* Keep empty-state link buttons optically centered. */
.empty .primary {
  display: inline-flex;
  width: auto;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 0 20px;
  line-height: 1.2;
}

/* Login and registration */
body > header.top {
  height: 76px !important;
  background: #fff;
  border-bottom: 1px solid var(--line) !important;
}
body > header.top img { width: 205px !important; }
body:has(> header.top) > main.wrap {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
body > main.wrap > .card,
.auth-card {
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-md) !important;
}
body:has(> header.top) > main.wrap > .card { margin-inline: auto; }
.heading h1 { font-size: 1.65rem !important; }
.eyebrow { color: var(--brand) !important; }

/* Dashboard and back office */
.shell { background: var(--soft); }
.side {
  background: #fff !important;
  color: var(--ink) !important;
  border-right: 1px solid var(--line) !important;
}
.side-logo, .side > img { border-radius: 14px !important; }
.switcher {
  gap: 6px !important;
  padding: 5px !important;
  background: #e9ecec !important;
  border: 1px solid #dfe3e3;
}
.switcher button {
  color: #4f585b !important;
  font-weight: 600 !important;
}
.switcher button.active {
  background: var(--brand) !important;
  color: #fff !important;
  box-shadow: 0 3px 10px rgba(0, 68, 85, .2) !important;
}
.menu button { color: var(--muted) !important; }
.menu button.active, .menu button:hover {
  background: var(--soft-blue) !important;
  color: var(--brand) !important;
}
.main { max-width: 1440px; width: 100%; }
.top h1 { font-size: clamp(1.8rem, 3vw, 2.35rem) !important; }
.stat, .panel, .info-card, .threads, .chat { box-shadow: 0 1px 2px rgba(0,0,0,.02); }
.seller-stats { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.bubble.mine { background: var(--brand) !important; }
.status.green { background: #eaf6f1 !important; color: #25634e; }
.status.gray { background: #efefef !important; }
.saved-property-list { display: grid; gap: 10px; }
.saved-property-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}
.saved-property-card:hover { border-color: #b9c3c5; box-shadow: var(--shadow-sm); }
.saved-property-card img { width: 96px; height: 72px; border-radius: 10px; object-fit: cover; }
.saved-property-card strong, .saved-property-card small, .saved-property-card b { display: block; }
.saved-property-card small { margin: 3px 0; color: var(--muted); }
.saved-property-card em { color: var(--brand); font-style: normal; font-size: .8rem; font-weight: 700; }
.dashboard-message-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.dashboard-message-card h2 { margin: 0 0 4px; font-size: 1.05rem; }
.dashboard-message-card p { margin: 0; }
.transaction-information { margin-top: 18px; }
.property-actions .btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  line-height: 1.2;
  text-decoration: none;
  vertical-align: middle;
}
.submission-item.update { background: #fffaf0 !important; border-color: #ead8aa !important; }
.submission-item.update i { background: #e3a52b !important; }
.submission-item.update span { color: #8a6517 !important; }
dialog { border-radius: var(--radius-lg) !important; }

/* Text-heavy legal and contact pages */
body > header > .wrap { min-height: 76px; display: flex; align-items: center; }
body > main.wrap:not(#property) { max-width: 860px; }
.identity, .important, .notice, .empty { background: var(--soft-blue) !important; border-color: var(--line) !important; }

@media (max-width: 760px) {
  .wrap { width: min(100% - 28px, 1180px); }
  body > header:not(.top), body > header .nav { min-height: 68px; }
  .public-nav { min-height: 68px; }
  .public-nav > nav a:not(.account) { display: none; }
  body > header img.menu-logo,
  body > header img.logo,
  body > header .wrap > a > img,
  body > header.top img { width: 168px !important; }
  h1 { font-size: 2rem !important; }
  .hero h1 { font-size: 2.45rem !important; }
  .head h1, .title-row h1 { font-size: 2rem !important; }
  .section-head h2, .brand-statement h2, .trust h2 { font-size: 1.85rem !important; }
  .searchbox, .search { grid-template-columns: 1fr !important; padding: 6px !important; }
  .searchbox .field, .search .field {
    min-height: 62px;
    border-right: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    padding: 10px 14px !important;
  }
  .searchbox > button, .search > button { min-height: 50px !important; margin-top: 6px; }
  .main { padding: 20px !important; }
  .panel, .info-card { padding: 18px !important; }
  .seller-stats { grid-template-columns: 1fr !important; }
  .saved-property-card { grid-template-columns: 80px minmax(0, 1fr); }
  .saved-property-card img { width: 80px; height: 64px; }
  .saved-property-card em { display: none; }
  .dashboard-message-card { align-items: flex-start; flex-direction: column; }
}
.hero-panel .searchbox{grid-template-columns:1fr!important}.hero-panel .price-range{grid-column:auto!important;border:0!important;padding:0!important}.hero-panel .price-range>label{margin:0 0 5px 2px}.hero-panel .price-pair{grid-template-columns:1fr 1fr;gap:9px}.hero-panel .price-pair input,.hero-panel .price-pair select{height:42px!important;padding:0 11px!important;border:1px solid var(--line)!important;border-radius:9px!important;background:#fff!important}.hero-panel .price-pair input+input,.hero-panel .price-pair select+select{border-left:1px solid var(--line)!important}
.site-footer{margin-top:72px;padding:56px 0 28px!important;border-top:1px solid #dfe6e7;background:#f1f6f4!important;color:#17282d}.site-footer .footer-grid{display:grid;grid-template-columns:1.45fr repeat(3,minmax(0,1fr));gap:48px}.site-footer .footer-logo{display:block;width:86px;height:auto;margin-bottom:16px}.site-footer .footer-brand p{max-width:270px;margin:0 0 12px;color:#607278;font-size:.84rem;line-height:1.6}.site-footer .footer-tagline{max-width:none!important;font-size:.68rem!important;letter-spacing:.035em;font-weight:700;line-height:1.45}.site-footer .footer-tagline strong,.site-footer .footer-tagline span{display:block}.site-footer .footer-tagline strong{font-size:.82rem;letter-spacing:.08em}.site-footer .footer-contact{color:#004455;font-size:.82rem;font-weight:700}.site-footer .footer-column strong{display:block;margin-bottom:16px;color:#17282d;font-size:.75rem;letter-spacing:.1em;text-transform:uppercase}.site-footer .footer-column a{display:block;width:max-content;max-width:100%;margin:10px 0;color:#52666d;font-size:.84rem;transition:color .2s}.site-footer .footer-column a:hover{color:#004455;text-decoration:underline;text-underline-offset:4px}.site-footer .footer-bottom{display:flex;justify-content:space-between;gap:24px;margin-top:44px;padding-top:22px;border-top:1px solid #d3dcde;color:#718187;font-size:.73rem}@media(max-width:820px){.site-footer .footer-grid{grid-template-columns:1fr 1fr}.site-footer .footer-brand{grid-column:1/-1}.site-footer .footer-bottom{flex-direction:column;gap:7px}}@media(max-width:520px){.site-footer{margin-top:48px;padding:42px 0 24px!important}.site-footer .footer-grid{grid-template-columns:1fr;gap:28px}.site-footer .footer-brand{grid-column:auto}.site-footer .footer-bottom{margin-top:34px}}
.seller-editorial { padding: 38px 0 72px !important; }
.seller-editorial-grid { display: grid; grid-template-columns: 1fr 1.05fr; min-height: 410px; border-radius: 24px; overflow: hidden; background: #f1f6f4; }
.seller-editorial-copy { display: flex; flex-direction: column; justify-content: center; padding: 52px; }
.seller-editorial-copy h2 { font-size: clamp(2.15rem, 4vw, 3.8rem); line-height: 1; margin: 13px 0 20px; letter-spacing: -.05em; }
.seller-editorial-copy h2 em { display: block; color: #004455; font-family: Georgia, serif; font-weight: 400; }
.seller-editorial-copy p { max-width: 510px; margin: 0; color: var(--muted); }
.seller-editorial-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 20px 0 4px; }
.seller-editorial-points span { color: #3f555c; font-size: .78rem; font-weight: 650; }
.seller-editorial-copy .text-link { align-self: flex-start; margin-top: 14px; }
.seller-editorial-copy small { margin-top: 7px; color: #607278; font-size: .72rem; }
.seller-editorial-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 64%; }
@media (max-width: 900px) { .seller-editorial-grid { grid-template-columns: 1fr; } .seller-editorial-image { height: 360px; } }
@media (max-width: 620px) { .seller-editorial { padding: 28px 0 52px !important; } .seller-editorial-copy { padding: 32px 24px; } .seller-editorial-image { height: 280px; } }

.seller-choice { padding: 66px 0 24px !important; }
.seller-choice .section-head { margin-bottom: 28px; }
.seller-choice .section-head p { max-width: 720px; }
.seller-choice-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 12px 34px rgba(23,40,45,.06); }
.seller-choice-table { width: 100%; min-width: 720px; border-collapse: collapse; table-layout: fixed; }
.seller-choice-table th, .seller-choice-table td { padding: 22px 24px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.seller-choice-table tr:last-child th, .seller-choice-table tr:last-child td { border-bottom: 0; }
.seller-choice-table thead th { background: #f1f6f4; }
.seller-choice-table thead th:first-child { width: 26%; }
.seller-choice-table tbody th { color: #31484f; font-size: .84rem; }
.seller-choice-name, .seller-choice-description { display: block; }
.seller-choice-name { color: #173038; font-size: 1.15rem; }
.seller-choice-description { max-width: 330px; margin-top: 7px; color: #607278; font-size: .8rem; font-weight: 400; line-height: 1.5; }
.seller-choice-fee { color: #004455; font-size: 1.05rem; font-weight: 800; }
@media (max-width: 620px) { .seller-choice { padding: 48px 0 16px !important; } .seller-choice-table th, .seller-choice-table td { padding: 18px; } }

/* Keep the complete homepage introduction visible on a standard desktop monitor. */
@media (min-width: 901px) {
  .home-v2 .hero { padding: 8px 0 6px !important; }
  .home-v2 .hero-showcase { min-height: 0 !important; height: clamp(613px, 79vh, 655px); }
  .home-v2 .hero-panel { position: absolute !important; top: 0; left: 0; bottom: 0; display: flex; flex-direction: column; box-sizing: border-box; width: min(495px, calc(100% - 40px)) !important; margin: 20px !important; padding: 24px 26px !important; }
  .home-v2 .hero-panel h1 { font-size: clamp(2.15rem, 3.25vw, 3.15rem) !important; margin: 7px 0 9px !important; }
  .home-v2 .hero-panel > p { max-width: 540px; font-size: .88rem !important; line-height: 1.42; }
  .home-v2 .hero-panel .searchbox { grid-template-columns: 1fr 1fr !important; gap: 9px !important; margin-top: auto !important; padding: 9px !important; border: 1px solid #dce5e7 !important; border-radius: 16px; background: rgba(246,249,249,.96); box-shadow: 0 10px 28px rgba(23,40,45,.08) !important; }
  .home-v2 .hero-panel .field { min-height: 60px !important; padding: 7px 12px !important; border-color: #d8e1e3 !important; border-radius: 11px !important; background: #fff !important; }
  .home-v2 .hero-panel .field label { margin-bottom: 5px; color: #31484f; font-size: .67rem; font-weight: 750; letter-spacing: .025em; }
  .home-v2 .hero-panel select { color: #354b52; font-size: .86rem; }
  .home-v2 .hero-panel .price-range { grid-column: 1 / -1 !important; }
  .home-v2 .hero-panel .price-range { padding: 0 !important; border: 0 !important; background: transparent !important; }
  .home-v2 .hero-panel .price-pair { gap: 8px !important; }
  .home-v2 .hero-panel .price-pair select { height: 60px !important; border-color: #d8e1e3 !important; border-radius: 11px !important; }
  .home-v2 .hero-panel .searchbox .btn { grid-column: 1 / -1 !important; min-height: 54px !important; padding: 0 20px !important; border-radius: 11px !important; box-shadow: 0 9px 20px rgba(0,68,85,.18); font-size: .89rem; }
  .home-v2 .benefit-strip { margin: 9px 0 4px !important; }
  .home-v2 .benefit { grid-template-columns: 40px minmax(0,1fr) !important; gap: 13px !important; min-height: 88px !important; padding: 13px 19px !important; }
  .home-v2 .benefit-icon { width: 40px !important; height: 40px !important; border-radius: 11px; }
  .home-v2 .benefit-icon svg { width: 20px !important; height: 20px !important; }
  .home-v2 .benefit-copy strong { font-size: .86rem !important; line-height: 1.28; }
  .home-v2 .benefit-copy span { margin-top: 4px !important; font-size: .73rem !important; line-height: 1.4 !important; }
}
