/* R97: tipografia e imagem do cartao do empreendimento, com tamanho estavel. */
.commercial-home .mundico-fallback-card > .mundico-card-cover {
  display: block !important;
  width: 100% !important;
  height: 220px !important;
  min-height: 0 !important;
  max-height: 220px !important;
  object-fit: cover !important;
  object-position: center 49% !important;
}
/* A planta aparece uma unica vez na home, como previa horizontal clicavel. */
.commercial-home #planta .mundico-plan-preview {
  display: block;
  max-width: 960px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  cursor: zoom-in;
  text-decoration: none;
}
.commercial-home #planta .mundico-plan-preview > .mundico-plan-thumbnail {
  display: block !important;
  width: 100% !important;
  height: clamp(250px, 38vw, 420px) !important;
  min-height: 0 !important;
  max-height: 420px !important;
  object-fit: cover !important;
  object-position: center 36% !important;
  transition: filter .2s ease;
}
.commercial-home #planta .mundico-plan-preview:hover > .mundico-plan-thumbnail {
  filter: brightness(.94);
}
.commercial-home #planta .mundico-plan-preview:focus-visible {
  outline: 3px solid #0d9e73;
  outline-offset: 4px;
}
/* Visualizador da planta, carregado sob demanda: sem inflar a pagina. */
dialog.mundico-map-dialog {
  position: fixed;
  inset: 0;
  width: min(96vw, 1160px);
  height: min(94dvh, 940px);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  color: #0d3028;
  border: 1px solid #a8c5b8;
  border-radius: 14px;
  background: #f4f7f5;
  box-shadow: 0 20px 70px #001d1552;
}
dialog.mundico-map-dialog::backdrop { background: rgba(2,21,18,.82); }
.mundico-map-toolbar {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 14px;
  background: white;
  border-bottom: 1px solid #d7e4db;
}
.mundico-map-toolbar-title { font: 700 14px/1.3 sans-serif; }
.mundico-map-toolbar-sub {font: 400 11px/1.4 sans-serif; color: #496b5d; }
.mundico-map-toolbar-actions { display: flex; align-items: center; gap: 5px; }
.mundico-map-action {
  appearance: none;
  border: 1px solid #c1d8cc;
  background: #f4faf6;
  color: #0b5840;
  min-width: 42px;
  min-height: 42px;
  border-radius: 8px;
  padding: 5px 10px;
  font: 700 13px/1 sans-serif;
  cursor: pointer;
}
.mundico-map-action:hover { background: #dff2e5; }
.mundico-map-action:focus-visible {outline:3px solid #0f9d70;}
.mundico-map-action-close { background: #0c6048; color: white; border-color:#0c6048; }
.mundico-map-action-close:hover {background:#08412e;}
.mundico-map-viewport {
  width: 100%;
  height: calc(100% - 67px);
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: #e9efeb;
  text-align: center;
}
.mundico-map-viewport img {
  display: block;
  margin: 0 auto;
  width: auto;
  max-width: none !important;
  max-height: none !important;
  height: auto !important;
  user-select: none;
  -webkit-user-drag: none;
}
@media(max-width: 640px) {
  .commercial-home .mundico-fallback-card > .mundico-card-cover {
    height: 180px !important;
    max-height: 180px !important;
  }
  .commercial-home #planta .mundico-plan-preview > .mundico-plan-thumbnail {
    height: 255px !important;
    max-height: 255px !important;
    object-position: center 37% !important;
  }
  dialog.mundico-map-dialog {width: 100vw; height: 100dvh; border-radius: 0; border: none;}
  .mundico-map-toolbar {min-height: 112px; align-content:center; justify-content:center; padding:10px;}
  .mundico-map-toolbar-title, .mundico-map-toolbar-sub {text-align:center;}
  .mundico-map-toolbar-actions {justify-content:center; width:100%;}
  .mundico-map-viewport {height: calc(100% - 113px);}
}
@media (prefers-reduced-motion: reduce) {
  .commercial-home #planta .mundico-plan-preview > .mundico-plan-thumbnail {transition:none;}
}
