/* =============================================================
 * EXXACON UNIT SINGLE VIEW - PURE DIRECT CSS (PROTOTYPE EXACT)
 * ============================================================= */

#view-detail {
  padding-top: 64px !important;
  padding-bottom: 80px !important;
  background-color: #ffffff !important;
  min-height: 100vh !important;
  font-family: "Noto Sans", sans-serif;
  color: #111111;
}

#btn-sticky-next:disabled {
  background-color: #9ca3af !important;
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}

/* Base resets inside #view-detail */
#view-detail * {
  box-sizing: border-box;
}

#view-detail button,
#view-detail a,
#view-detail input,
#view-detail select {
  font-family: inherit;
}

/* Typography Fonts */
.font-display { font-family: "Montserrat", sans-serif !important; }
.font-sans { font-family: "Noto Sans", sans-serif !important; }
.font-serif { font-family: "Playfair Display", Georgia, serif !important; }

/* Font Weights */
.font-light { font-weight: 300 !important; }
.font-normal { font-weight: 400 !important; }
.font-medium { font-weight: 500 !important; }
.font-semibold { font-weight: 600 !important; }
.font-bold { font-weight: 700 !important; }
.font-extrabold { font-weight: 800 !important; }

/* Font Sizes & Line Heights */
.text-\[8px\] { font-size: 8px !important; line-height: 1 !important; }
.text-\[10px\] { font-size: 10px !important; line-height: 1.2 !important; }
.text-\[11px\] { font-size: 11px !important; line-height: 1.3 !important; }
.text-xs { font-size: 0.75rem !important; line-height: 1rem !important; }
.text-sm { font-size: 0.875rem !important; line-height: 1.25rem !important; }
.text-base { font-size: 1rem !important; line-height: 1.5rem !important; }
.text-lg { font-size: 1.125rem !important; line-height: 1.75rem !important; }
.text-xl { font-size: 1.25rem !important; line-height: 1.75rem !important; }
.text-2xl { font-size: 1.5rem !important; line-height: 2rem !important; }
.text-3xl { font-size: 1.875rem !important; line-height: 2.25rem !important; }
.text-4xl { font-size: 2.25rem !important; line-height: 2.5rem !important; }
.text-5xl { font-size: 3rem !important; line-height: 1 !important; }

/* Text alignments & transforms */
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.uppercase { text-transform: uppercase !important; }
.lowercase { text-transform: lowercase !important; }
.capitalize { text-transform: capitalize !important; }
.line-through { text-decoration: line-through !important; }
.tracking-tight { letter-spacing: -0.025em !important; }
.tracking-wider { letter-spacing: 0.05em !important; }
.tracking-widest { letter-spacing: 0.1em !important; }
.leading-tight { line-height: 1.25 !important; }
.leading-snug { line-height: 1.375 !important; }
.leading-relaxed { line-height: 1.625 !important; }

/* Colors */
.text-brand-red { color: #e1251b !important; }
.text-brand-dark { color: #111111 !important; }
.text-brand-700 { color: #1a1a1a !important; }
.text-white { color: #ffffff !important; }
.text-gray-200 { color: #e5e7eb !important; }
.text-gray-400 { color: #9ca3af !important; }
.text-gray-500 { color: #6b7280 !important; }
.text-gray-600 { color: #4b5563 !important; }
.text-gray-700 { color: #374151 !important; }
.text-gray-800 { color: #1f2937 !important; }
.text-emerald-600 { color: #059669 !important; }
.text-emerald-700 { color: #047857 !important; }
.text-emerald-800 { color: #065f46 !important; }
.text-emerald-950 { color: #022c22 !important; }

/* Backgrounds */
.bg-white { background-color: #ffffff !important; }
.bg-gray-50 { background-color: #f9fafb !important; }
.bg-gray-100 { background-color: #f3f4f6 !important; }
.bg-gray-200 { background-color: #e5e7eb !important; }
.bg-gray-800 { background-color: #1f2937 !important; }
.bg-brand-dark { background-color: #111111 !important; }
.bg-brand-red { background-color: #e1251b !important; }
.bg-red-50 { background-color: #fef2f2 !important; }
.bg-red-100\/90 { background-color: rgba(254, 226, 226, 0.9) !important; }
.bg-emerald-50\/80 { background-color: rgba(236, 253, 245, 0.8) !important; }
.bg-black\/40 { background-color: rgba(0, 0, 0, 0.4) !important; }
.bg-black\/80 { background-color: rgba(0, 0, 0, 0.8) !important; }
.bg-black\/90 { background-color: rgba(0, 0, 0, 0.9) !important; }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1) !important; }
.bg-white\/20 { background-color: rgba(255, 255, 255, 0.2) !important; }
.bg-white\/60 { background-color: rgba(255, 255, 255, 0.6) !important; }

/* Gradients */
.bg-gradient-to-br {
  background-image: linear-gradient(135deg, rgba(254, 242, 242, 0.6) 0%, #f9fafb 100%) !important;
}
.bg-gradient-to-r {
  background-image: linear-gradient(to right, #111111, #e1251b, #111111) !important;
}
.bg-gradient-to-t {
  background-image: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.75) 50%, rgba(0,0,0,0.5) 100%) !important;
}

/* Borders */
.border { border-style: solid !important; border-width: 1px !important; }
.border-2 { border-style: solid !important; border-width: 2px !important; }
.border-t { border-top-style: solid !important; border-top-width: 1px !important; }
.border-b { border-bottom-style: solid !important; border-bottom-width: 1px !important; }
.border-l { border-left-style: solid !important; border-left-width: 1px !important; }
.border-gray-100 { border-color: #f3f4f6 !important; }
.border-gray-200 { border-color: #e5e7eb !important; }
.border-gray-300 { border-color: #d1d5db !important; }
.border-gray-800 { border-color: #1f2937 !important; }
.border-red-100 { border-color: #fee2e2 !important; }
.border-red-200 { border-color: #fecaca !important; }
.border-red-950 { border-color: #450a0a !important; }
.border-emerald-100 { border-color: #d1fae5 !important; }
.border-brand-dark\/15 { border-color: rgba(17, 17, 17, 0.15) !important; }
.border-brand-red { border-color: #e1251b !important; }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2) !important; }

/* Border Radiuses */
.rounded-\[10px\] { border-radius: 10px !important; }
.rounded-\[12px\] { border-radius: 12px !important; }
.rounded-\[14px\] { border-radius: 14px !important; }
.rounded-\[16px\] { border-radius: 16px !important; }
.rounded-\[20px\] { border-radius: 20px !important; }
.rounded-xl { border-radius: 12px !important; }
.rounded-full { border-radius: 9999px !important; }

/* Shadows */
.shadow-2xs { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important; }
.shadow-xs { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important; }
.shadow-sm { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04) !important; }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important; }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important; }
.shadow-inner { box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06) !important; }
.ring-1 { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05) !important; }

/* Flex & Grid Layouts */
.flex { display: flex !important; }
.grid { display: grid !important; }
.inline-flex { display: inline-flex !important; }
.inline-block { display: inline-block !important; }
.block { display: block !important; }
.hidden { display: none !important; }

#unit-lightbox-modal:not(.is-active) {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#unit-lightbox-modal.is-active {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.flex-col { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-1 { flex: 1 1 0% !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }

.items-center { align-items: center !important; }
.items-start { align-items: flex-start !important; }
.items-end { align-items: flex-end !important; }
.items-stretch { align-items: stretch !important; }

.justify-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }
.justify-end { justify-content: flex-end !important; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }

/* Margins & Paddings */
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.mb-0\.5 { margin-bottom: 0.125rem !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-1\.5 { margin-bottom: 0.375rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-2\.5 { margin-bottom: 0.625rem !important; }
.mb-3 { margin-bottom: 0.75rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-5 { margin-bottom: 1.25rem !important; }
.mb-6 { margin-bottom: 1.5rem !important; }
.mb-10 { margin-bottom: 2.5rem !important; }
.mb-12 { margin-bottom: 3rem !important; }
.mb-16 { margin-bottom: 4rem !important; }

.mt-0\.5 { margin-top: 0.125rem !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 0.75rem !important; }
.mt-4 { margin-top: 1rem !important; }
.mt-16 { margin-top: 4rem !important; }
.mt-auto { margin-top: auto !important; }

.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-2\.5 { padding: 0.625rem !important; }
.p-3 { padding: 0.75rem !important; }
.p-3\.5 { padding: 0.875rem !important; }
.p-4 { padding: 1rem !important; }
.p-5 { padding: 1.25rem !important; }
.p-6 { padding: 1.5rem !important; }
.p-8 { padding: 2rem !important; }
.p-10 { padding: 2.5rem !important; }

.px-2\.5 { padding-left: 0.625rem !important; padding-right: 0.625rem !important; }
.px-3 { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
.px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-5 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
.px-6 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-8 { padding-left: 2rem !important; padding-right: 2rem !important; }

.py-0\.5 { padding-top: 0.125rem !important; padding-bottom: 0.125rem !important; }
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-2\.5 { padding-top: 0.625rem !important; padding-bottom: 0.625rem !important; }
.py-3 { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
.py-3\.5 { padding-top: 0.875rem !important; padding-bottom: 0.875rem !important; }
.py-5 { padding-top: 1.25rem !important; padding-bottom: 1.25rem !important; }
.py-6 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-10 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
.py-20 { padding-top: 5rem !important; padding-bottom: 5rem !important; }

.pt-1 { padding-top: 0.25rem !important; }
.pt-2 { padding-top: 0.5rem !important; }
.pt-4 { padding-top: 1rem !important; }
.pb-1 { padding-bottom: 0.25rem !important; }
.pb-3 { padding-bottom: 0.75rem !important; }
.pb-4 { padding-bottom: 1rem !important; }

.gap-1 { gap: 0.25rem !important; }
.gap-1\.5 { gap: 0.375rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-2\.5 { gap: 0.625rem !important; }
.gap-3 { gap: 0.75rem !important; }
.gap-4 { gap: 1rem !important; }
.gap-6 { gap: 1.5rem !important; }
.gap-8 { gap: 2rem !important; }
.gap-12 { gap: 3rem !important; }
.gap-x-6 { column-gap: 1.5rem !important; }
.gap-y-3\.5 { row-gap: 0.875rem !important; }

.space-y-4 > * + * { margin-top: 1rem !important; }
.space-y-5 > * + * { margin-top: 1.25rem !important; }
.space-y-6 > * + * { margin-top: 1.5rem !important; }
.space-y-12 > * + * { margin-top: 3rem !important; }

/* Dimensions & Positions */
.w-full { width: 100% !important; }
.w-5 { width: 1.25rem !important; }
.w-8 { width: 2rem !important; }
.w-9 { width: 2.25rem !important; }
.w-10 { width: 2.5rem !important; }
.w-12 { width: 3rem !important; }
.w-1\.5 { width: 0.375rem !important; }
.w-4 { width: 1rem !important; }

.h-full { height: 100% !important; }
.h-1\.5 { height: 0.375rem !important; }
.h-8 { height: 2rem !important; }
.h-9 { height: 2.25rem !important; }
.h-10 { height: 2.5rem !important; }
.h-12 { height: 3rem !important; }

.max-w-3xl { max-width: 48rem !important; }
.max-w-7xl { max-width: 80rem !important; }
.max-w-\[420px\] { max-width: 420px !important; }
.max-w-5xl { max-width: 64rem !important; }
.min-h-\[280px\] { min-height: 280px !important; }
.min-h-\[300px\] { min-height: 300px !important; }
.min-h-\[320px\] { min-height: 320px !important; }
.min-h-screen { min-height: 100vh !important; }

.aspect-\[16\/9\] { aspect-ratio: 16 / 9 !important; }
.aspect-\[4\/3\] { aspect-ratio: 4 / 3 !important; }
.aspect-square { aspect-ratio: 1 / 1 !important; }

.relative { position: relative !important; }
.absolute { position: absolute !important; }
.fixed { position: fixed !important; }
.inset-0 { top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important; }
.top-0 { top: 0 !important; }
.top-3 { top: 0.75rem !important; }
.top-6 { top: 1.5rem !important; }
.top-1\/2 { top: 50% !important; }
.left-0 { left: 0 !important; }
.left-2 { left: 0.5rem !important; }
.left-4 { left: 1rem !important; }
.right-0 { right: 0 !important; }
.right-2 { right: 0.5rem !important; }
.right-3 { right: 0.75rem !important; }
.right-4 { right: 1rem !important; }
.right-6 { right: 1.5rem !important; }
.right-14 { right: 3.5rem !important; }
.bottom-3 { bottom: 0.75rem !important; }
.bottom-4 { bottom: 1rem !important; }

.unit-carousel-caption-gradient {
  bottom: 0;
  height: 45%;
  min-height: 10rem;
  background: linear-gradient(to top, rgba(0, 0, 0, .85), rgba(0, 0, 0, .35) 60%, transparent);
}
.unit-carousel-caption-wrap { bottom: 3.5rem; }
.unit-carousel-dots,
.neighborhood-carousel-dots {
  max-width: calc(100% - 1.5rem);
  flex-wrap: wrap;
  justify-content: center;
  border-radius: 1rem;
}
@media (max-width: 639px) {
  .unit-carousel-caption-wrap {
    bottom: calc(1.25rem + var(--unit-carousel-dots-height, 2.5rem));
  }
}

.-translate-y-1\/2 { transform: translateY(-50%) !important; }

.z-0 { z-index: 0 !important; }
.z-10 { z-index: 10 !important; }
.z-20 { z-index: 20 !important; }
.z-30 { z-index: 30 !important; }
.z-50 { z-index: 50 !important; }
.z-\[99999\] { z-index: 99999 !important; }

.overflow-hidden { overflow: hidden !important; }
.object-cover { object-fit: cover !important; }
.object-contain { object-fit: contain !important; }
.cursor-pointer { cursor: pointer !important; }
.cursor-not-allowed { cursor: not-allowed !important; }
.pointer-events-none { pointer-events: none !important; }
.pointer-events-auto { pointer-events: auto !important; }

.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

.transition-all { transition: all 0.2s ease !important; }
.transition-colors { transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease !important; }
.transition-opacity { transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important; }
.transition-transform { transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important; will-change: transform; }
.duration-700 { transition-duration: 1.2s !important; }
.duration-500 { transition-duration: 1s !important; }

/* Transiciones ultra-suaves de zoom en hover (Elegante & Suave) */
.unit-main-carousel img,
.unit-slide img,
.neighborhood-carousel img,
.neighborhood-slide img,
.unit-floorplan-zoom img,
#proyecto-casa-bustamante .group img,
.group img {
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform;
}

.unit-main-carousel:hover .unit-slide img,
.neighborhood-carousel:hover .neighborhood-slide img,
#proyecto-casa-bustamante .group:hover img,
.group:hover .group-hover\:scale-105 {
  transform: scale(1.028) !important;
}

.unit-floorplan-zoom:hover img {
  transform: scale(1.02) !important;
}

/* Responsive Media Queries */
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .sm\:gap-6 { gap: 1.5rem !important; }
  .sm\:p-4 { padding: 1rem !important; }
  .sm\:p-6 { padding: 1.5rem !important; }
  .sm\:p-10 { padding: 2.5rem !important; }
  .sm\:px-6 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
  .sm\:px-5 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
  .sm\:py-2\.5 { padding-top: 0.625rem !important; padding-bottom: 0.625rem !important; }
  .sm\:py-6 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
  .sm\:text-2xl { font-size: 1.5rem !important; line-height: 2rem !important; }
  .sm\:text-3xl { font-size: 1.875rem !important; line-height: 2.25rem !important; }
  .sm\:text-4xl { font-size: 2.25rem !important; line-height: 2.5rem !important; }
  .sm\:text-\[10px\] { font-size: 10px !important; line-height: 1.2 !important; }
  .sm\:text-\[11px\] { font-size: 11px !important; line-height: 1.3 !important; }
  .sm\:text-xs { font-size: 0.75rem !important; }
  .sm\:text-sm { font-size: 0.875rem !important; }
  .sm\:text-base { font-size: 1rem !important; }
  .sm\:text-lg { font-size: 1.125rem !important; }
  .sm\:text-xl { font-size: 1.25rem !important; }
  .sm\:border-l { border-left-style: solid !important; border-left-width: 1px !important; }
  .sm\:border-gray-200 { border-color: #e5e7eb !important; }
  .sm\:pl-4 { padding-left: 1rem !important; }
  .sm\:mb-1 { margin-bottom: 0.25rem !important; }
  .sm\:mb-12 { margin-bottom: 3rem !important; }
  .sm\:tracking-widest { letter-spacing: 0.1em !important; }
}

@media (min-width: 768px) {
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .md\:flex-row { flex-direction: row !important; }
  .md\:w-1\/2 { width: 50% !important; }
  .md\:p-8 { padding: 2rem !important; }
  .md\:text-3xl { font-size: 1.875rem !important; line-height: 2.25rem !important; }
  .md\:text-5xl { font-size: 3rem !important; line-height: 1 !important; }
  .md\:min-h-\[400px\] { min-height: 400px !important; }
  .md\:text-base { font-size: 1rem !important; line-height: 1.5rem !important; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)) !important; }
  .lg\:col-span-2 { grid-column: span 2 / span 2 !important; }
  .lg\:col-span-7 { grid-column: span 7 / span 7 !important; }
  .lg\:col-span-5 { grid-column: span 5 / span 5 !important; }
  .lg\:order-1 { order: 1 !important; }
  .lg\:order-2 { order: 2 !important; }
  .lg\:order-none { order: 0 !important; }
  .lg\:sticky { position: -webkit-sticky !important; position: sticky !important; }
  .lg\:top-24 { top: 6rem !important; }
  .lg\:text-right { text-align: right !important; }
  .lg\:justify-end { justify-content: flex-end !important; }
  .lg\:flex-row { flex-direction: row !important; }
  .lg\:items-end { align-items: flex-end !important; }
  .lg\:w-auto { width: auto !important; }
  .lg\:px-8 { padding-left: 2rem !important; padding-right: 2rem !important; }
}
