.property-header { padding: 120px 0 60px; background: var(--c-surface); border-bottom: 1px solid var(--c-border); }
.property-gallery {
    margin-bottom: 40px;
}
.property-gallery-shell {
    position: relative;
    padding: 18px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(192, 10, 39, 0.12), transparent 32%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}
.property-gallery-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(255,255,255,0.22), transparent 46%);
    pointer-events: none;
}
.property-gallery-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}
.property-gallery-intro {
    position: relative;
    z-index: 1;
}
.property-gallery-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(192, 10, 39, 0.08);
    color: var(--c-primary);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.property-gallery-hint {
    margin: 10px 0 0;
    color: var(--c-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}
.property-gallery-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.78);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
}
.property-gallery-stage {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.38)),
        #0f172a;
    min-height: 480px;
}
.property-gallery-viewport {
    position: relative;
    overflow: hidden;
    border-radius: inherit;
    touch-action: pan-y;
    cursor: grab;
    min-height: 480px;
}
.property-gallery-viewport.is-dragging {
    cursor: grabbing;
}
.property-gallery-track {
    position: relative;
    height: 480px;
    perspective: 1800px;
    transform-style: preserve-3d;
    overflow: visible;
}
.property-gallery-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(600px, calc(100% - 190px));
    height: 480px;
    overflow: hidden;
    border-radius: 22px;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 28px 65px rgba(15, 23, 42, 0.2);
    transform-origin: center center;
    transform: translate3d(-50%, -50%, -220px) scale(0.7);
    transition:
        transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1),
        opacity 0.35s ease,
        box-shadow 0.35s ease,
        filter 0.35s ease;
    filter: saturate(0.88);
}
.property-gallery-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.2));
    pointer-events: none;
}
.property-gallery-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 0.85s ease, filter 0.35s ease;
}
.property-gallery-slide.is-active img {
    transform: scale(1);
}
.property-gallery-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    filter: saturate(1);
    transform: translate3d(-50%, -50%, 0) scale(1) rotateY(0deg);
}
.property-gallery-slide.is-prev,
.property-gallery-slide.is-next {
    opacity: 0.82;
    pointer-events: auto;
}
.property-gallery-slide.is-prev {
    transform: translate3d(calc(-50% - 245px), -50%, -100px) rotateY(24deg) scale(0.84);
}
.property-gallery-slide.is-next {
    transform: translate3d(calc(-50% + 245px), -50%, -100px) rotateY(-24deg) scale(0.84);
}
.property-gallery-slide.is-far-left,
.property-gallery-slide.is-far-right {
    opacity: 0.34;
}
.property-gallery-slide.is-far-left {
    transform: translate3d(calc(-50% - 420px), -50%, -180px) rotateY(34deg) scale(0.68);
}
.property-gallery-slide.is-far-right {
    transform: translate3d(calc(-50% + 420px), -50%, -180px) rotateY(-34deg) scale(0.68);
}
.property-gallery-slide.is-hidden {
    opacity: 0;
    pointer-events: none;
}
.property-gallery-slide.is-prev img,
.property-gallery-slide.is-next img,
.property-gallery-slide.is-far-left img,
.property-gallery-slide.is-far-right img {
    filter: brightness(0.88);
}
.property-gallery-nav {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    pointer-events: none;
}
.property-gallery-arrow {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.property-gallery-arrow:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.45);
}
.property-gallery-arrow i {
    width: 22px;
    height: 22px;
}
.property-gallery-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16);
}
.property-gallery-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.property-gallery-dot:hover {
    transform: scale(1.05);
}
.property-gallery-dot.is-active {
    width: 28px;
    background: #fff;
}
.property-gallery.is-single .property-gallery-nav,
.property-gallery.is-single .property-gallery-dots {
    display: none;
}
.property-gallery.is-single .property-gallery-track,
.property-gallery.is-single .property-gallery-viewport,
.property-gallery.is-single .property-gallery-stage {
    min-height: 480px;
}
.property-gallery.is-single .property-gallery-slide {
    width: min(600px, calc(100% - 40px));
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(-50%, -50%, 0) scale(1);
}
        .prop-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
        .prop-layout, .prop-main, .prop-sidebar, .sidebar-box, #video-wrapper, #map-block {
            min-width: 0;
            max-width: 100%;
        }
        .prop-main h2 { margin-bottom: 24px; color: var(--c-primary); font-size: 1.8rem; }
        
        .overview-section {
            background: #ffffff;
            border-radius: 24px;
            padding: 32px;
            border: 1px solid var(--c-border);
            box-shadow: var(--shadow-sm);
            margin-bottom: 40px;
        }
        .overview-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 24px;
            padding-bottom: 16px;
            border-bottom: 1px solid #f1f5f9;
        }
        .overview-header h2 { margin-bottom: 0 !important; font-size: 1.5rem !important; }
        .overview-note {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 14px;
            border-radius: 999px;
            background: rgba(192, 10, 39, 0.08);
            color: var(--c-primary);
            font-size: 0.82rem;
            font-weight: 700;
            letter-spacing: 0.02em;
        }
        
        .info-cards { 
            display: grid; 
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); 
            gap: 1px; /* Divider effect */
            background: #f1f5f9; /* Divider color */
            border: 1px solid #f1f5f9;
            border-radius: 16px;
            overflow: hidden;
        }
        .info-card { 
            padding: 16px 20px; 
            background: #ffffff; 
            display: flex;
            align-items: center;
            gap: 14px;
            transition: background 0.3s ease;
        }
        .info-card:hover {
            background: #fdf2f4;
        }
        
        .info-card .icon-box {
            width: 36px;
            height: 36px;
            background: rgba(192, 10, 39, 0.08);
            color: var(--c-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;
            flex-shrink: 0;
        }
        
        .info-card-content { flex: 1; min-width: 0; }
        .info-card h4 { 
            color: var(--c-text-light); 
            font-size: 0.7rem; 
            margin-bottom: 2px; 
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 600;
        }
        .info-card p { 
            font-size: 0.95rem; 
            font-weight: 700; 
            color: var(--c-text);
            margin: 0;
            line-height: 1.3;
        }
        
        .html-content { line-height: 1.8; margin-bottom: 40px; text-align: justify; }
        .html-content p { margin-bottom: 14px; }
        .html-content p:last-child { margin-bottom: 0; }
        .html-content ul { padding-left: 20px; margin-bottom: 18px; }
        .html-content li + li { margin-top: 8px; }
        .html-content .rt-table-wrap {
            width: 100%;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            margin: 16px 0 20px;
        }
        .html-content .rt-table-wrap table {
            width: 100%;
            min-width: 620px;
            border-collapse: collapse;
        }
        .html-content .rt-table-wrap th,
        .html-content .rt-table-wrap td {
            padding: 5px 8px !important;
            line-height: 1.25 !important;
        }
        .html-content .rt-table-wrap td p,
        .html-content .rt-table-wrap th p,
        .html-content .rt-table-wrap td div,
        .html-content .rt-table-wrap th div {
            margin: 0 !important;
            padding: 0 !important;
            line-height: 1.25 !important;
        }
        
        .sidebar-box { padding: 32px; background: white; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--c-border); position: sticky; top: 100px; }
        #prop-map {
            width: 100%;
            max-width: 100%;
            aspect-ratio: 16 / 9;
            min-height: 360px;
            border-radius: var(--radius-md);
            margin-top: 20px;
            z-index: 1;
            position: relative;
            overflow: hidden;
            border: 1px solid var(--c-border);
            background: #f8fafc;
        }
        #prop-map iframe {
            width: 100%;
            height: 100%;
            border: 0;
            display: block;
        }
        .map-click-shield {
            position: absolute;
            inset: 0;
            background: transparent;
            z-index: 5;
            cursor: default;
        }
        .map-lock-note {
            position: absolute;
            left: 10px;
            bottom: 10px;
            z-index: 6;
            background: rgba(255, 255, 255, 0.96);
            color: var(--c-text);
            border: 1px solid var(--c-border);
            border-radius: 999px;
            font-size: 0.75rem;
            font-weight: 700;
            padding: 6px 10px;
            line-height: 1;
        }
        .map-zoom-controls {
            position: absolute;
            right: 10px;
            top: 10px;
            z-index: 7;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }
        .map-zoom-btn {
            width: 34px;
            height: 34px;
            border: 1px solid var(--c-border);
            background: rgba(255, 255, 255, 0.96);
            color: var(--c-text);
            border-radius: 10px;
            font-size: 1.2rem;
            font-weight: 800;
            line-height: 1;
            cursor: pointer;
            box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
        }
        .map-zoom-btn:hover {
            background: #fff;
        }
        .map-zoom-btn:disabled {
            opacity: 0.45;
            cursor: not-allowed;
        }
        .map-fallback {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
            color: var(--c-text-light);
            font-size: 0.9rem;
            padding: 10px;
            text-align: center;
        }
        
        .video-container {
            position: relative;
            width: 100%;
            max-width: 100%;
            aspect-ratio: 16 / 9;
            min-height: 360px;
            overflow: hidden;
            margin-top: 20px;
            border-radius: var(--radius-md);
            border: 1px solid var(--c-border);
            background: #000;
        }
        .video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
        
        .offer-badge-hero {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #10b981;
            color: white;
            font-size: 0.9rem;
            padding: 6px 16px;
            border-radius: 30px;
            margin-left: 15px;
            vertical-align: middle;
            font-weight: 700;
            text-transform: uppercase;
            box-shadow: 0 10px 20px rgba(16,185,129,0.2);
            animation: pulse-green-hero 2s infinite;
        }
        @keyframes pulse-green-hero {
            0%, 100% { transform: scale(1); box-shadow: 0 10px 20px rgba(16,185,129,0.2); }
            50% { transform: scale(1.05); box-shadow: 0 10px 30px rgba(16,185,129,0.4); }
        }
        @media (max-width: 900px) { 
            html, body {
                overflow-x: hidden !important;
                max-width: 100% !important;
            }
            .property-gallery-shell {
                padding: 12px;
                border-radius: 22px;
            }
            .property-gallery-topbar {
                flex-direction: column;
                align-items: stretch;
                gap: 12px;
            }
            .property-gallery-hint {
                font-size: 0.88rem;
            }
            .property-gallery-counter {
                align-self: flex-start;
                min-width: 84px;
                padding: 8px 14px;
            }
            .property-gallery-stage {
                min-height: auto;
                border-radius: 18px;
            }
            .property-gallery-viewport,
            .property-gallery-track,
            .property-gallery.is-single .property-gallery-track,
            .property-gallery.is-single .property-gallery-viewport,
            .property-gallery.is-single .property-gallery-stage {
                min-height: 300px;
                height: 300px;
            }
            .property-gallery-slide {
                width: calc(100% - 70px);
                height: 300px;
                border-radius: 16px;
            }
            .property-gallery-slide.is-prev {
                transform: translate3d(calc(-50% - 110px), -50%, -60px) rotateY(18deg) scale(0.82);
            }
            .property-gallery-slide.is-next {
                transform: translate3d(calc(-50% + 110px), -50%, -60px) rotateY(-18deg) scale(0.82);
            }
            .property-gallery-slide.is-far-left {
                transform: translate3d(calc(-50% - 180px), -50%, -120px) rotateY(26deg) scale(0.66);
            }
            .property-gallery-slide.is-far-right {
                transform: translate3d(calc(-50% + 180px), -50%, -120px) rotateY(-26deg) scale(0.66);
            }
            .property-gallery.is-single .property-gallery-slide {
                width: calc(100% - 24px);
                height: 300px;
            }
            .property-gallery-nav {
                padding: 0 10px;
            }
            .property-gallery-arrow {
                width: 42px;
                height: 42px;
            }
            .property-gallery-arrow i {
                width: 18px;
                height: 18px;
            }
            .property-gallery-dots {
                bottom: 12px;
                gap: 6px;
                padding: 8px 10px;
            }
            .property-gallery-dot.is-active {
                width: 22px;
            }
            .prop-layout { grid-template-columns: 1fr; } 
            .info-cards { grid-template-columns: 1fr 1fr !important; gap: 1px !important; }
            .info-card { padding: 12px 10px !important; gap: 8px !important; }
            .info-card .icon-box { width: 32px !important; height: 32px !important; }
            .info-card p { font-size: 0.8rem !important; }
            .info-card h4 { font-size: 0.6rem !important; }
            .offer-badge-hero { display: flex; margin-left: 0; margin-top: 15px; width: fit-content; }

            main#property-content > section.container {
                padding-left: 12px !important;
                padding-right: 12px !important;
            }
            .sidebar-box {
                padding: 16px;
            }
            #map-block {
                margin-top: 24px !important;
                padding: 16px 0 0 !important;
            }
            #video-wrapper {
                margin-left: 0 !important;
                margin-right: 0 !important;
            }
            #prop-map,
            .video-container {
                width: 100%;
                min-height: 320px;
                border-radius: 12px;
                margin-top: 12px;
            }
            .prop-main {
                padding-left: 0 !important;
                padding-right: 0 !important;
            }
        }
