/* =========================================================================
   PUNTA RECIFE — UNIFIED LUXURY MENU DRAWER & MODALS (ÓRBITA 360)
   Réplica Canónica de Xantia con Colorimetría Slate Teal #608080 & Stone #C7C6C0
   ========================================================================= */

:root {
  --pr-accent: #608080;
  --pr-accent-light: #769E9E;
  --pr-accent-dark: #476262;
  --pr-accent-glow: rgba(96, 128, 128, 0.45);

  --pr-stone: #C7C6C0;
  --pr-stone-light: #E4E3DE;
  --pr-stone-dark: #8F8E88;

  --pr-gold: #C58B49;
  --pr-gold-hover: #D9A05E;
  --pr-gold-glow: rgba(197, 139, 73, 0.4);

  --pr-whatsapp: #25D366;
  --pr-whatsapp-glow: rgba(37, 211, 102, 0.4);

  --pr-glass-bg: rgba(10, 16, 26, 0.94);
  --pr-glass-border: rgba(255, 255, 255, 0.14);
  --pr-glass-border-light: rgba(255, 255, 255, 0.08);
  --pr-glass-border-accent: rgba(96, 128, 128, 0.5);

  --pr-font-display: 'Cinzel', serif;
  --pr-font-ui: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Backdrop del Menú */
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 16, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 20000;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  will-change: opacity, visibility;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

/* Cápsula Flotante del Drawer (Exacta a Xantia) */
.menu-drawer-bubble {
  position: fixed;
  top: 16px;
  bottom: 16px;
  left: 16px;
  width: min(390px, calc(100vw - 32px));
  background: rgba(10, 16, 26, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--pr-glass-border);
  border-radius: 28px;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.15), 0 20px 50px rgba(0, 0, 0, 0.85);
  z-index: 20010;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  will-change: transform;
  transform: translate3d(calc(-100% - 24px), 0, 0);
  transition: transform 0.32s cubic-bezier(0.2, 0.9, 0.3, 1);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  font-family: var(--pr-font-ui);
}
.menu-drawer-bubble.open {
  transform: translate3d(0, 0, 0);
}

/* Cabecera del Drawer (Logo + Botón Volver ← + Datos del Proyecto) */
.drawer-header-block {
  padding: 26px 24px 18px 24px;
  border-bottom: 1px solid var(--pr-glass-border-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}
.drawer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.drawer-logo-horizontal-img {
  height: 36px;
  width: auto;
  max-width: calc(100% - 54px);
  object-fit: contain;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.5));
  display: block;
}
.drawer-sublogo-row {
  display: flex;
  align-items: center;
  width: 100%;
  padding-left: 16px;
  margin-top: 2px;
}
.drawer-logo-sub-img {
  height: 24px;
  width: auto;
  max-width: calc(100% - 20px);
  object-fit: contain;
  opacity: 0.95;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
  display: block;
}
.btn-close-drawer {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  max-width: 40px;
  max-height: 40px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  border-radius: 50%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--pr-glass-border);
  color: #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}
.btn-close-drawer:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  transform: scale(1.06);
}

.drawer-project-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.drawer-meta-title {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.04em;
  margin: 0;
}
.drawer-meta-location {
  font-size: 12px;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}
.drawer-meta-location svg {
  color: var(--pr-accent);
  flex-shrink: 0;
}

/* Contenedor con Scroll Continuo (Sin cuadrícula por sección) */
.drawer-scroll-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}
.drawer-scroll-body::-webkit-scrollbar {
  width: 4px;
}
.drawer-scroll-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

/* Ítems del Menú (Plano y Limpio, Sin bordes de tarjeta individuales) */
.drawer-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 16px;
  color: #E2E8F0;
  font-size: 14.5px;
  font-weight: 400;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  background: transparent;
  border: none;
}
.drawer-item-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.drawer-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  transform: translateX(4px);
}
.drawer-item.active {
  background: rgba(96, 128, 128, 0.18);
  border-left: 3.5px solid var(--pr-accent);
  color: var(--pr-accent-light);
  font-weight: 600;
}
.drawer-item-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pr-accent);
  flex-shrink: 0;
  transition: color 0.25s ease;
}
.drawer-item:hover .drawer-item-icon {
  color: var(--pr-accent-light);
}

/* Sección de Redes y Firma al Final del Scroll (Completamente Centrado) */
.drawer-scroll-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--pr-glass-border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.drawer-lang-row {
  display: flex;
  justify-content: center;
  width: 100%;
}

.lang-switch-capsule {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--pr-glass-border);
  border-radius: 9999px;
  padding: 4px;
  gap: 4px;
}

.lang-pill-btn {
  padding: 5px 16px;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: #94A3B8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.25s ease;
}
.lang-pill-btn.active {
  background: var(--pr-accent);
  color: #FFFFFF;
  box-shadow: 0 0 12px var(--pr-accent-glow);
}

.drawer-social-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.drawer-social-btn {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  max-width: 42px;
  max-height: 42px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  border-radius: 50%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--pr-glass-border-light);
  color: #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: all 0.25s ease;
}
.drawer-social-btn:hover {
  background: var(--pr-accent);
  border-color: var(--pr-accent);
  color: #FFFFFF;
  transform: scale(1.1);
  box-shadow: 0 0 15px var(--pr-accent-glow);
}

.drawer-powered-by {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(253, 250, 245, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.drawer-powered-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pr-accent);
}

/* =========================================================================
   MODALES POP-UP (TIPOLOGÍAS, AMENIDADES, LIGHTBOX, QR)
   ========================================================================= */
.pr-modal-container {
  position: fixed;
  inset: 0;
  z-index: 20100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.pr-modal-container.open {
  opacity: 1;
  pointer-events: auto;
}

.pr-modal-card {
  background: var(--pr-glass-bg);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--pr-glass-border-accent);
  border-radius: 24px;
  padding: 24px;
  max-width: 1080px;
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 30px rgba(96, 128, 128, 0.2);
  transform: scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  color: #FFFFFF;
}
.pr-modal-container.open .pr-modal-card {
  transform: scale(1);
}

.pr-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--pr-glass-border-light);
  margin-bottom: 18px;
  flex-shrink: 0;
}

.pr-modal-title {
  font-family: var(--pr-font-display);
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.06em;
  margin: 0;
}

.pr-modal-sub {
  font-size: 11.5px;
  color: var(--pr-stone);
  margin: 4px 0 0 0;
}

.pr-btn-close-modal {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  max-width: 36px;
  max-height: 36px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  border-radius: 50%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--pr-glass-border-light);
  color: #FFFFFF;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}
.pr-btn-close-modal:hover {
  background: var(--pr-accent);
  border-color: var(--pr-accent-light);
  transform: scale(1.06);
  box-shadow: 0 0 15px var(--pr-accent-glow);
}

/* Grids de Tipologías (2 Columnas Amplias) y Amenidades */
.pr-units-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 20px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.pr-amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.pr-unit-card, .pr-amenity-card {
  background: rgba(16, 24, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}
.pr-unit-card:hover, .pr-amenity-card:hover {
  background: rgba(22, 32, 46, 0.95);
  border-color: var(--pr-gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 20px var(--pr-gold-glow);
}

.pr-unit-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pr-amenity-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  background: #080D14;
}

.pr-unit-thumb,
.pr-unit-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  padding: 8px;
  box-sizing: border-box;
  display: block;
  transition: transform 0.35s ease;
}

.pr-unit-card:hover .pr-unit-thumb,
.pr-unit-card:hover .pr-unit-thumb-img {
  transform: scale(1.02);
}

.pr-magnify-hint {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(10, 16, 26, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.pr-unit-card:hover .pr-magnify-hint {
  opacity: 1;
  transform: translateY(-2px);
  border-color: var(--pr-gold);
  color: var(--pr-gold);
}

.pr-unit-modality-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(10, 16, 26, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  padding: 4px 10px;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--pr-gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  pointer-events: none;
}

.pr-unit-thumb-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 26, 0.65);
  backdrop-filter: blur(4px);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease;
  color: var(--pr-stone-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pr-unit-thumb-wrap:hover .pr-unit-thumb-hover-overlay {
  opacity: 1;
}

.pr-amenity-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pr-unit-info, .pr-amenity-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.pr-unit-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pr-unit-name, .pr-amenity-title {
  font-family: var(--pr-font-display);
  font-size: 15.5px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.04em;
  margin: 0;
}

/* Fila Única de Especificaciones (m2 • Cuartos • Bodega) */
.pr-brief-specs-single-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 6px 0;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
}

.pr-spec-pill-inline {
  color: #CBD5E1;
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}

.pr-spec-pill-inline strong {
  color: #FFFFFF;
  font-weight: 700;
}

.pr-spec-pill-dot {
  color: var(--pr-gold);
  font-size: 10px;
  opacity: 0.8;
}

/* Fila de Botones de Acción (Un solo botón de expandir departamentos) */
.pr-unit-actions-row {
  display: flex;
  margin-top: auto;
}

.pr-btn-toggle-levels {
  width: 100%;
  height: 38px;
  padding: 0 16px;
  background: rgba(197, 139, 73, 0.12);
  border: 1px solid rgba(197, 139, 73, 0.35);
  border-radius: 12px;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.22s ease;
}

.pr-btn-toggle-levels:hover,
.pr-btn-toggle-levels.active {
  background: var(--pr-gold);
  border-color: var(--pr-gold);
  color: #0A101A;
  box-shadow: 0 0 15px var(--pr-gold-glow);
}

.pr-btn-toggle-levels .pr-chevron-icon {
  transition: transform 0.28s ease;
}

.pr-btn-toggle-levels.active .pr-chevron-icon {
  transform: rotate(180deg);
}

/* Pisos & Disponibilidad Desplegable (Collapsible Accordion) */
.pr-unit-levels-container {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  padding: 0 12px;
  background: rgba(8, 13, 20, 0.85);
  border: 1px solid transparent;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, margin-top 0.25s ease, padding 0.25s ease;
}

.pr-unit-levels-container.active {
  max-height: 280px;
  opacity: 1;
  margin-top: 6px;
  padding: 12px;
  border-color: rgba(255, 255, 255, 0.14);
  overflow-y: auto;
}

.pr-levels-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pr-gold);
  margin-bottom: 4px;
}

.pr-unit-level-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
}

.pr-unit-level-row.is-clickable {
  cursor: pointer;
}

.pr-unit-level-row.is-clickable:hover {
  background: rgba(197, 139, 73, 0.16);
  border-color: var(--pr-gold);
  transform: translateX(3px);
}

.pr-level-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pr-level-unit-name {
  font-size: 12px;
  font-weight: 800;
  color: #FFFFFF;
}

.pr-level-name {
  font-size: 10.5px;
  color: var(--pr-stone);
}

.pr-level-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pr-btn-direct-tour {
  width: 100%;
  height: 38px;
  padding: 0 16px;
  background: var(--pr-gold);
  border: none;
  border-radius: 12px;
  color: #0A101A;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 0 15px var(--pr-gold-glow);
}

.pr-btn-direct-tour:hover {
  background: var(--pr-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--pr-gold-glow);
}

.pr-btn-direct-tour.is-disabled {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #64748B;
  box-shadow: none;
  cursor: not-allowed;
}

.pr-unit-mini-tour-btn {
  background: var(--pr-gold);
  border: none;
  color: #0A101A;
  border-radius: 9999px;
  padding: 4px 10px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.22s ease;
  box-shadow: 0 0 10px var(--pr-gold-glow);
  white-space: nowrap;
}

.pr-unit-level-row:hover .pr-unit-mini-tour-btn {
  background: var(--pr-gold-hover);
  transform: scale(1.05);
}

.pr-no-tour-pill {
  font-size: 9px;
  color: #64748B;
  font-weight: 600;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 9999px;
  white-space: nowrap;
}

/* Z-Index específico para Lightbox cuando se abre sobre otros modales */
.pr-lightbox-modal {
  z-index: 20200;
}

/* Lightbox de Planos 2D */
.pr-lightbox-card {
  max-width: 900px;
  width: 100%;
  align-items: center;
}

.pr-lightbox-img-wrap {
  position: relative;
  width: 100%;
  height: 58vh;
  max-height: 58vh;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #060A10;
  border-radius: 16px;
  padding: 0;
  border: 1px solid var(--pr-glass-border-light);
  overflow: hidden;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}

.pr-lightbox-img-wrap.is-dragging {
  cursor: grabbing;
}

.pr-lightbox-canvas {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.pr-lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  pointer-events: auto;
  transform-origin: center center;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Badge flotante de indicación / ayuda */
.pr-lightbox-hint-badge {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 16, 26, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 600;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  z-index: 10;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.pr-lightbox-hint-badge.fade-out {
  opacity: 0;
  transform: translate(-50%, -10px);
}

/* Barra de herramientas flotante de Zoom (Controles Físicos) */
.pr-lightbox-zoom-toolbar {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  background: rgba(10, 16, 26, 0.82);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 15px rgba(197, 139, 73, 0.15);
  z-index: 20;
}

.pr-zoom-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.pr-zoom-btn:hover {
  background: var(--pr-gold);
  border-color: var(--pr-gold);
  color: #0A101A;
  transform: scale(1.08);
}

.pr-zoom-btn:active {
  transform: scale(0.94);
}

.pr-zoom-level-badge {
  font-size: 11px;
  font-weight: 700;
  color: #E2E8F0;
  min-width: 40px;
  text-align: center;
  user-select: none;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.pr-lightbox-footer {
  width: 100%;
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.pr-btn-lightbox-wa {
  padding: 12px 28px;
  border-radius: 9999px;
  background: #25D366;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all 0.25s ease;
}
.pr-btn-lightbox-wa:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* QR Code Modal */
.pr-qr-card {
  max-width: 400px;
  align-items: center;
  text-align: center;
}

.pr-qr-img {
  width: 200px;
  height: 200px;
  border-radius: 16px;
  border: 1px solid var(--pr-glass-border-accent);
  margin: 10px 0 16px 0;
  padding: 10px;
  background: #FFFFFF;
}

.pr-qr-input-row {
  display: flex;
  gap: 8px;
  width: 100%;
}

.pr-qr-input {
  flex: 1;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--pr-glass-border-light);
  padding: 0 12px;
  font-size: 11px;
  color: #FFFFFF;
  outline: none;
}

.pr-btn-qr-copy {
  padding: 0 16px;
  border-radius: 10px;
  background: var(--pr-accent);
  border: none;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}
.pr-btn-qr-copy:hover {
  background: var(--pr-accent-light);
  box-shadow: 0 0 15px var(--pr-accent-glow);
}

/* =========================================================================
   BARRA DE NAVEGACIÓN DEL CARRUSEL DE TIPOLOGÍAS (PUNTOS Y FLECHAS)
   ========================================================================= */
.pr-carousel-nav {
  display: none; /* Oculto por defecto en computadoras de escritorio */
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pr-carousel-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.pr-carousel-arrow:hover,
.pr-carousel-arrow:active {
  background: var(--pr-gold);
  border-color: var(--pr-gold);
  color: #0A101A;
}

.pr-carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pr-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.pr-carousel-dot.active {
  width: 22px;
  border-radius: 6px;
  background: var(--pr-gold);
  box-shadow: 0 0 10px var(--pr-gold-glow);
}

.pr-carousel-counter {
  font-size: 11px;
  font-weight: 700;
  color: var(--pr-stone-light);
  letter-spacing: 0.05em;
  min-width: 34px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* =========================================================================
   RESPONSIVE DESIGN PARA MÓVILES (≤ 768px)
   ========================================================================= */
@media (max-width: 768px) {
  .pr-modal-container {
    padding: 10px 8px;
    align-items: center;
    justify-content: center;
  }

  /* Modal de Tipologías a pantalla completa inmersiva en celular */
  #prUnitsModal.pr-modal-container {
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
  }

  #prUnitsModal .pr-modal-card {
    border-radius: 0;
    max-height: 100vh;
    max-height: 100dvh;
    height: 100%;
    width: 100%;
    padding: calc(14px + env(safe-area-inset-top, 0px)) 14px calc(14px + env(safe-area-inset-bottom, 0px)) 14px;
    border: none;
    background: rgba(10, 16, 26, 0.96);
  }

  #prUnitsModal .pr-units-grid {
    flex: 1;
    height: auto;
    margin-bottom: 0;
  }

  #prUnitsModal .pr-unit-card {
    max-height: 100%;
    height: 100%;
    border-radius: 16px;
    padding: 12px;
  }

  .pr-modal-card {
    padding: 16px 14px 14px 14px;
    border-radius: 20px;
    max-height: 92vh;
    width: 100%;
    box-sizing: border-box;
  }

  .pr-modal-header {
    margin-bottom: 12px;
    padding-bottom: 10px;
  }

  .pr-modal-title {
    font-size: 17px;
  }

  .pr-modal-sub {
    font-size: 11px;
  }

  /* Carrusel horizontal deslizante de 1 en 1 para Tipologías */
  .pr-units-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 6px 4px 10px 4px;
    margin-bottom: 4px;
    scrollbar-width: none;
  }

  .pr-units-grid::-webkit-scrollbar {
    display: none;
  }

  .pr-unit-card {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    box-sizing: border-box;
    padding: 12px;
    margin: 4px 0;
    border-radius: 18px;
    max-height: calc(88vh - 120px);
    overflow-y: auto;
    scrollbar-width: thin;
  }

  .pr-unit-thumb-wrap {
    height: 140px;
    aspect-ratio: auto;
    width: 100%;
    background: #111827;
  }

  .pr-unit-thumb,
  .pr-unit-thumb-img {
    height: 100%;
    width: 100%;
    object-fit: contain !important;
    padding: 6px;
  }

  .pr-brief-specs-single-row {
    flex-wrap: wrap;
    gap: 6px 8px;
    padding: 6px 12px;
    width: 100%;
    box-sizing: border-box;
  }

  .pr-spec-pill-inline {
    font-size: 11px;
    white-space: nowrap;
  }

  .pr-carousel-nav {
    display: flex;
  }

  /* En móvil: si una tipología tiene varios departamentos, el micro-menú de lista está visible siempre */
  .pr-unit-levels-container {
    max-height: none !important;
    opacity: 1 !important;
    margin-top: 8px !important;
    padding: 10px !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    overflow-y: visible !important;
  }

  .pr-btn-toggle-levels {
    display: none !important;
  }

  /* Ajustes en filas de departamentos para pantallas móviles */
  .pr-unit-level-row {
    padding: 7px 10px;
    gap: 8px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
  }

  .pr-level-info {
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    overflow: hidden;
  }

  .pr-level-unit-name {
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
    color: #FFFFFF;
  }

  .pr-level-desc {
    font-size: 11px !important;
    color: #94A3B8;
    white-space: nowrap !important;
    flex-shrink: 0;
  }

  .unit-card-pill {
    padding: 3px 8px !important;
    font-size: 9px !important;
    letter-spacing: 0.02em;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 9999px;
  }

  .pr-level-actions {
    gap: 6px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }

  /* En la fila móvil, ocultar botón de fachada individual ya que la tarjeta tiene el botón maestro 'Ver en Fachada' arriba */
  .pr-unit-level-row .pr-unit-mini-facade-btn {
    display: none !important;
  }

  .pr-unit-mini-info-btn {
    padding: 5px 12px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 9999px;
    flex-shrink: 0;
  }

  .pr-unit-mini-tour-btn {
    padding: 5px 12px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 9999px;
    flex-shrink: 0;
  }

  .pr-unit-mini-tour-btn svg {
    width: 12px;
    height: 12px;
    margin-right: 2px !important;
  }

  /* Ajustes de Lightbox en móvil */
  .pr-lightbox-card {
    padding: 14px 12px 12px 12px;
    max-height: 94vh;
  }

  .pr-lightbox-img-wrap {
    height: 56vh;
    max-height: 56vh;
    border-radius: 14px;
  }

  .pr-lightbox-zoom-toolbar {
    bottom: 10px;
    right: 10px;
    padding: 4px 6px;
  }

  .pr-zoom-btn {
    width: 34px;
    height: 34px;
  }

  .pr-btn-lightbox-wa {
    padding: 11px 20px;
    font-size: 11.5px;
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================================
   ESTILOS PARA DISPONIBILIDAD, VER EN FACHADA Y FICHA TÉCNICA POP-UP
   ========================================================================= */
.unit-card-pill.pill-fractional {
  background: rgba(245, 158, 11, 0.22);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.45);
}
.unit-card-pill.pill-sold {
  background: rgba(239, 68, 68, 0.22);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.45);
}

.pr-unit-actions-row {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
}

.pr-btn-facade-model {
  height: 38px;
  padding: 0 14px;
  background: rgba(96, 128, 128, 0.2);
  border: 1px solid var(--pr-accent-light);
  border-radius: 12px;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.22s ease;
}

.pr-btn-facade-model:hover {
  background: var(--pr-accent);
  color: #FFFFFF;
  box-shadow: 0 0 15px var(--pr-accent-glow);
  transform: translateY(-2px);
}

.pr-unit-mini-facade-btn {
  background: rgba(96, 128, 128, 0.25);
  border: 1px solid rgba(96, 128, 128, 0.6);
  color: #E2E8F0;
  border-radius: 9999px;
  padding: 4px 10px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.pr-unit-mini-facade-btn:hover {
  background: var(--pr-accent);
  border-color: var(--pr-accent-light);
  color: #FFFFFF;
  transform: scale(1.05);
  box-shadow: 0 0 10px var(--pr-accent-glow);
}

.pr-unit-mini-info-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border-radius: 9999px;
  padding: 4px 10px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.pr-unit-mini-info-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #FFFFFF;
  transform: scale(1.05);
}

.pr-btn-direct-tour.is-info-only {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  box-shadow: none;
}
.pr-btn-direct-tour.is-info-only:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* Modal Pop-up Ficha Técnica */
.pr-unit-info-modal {
  z-index: 20150;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.pr-unit-info-card {
  max-width: 680px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.pr-unit-info-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.pr-unit-sold-alert-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.45);
  border-radius: 14px;
  color: #FECACA;
  font-size: 12px;
  line-height: 1.5;
}
.pr-unit-sold-alert-banner svg {
  flex-shrink: 0;
  stroke: #EF4444;
  margin-top: 2px;
}
.pr-unit-sold-alert-banner strong {
  display: block;
  font-size: 13.5px;
  color: #F87171;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pr-unit-info-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.pr-unit-info-head-title {
  font-family: var(--pr-font-display);
  font-size: 16.5px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
}
.pr-unit-info-pills {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pr-unit-info-sold-badge {
  font-size: 12px;
  font-weight: 800;
  color: #EF4444;
  background: rgba(239, 68, 68, 0.15);
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(239, 68, 68, 0.4);
  letter-spacing: 0.06em;
}
.pr-unit-info-price {
  font-size: 15px;
  color: var(--pr-gold);
}
.pr-price-sub {
  font-size: 11px;
  color: #94A3B8;
  font-weight: 500;
}

.pr-unit-info-specs-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 600px) {
  .pr-unit-info-specs-grid {
    grid-template-columns: 1fr;
  }
}

.pr-specs-section-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pr-accent-light);
  margin-bottom: 8px;
}
.pr-specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pr-specs-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pr-specs-list li span {
  color: #94A3B8;
}
.pr-specs-list li strong {
  color: #FFFFFF;
  text-align: right;
}

.pr-unit-info-plano-preview {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #080D14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  min-height: 180px;
}
.pr-unit-info-plano-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.pr-unit-info-plano-preview:hover img {
  transform: scale(1.05);
}
.pr-plano-overlay-hint {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pr-unit-info-plano-preview:hover .pr-plano-overlay-hint {
  opacity: 1;
}

/* Multi-planos en Ficha Técnica (Depa + Roof Garden) */
.pr-unit-info-multi-planos {
  display: flex;
  flex-direction: column;
}
.pr-multi-planos-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.pr-multi-plano-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #080D14;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
  min-height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pr-multi-plano-item:hover {
  border-color: var(--pr-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}
.pr-multi-plano-thumb-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-sizing: border-box;
}
.pr-multi-plano-thumb-wrap img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}
.pr-multi-plano-badge {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 16, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  padding: 2px 8px;
  font-size: 9px;
  font-weight: 700;
  color: #E2E8F0;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

/* Selector de pestañas en Lightbox modal */
.pr-lightbox-tabs-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  width: 100%;
}
.pr-lightbox-tab-btn {
  padding: 6px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #94A3B8;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}
.pr-lightbox-tab-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}
.pr-lightbox-tab-btn.active {
  background: var(--pr-gold);
  border-color: var(--pr-gold);
  color: #0A101A;
  font-weight: 700;
  box-shadow: 0 0 12px var(--pr-gold-glow);
}

.pr-unit-info-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.pr-btn-facade-view {
  height: 40px;
  padding: 0 18px;
  background: rgba(96, 128, 128, 0.25);
  border: 1px solid var(--pr-accent-light);
  border-radius: 12px;
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pr-btn-facade-view:hover {
  background: var(--pr-accent);
  box-shadow: 0 0 15px var(--pr-accent-glow);
  transform: translateY(-2px);
}

/* =========================================================================
   MODAL POP-UP VISOR DE UBICACIÓN EN FACHADA (OPCIÓN A)
   ========================================================================= */
.pr-facade-modal {
  z-index: 20180;
}

.pr-facade-card {
  max-width: 1080px;
  width: 100%;
  max-height: 88vh;
  padding: 24px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-sizing: border-box;
}

.pr-facade-view-container {
  position: relative;
  width: 100%;
  height: calc(88vh - 180px);
  max-height: calc(88vh - 180px);
  min-height: 320px;
  background: #05080E;
  border-radius: 18px;
  border: 1px solid var(--pr-glass-border-light);
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pr-facade-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.pr-facade-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  overflow: visible;
}

.pr-facade-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(10, 16, 26, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  z-index: 10;
  pointer-events: none;
}

.pr-facade-badge-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.04em;
}

.pr-facade-badge-status {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 9999px;
}
.pr-facade-badge-status.status-available {
  background: rgba(16, 185, 129, 0.22);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}
.pr-facade-badge-status.status-fractional {
  background: rgba(245, 158, 11, 0.22);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}
.pr-facade-badge-status.status-sold {
  background: rgba(239, 68, 68, 0.22);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.pr-facade-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

.pr-facade-legend {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pr-facade-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #CBD5E1;
}

.pr-facade-footer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pr-btn-facade-return {
  height: 38px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pr-btn-facade-return:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #FFFFFF;
  transform: translateX(-2px);
}

@media (max-width: 768px) {
  .pr-facade-card {
    padding: 16px 14px 14px 14px;
    border-radius: 20px;
    max-height: 92vh;
  }
  .pr-facade-view-container {
    height: 52vh;
    max-height: 52vh;
    border-radius: 14px;
  }
  .pr-facade-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .pr-facade-legend {
    justify-content: center;
    gap: 10px;
  }
  .pr-facade-legend-item {
    font-size: 10.5px;
  }
  .pr-btn-facade-return {
    width: 100%;
  }
}