/* KG rEstate single property layout and gallery. GPL-2.0-or-later. */
.kg-openestate-single-wrapper {
            max-width: 1200px;
            margin: 30px auto;
            padding: 0 20px;
            box-sizing: border-box;
            font-family: inherit;
            color: #0f172a;
        }

        /* Layout de 2 Columnas (Grid con Sidebar Sticky a la Derecha) */
        .kg-openestate-single-layout {
            display: grid;
            grid-template-columns: 1fr 360px;
            gap: 30px;
            align-items: flex-start;
        }

        .kg-openestate-single-main-col {
            width: 100%;
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .kg-openestate-single-sidebar-col {
            width: 100%;
            position: sticky;
            top: 100px;
            align-self: flex-start;
            z-index: 10;
        }

        @media (max-width: 992px) {
            .kg-openestate-single-layout {
                grid-template-columns: 1fr;
            }
            .kg-openestate-single-sidebar-col {
                position: static;
            }
        }

        /* Carrusel Principal Hero (Aislado de otros carruseles del sitio) */
        .kg-openestate-hero-carousel {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 9;
            max-height: 520px;
            border-radius: 16px;
            overflow: hidden;
            background: #0f172a;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        }
        .kg-openestate-carousel-slides {
            position: relative;
            width: 100%;
            height: 100%;
        }
        .kg-openestate-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }
        .kg-openestate-slide.active {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }
        .kg-openestate-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            cursor: zoom-in;
        }

        /* Modal Lightbox (Relación de Aspecto y Resolución Completa) */
        .kg-openestate-lightbox-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            width: 100dvw;
            height: 100vh;
            height: 100dvh;
            z-index: 999999;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            box-sizing: border-box;
        }
        .kg-openestate-lightbox-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(15, 23, 42, 0.94);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            animation: oeFadeIn 0.3s ease;
        }
        .kg-openestate-lightbox-container {
            position: relative;
            z-index: 2;
            width: 90vw;
            max-width: 1200px;
            height: 92vh;
            max-height: 92dvh;
            display: flex;
            align-items: center;
            justify-content: center;
            box-sizing: border-box;
            padding: 0 65px;
        }
        .kg-openestate-lightbox-stage {
            position: relative;
            max-width: 100%;
            max-height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            margin: auto;
        }
        .kg-openestate-lightbox-img-box {
            position: relative !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            max-width: 100%;
            max-height: 75vh;
            max-height: 75dvh;
            border-radius: 12px;
            overflow: hidden;
            line-height: 0;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
            animation: oeZoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .kg-openestate-lightbox-img-box img {
            max-width: 100%;
            max-height: 75vh;
            max-height: 75dvh;
            width: auto;
            height: auto;
            object-fit: contain;
            display: block;
            border-radius: 12px;
        }
        .kg-openestate-lightbox-caption {
            margin-top: 14px !important;
            color: #f8fafc;
            font-size: 13.5px;
            font-weight: 600;
            text-align: center;
            background: rgba(255, 255, 255, 0.14);
            padding: 5px 16px;
            border-radius: 20px;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.22);
            z-index: 10 !important;
            pointer-events: none;
            white-space: nowrap;
        }
        .kg-openestate-lightbox-close {
            position: absolute !important;
            top: 24px !important;
            right: 24px !important;
            width: 46px !important;
            height: 46px !important;
            min-width: 46px !important;
            min-height: 46px !important;
            max-width: 46px !important;
            max-height: 46px !important;
            padding: 0 !important;
            margin: 0 !important;
            border-radius: 50% !important;
            background: rgba(255, 255, 255, 0.14) !important;
            border: 1px solid rgba(255, 255, 255, 0.25) !important;
            color: #ffffff !important;
            cursor: pointer !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
            z-index: 30 !important;
            line-height: 1 !important;
            box-sizing: border-box !important;
            flex-shrink: 0 !important;
            backdrop-filter: blur(10px) !important;
            -webkit-backdrop-filter: blur(10px) !important;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
        }
        .kg-openestate-lightbox-close svg {
            display: block !important;
            width: 22px !important;
            height: 22px !important;
            min-width: 22px !important;
            min-height: 22px !important;
            stroke: currentColor !important;
            fill: none !important;
            stroke-width: 2.5 !important;
            pointer-events: none !important;
            margin: auto !important;
        }
        .kg-openestate-lightbox-close:hover {
            background: rgba(255, 255, 255, 0.28) !important;
            border-color: rgba(255, 255, 255, 0.45) !important;
            transform: scale(1.08) !important;
        }
        .kg-openestate-lightbox-nav {
            position: absolute !important;
            top: 50% !important;
            transform: translateY(-50%) !important;
            width: 50px !important;
            height: 50px !important;
            min-width: 50px !important;
            min-height: 50px !important;
            max-width: 50px !important;
            max-height: 50px !important;
            padding: 0 !important;
            margin: 0 !important;
            border-radius: 50% !important;
            background: rgba(255, 255, 255, 0.14) !important;
            border: 1px solid rgba(255, 255, 255, 0.25) !important;
            color: #ffffff !important;
            cursor: pointer !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
            z-index: 30 !important;
            line-height: 1 !important;
            box-sizing: border-box !important;
            flex-shrink: 0 !important;
            backdrop-filter: blur(10px) !important;
            -webkit-backdrop-filter: blur(10px) !important;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
        }
        .kg-openestate-lightbox-nav svg {
            display: block !important;
            width: 24px !important;
            height: 24px !important;
            min-width: 24px !important;
            min-height: 24px !important;
            stroke: currentColor !important;
            fill: none !important;
            stroke-width: 2.5 !important;
            pointer-events: none !important;
            margin: auto !important;
        }
        .kg-openestate-lightbox-nav:hover {
            background: rgba(255, 255, 255, 0.28) !important;
            border-color: rgba(255, 255, 255, 0.45) !important;
            transform: translateY(-50%) scale(1.08) !important;
            box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35) !important;
        }
        .kg-openestate-lightbox-nav.prev {
            left: 0px !important;
        }
        .kg-openestate-lightbox-nav.next {
            right: 0px !important;
        }

        @keyframes oeFadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        @keyframes oeZoomIn {
            from { opacity: 0; transform: scale(0.92); }
            to { opacity: 1; transform: scale(1); }
        }

        /* REGLA INQUEBRANTABLE: ETIQUETAS ÚNICAMENTE EN ESQUINA SUPERIOR IZQUIERDA (DISPOSICIÓN HORIZONTAL) */
        .kg-openestate-hero-carousel .kg-openestate-badges-container {
            position: absolute;
            top: 18px;
            left: 18px;
            z-index: 10;
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            align-items: center;
            gap: 8px;
            max-width: calc(100% - 36px);
            pointer-events: none;
        }

        .kg-openestate-hero-carousel .kg-openestate-badge-operacion {
            position: relative !important;
            top: auto !important;
            left: auto !important;
            display: inline-block;
            color: #ffffff;
            font-weight: 800;
            text-transform: uppercase;
            border-radius: 9999px;
            pointer-events: none;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            white-space: nowrap;
        }

        .kg-openestate-hero-carousel .kg-openestate-badges-container.count-1 .kg-openestate-badge-operacion {
            font-size: 12px;
            padding: 8px 18px;
            letter-spacing: 0.6px;
        }

        .kg-openestate-hero-carousel .kg-openestate-badges-container.count-2 .kg-openestate-badge-operacion {
            font-size: 11px;
            padding: 6px 14px;
            letter-spacing: 0.4px;
        }

        .kg-openestate-hero-carousel .kg-openestate-badges-container.count-3 .kg-openestate-badge-operacion {
            font-size: 10px;
            padding: 5px 12px;
            letter-spacing: 0.3px;
        }

        /* Etiquetas compactas en celular para la vista de propiedad individual */
        @media (max-width: 768px) {
            .kg-openestate-hero-carousel .kg-openestate-badges-container {
                top: 12px;
                left: 12px;
                gap: 5px;
                max-width: calc(100% - 24px);
            }

            .kg-openestate-hero-carousel .kg-openestate-badges-container.count-1 .kg-openestate-badge-operacion {
                font-size: 10px;
                padding: 4px 10px;
                letter-spacing: 0.4px;
            }

            .kg-openestate-hero-carousel .kg-openestate-badges-container.count-2 .kg-openestate-badge-operacion {
                font-size: 9px;
                padding: 3.5px 8px;
                letter-spacing: 0.3px;
            }

            .kg-openestate-hero-carousel .kg-openestate-badges-container.count-3 .kg-openestate-badge-operacion {
                font-size: 8px;
                padding: 3px 7px;
                letter-spacing: 0.2px;
            }
        }

        .kg-openestate-hero-nav {
            position: absolute !important;
            top: 50% !important;
            transform: translateY(-50%) !important;
            z-index: 10 !important;
            background: rgba(15, 23, 42, 0.45) !important;
            backdrop-filter: blur(8px) !important;
            -webkit-backdrop-filter: blur(8px) !important;
            color: #ffffff !important;
            border: 1px solid rgba(255, 255, 255, 0.25) !important;
            width: 44px !important;
            height: 44px !important;
            min-width: 44px !important;
            min-height: 44px !important;
            max-width: 44px !important;
            max-height: 44px !important;
            padding: 0 !important;
            margin: 0 !important;
            border-radius: 50% !important;
            cursor: pointer !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
            line-height: 1 !important;
            box-sizing: border-box !important;
            flex-shrink: 0 !important;
            user-select: none !important;
        }
        .kg-openestate-hero-nav svg {
            display: block !important;
            width: 20px !important;
            height: 20px !important;
            stroke: currentColor !important;
            fill: none !important;
            stroke-width: 2.5 !important;
            pointer-events: none !important;
            margin: auto !important;
        }
        .kg-openestate-hero-nav:hover {
            background: rgba(15, 23, 42, 0.8) !important;
            border-color: rgba(255, 255, 255, 0.6) !important;
            transform: translateY(-50%) scale(1.08) !important;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35) !important;
        }
        .kg-openestate-hero-nav:active {
            background: #0055FF !important;
            border-color: #0055FF !important;
            color: #ffffff !important;
            transform: translateY(-50%) scale(0.95) !important;
            box-shadow: 0 0 0 4px rgba(0, 85, 255, 0.35) !important;
            opacity: 1 !important;
        }
        .kg-openestate-hero-nav.prev { left: 16px !important; }
        .kg-openestate-hero-nav.next { right: 16px !important; }

        /* Micro-Insignia Discreta de Conteo de Fotos (Esquina Inferior Derecha) */
        .kg-openestate-hero-photo-badge {
            position: absolute !important;
            bottom: 12px !important;
            right: 12px !important;
            z-index: 6 !important;
            background: rgba(15, 23, 42, 0.65) !important;
            backdrop-filter: blur(6px) !important;
            -webkit-backdrop-filter: blur(6px) !important;
            color: #ffffff !important;
            border-radius: 6px !important;
            padding: 4px 9px !important;
            font-size: 11px !important;
            font-weight: 700 !important;
            letter-spacing: 0.3px !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 4px !important;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
            user-select: none !important;
            pointer-events: auto !important;
            cursor: pointer !important;
            line-height: 1.2 !important;
            transition: background 0.2s ease, transform 0.15s ease !important;
        }
        .kg-openestate-hero-photo-badge:hover {
            background: rgba(15, 23, 42, 0.85) !important;
            transform: scale(1.04) !important;
        }
        .kg-openestate-hero-photo-badge svg {
            stroke: #ffffff !important;
            opacity: 0.9 !important;
            width: 11px !important;
            height: 11px !important;
        }

        /* Barra de Miniaturas Optimizada con Scroll Suave Inteligente */
        .kg-openestate-carousel-thumbs {
            display: flex;
            gap: 10px;
            overflow-x: auto;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            padding: 6px 2px 10px 2px;
            scrollbar-width: thin;
            scrollbar-color: #cbd5e1 transparent;
            box-sizing: border-box;
            width: 100%;
        }
        .kg-openestate-carousel-thumbs::-webkit-scrollbar {
            height: 6px;
        }
        .kg-openestate-carousel-thumbs::-webkit-scrollbar-track {
            background: #f1f5f9;
            border-radius: 9999px;
        }
        .kg-openestate-carousel-thumbs::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 9999px;
        }
        .kg-openestate-carousel-thumbs::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }
        .kg-openestate-thumb-item {
            flex: 0 0 84px;
            width: 84px;
            height: 58px;
            border-radius: 10px;
            overflow: hidden;
            border: 2px solid transparent;
            cursor: pointer;
            opacity: 0.6;
            transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
            padding: 0;
            background: #0f172a;
            flex-shrink: 0;
            position: relative;
            box-sizing: border-box;
        }
        .kg-openestate-thumb-item.active {
            opacity: 1;
            border-color: #0055FF;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 85, 255, 0.28);
        }
        .kg-openestate-thumb-item:hover:not(.active) {
            opacity: 0.9;
            border-color: #94a3b8;
        }
        .kg-openestate-thumb-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        @media (max-width: 768px) {
            .kg-openestate-hero-nav {
                width: 38px !important;
                height: 38px !important;
                min-width: 38px !important;
                min-height: 38px !important;
            }
            .kg-openestate-hero-nav.prev { left: 10px !important; }
            .kg-openestate-hero-nav.next { right: 10px !important; }
            .kg-openestate-thumb-item {
                flex: 0 0 70px;
                width: 70px;
                height: 48px;
            }
            .kg-openestate-hero-bottom-bar {
                bottom: 10px;
                left: 10px;
                right: 10px;
            }
        }

        /* Encabezado Principal */
        .kg-openestate-single-header-card {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 16px;
            padding: 24px;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
        }
        .kg-openestate-single-title-box {
            flex: 1 1 60%;
        }
        .kg-openestate-single-title-box h1 {
            margin: 0 0 8px 0;
            font-size: 28px;
            font-weight: 800;
            color: #0f172a;
            line-height: 1.25;
        }
        .kg-openestate-single-address {
            font-size: 14px;
            color: #64748b;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .kg-openestate-single-price-box {
            text-align: right;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 4px;
        }
        .kg-openestate-single-main-price {
            font-size: 32px;
            font-weight: 800;
            color: #0055FF;
            letter-spacing: -0.5px;
            line-height: 1.1;
            display: flex;
            align-items: baseline;
            justify-content: flex-end;
            gap: 6px;
            white-space: nowrap;
        }
        .kg-openestate-single-rental-period {
            font-size: 16px;
            font-weight: 600;
            color: #64748b;
        }
        .kg-openestate-single-alicuota-sub {
            font-size: 12.5px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 4px 10px;
            border-radius: 6px;
            line-height: 1.3;
            box-sizing: border-box;
        }
        .kg-openestate-single-alicuota-sub.is-extra {
            background: #eff6ff;
            color: #1e40af;
            border: 1px solid #bfdbfe;
        }
        .kg-openestate-single-alicuota-sub.is-included {
            background: #f0fdf4;
            color: #166534;
            border: 1px solid #bbf7d0;
        }
        .oe-alicuota-icon {
            font-weight: 800;
            font-size: 13px;
        }

        /* Grid de Tarjetas de Características Numéricas (SaaS Premium) */
        .kg-openestate-features-pill-grid {
            display: grid !important;
            grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important;
            gap: 12px !important;
            width: 100% !important;
            box-sizing: border-box !important;
        }
        .kg-openestate-feature-square {
            background: #ffffff !important;
            border: 1px solid #e2e8f0 !important;
            border-radius: 14px !important;
            padding: 14px 10px !important;
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            justify-content: center !important;
            text-align: center !important;
            gap: 4px !important;
            box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
            transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease !important;
            box-sizing: border-box !important;
            min-width: 0 !important;
            overflow: hidden !important;
        }
        .kg-openestate-feature-square:hover {
            transform: translateY(-2px) !important;
            border-color: #cbd5e1 !important;
            box-shadow: 0 8px 20px rgba(0, 85, 255, 0.08) !important;
        }
        .kg-openestate-feature-square-val {
            font-family: inherit !important;
            font-size: clamp(15px, 1.25vw, 18px) !important;
            font-weight: 800 !important;
            color: #0f172a !important;
            line-height: 1.2 !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 4px !important;
            white-space: nowrap !important;
            max-width: 100% !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
        }
        .kg-openestate-feature-square-val svg {
            flex-shrink: 0 !important;
            width: 15px !important;
            height: 15px !important;
            color: #0055FF !important;
        }
        .kg-openestate-feature-square-lbl {
            font-family: inherit !important;
            font-size: 11px !important;
            font-weight: 700 !important;
            color: #64748b !important;
            text-transform: uppercase !important;
            letter-spacing: 0.3px !important;
            line-height: 1.2 !important;
            white-space: nowrap !important;
            max-width: 100% !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
        }

        /* Secciones en Cajas (Cards Internas) */
        .kg-openestate-card-section {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 16px;
            padding: 24px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
        }
        .kg-openestate-card-section h3 {
            margin: 0 0 16px 0;
            font-size: 20px;
            font-weight: 700;
            color: #0f172a;
            border-bottom: 1px solid #f1f5f9;
            padding-bottom: 12px;
        }

        /* Amenidades a 2 Columnas */
        .kg-openestate-amenities-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 12px;
        }
        .kg-openestate-amenity-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 500;
            color: #334155;
            background: #f8fafc;
            padding: 10px 14px;
            border-radius: 8px;
            border: 1px solid #f1f5f9;
        }
        .kg-openestate-check-icon {
            color: #10b981;
            font-weight: 800;
        }

        /* Video Embed Responsivo */
        .kg-openestate-video-container {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 9;
            border-radius: 12px;
            overflow: hidden;
        }
        .kg-openestate-video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
        }

        /* Mapa Frontend */
        #oe-property-map {
            width: 100%;
            height: 360px;
            border-radius: 12px;
            border: 1px solid #e2e8f0;
            z-index: 1;
        }

        /* Formulario Flotante (Sticky Sidebar Card) */
        .kg-openestate-sidebar-card {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 16px;
            padding: 24px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
            display: flex;
            flex-direction: column;
            gap: 18px;
        }

        .kg-openestate-agent-header {
            display: flex;
            align-items: center;
            gap: 14px;
            border-bottom: 1px solid #f1f5f9;
            padding-bottom: 16px;
        }

        .kg-openestate-agent-avatar {
            position: relative;
            width: 54px;
            height: 54px;
            border-radius: 50%;
            overflow: hidden;
            background: #0055FF;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            font-weight: 800;
            font-size: 20px;
        }
        .kg-openestate-agent-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .kg-openestate-agent-info h4 {
            margin: 0;
            font-size: 17px;
            font-weight: 800;
            color: #0f172a;
        }
        .kg-openestate-agent-info p {
            margin: 2px 0 0 0;
            font-size: 13px;
            font-weight: 600;
            color: #0055FF;
        }

        .kg-openestate-agent-socials-block {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: #f8fafc;
            border: 1px solid #f1f5f9;
            border-radius: 12px;
            padding: 10px 14px;
            margin: -4px 0 2px 0;
        }

        .kg-openestate-socials-label {
            font-size: 12px;
            font-weight: 700;
            color: #64748b;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .kg-openestate-agent-socials {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .oe-social-btn {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            color: #475569;
            text-decoration: none !important;
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
        }

        .oe-social-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .oe-social-btn.oe-facebook:hover {
            background: #1877F2;
            border-color: #1877F2;
            color: #ffffff;
        }

        .oe-social-btn.oe-instagram:hover {
            background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
            border-color: #dc2743;
            color: #ffffff;
        }

        .oe-social-btn.oe-tiktok:hover {
            background: #000000;
            border-color: #000000;
            color: #ffffff;
        }

        .oe-social-btn.oe-youtube:hover {
            background: #FF0000;
            border-color: #FF0000;
            color: #ffffff;
        }

        .oe-social-btn.oe-linkedin:hover {
            background: #0A66C2;
            border-color: #0A66C2;
            color: #ffffff;
        }

        .oe-social-btn.oe-x:hover {
            background: #0f172a;
            border-color: #0f172a;
            color: #ffffff;
        }

        .oe-social-btn.oe-telegram:hover {
            background: #229ED9;
            border-color: #229ED9;
            color: #ffffff;
        }

        .oe-social-btn.oe-website:hover {
            background: #0055FF;
            border-color: #0055FF;
            color: #ffffff;
        }

        .kg-openestate-sidebar-form {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .kg-openestate-sidebar-form input,
        .kg-openestate-sidebar-form textarea {
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            padding: 11px 14px;
            border-radius: 8px;
            border: 1px solid #e2e8f0;
            background: #f8fafc;
            font-size: 13.5px;
            font-family: inherit;
            color: #0f172a;
            outline: none;
            transition: all 0.2s ease;
        }
        .kg-openestate-sidebar-form textarea {
            resize: vertical;
            min-height: 90px;
        }
        .kg-openestate-sidebar-form input:focus,
        .kg-openestate-sidebar-form textarea:focus {
            border-color: #0055FF;
            background: #ffffff;
            box-shadow: 0 0 0 3px rgba(0, 85, 255, 0.1);
        }

        .kg-openestate-phone-input-group {
            display: flex !important;
            align-items: stretch !important;
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            border: 1px solid #e2e8f0 !important;
            border-radius: 8px !important;
            background: #f8fafc !important;
            transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
            overflow: visible !important;
            position: relative !important;
            z-index: 10;
        }
        .kg-openestate-phone-input-group:focus-within {
            border-color: #0055FF !important;
            background: #ffffff !important;
            box-shadow: 0 0 0 3px rgba(0, 85, 255, 0.1) !important;
        }
        .kg-openestate-phone-input-group:has(.kg-openestate-custom-country-picker.open) {
            z-index: 9999 !important;
        }
        .kg-openestate-phone-input-group .oe-country-picker-btn {
            border-top-left-radius: 7px !important;
            border-bottom-left-radius: 7px !important;
        }
        .kg-openestate-phone-input-group .kg-openestate-phone-number-input {
            flex: 1 1 auto !important;
            width: 100% !important;
            min-width: 0 !important;
            border: none !important;
            border-top-right-radius: 7px !important;
            border-bottom-right-radius: 7px !important;
            background: transparent !important;
            padding: 11px 14px !important;
            font-size: 13.5px !important;
            font-family: inherit !important;
            color: #0f172a !important;
            outline: none !important;
            box-shadow: none !important;
            box-sizing: border-box !important;
            margin: 0 !important;
        }
        .kg-openestate-phone-input-group .kg-openestate-phone-number-input:focus {
            background: transparent !important;
            border: none !important;
            outline: none !important;
            box-shadow: none !important;
        }

        /* Selector de Países con Banderas SVG Vectoriales */
        .kg-openestate-custom-country-picker {
            position: relative !important;
            display: inline-flex !important;
            align-items: stretch !important;
            flex-shrink: 0 !important;
            z-index: 25 !important;
        }
        .kg-openestate-custom-country-picker.open {
            z-index: 99999 !important;
        }
        .oe-country-picker-btn {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 6px !important;
            min-width: 90px !important;
            height: 100% !important;
            min-height: 42px !important;
            padding: 0 10px !important;
            background: #f1f5f9 !important;
            border: none !important;
            border-right: 1px solid #cbd5e1 !important;
            color: #0f172a !important;
            font-size: 13px !important;
            font-weight: 700 !important;
            font-family: inherit !important;
            cursor: pointer !important;
            outline: none !important;
            transition: background 0.15s ease !important;
            user-select: none !important;
            box-sizing: border-box !important;
        }
        .oe-country-picker-btn:hover {
            background: #e2e8f0 !important;
        }
        .oe-country-flag-icon {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 20px !important;
            height: 15px !important;
            border-radius: 2px !important;
            overflow: hidden !important;
            box-shadow: 0 1px 3px rgba(0,0,0,0.18) !important;
            flex-shrink: 0 !important;
        }
        .oe-flag-svg {
            width: 20px !important;
            height: 15px !important;
            display: block !important;
            border-radius: 2px !important;
            flex-shrink: 0 !important;
        }
        .oe-country-dial-code {
            font-weight: 700 !important;
            color: #1e293b !important;
            font-size: 13px !important;
            white-space: nowrap !important;
        }
        .oe-country-chevron {
            color: #64748b !important;
            transition: transform 0.2s ease !important;
            flex-shrink: 0 !important;
        }
        .kg-openestate-custom-country-picker.open .oe-country-chevron {
            transform: rotate(180deg) !important;
        }
        .oe-country-picker-dropdown {
            display: none !important;
            position: absolute !important;
            top: calc(100% + 4px) !important;
            left: 0 !important;
            width: 290px !important;
            max-width: 90vw !important;
            background: #ffffff !important;
            border: 1px solid #cbd5e1 !important;
            border-radius: 12px !important;
            box-shadow: 0 16px 36px rgba(15, 23, 42, 0.22), 0 4px 10px rgba(0, 0, 0, 0.08) !important;
            z-index: 999999 !important;
            overflow: hidden !important;
            flex-direction: column !important;
            box-sizing: border-box !important;
        }
        .kg-openestate-custom-country-picker.open .oe-country-picker-dropdown {
            display: flex !important;
            animation: oeCountryFadeIn 0.18s ease-out !important;
        }
        @keyframes oeCountryFadeIn {
            from { opacity: 0; transform: translateY(-4px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .oe-country-search-wrap {
            padding: 8px 10px !important;
            border-bottom: 1px solid #f1f5f9 !important;
            background: #f8fafc !important;
            display: flex !important;
            align-items: center !important;
            gap: 6px !important;
            box-sizing: border-box !important;
        }
        .oe-country-picker-dropdown .oe-country-search-input {
            width: 100% !important;
            max-width: 100% !important;
            height: 34px !important;
            padding: 0 10px !important;
            font-size: 12.5px !important;
            border: 1px solid #cbd5e1 !important;
            border-radius: 7px !important;
            background: #ffffff !important;
            color: #0f172a !important;
            outline: none !important;
            box-sizing: border-box !important;
            margin: 0 !important;
            box-shadow: none !important;
        }
        .oe-country-picker-dropdown .oe-country-search-input:focus {
            border-color: #0055FF !important;
            background: #ffffff !important;
            box-shadow: 0 0 0 2px rgba(0, 85, 255, 0.12) !important;
        }
        .oe-country-close-btn {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 28px !important;
            height: 28px !important;
            border-radius: 6px !important;
            border: 1px solid #cbd5e1 !important;
            background: #ffffff !important;
            color: #64748b !important;
            font-size: 16px !important;
            line-height: 1 !important;
            cursor: pointer !important;
            padding: 0 !important;
            flex-shrink: 0 !important;
            transition: all 0.15s ease !important;
            box-sizing: border-box !important;
        }
        .oe-country-close-btn:hover {
            background: #fee2e2 !important;
            border-color: #fca5a5 !important;
            color: #ef4444 !important;
        }
        .oe-country-list {
            list-style: none !important;
            margin: 0 !important;
            padding: 6px 0 !important;
            max-height: 220px !important;
            overflow-y: auto !important;
            overscroll-behavior: contain !important;
            box-sizing: border-box !important;
        }
        .oe-country-item {
            display: flex !important;
            align-items: center !important;
            justify-content: flex-start !important;
            gap: 10px !important;
            padding: 9px 14px !important;
            min-height: 38px !important;
            font-size: 13px !important;
            line-height: 1.4 !important;
            color: #334155 !important;
            cursor: pointer !important;
            transition: background 0.12s ease !important;
            text-align: left !important;
            box-sizing: border-box !important;
            margin: 0 !important;
            border: none !important;
            width: 100% !important;
            background: transparent;
            list-style: none !important;
        }
        .oe-country-item.is-hidden {
            display: none !important;
        }
        .oe-country-item:hover {
            background: #f1f5f9 !important;
            color: #0f172a !important;
        }
        .oe-country-item.selected {
            background: #eff6ff !important;
            color: #0055FF !important;
            font-weight: 700 !important;
        }
        .oe-item-flag {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 20px !important;
            height: 15px !important;
            min-width: 20px !important;
            border-radius: 2px !important;
            overflow: hidden !important;
            box-shadow: 0 1px 3px rgba(0,0,0,0.14) !important;
            flex-shrink: 0 !important;
            margin: 0 !important;
        }
        .oe-item-name {
            flex: 1 1 auto !important;
            white-space: nowrap !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            font-size: 12.5px !important;
            line-height: 1.3 !important;
            margin: 0 !important;
            padding: 0 !important;
            color: inherit !important;
        }
        .oe-item-code {
            font-weight: 700 !important;
            font-size: 12px !important;
            color: #64748b !important;
            flex-shrink: 0 !important;
            margin-left: auto !important;
            padding: 0 !important;
            line-height: 1 !important;
        }
        .oe-country-item.selected .oe-item-code {
            color: #0055FF !important;
        }

        .kg-openestate-btn-submit {
            width: 100%;
            padding: 13px;
            background: #0f172a;
            color: #ffffff;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            transition: background 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        .kg-openestate-btn-submit:hover {
            background: #1e293b;
        }

        .kg-openestate-btn-whatsapp {
            width: 100%;
            height: 48px;
            min-height: 48px;
            padding: 12px 18px !important;
            background: #25D366;
            color: #ffffff !important;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: background 0.2s ease;
            box-sizing: border-box;
            line-height: 1.4 !important;
        }
        .kg-openestate-btn-whatsapp:hover {
            opacity: 0.92;
            color: #ffffff;
        }

        /* Adaptación Responsiva Móvil */
        @media (max-width: 768px) {
            .kg-openestate-single-wrapper {
                padding: 0 12px;
                margin: 15px auto;
            }

            .kg-openestate-single-header-card {
                flex-direction: column;
                align-items: flex-start;
                gap: 12px;
                padding: 18px;
            }

            .kg-openestate-single-title-box h1 {
                font-size: 22px;
            }

            .kg-openestate-single-price-box {
                font-size: 26px;
                text-align: left;
                align-items: flex-start;
                width: 100%;
            }
            .kg-openestate-single-main-price {
                justify-content: flex-start;
                font-size: 26px;
            }

            .kg-openestate-features-pill-grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 10px !important;
            }

            .kg-openestate-feature-square {
                padding: 12px 10px !important;
                border-radius: 12px !important;
                gap: 4px !important;
            }

            .kg-openestate-feature-square-val {
                font-size: 16.5px !important;
            }

            .kg-openestate-feature-square-val svg {
                width: 15px !important;
                height: 15px !important;
            }

            .kg-openestate-feature-square-lbl {
                font-size: 10.5px !important;
                letter-spacing: 0.3px !important;
            }

            .kg-openestate-amenities-grid {
                grid-template-columns: 1fr;
            }

            .kg-openestate-lightbox-container {
                width: 100vw !important;
                width: 100dvw !important;
                height: 100vh !important;
                height: 100dvh !important;
                max-width: 100% !important;
                max-height: 100% !important;
                padding: 0 !important;
            }

            .kg-openestate-lightbox-stage {
                width: 100% !important;
                height: 100% !important;
                max-width: 100vw !important;
                max-height: 100dvh !important;
                display: flex !important;
                flex-direction: column !important;
                align-items: center !important;
                justify-content: center !important;
            }

            .kg-openestate-lightbox-stage img,
            .kg-openestate-lightbox-img-box {
                max-width: 100vw !important;
                max-height: 74vh !important;
                max-height: 74dvh !important;
                border-radius: 0 !important;
            }

            .kg-openestate-lightbox-caption {
                margin-top: 12px !important;
                font-size: 12px !important;
                padding: 4px 14px !important;
                background: rgba(255, 255, 255, 0.16) !important;
                border: 1px solid rgba(255, 255, 255, 0.25) !important;
            }

            .kg-openestate-lightbox-nav {
                top: 50% !important;
                transform: translateY(-50%) !important;
                width: 44px !important;
                height: 44px !important;
                min-width: 44px !important;
                min-height: 44px !important;
                background: rgba(255, 255, 255, 0.16) !important;
                border: 1px solid rgba(255, 255, 255, 0.28) !important;
                backdrop-filter: blur(8px) !important;
                -webkit-backdrop-filter: blur(8px) !important;
            }

            .kg-openestate-lightbox-nav.prev {
                left: 10px !important;
            }

            .kg-openestate-lightbox-nav.next {
                right: 10px !important;
            }

            .kg-openestate-lightbox-close {
                top: 14px !important;
                right: 14px !important;
                width: 42px !important;
                height: 42px !important;
                min-width: 42px !important;
                min-height: 42px !important;
                background: rgba(255, 255, 255, 0.16) !important;
                border: 1px solid rgba(255, 255, 255, 0.28) !important;
            }
        }
