#page-pisos {
  position: fixed;
  inset: 0;
  display: none;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  --pisos-plan-ratio: 1.4536;
  --pisos-plan-width: 100%;
  --pisos-nav-strip-approx: calc(8px + 38px + 8px + env(safe-area-inset-bottom, 0px));
  --pisos-info-above-nav: calc(var(--pisos-nav-strip-approx) + 8px);
  --pisos-card-above-nav: calc(var(--pisos-nav-strip-approx) + 34px);
  --pisos-card-land-left: calc(env(safe-area-inset-left, 0px) + 192px);
  --pisos-card-land-right: calc(env(safe-area-inset-right, 0px) + 96px);
}
#page-pisos.page-active {
  display: flex;
}
.pisos-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
#page-pisos.pisos-zoomed .pisos-bg {
  touch-action: none;
}
.pisos-plan-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}
.pisos-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}
.pisos-bg-ov {
  display: none;
}
.pisos-loader {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.18);
  transition: opacity 0.2s ease;
}
#pisosBg.is-loading + .pisos-loader {
  opacity: 1;
}
#page-pisos .pisos-bg.is-loading,
#page-pisos .pisos-bg.plan-locked {
  touch-action: none;
}
.pisos-loader-disc {
  position: relative;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pisos-loader-spin {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.55);
  animation: loaderPulse 1.8s ease-in-out infinite;
}
.pisos-loader-ico {
  width: 38px;
  height: 38px;
  color: #ffffff;
}
@media (prefers-reduced-motion: reduce) {
  .pisos-loader-spin {
    animation: none;
  }
}
.pisos-svg-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  display: none;
  pointer-events: all;
}
.pisos-svg-overlay.visible {
  display: block;
}
.piso-unit {
  fill: transparent;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 0.7;
  cursor: pointer;
  will-change: opacity;
  pointer-events: fill;
  filter: blur(1.6px);
  transition: fill 0.2s, stroke 0.2s;
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) {
  .piso-unit:hover,
  .piso-unit:focus {
    fill: var(--accent-border);
    stroke: var(--accent);
    stroke-width: 1.3;
    outline: none;
  }
}
.piso-unit.active {
  fill: var(--accent-faint2);
  stroke: var(--accent);
  stroke-width: 1.6;
}
.piso-unit.card-hover {
  fill: var(--accent-faint);
  stroke: var(--accent-stroke);
  stroke-width: 1.2;
}
.piso-unit--duplex {
  fill: rgba(180, 190, 200, 0);
  stroke: rgba(180, 190, 200, 0.3);
  stroke-width: 0.7;
}
@media (hover: hover) {
  .piso-unit--duplex:hover,
  .piso-unit--duplex:focus {
    fill: rgba(180, 190, 200, 0.14);
    stroke: rgba(180, 190, 200, 0.95);
  }
}
.piso-unit--duplex.active {
  fill: rgba(180, 190, 200, 0.16);
  stroke: rgba(180, 190, 200, 1);
  stroke-width: 1.6;
}
.piso-unit--available {
  fill: rgba(95, 211, 163, 0);
  stroke: rgba(95, 211, 163, 0.26);
  stroke-width: 0.7;
}
@media (hover: hover) {
  .piso-unit--available:hover,
  .piso-unit--available:focus {
    fill: rgba(95, 211, 163, 0.25);
    stroke: rgba(95, 211, 163, 1);
    stroke-width: 1.4;
    transition-delay: 0.12s;
  }
}
.piso-unit--available.active {
  fill: rgba(95, 211, 163, 0.3);
  stroke: rgba(95, 211, 163, 1);
  stroke-width: 1.6;
}
.piso-unit--available.card-hover {
  fill: rgba(95, 211, 163, 0.12);
  stroke: rgba(95, 211, 163, 0.8);
  stroke-width: 1;
}
.piso-unit--reserved {
  fill: rgba(246, 193, 119, 0);
  stroke: rgba(246, 193, 119, 0.28);
  stroke-width: 0.7;
}
@media (hover: hover) {
  .piso-unit--reserved:hover,
  .piso-unit--reserved:focus {
    fill: rgba(246, 193, 119, 0.25);
    stroke: rgba(246, 193, 119, 1);
    stroke-width: 1.4;
    transition-delay: 0.12s;
  }
}
.piso-unit--reserved.active {
  fill: rgba(246, 193, 119, 0.3);
  stroke: rgba(246, 193, 119, 1);
  stroke-width: 1.6;
}
.piso-unit--reserved.card-hover {
  fill: rgba(246, 193, 119, 0.12);
  stroke: rgba(246, 193, 119, 0.8);
  stroke-width: 1;
}
.piso-unit--sold {
  fill: rgba(229, 115, 115, 0);
  stroke: rgba(229, 115, 115, 0.26);
  stroke-width: 0.7;
}
@media (hover: hover) {
  .piso-unit--sold:hover,
  .piso-unit--sold:focus {
    fill: rgba(229, 115, 115, 0.23);
    stroke: rgba(229, 115, 115, 1);
    stroke-width: 1.4;
    transition-delay: 0.12s;
  }
}
.piso-unit--sold.active {
  fill: rgba(229, 115, 115, 0.28);
  stroke: rgba(229, 115, 115, 1);
  stroke-width: 1.6;
}
.piso-unit--sold.card-hover {
  fill: rgba(229, 115, 115, 0.1);
  stroke: rgba(229, 115, 115, 0.78);
  stroke-width: 1;
}
.piso-unit.blink {
  animation: pisoUnitBlink 1.25s ease-in-out infinite;
}
@keyframes pisoUnitBlink {
  0%, 100% {
    fill-opacity: 0;
    stroke-opacity: 0.2;
    stroke-width: 1;
  }
  50% {
    fill-opacity: 0.42;
    stroke-opacity: 1;
    stroke-width: 2.4;
  }
}
.piso-unit--available.blink {
  fill: rgba(95, 211, 163, 1);
  stroke: rgba(95, 211, 163, 1);
}
.piso-unit--reserved.blink {
  fill: rgba(246, 193, 119, 1);
  stroke: rgba(246, 193, 119, 1);
}
.piso-unit--sold.blink {
  fill: rgba(229, 115, 115, 1);
  stroke: rgba(229, 115, 115, 1);
}
.piso-unit.blink:not(.piso-unit--available):not(.piso-unit--reserved):not(.piso-unit--sold) {
  fill: var(--accent);
  stroke: var(--accent);
}
@media (prefers-reduced-motion: reduce) {
  .piso-unit.blink {
    animation-duration: 2.2s;
  }
}
.piso-unit--available.touch-active {
  fill: rgba(95, 211, 163, 0.21) !important;
  stroke: rgba(95, 211, 163, 1) !important;
}
.piso-unit--reserved.touch-active {
  fill: rgba(246, 193, 119, 0.2) !important;
  stroke: rgba(246, 193, 119, 1) !important;
}
.piso-unit--sold.touch-active {
  fill: rgba(229, 115, 115, 0.15) !important;
  stroke: rgba(229, 115, 115, 1) !important;
}
.piso-unit.touch-active {
  fill: var(--accent-faint2) !important;
  stroke: var(--accent) !important;
}
.piso-label {
  pointer-events: none;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.38));
  transition: filter 0.2s ease;
}
.piso-label-pill {
  fill: #ffffff;
}
.piso-label-dot {
  fill: #9aa0a6;
  transition: fill 0.2s ease;
}
.piso-label[data-status=available] .piso-label-dot {
  fill: var(--estado-ok);
}
.piso-label[data-status=reserved] .piso-label-dot {
  fill: var(--estado-res);
}
.piso-label[data-status=sold] .piso-label-dot {
  fill: var(--estado-sold);
}
.piso-label.is-hovered[data-status=available],
.piso-label.is-active[data-status=available] {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) drop-shadow(0 3px 8px rgba(52, 199, 89, 0.6));
}
.piso-label.is-hovered[data-status=reserved],
.piso-label.is-active[data-status=reserved] {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) drop-shadow(0 3px 8px rgba(242, 169, 59, 0.6));
}
.piso-label.is-hovered[data-status=sold],
.piso-label.is-active[data-status=sold] {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) drop-shadow(0 3px 8px rgba(229, 84, 78, 0.6));
}
.piso-label-num {
  fill: #111111;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-anchor: start;
  dominant-baseline: central;
}
.piso-label-chev {
  opacity: 0;
  transition: opacity 0.55s ease;
  animation: pisoChevFloat 2.2s ease-in-out infinite;
}
.piso-label-chev-ico {
  fill: none;
  stroke: #ffffff;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.piso-label.is-hovered .piso-label-chev {
  opacity: 1;
  transition-delay: 0.12s;
}
.piso-label.is-active .piso-label-chev {
  opacity: 0;
  animation: none;
}
@keyframes pisoChevFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}
.pisos-select-hint {
  display: none;
}
@media (min-width: 761px) {
  .pisos-select-hint {
    display: flex;
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translate(-50%, -12px);
    z-index: 10;
    align-items: center;
    gap: 7px;
    height: 34px;
    box-sizing: border-box;
    padding: 0 16px;
    background: #fff;
    border-radius: 999px;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #2c2c2a;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
    opacity: 0;
    transition: opacity 0.45s ease 0.25s, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
  }
  .pisos-select-hint svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    color: var(--accent);
  }
  .pisos-select-hint.hint-ready {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  .pisos-select-hint.dismissed {
    opacity: 0;
    transform: translate(-50%, -12px);
    transition-delay: 0s;
  }
}
.pisos-top-pills {
  position: fixed;
  top: var(--ui-btn-top);
  right: calc(var(--ui-btn-edge) + (var(--ui-btn-size) + var(--ui-btn-gap)) * 2);
  left: auto;
  z-index: 3300;
  display: flex;
  align-items: center;
  gap: var(--ui-btn-gap);
}
.pisos-toggle {
  --ptog-seg: 44px;
  display: flex;
  align-items: center;
  gap: 0;
  height: var(--ui-btn-size);
  min-height: var(--ui-btn-size);
  z-index: 3300;
  padding: 3px;
  box-sizing: border-box;
  background: color-mix(in srgb, var(--accent-contrast) 80%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22), inset 0 0 0 1px color-mix(in srgb, var(--accent-contrast) 60%, transparent);
}
.pisos-toggle::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: var(--ptog-seg);
  background: var(--accent);
  border-radius: 999px;
  z-index: 0;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.pisos-toggle.is-2d::before {
  transform: translateX(100%);
}
.ptog-btn {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--ptog-seg);
  height: 100%;
  padding: 0;
  color: var(--accent);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.ptog-icon {
  display: block;
  flex-shrink: 0;
  transition: stroke 0.2s;
}
.ptog-btn.active {
  color: var(--accent-contrast);
}
@media (hover: hover) {
  .ptog-btn:not(.active):hover {
    color: var(--accent);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pisos-toggle::before {
    transition: none;
  }
}
@media (orientation: portrait) and (max-width: 1024px) {
  .pisos-toggle {
    --ptog-seg: 40px;
  }
}
@media (max-height: 500px) and (max-width: 1024px) {
  .pisos-toggle {
    --ptog-seg: 40px;
  }
}
@media (max-width: 760px) {
  .piso-nav-btn {
    min-height: 44px;
  }
  .pisos-toggle {
    min-height: var(--ui-btn-size);
  }
}
.piso-info {
  position: fixed;
  bottom: var(--ui-btn-bottom);
  left: 0;
  top: auto;
  right: auto;
  z-index: 3300;
  pointer-events: none;
  background: var(--accent);
  border: 1.5px solid var(--accent-contrast);
  border-left: none;
  border-radius: 0 100px 100px 0;
  padding: 6px 24px 6px 18px;
  box-shadow: 4px 6px 16px rgba(0, 0, 0, 0.28);
  max-width: 240px;
  height: var(--ui-btn-size);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.piso-eyebrow {
  font-family: "DM Sans", sans-serif;
  font-size: 0.44rem;
  letter-spacing: 0.2em;
  color: color-mix(in srgb, var(--accent-contrast) 66%, transparent);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1px;
  white-space: nowrap;
}
.piso-title {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  color: var(--accent-contrast);
  line-height: 1.1;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  word-break: break-word;
}
.piso-desc {
  display: none;
}
.piso-eyebrow,
.piso-title {
  text-shadow: none;
}
@media (max-width: 760px) {
  .piso-title {
    font-size: 0.9rem;
  }
}
@media (max-width: 599px) {
  .piso-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
    white-space: normal;
    word-break: break-word;
  }
}
@media (max-height: 500px) and (max-width: 1024px) {
  .piso-title {
    font-size: 1.3rem;
  }
}
#page-pisos {
  --pisos-rail-w: 122px;
}
.pisos-nav {
  position: absolute;
  top: calc(var(--ui-btn-top) + (var(--ui-btn-size) + var(--ui-btn-gap)) * 2);
  right: var(--ui-btn-edge);
  width: var(--pisos-rail-w);
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 3400;
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none;
  border-radius: 14px;
  padding: 7px 6px;
  max-height: calc(100dvh - var(--ui-btn-top) - (var(--ui-btn-size) + var(--ui-btn-gap)) * 2 - 22px);
  overflow-y: auto;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  transform-origin: right center;
  transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
.pisos-nav::-webkit-scrollbar {
  width: 12px;
}
.pisos-nav::-webkit-scrollbar-button {
  display: none;
}
.pisos-nav::-webkit-scrollbar-button:single-button {
  display: block;
  width: 12px;
  height: 14px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 8px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}
@media (hover: hover) {
  .pisos-nav::-webkit-scrollbar-button:single-button:hover {
    background-color: rgba(0, 0, 0, 0.07);
  }
}
.pisos-nav::-webkit-scrollbar-button:single-button:active {
  background-color: rgba(0, 0, 0, 0.12);
}
.pisos-nav::-webkit-scrollbar-button:vertical:decrement {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 3l3 4H2z' fill='%2316252a'/%3E%3C/svg%3E");
}
.pisos-nav::-webkit-scrollbar-button:vertical:increment {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 7L2 3h6z' fill='%2316252a'/%3E%3C/svg%3E");
}
.pisos-nav::-webkit-scrollbar-track {
  background: transparent;
  margin: 4px 0;
}
.pisos-nav::-webkit-scrollbar-thumb {
  background: var(--accent-border2);
  border-radius: 100px;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: background 0.2s ease;
}
@media (hover: hover) {
  .pisos-nav::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
    background-clip: padding-box;
  }
}
.pisos-nav::-webkit-scrollbar-thumb:active {
  background: var(--accent-strong);
  background-clip: padding-box;
}
.pisos-nav-tab {
  position: fixed;
  top: calc(var(--ui-btn-top) + var(--ui-btn-size) + var(--ui-btn-gap));
  right: var(--ui-btn-edge);
  width: calc(var(--ui-btn-size) * 0.8);
  height: calc(var(--ui-btn-size) * 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 3400;
  background: var(--accent-contrast);
  border: 1.5px solid #fff;
  border-radius: 50%;
  color: var(--accent-contrast-ink);
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
  transition: background 0.2s, transform 0.2s;
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) {
  .pisos-nav-tab:hover {
    background: var(--accent-contrast-hover);
  }
}
.pisos-nav-tab:active {
  transform: scale(0.95);
}
.pisos-nav-tab .pnt-ico {
  width: 18px;
  height: 18px;
}
.pisos-nav-tab .pnt-ico-close {
  display: none;
}
#page-pisos.pisos-nav-collapsed .pisos-nav-tab .pnt-ico-open {
  display: none;
}
#page-pisos.pisos-nav-collapsed .pisos-nav-tab .pnt-ico-close {
  display: block;
}
#page-pisos.pisos-nav-collapsed .pisos-nav {
  opacity: 0;
  transform: translateX(calc(var(--pisos-rail-w) + var(--ui-btn-edge) + 12px));
  pointer-events: none;
}
.piso-nav-btn {
  padding: 9px 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent-contrast-ink);
  background: color-mix(in srgb, var(--accent-contrast) 58%, transparent);
  border: 1px solid transparent;
  box-sizing: border-box;
  border-radius: 9px;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s,
    transform 0.2s,
    border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.piso-nav-btn:not(.active) {
  border-color: color-mix(in srgb, var(--accent) 20%, transparent);
}
.piso-nav-btn.active {
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 500;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.25);
}
@media (hover: hover) {
  .piso-nav-btn:not(.active):hover {
    background: var(--accent-contrast);
    color: var(--accent-contrast-ink);
    border-color: color-mix(in srgb, var(--accent) 28%, transparent);
    transform: translateY(-1px);
  }
}
.piso-nav-btn:not(.active):active {
  transform: translateY(0);
}
.piso-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.piso-coach-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: rgba(0, 0, 0, 0.82);
}
.piso-coach-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.piso-coach-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.piso-coach-line1 {
  font-family: "DM Sans", sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #fff;
  white-space: nowrap;
}
.piso-coach-dismiss {
  font-family: "DM Sans", sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
}
@media (orientation: landscape) {
  .piso-coach-overlay {
    display: none;
  }
}
@media (min-width: 1025px) {
  .piso-coach-overlay {
    display: none;
  }
}
@media (orientation: portrait) and (hover: none) {
  .pisos-nav.nav-swipe-hint {
    animation: navSwipePulse 0.9s ease-out forwards;
  }
}
@media (max-width: 760px) and (orientation: portrait) {
  .pisos-nav.nav-swipe-hint {
    animation: navSwipePulse 0.9s ease-out forwards;
  }
}
.piso-unit-card {
  position: fixed;
  z-index: 3550;
  top: calc(var(--ui-btn-top) + var(--ui-btn-size) + 12px);
  left: var(--ui-btn-edge);
  transform: none;
  width: max-content;
  min-width: 280px;
  max-width: calc(100vw - 48px);
  max-height: calc(100dvh - var(--ui-btn-top) - var(--ui-btn-bottom) - (var(--ui-btn-size) * 4) - var(--ui-btn-gap) - 36px);
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(31, 57, 63, 0.1);
  border-radius: 16px;
  overflow: hidden;
  animation: pisoCardInLeftTop 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  color: #16252a;
  box-sizing: border-box;
  box-shadow: 0 14px 44px rgba(8, 16, 18, 0.3);
}
@keyframes pisoCardInLeftTop {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes pisoCardInUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pisoCardOutDown {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(100%);
  }
}
.piso-unit-card.is-closing {
  animation: pisoCardOutLeftTop 0.3s cubic-bezier(0.4, 0, 1, 1) forwards;
  pointer-events: none;
}
@keyframes pisoCardOutLeftTop {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-24px);
  }
}
.piso-card-img-wrap {
  position: relative;
  width: 100%;
  height: 160px;
  flex-shrink: 1;
  min-height: 0;
  background: #1b2b2f;
  overflow: hidden;
}
.piso-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.12s ease;
}
.piso-card-img-wrap.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      var(--accent) 30%,
      color-mix(in srgb, var(--accent) 80%, #fff) 50%,
      var(--accent) 70%);
  background-size: 200% 100%;
  animation: pisoCardShimmer 1.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pisoCardShimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .piso-card-img-wrap.is-loading::after {
    animation: none;
  }
}
.piso-card-img-fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: rgba(245, 241, 235, 0.45);
}
.piso-card-img-wrap.is-empty {
  height: 64px;
}
.piso-card-img-wrap.is-empty .piso-card-img-fallback {
  display: flex;
}
.piso-unit-card-close {
  position: absolute;
  top: 11px;
  right: 11px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  border: none;
  color: #16252a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}
@media (hover: hover) {
  .piso-unit-card-close:hover {
    background: #ffffff;
  }
}
.piso-card-body {
  display: flex;
  flex-direction: column;
  padding: 12px 16px 14px;
  background: #ffffff;
  min-width: 0;
  flex-shrink: 0;
}
.piso-card-headwrap {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}
.piso-card-band {
  position: absolute;
  left: -16px;
  right: -16px;
  top: -12px;
  height: 66px;
  z-index: 0;
  pointer-events: none;
  border-bottom-right-radius: 16px;
  background:
    linear-gradient(
      180deg,
      rgba(52, 199, 89, 0.34) 0%,
      rgba(52, 199, 89, 0.2) 42%,
      rgba(52, 199, 89, 0) 86%);
}
.piso-card-headtext {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.piso-card-substatus {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 8px;
  margin: 4px 0 0 18px;
}
.piso-card-orient,
.piso-card-area {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.64rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-faint2);
  padding: 3px 8px;
  border-radius: 999px;
  line-height: 1;
}
.piso-card-orient[hidden],
.piso-card-area[hidden] {
  display: none;
}
.piso-card-orient svg,
.piso-card-area svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
.piso-card-area-num {
  font-weight: 600;
}
.piso-card-area-unit {
  margin-left: 2px;
  opacity: 0.75;
}
.piso-card-head {
  display: flex;
  align-items: center;
  gap: 9px;
}
.piso-card-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--estado-ok);
}
.piso-card-title {
  font-family: "DM Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: #16252a;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}
.piso-card-status {
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--estado-ok);
  margin: 0;
}
.piso-card-area[hidden] {
  display: none;
}
.piso-unit-card[data-status=reserved] .piso-card-status-dot {
  background: var(--estado-res);
}
.piso-unit-card[data-status=reserved] .piso-card-status {
  color: color-mix(in srgb, var(--estado-res) 70%, #000);
}
.piso-unit-card[data-status=sold] .piso-card-status-dot {
  background: var(--estado-sold);
}
.piso-unit-card[data-status=sold] .piso-card-status {
  color: var(--estado-sold);
}
.piso-unit-card[data-status=reserved] .piso-card-band {
  background:
    linear-gradient(
      180deg,
      rgba(242, 169, 59, 0.34) 0%,
      rgba(242, 169, 59, 0.2) 42%,
      rgba(242, 169, 59, 0) 86%);
}
.piso-unit-card[data-status=sold] .piso-card-band {
  background:
    linear-gradient(
      180deg,
      rgba(229, 84, 78, 0.34) 0%,
      rgba(229, 84, 78, 0.2) 42%,
      rgba(229, 84, 78, 0) 86%);
}
.piso-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 9px 0 7px;
  padding: 10px;
  border: none;
  border-radius: 11px;
  background: var(--accent);
  color: #ffffff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}
.piso-card-cta svg {
  flex-shrink: 0;
  transition: transform 0.18s ease;
}
@media (hover: hover) {
  .piso-card-cta:hover {
    background: var(--accent-strong);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
  }
}
@media (hover: hover) {
  .piso-card-cta:hover svg {
    transform: scale(1.12);
  }
}
.piso-card-cta:active {
  transform: translateY(0);
  box-shadow: none;
}
.piso-card-seg {
  display: flex;
  gap: 8px;
}
.piso-card-seg-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 6px;
  border: 1px solid #c7c7c7;
  border-radius: 11px;
  background: #ffffff;
  color: #111111;
  font-family: "DM Sans", sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}
.piso-card-seg-btn svg {
  flex-shrink: 0;
  transition: transform 0.18s ease;
}
@media (hover: hover) {
  .piso-card-seg-btn:hover {
    background: #f7f7f7;
    border-color: #9a9a9a;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  }
}
@media (hover: hover) {
  .piso-card-seg-btn:hover svg {
    transform: scale(1.12);
  }
}
.piso-card-seg-btn:active {
  transform: translateY(0);
  box-shadow: none;
}
.piso-card-cta.piso-card-cta-similars {
  background: #111111;
  color: #ffffff;
}
@media (hover: hover) {
  .piso-card-cta.piso-card-cta-similars:hover {
    background: #000000;
  }
}
.piso-card-similars {
  display: none;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}
#pisoUnitCard.show-similars .piso-card-img-wrap,
#pisoUnitCard.show-similars .piso-card-body {
  display: none;
}
#pisoUnitCard.show-similars .piso-card-similars {
  display: flex;
}
.pcs-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 0.5px solid rgba(17, 17, 17, 0.08);
  flex: 0 0 auto;
}
.pcs-back {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f0f0ee;
  border: none;
  color: #16252a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
  transition: background 0.15s;
}
@media (hover: hover) {
  .pcs-back:hover {
    background: #e6e6e2;
  }
}
.pcs-title {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #16252a;
  line-height: 1.1;
}
.pcs-sub {
  font-size: 12px;
  color: #6b6b6b;
  margin-top: 2px;
}
.pcs-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
}
.pcs-list::-webkit-scrollbar {
  width: 12px;
}
.pcs-list::-webkit-scrollbar-button {
  display: none;
}
.pcs-list::-webkit-scrollbar-button:single-button {
  display: block;
  width: 12px;
  height: 14px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 8px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}
@media (hover: hover) {
  .pcs-list::-webkit-scrollbar-button:single-button:hover {
    background-color: rgba(0, 0, 0, 0.07);
  }
}
.pcs-list::-webkit-scrollbar-button:single-button:active {
  background-color: rgba(0, 0, 0, 0.12);
}
.pcs-list::-webkit-scrollbar-button:vertical:decrement {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 3l3 4H2z' fill='%2316252a'/%3E%3C/svg%3E");
}
.pcs-list::-webkit-scrollbar-button:vertical:increment {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 7L2 3h6z' fill='%2316252a'/%3E%3C/svg%3E");
}
.pcs-list::-webkit-scrollbar-track {
  background: transparent;
  margin: 4px 0;
}
.pcs-list::-webkit-scrollbar-thumb {
  background: var(--accent-border2);
  border-radius: 100px;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: background 0.2s ease;
}
@media (hover: hover) {
  .pcs-list::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
    background-clip: padding-box;
  }
}
.pcs-list::-webkit-scrollbar-thumb:active {
  background: var(--accent-strong);
  background-clip: padding-box;
}
.pcs-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px;
  border: 0.5px solid rgba(17, 17, 17, 0.1);
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  text-align: left;
  font-family: "DM Sans", sans-serif;
  transition: border-color 0.15s, background 0.15s;
}
@media (hover: hover) {
  .pcs-row:hover {
    border-color: #9a9a9a;
    background: #fafafa;
  }
}
.pcs-row-thumb {
  width: 48px;
  height: 48px;
  border-radius: 9px;
  background: #1b2b2f;
  object-fit: cover;
  flex: 0 0 auto;
}
.pcs-row-main {
  flex: 1;
  min-width: 0;
}
.pcs-row-title {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #16252a;
}
.pcs-row-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  flex-wrap: wrap;
}
.pcs-row-disp {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--estado-ok);
}
.pcs-row-disp::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--estado-ok);
}
.pcs-row-dims {
  font-size: 12px;
  color: #6b6b6b;
}
.pcs-row-tag {
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-faint2);
  padding: 2px 6px;
  border-radius: 999px;
}
.pcs-row-chev {
  color: #9a9a9a;
  flex: 0 0 auto;
}
.pcs-empty {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 9px;
  padding: 30px 24px;
}
.pcs-empty[hidden] {
  display: none;
}
.pcs-empty-ico {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f0f0ee;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9a9a9a;
}
.pcs-empty-title {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #16252a;
  max-width: 240px;
}
.pcs-empty-sub {
  font-size: 12px;
  color: #6b6b6b;
}
.pcs-empty-cta {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 11px;
  background: var(--accent-contrast);
  color: var(--accent-contrast-ink);
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
@media (max-width: 767.98px) and (orientation: portrait) and (hover: none), (max-width: 767.98px) and (orientation: portrait) and (pointer: coarse), (max-width: 760px) and (orientation: portrait) {
  .piso-unit-card {
    position: fixed;
    width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    transform: none;
    max-height: calc(100dvh - 180px);
    overflow-y: auto;
    z-index: 3600;
    border: none;
    border-top: 0.5px solid rgba(17, 17, 17, 0.18);
    border-radius: 16px 16px 0 0;
    animation: pisoCardInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .piso-card-img-wrap {
    display: none;
  }
  .piso-card-cta {
    margin: 7px 0 6px;
    padding: 8px;
  }
  .piso-card-seg-btn {
    padding: 8px 6px;
  }
  .piso-unit-card.is-closing {
    animation: pisoCardOutDown 0.28s cubic-bezier(0.4, 0, 1, 1) forwards;
  }
}
@media (max-height: 500px) and (max-width: 1024px) {
  .piso-unit-card {
    margin-bottom: env(safe-area-inset-bottom);
  }
}
@media (max-width: 760px) and (orientation: landscape) {
  .piso-unit-card {
    position: fixed;
    top: auto;
    bottom: 0;
    left: var(--pisos-card-land-left);
    right: var(--pisos-card-land-right);
    width: auto;
    max-width: none;
    transform: none;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    z-index: 3600;
    border: none;
    border-top: 0.5px solid rgba(17, 17, 17, 0.18);
    border-radius: 16px 16px 0 0;
    animation: pisoCardInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .piso-unit-card.is-closing {
    animation: pisoCardOutDown 0.28s cubic-bezier(0.4, 0, 1, 1) forwards;
  }
  .piso-card-img-wrap {
    display: none;
  }
  .piso-card-cta {
    margin: 7px 0 6px;
    padding: 8px;
  }
  .piso-card-seg-btn {
    padding: 8px 6px;
  }
}
@media (pointer: coarse) {
  .piso-card-cta:hover {
    transform: none;
  }
}
@media (min-width: 761px) and (max-height: 480px) {
  .piso-card-body {
    padding: 8px 16px 9px;
  }
  .piso-card-band {
    height: 54px;
  }
  .piso-card-headwrap {
    margin-bottom: 2px;
  }
  .piso-card-title {
    font-size: 1.12rem;
  }
  .piso-card-cta {
    margin: 5px 0;
    padding: 7px;
    font-size: 0.74rem;
  }
  .piso-card-seg-btn {
    padding: 7px 6px;
    font-size: 0.72rem;
  }
}
.piso-unit.card-hover {
  fill: var(--accent-faint2) !important;
  stroke: var(--accent) !important;
  filter: none;
}
.unit-card.poly-hover {
  outline: 1.5px solid #111;
  transition: outline 0.12s ease;
}
@media (orientation: portrait) and (hover: none), (orientation: portrait) and (pointer: coarse), (orientation: portrait) and (max-width: 1024px) {
  #page-pisos {
    --pisos-plan-width: calc(100dvh * var(--pisos-plan-ratio));
  }
  #page-pisos .pisos-bg {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    height: 100%;
  }
  #page-pisos .pisos-bg::-webkit-scrollbar {
    display: none;
  }
  #page-pisos .pisos-plan-wrap {
    min-width: var(--pisos-plan-width);
    width: var(--pisos-plan-width);
    max-width: none;
    height: 100%;
    min-height: 100%;
    flex: 0 0 auto;
    position: relative;
  }
  #page-pisos .pisos-bg-img {
    object-fit: fill;
    object-position: center center;
    width: 100%;
    height: 100%;
  }
  #page-pisos .pisos-svg-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  #page-pisos .pisos-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    transform: none;
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    max-height: none;
    border-radius: 0;
    border: none;
    border-top: 0.5px solid rgba(0, 0, 0, 0.1);
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
    gap: 4px;
    background: rgba(232, 232, 228, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    justify-content: flex-start;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
    z-index: 3400;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  #page-pisos .pisos-nav::-webkit-scrollbar {
    display: none;
  }
  #page-pisos .pisos-nav-tab {
    display: none;
  }
  #page-pisos.pisos-nav-collapsed .pisos-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  #page-pisos .piso-nav-btn {
    flex-shrink: 0;
    min-width: auto;
    padding: 9px 16px;
    font-size: 0.6rem;
    min-height: 38px;
    font-weight: 500;
    color: var(--accent-contrast-ink);
    background: color-mix(in srgb, var(--accent-contrast) 58%, transparent);
  }
  #page-pisos .piso-nav-btn.active {
    background: var(--accent-strong);
    color: var(--accent-contrast);
  }
  #page-pisos .piso-info {
    position: fixed;
    bottom: var(--pisos-info-above-nav);
    top: auto;
    left: 0;
    right: auto;
    max-width: calc(100vw - 64px);
    height: var(--ui-btn-size);
    transform: none;
    z-index: 3500;
  }
}
@media (max-width: 760px) and (orientation: portrait) {
  #page-pisos .piso-unit-card {
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: calc(100dvh - 96px) !important;
    overflow-y: auto !important;
    border-radius: 16px 16px 0 0 !important;
    z-index: 3600 !important;
  }
}
@media (max-height: 500px) and (max-width: 1024px) and (orientation: landscape) {
  #page-pisos .piso-info {
    position: fixed;
    top: auto;
    bottom: var(--ui-btn-bottom);
    left: 0;
    right: auto;
    max-width: 180px;
    height: auto;
    transform: none;
    z-index: 3300;
  }
  #page-pisos .pisos-nav-tab {
    display: flex;
  }
  #page-pisos.pisos-nav-collapsed .pisos-nav {
    opacity: 0;
    pointer-events: none;
    transform: translateX(calc(100% + var(--ui-btn-edge) + 12px));
  }
  #page-pisos .pisos-nav {
    position: fixed;
    right: calc(env(safe-area-inset-right, 0px) + 8px);
    top: calc(var(--ui-btn-top) + (var(--ui-btn-size) + var(--ui-btn-gap)) * 2);
    bottom: 8px;
    left: auto;
    transform: none;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100dvh - var(--ui-btn-top) - (var(--ui-btn-size) + var(--ui-btn-gap)) * 2 - 16px);
    width: auto;
    gap: 2px;
    border: 0.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    padding: 5px 4px;
    background: rgba(250, 250, 248, 0.97);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    z-index: 3400;
  }
  #page-pisos .piso-nav-btn {
    color: var(--accent-contrast-ink);
    background: color-mix(in srgb, var(--accent-contrast) 58%, transparent);
    padding: 3px 10px;
    font-size: 0.5rem;
    min-width: 38px;
    min-height: 28px;
    font-weight: 500;
  }
  #page-pisos .piso-nav-btn.active {
    background: var(--accent-strong);
    color: var(--accent-contrast);
  }
}
@media (max-height: 500px) and (max-width: 1024px) and (orientation: landscape) {
  #page-pisos .piso-unit-card {
    position: fixed;
    top: auto;
    bottom: 0;
    left: var(--pisos-card-land-left);
    right: var(--pisos-card-land-right);
    width: auto;
    max-width: none;
    margin: 0;
    transform: none;
    max-height: calc(100dvh - 44px);
    overflow-y: auto;
    overflow-x: hidden;
    flex-direction: column;
    z-index: 3600;
    border: none;
    border-top: 0.5px solid rgba(17, 17, 17, 0.18);
    border-radius: 16px 16px 0 0;
    animation: pisoCardInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  #page-pisos .piso-card-img-wrap {
    display: none;
  }
  #page-pisos .piso-unit-card.is-closing {
    animation: pisoCardOutDown 0.28s cubic-bezier(0.4, 0, 1, 1) forwards;
  }
}
.pisos-zoom-ctrl {
  position: fixed;
  bottom: calc(var(--ui-btn-bottom) + var(--ui-btn-size) + 12px);
  left: var(--ui-btn-edge);
  z-index: 3300;
  display: flex;
  flex-direction: column;
  gap: var(--ui-btn-gap);
  background: none;
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}
.pisos-zoom-btn {
  width: var(--ui-btn-size);
  height: var(--ui-btn-size);
  border-radius: 50%;
  border: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.pisos-zoom-btn svg {
  width: 24px;
  height: 24px;
}
.pisos-zoom-btn:active {
  transform: scale(0.94);
}
.pisos-zoom-btn:disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}
#pzIn {
  background: var(--accent);
  color: var(--on-accent);
}
#pzOut {
  background: var(--accent-contrast);
  color: var(--accent-contrast-ink);
}
#pzReset {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  background: var(--accent-contrast);
  color: var(--accent-contrast-ink);
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    background 0.15s ease;
}
.pisos-zoom-ctrl.pisos-has-zoom #pzReset {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.pisos-zoom-ctrl.pisos-has-zoom #pzReset:active {
  transform: scale(0.94);
}
@media (hover: hover) {
  #pzIn:hover {
    background: var(--accent-strong);
  }
  #pzOut:hover {
    background: var(--accent-contrast-hover);
  }
  #pzReset:hover {
    background: var(--accent-contrast-hover);
  }
}
.pisos-minimap {
  position: fixed;
  top: calc(var(--ui-btn-top) + var(--ui-btn-size) + 12px);
  left: var(--ui-btn-edge);
  bottom: auto;
  right: auto;
  width: 132px;
  z-index: 3300;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.pisos-minimap.is-zoomed {
  opacity: 1;
  transform: translateX(0);
}
.pisos-minimap-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  border: 1.5px solid #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}
.pisos-minimap-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pisos-minimap-vp {
  position: absolute;
  top: 0;
  left: 0;
  border: 2px solid var(--accent);
  border-radius: 4px;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  box-sizing: border-box;
}
.pisos-minimap-pct {
  align-self: flex-start;
  background: rgba(20, 28, 30, 0.82);
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}
@keyframes pisosZoomPop {
  0% {
    transform: scale(0.84);
  }
  55% {
    transform: scale(1.07);
  }
  100% {
    transform: scale(1);
  }
}
.pisos-minimap-pct.pop {
  animation: pisosZoomPop 0.28s ease;
}
@media (prefers-reduced-motion: reduce) {
  .pisos-minimap-pct.pop {
    animation: none;
  }
}
@media (max-width: 760px) and (orientation: portrait) {
  .pisos-zoom-ctrl {
    display: flex;
    flex-direction: column;
    gap: 10px;
    bottom: calc(116px + env(safe-area-inset-bottom, 0px));
    top: auto;
    left: var(--ui-btn-edge);
    right: auto;
  }
  .pisos-minimap {
    display: flex;
    top: calc(var(--ui-btn-top) + var(--ui-btn-size) + 12px);
    left: var(--ui-btn-edge);
    right: auto;
    bottom: auto;
    width: 120px;
    align-items: flex-start;
    transform: translateX(-10px);
  }
}
@media (max-height: 500px) and (max-width: 1024px) and (orientation: landscape) {
  .pisos-zoom-ctrl {
    display: flex;
    flex-direction: column;
    gap: 10px;
    bottom: calc(var(--ui-btn-bottom) + 56px);
    top: auto;
    left: var(--ui-btn-edge);
    right: auto;
  }
  .pisos-minimap {
    display: flex;
    top: var(--ui-btn-top);
    left: calc(var(--ui-btn-edge) + (var(--ui-btn-size) + var(--ui-btn-gap, 10px)) * 2);
    right: auto;
    bottom: auto;
    width: 110px;
    align-items: flex-start;
    transform: translateX(-10px);
  }
}
@media (min-width: 600px) and (max-width: 1024px) and (orientation: portrait) {
  .pisos-zoom-ctrl {
    display: flex;
    flex-direction: column;
    gap: 10px;
    bottom: calc(116px + env(safe-area-inset-bottom, 0px));
    top: auto;
    left: var(--ui-btn-edge);
    right: auto;
  }
  .pisos-minimap {
    display: flex;
    top: calc(var(--ui-btn-top) + var(--ui-btn-size) + 12px);
    left: var(--ui-btn-edge);
    right: auto;
    bottom: auto;
    width: 120px;
    align-items: flex-start;
    transform: translateX(-10px);
  }
}
@media (min-width: 1025px) {
  .pisos-minimap {
    top: calc(var(--ui-btn-top) + var(--ui-btn-size) + 12px);
    left: var(--ui-btn-edge);
    bottom: auto;
    right: auto;
  }
}
