/* Listing detail — premium portal layout (scoped) */
.ld-page:has(.ld2) {
  background: #fff;
  overflow-x: clip;
}

.ld2 {
  --ld2-max: 1500px;
  --ld2-pad: 32px;
  --ld2-side: 280px;
  --ld2-gap: 40px;
  --ld2-gallery-h: 420px;
  --ld2-card-radius: 12px;
  --ld2-map-radius: 12px;
  --ld2-img-bg: #fff;
  --ld2-text: #1a1a1a;
  --ld2-muted: #6b7280;
  --ld2-line: #e8e8e8;
  --ld2-bg: #fff;
  --ld2-brand: #c1121f;
  --ld2-radius: 2px;
  color: var(--ld2-text);
  background: var(--ld2-bg);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.ld2-shell {
  max-width: var(--ld2-max);
  margin: 0 auto;
  padding: 0 var(--ld2-pad) 72px;
}

.ld2-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--ld2-side);
  gap: var(--ld2-gap);
  align-items: start;
  width: min(100%, 960px);
  margin: 24px auto 0;
  padding: 0;
}

/* Top navigation */
.ld2-topnav {
  max-width: var(--ld2-max);
  margin: 0 auto;
  padding: 16px var(--ld2-pad) 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}

.ld2-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ld2-text);
  text-decoration: none;
  white-space: nowrap;
}

.ld2-back:hover {
  color: var(--ld2-brand);
}

.ld2-back-arrow {
  font-size: 1rem;
  line-height: 1;
}

/* Breadcrumb */
.ld2-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  font-size: 0.8125rem;
  color: var(--ld2-muted);
}

.ld2-crumbs a {
  color: var(--ld2-muted);
  text-decoration: none;
}

.ld2-crumbs a:hover {
  color: var(--ld2-text);
}

.ld2-crumbs span::before {
  content: "/";
  margin-right: 8px;
  color: #c4c4c4;
}

.ld2-crumbs span:last-child {
  color: var(--ld2-text);
}

/* Hero stack — banner + gallery connected, full content width */
.ld2-hero-stack {
  width: 100%;
  background: #eceff3;
  box-shadow: 0 0 0 100vmax #eceff3;
  clip-path: inset(0 -100vmax);
}

.ld2-agency-bar.is-solo {
  justify-content: center;
  background: #3f3f46;
}

.ld2-agency-bar.is-solo .ld2-agency-name {
  flex: none;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ld2-agency-bar.has-agency {
  background: var(--ld2-agency-color, #3f3f46);
}

.ld2-agency-bar.has-agency .ld2-agency-name {
  flex: 1;
  text-align: center;
  padding-right: 52px;
}

.ld2-agency-bar {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  height: 58px;
  padding: 0 24px;
  border-radius: 0;
  color: #fff;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  background: var(--ld2-agency-color, #3f3f46);
}

.ld2-agency-logo {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  object-fit: contain;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px;
  box-sizing: border-box;
}

.ld2-agency-logo--ph {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.15);
  padding: 0;
}

.ld2-agency-logo--ph svg {
  width: 24px;
  height: 24px;
  opacity: 0.95;
}

.ld2-agency-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

/* Gallery */
.ld2-gallery {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 180px;
  height: var(--ld2-gallery-h);
  gap: 2px;
  overflow: hidden;
  background: #eceff3;
  width: min(100%, 1200px);
  margin: 0 auto;
}

.ld2-gallery--empty {
  display: grid;
  place-items: center;
  min-height: 360px;
  background: #eee;
  border-radius: 0;
}

.ld2-summary {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  padding: 24px 16px 24px 0;
  background: #eceff3;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  overflow: hidden;
}

.ld2-deal {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ld2-muted);
}

.ld2-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.ld2-location {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  color: var(--ld2-muted);
  font-size: 0.875rem;
  line-height: 1.45;
}

.ld2-location svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
}

.ld2-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  color: var(--ld2-text);
  font-size: 0.875rem;
}

.ld2-facts span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ld2-facts svg {
  width: 19px;
  height: 19px;
  color: var(--ld2-muted);
}

.ld2-price {
  margin: auto 0 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ld2-hero-wrap {
  position: relative;
  height: 100%;
  min-width: 0;
  min-height: 0;
  background: var(--ld2-img-bg);
  overflow: hidden;
}

.ld2-hero-btn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: var(--ld2-img-bg);
  cursor: pointer;
  overflow: hidden;
}

.ld2-hero-media {
  position: absolute;
  inset: 0;
  display: block;
}

.ld2-hero-media img,
.ld2-hero-media .ld2-img--cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ld2-hero-btn img {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.ld2-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.ld2-img {
  display: block;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.ld2-img--contain {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.ld2-img--cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ld2-img.is-loaded {
  opacity: 1;
}

.ld2-hero-count {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 5px 11px;
  border-radius: var(--ld2-radius);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  pointer-events: none;
}

.ld2-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 56px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: none;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.8));
  display: grid;
  place-items: center;
}

.ld2-nav svg {
  width: 30px;
  height: 30px;
  stroke-width: 2;
}

.ld2-nav--prev { left: 16px; }
.ld2-nav--next { right: 16px; }

.ld2-thumbs {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 2px;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.ld2-thumb {
  position: relative;
  padding: 0;
  border: 0;
  background: #ebebeb;
  cursor: pointer;
  overflow: hidden;
  border-radius: 0;
  min-height: 0;
  height: 100%;
}

.ld2-thumb-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 4px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}

.ld2-thumb-overlay strong {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

/* Body layout */

.ld2-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.ld2-block h2 {
  margin: 0 0 14px;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ld2-section {
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--ld2-line);
}

.ld2-map-block {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.ld2-enquiry {
  scroll-margin-top: 100px;
  border-top-color: #d1d5db;
  width: min(100%, 960px);
  margin-left: auto;
  margin-right: auto;
  padding: 32px 0;
  background: #f3f4f6;
  box-shadow: 0 0 0 100vmax #f3f4f6;
  clip-path: inset(0 -100vmax);
}

/* Map */
.ld2-map-wrap {
  width: 100%;
  margin: 0 auto;
}

.ld2-map-frame {
  overflow: hidden;
  border-radius: var(--ld2-map-radius);
  background: #f0f0f0;
}

.ld2-map-embed {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}

.ld2-map-empty {
  margin: 0;
  padding: 32px 20px;
  min-height: 200px;
  height: 220px;
  display: grid;
  place-items: center;
  color: var(--ld2-muted);
  font-size: 0.9375rem;
  text-align: center;
}

/* Description */
.ld2-desc {
  color: #374151;
  font-size: 1rem;
  line-height: 1.7;
  white-space: pre-wrap;
}

.ld2-desc p {
  margin: 0;
}

.ld2-read-more {
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: none;
  color: #c1121f;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.ld2-desc.is-collapsed {
  max-height: 200px;
  overflow: hidden;
  mask-image: linear-gradient(#000 70%, transparent);
}

/* Feature icon cards */
.ld2-agency-profile-card {
  display: flex;
  align-items: stretch;
  min-height: 112px;
  overflow: hidden;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: var(--ld2-card-radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 14px rgba(0, 0, 0, 0.04);
}

.ld2-agency-profile-brand {
  display: grid;
  place-items: center;
  width: 132px;
  flex: 0 0 132px;
  background: var(--ld2-agency-color, #3f3f46);
}

.ld2-agency-profile-logo {
  width: 72px;
  height: 72px;
  padding: 6px;
  object-fit: contain;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.96);
}

.ld2-agency-profile-logo--ph {
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.ld2-agency-profile-logo--ph svg {
  width: 30px;
  height: 30px;
}

.ld2-agency-profile-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 24px 28px;
}

.ld2-agency-profile-copy span {
  color: var(--ld2-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ld2-agency-profile-copy h2 {
  margin: 0;
  font-size: 1.125rem;
}

.ld2-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 24px 20px;
}

.ld2-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 0;
}

.ld2-feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--ld2-text);
}

.ld2-feature-svg {
  width: 28px;
  height: 28px;
}

.ld2-feature-label {
  font-size: 0.8125rem;
  color: var(--ld2-muted);
}

.ld2-feature-value {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Mortgage widget */
.ld2-mortgage-hero {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ld2-text);
}

.ld2-mortgage-hero-label {
  margin: 6px 0 24px;
  color: var(--ld2-muted);
  font-size: 0.875rem;
}

.ld2-mortgage-sliders {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ld2-slider-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  font-size: 0.875rem;
}

.ld2-slider-head span {
  color: var(--ld2-muted);
}

.ld2-slider-head output {
  font-weight: 600;
  color: var(--ld2-text);
}

.ld2-slider input[type="range"] {
  width: 100%;
  height: 4px;
  accent-color: #1a1a1a;
  cursor: pointer;
}

.ld2-mortgage-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--ld2-line);
}

.ld2-mortgage-meta div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ld2-mortgage-meta span {
  font-size: 0.8125rem;
  color: var(--ld2-muted);
}

.ld2-mortgage-meta strong {
  font-size: 0.9375rem;
  font-weight: 600;
}

/* Sidebar */
.ld2-sidebar {
  position: sticky;
  top: calc(var(--header-h, 64px) + 16px);
  align-self: start;
  height: max-content;
}

.ld2-sidebar-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--ld2-card-radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 14px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

/* Agency header — top section of the same card (not separate) */
.ld2-sidebar-agency {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 6px 14px;
  margin: 0;
  background: var(--ld2-agency-color, #3f3f46);
  color: #fff;
  border-radius: calc(var(--ld2-card-radius) - 1px) calc(var(--ld2-card-radius) - 1px) 0 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-sizing: border-box;
}

.ld2-sidebar-agency-logo {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: contain;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.96);
  padding: 4px;
  box-sizing: border-box;
}

.ld2-sidebar-agency-logo--ph {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  padding: 0;
}

.ld2-sidebar-agency-logo--ph svg {
  width: 26px;
  height: 26px;
  color: #fff;
}

.ld2-sidebar-agency-name {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.3;
  text-align: center;
  max-width: 100%;
}

.ld2-sidebar-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: #eceff3;
}

.ld2-sidebar-agency-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 18px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

.ld2-sidebar-agency-details strong {
  color: #00447c;
  font-size: 0.875rem;
  line-height: 1.35;
}

.ld2-sidebar-agency-details span {
  color: #4b5563;
  font-size: 0.75rem;
  line-height: 1.4;
}

.ld2-sidebar-agency.is-solo {
  min-height: 52px;
  background: #3f3f46;
}

.ld2-sidebar-card.has-agency .ld2-sidebar-body {
  padding-top: 0;
}

.ld2-agent-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  min-height: 108px;
  padding: 20px 22px;
  text-align: left;
}

.ld2-sidebar-card.has-agency .ld2-agent-head {
  border-bottom: 1px solid #e5e7eb;
}

.ld2-sidebar-card:not(.has-agency) .ld2-sidebar-body {
  padding: 0;
}

.ld2-sidebar-card:not(.has-agency) .ld2-agent-head {
  border-bottom: 1px solid #e5e7eb;
}

.ld2-agent-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.ld2-agent-avatar--init {
  display: grid;
  place-items: center;
  background: #e5e7eb;
  color: #374151;
  font-weight: 700;
  font-size: 1.125rem;
}

.ld2-agent-name {
  display: block;
  color: #00447c;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.3;
}

.ld2-agent-name:hover {
  text-decoration: underline;
}

.ld2-agent-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  color: #4b5563;
  font-size: 0.75rem;
  line-height: 1.35;
}

.ld2-rating-star {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: #f5b700;
}

.ld2-agent-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  color: var(--ld2-muted);
  font-size: 0.8125rem;
}

.ld2-agent-verified svg {
  width: 14px;
  height: 14px;
  color: #059669;
}

.ld2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 50px;
  padding: 0 18px;
  border-radius: var(--ld2-radius);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  text-transform: none;
}

.ld2-btn--cta {
  min-height: 52px;
  border: 1px solid var(--ld2-brand);
  background: var(--ld2-brand);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ld2-btn--cta:hover {
  background: #9b0e19;
  border-color: #9b0e19;
}

.ld2-btn--primary {
  border: 1px solid var(--ld2-text);
  background: var(--ld2-text);
  color: #fff;
}

.ld2-btn--primary:hover {
  background: #333;
  border-color: #333;
}

.ld2-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.ld2 [data-save-id].is-saved svg {
  fill: currentColor;
}

.ld2-save-star {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #f1f3f5;
  color: #6b7280;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.ld2-save-star:hover {
  background: #e2e5e9;
}

.ld2-save-star.is-saved {
  border: 1px solid var(--ld2-brand);
  color: var(--ld2-brand);
}

.ld2-save-star svg {
  width: 20px;
  height: 20px;
}

.ld2-btn--outline {
  border: 1px solid #d1d5db;
  background: #fff;
  color: var(--ld2-text);
}

.ld2-btn--outline:hover {
  border-color: #9ca3af;
  background: #fafafa;
}

.ld2-btn--whatsapp {
  border: 1px solid #16a34a;
  background: #16a34a;
  color: #fff;
}

.ld2-btn--whatsapp:hover {
  border-color: #12823c;
  background: #12823c;
  color: #fff;
}

.ld2-btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.ld2-sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 14px 16px 16px;
  box-sizing: border-box;
}

.ld2-sidebar-actions .ld2-btn {
  border-radius: 8px;
}

.ld2-sidebar-actions .ld2-save-property-button {
  width: 100%;
  min-height: 52px;
  align-self: stretch;
}

.ld2-sidebar-actions .ld2-btn--cta {
  border-color: #ef002f;
  background: #ef002f;
  letter-spacing: 0;
  text-transform: none;
}

.ld2-sidebar-actions .ld2-btn--cta:hover {
  border-color: #d9002b;
  background: #d9002b;
}

/* Enquiry card */
.ld2-enquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(240px, 300px);
  gap: 32px;
  align-items: start;
}

.ld2-enquiry-card {
  max-width: 620px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--ld2-card-radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 14px rgba(0, 0, 0, 0.04);
}

.ld2-agent-copy {
  min-width: 0;
}

.ld2-agent-agency-address {
  display: block;
  margin-bottom: 6px;
  color: var(--ld2-muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.ld2-agent-phone {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-top: 7px;
  padding: 4px 12px;
  border: 1px solid #9ca3af;
  border-radius: 8px;
  color: #1f2937;
  background: #fff;
  font-size: 0.8125rem;
  line-height: 1.3;
  text-decoration: none;
}

a.ld2-agent-phone:hover {
  color: var(--ld2-brand);
  border-color: var(--ld2-brand);
  text-decoration: underline;
}

.ld2-agent-phone.is-unavailable {
  color: var(--ld2-muted);
}

.ld2-enquiry-body {
  padding: 26px;
}

.ld2-enquiry-agency {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 50px;
  padding: 6px 20px;
  color: #fff;
  background: var(--ld2-agency-color, #3f3f46);
}

.ld2-enquiry-agency.is-solo {
  justify-content: center;
  background: #3f3f46;
}

.ld2-enquiry-agency-logo {
  width: 34px;
  height: 34px;
  padding: 3px;
  flex: 0 0 34px;
  object-fit: contain;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.96);
}

.ld2-enquiry-agency-logo--ph {
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.ld2-enquiry-agency-logo--ph svg {
  width: 24px;
  height: 24px;
}

.ld2-enquiry-agency span {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ld2-enquiry-agency-info {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--ld2-card-radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 14px rgba(0, 0, 0, 0.04);
}

.ld2-enquiry-agency-info-brand {
  display: grid;
  place-items: center;
  min-height: 152px;
  padding: 0;
  background: #eef0f3;
  border-bottom: 1px solid #e5e7eb;
}

.ld2-enquiry-agency-info-brand.is-empty {
  min-height: 152px;
}

.ld2-enquiry-agency-info-brand.has-image {
  display: block;
  height: 152px;
  min-height: 0;
  padding: 0;
}

.ld2-enquiry-agency-info-view-ph {
  display: block;
  width: 100%;
  height: 152px;
  background: linear-gradient(180deg, #eef0f3 0%, #e5e7eb 100%);
}

.ld2-enquiry-agency-info-banner {
  display: block;
  width: 100%;
  height: 152px;
  object-fit: cover;
}

.ld2-enquiry-agency-info-brand strong {
  color: #6b7280;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ld2-enquiry-agency-info-logo {
  width: min(82%, 190px);
  height: 92px;
  padding: 6px;
  object-fit: contain;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.96);
}

.ld2-enquiry-agency-info-logo--ph {
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.ld2-enquiry-agency-info-logo--ph svg {
  width: 30px;
  height: 30px;
}

.ld2-enquiry-agency-info-body {
  position: relative;
  padding: 18px;
}

.ld2-enquiry-agency-info-agents {
  display: flex;
  justify-content: center;
  margin: -47px 0 12px;
}

.ld2-enquiry-agency-info-agents .ld2-enquiry-agency-info-agent {
  width: 58px;
  height: 58px;
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14);
}

.ld2-enquiry-agency-info-body h3 {
  margin: 0;
  color: #00447c;
  font-size: 0.9375rem;
  line-height: 1.35;
  text-align: left;
}

.ld2-enquiry-agency-info.is-solo .ld2-enquiry-agency-info-body {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ld2-enquiry-agency-info-agent {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 50%;
  object-fit: cover;
}

.ld2-enquiry-agency-info-agent--init {
  display: grid;
  place-items: center;
  background: #e5e7eb;
  color: #374151;
  font-weight: 700;
}

.ld2-enquiry-agency-info-body p {
  margin: 8px 0 0;
  color: #4b5563;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.ld2-enquiry-agency-description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.ld2-enquiry-card h2 {
  margin: 0 0 18px;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ld2-enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: none;
}

.ld2-enquiry-agent {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e5e7eb;
}

.ld2-enquiry-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.ld2-enquiry-avatar--init {
  display: grid;
  place-items: center;
  background: #e5e7eb;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 700;
}

.ld2-enquiry-agent-name {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #00447c;
  line-height: 1.3;
  text-decoration: none;
}

.ld2-enquiry-agent-name:hover {
  text-decoration: underline;
}

.ld2-enquiry-agent-copy {
  min-width: 0;
}

.ld2-enquiry-agent-phone {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-top: 7px;
  padding: 4px 12px;
  border: 1px solid #9ca3af;
  border-radius: 8px;
  color: #1f2937;
  background: #fff;
  font-size: 0.8125rem;
  line-height: 1.3;
  text-decoration: none;
}

a.ld2-enquiry-agent-phone:hover {
  color: var(--ld2-brand);
  border-color: var(--ld2-brand);
  text-decoration: underline;
}

.ld2-enquiry-agent-phone.is-unavailable {
  color: var(--ld2-muted);
}

.ld2-enquiry-question {
  margin: 0 0 -4px;
  color: var(--ld2-text);
  font-size: 0.9375rem;
  font-weight: 700;
}

.ld2-enquiry-message {
  display: block;
}

.ld2-enquiry-form textarea {
  width: 100%;
  min-height: 140px;
  padding: 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font: inherit;
  font-size: 0.9375rem;
  line-height: 1.55;
  resize: vertical;
  background: #fff;
}

.ld2-enquiry-form textarea:focus {
  outline: none;
  border-color: #9ca3af;
}

.ld2-enquiry-hint {
  margin: -4px 0 2px;
  padding: 11px 13px;
  border-radius: 6px;
  background: #eef8fb;
  color: #315d6c;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.ld2-enquiry-topics {
  margin: 0;
  padding: 0;
  border: 0;
}

.ld2-enquiry-topics-label {
  margin: 0 0 10px;
  padding: 0;
  color: var(--ld2-muted);
  font-size: 0.8125rem;
  font-weight: 600;
}

.ld2-enquiry-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
}

.ld2-enquiry-topic {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--ld2-text);
}

.ld2-enquiry-topic input {
  width: 16px;
  height: 16px;
  accent-color: var(--ld2-brand);
}

.ld2-btn--enquiry {
  width: 100%;
  max-width: none;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ld2-mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--ld2-line);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06);
  gap: 8px;
  grid-template-columns: 1fr 44px;
}

.ld2-mobile-bar a,
.ld2-mobile-bar button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  border: 0;
  border-radius: var(--ld2-radius);
  background: #f5f5f5;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ld2-text);
  cursor: pointer;
}

.ld2-listing-meta {
  display: flex;
  width: min(100%, 960px);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 24px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--ld2-line);
  color: var(--ld2-muted);
  font-size: .75rem;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .ld2-listing-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

.ld2-mobile-bar .ld2-save-star {
  width: 44px;
  height: 44px;
  min-height: 44px;
  border-radius: 6px;
  background: #f1f3f5;
}

.ld2-mobile-bar .ld2-save-star:hover {
  background: #e2e5e9;
}

.ld2-mobile-bar .ld2-save-star.is-saved {
  border: 1px solid var(--ld2-brand);
}

.ld2-mobile-bar a[aria-disabled="true"],
.ld2-mobile-bar button:disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* Lightbox */
.ld2-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.92);
}

.ld2-lightbox[hidden] {
  display: none;
}

.ld2-lightbox img {
  max-width: min(92vw, 1400px);
  max-height: 88vh;
  object-fit: contain;
  background: #111;
}

.ld2-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.ld2-lightbox-nav {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
}

.ld2-lightbox-prev { left: 24px; }
.ld2-lightbox-next { right: 24px; }

.ld2-lightbox-count {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}

body.ld2-lightbox-open {
  overflow: hidden;
}

/* Loading / empty */
.ld2-loading {
  max-width: var(--ld2-max);
  margin: 80px auto;
  padding: 0 32px;
}

.ld2-loading div {
  height: 12px;
  margin-bottom: 10px;
  border-radius: 0;
  background: linear-gradient(90deg, #eee 25%, #f8f8f8 50%, #eee 75%);
  background-size: 200% 100%;
  animation: ld2-shimmer 1.2s infinite;
}

.ld2-loading div:nth-child(1) { width: 40%; }
.ld2-loading div:nth-child(2) { width: 100%; height: 400px; }
.ld2-loading div:nth-child(3) { width: 70%; }

@keyframes ld2-shimmer {
  to { background-position: -200% 0; }
}

@media (max-width: 1200px) {
  .ld2-gallery {
    grid-template-columns: 210px minmax(0, 1fr) 165px;
  }
}

@media (max-width: 1024px) {
  .ld2-gallery {
    grid-template-columns: 190px minmax(0, 1fr) 150px;
    --ld2-gallery-h: 420px;
  }

  .ld2-body {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .ld2-sidebar {
    position: static;
    order: -1;
    width: min(100%, 380px);
  }

  .ld2-enquiry-layout {
    grid-template-columns: minmax(0, 620px);
  }

  .ld2-enquiry-agency-info {
    max-width: 620px;
  }

  .ld2-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }
}

@media (max-width: 720px) {
  .ld2 {
    --ld2-pad: 16px;
  }

  .ld2-topnav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 12px;
  }

  .ld2-crumbs {
    width: 100%;
  }

  .ld2-body {
    padding: 0;
  }

  .ld2-gallery {
    grid-template-columns: 1fr;
    height: auto;
  }

  .ld2-thumbs {
    display: none;
  }

  .ld2-summary {
    order: 2;
    height: auto;
    border-radius: 0;
  }

  .ld2-hero-wrap {
    order: 1;
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 280px;
  }

  .ld2-hero-btn,
  .ld2-hero-media {
    height: 100%;
    min-height: 280px;
  }

  .ld2-hero-media img {
    object-fit: cover;
  }

  .ld2-content {
    gap: 0;
  }

  .ld2-section {
    padding-top: 20px;
    margin-top: 20px;
  }

  .ld2-map-wrap {
    width: 100%;
  }

  .ld2-map-embed,
  .ld2-map-empty {
    height: 220px;
  }

  .ld2-enquiry-card {
    max-width: none;
  }

  .ld2-enquiry {
    padding: 20px 0;
  }

  .ld2-enquiry-body {
    padding: 22px 20px;
  }

  .ld2-enquiry-topic-grid {
    grid-template-columns: 1fr;
  }

  .ld2-agency-profile-brand {
    width: 104px;
    flex-basis: 104px;
  }

  .ld2-agency-profile-copy {
    padding: 20px;
  }

  .ld2-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ld2-mobile-bar {
    display: grid;
  }

  .ld2-shell {
    padding-bottom: 100px;
  }
}
