.vh-masterplan-wrapper {
    width: 100%;
    position: static !important;
    background: #000;
    display: block;
    clear: both;
    order: 999;
    float: none !important;
    margin: 20px 0;
}

.section-floor-plan-image {
    display: block;
    min-height: 200px;
    width: 100%;
    max-height: calc(100vh - 170px);
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.swiper-zoom-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.imp-image {
    max-width: 100%;
    height: auto;
    display: block;
    user-select: none;
}

/* Loading styles */
.section-floor-plan-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.loading-circle {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.loading-text {
    color: #fff;
    margin-top: 10px;
    font-size: 14px;
}

/* Title styles */
.floor-plan-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Zoom buttons */
.imp-ui-bottom-right {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.imp-ui-zoom-button {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: rgba(0, 0, 0, .5) !important;
    -webkit-box-shadow: 0 4px 12px 0 rgba(28, 30, 34, .08);
    box-shadow: 0 4px 12px 0 rgba(28, 30, 34, .08);
    border: 0 !important;
    fill: #fff !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.imp-ui-zoom-button:hover {
    background: rgba(0, 0, 0, .7) !important;
    transform: translateY(-1px);
}

.imp-ui-zoom-button svg {
    width: 16px;
    height: 16px;
}

/* Navigator styles */
.imp-ui-navigator {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 3;
}

.imp-ui-navigator-root {
    width: 150px;
    height: 85px;
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 6px;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}

.imp-ui-navigator-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.imp-ui-navigator-window-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.imp-ui-navigator-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    z-index: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Loading state */
.is-loading .section-floor-plan-loading {
    opacity: 1;
}

.is-loading .swiper-container {
    opacity: 0.5;
}

.section-gallery__slider-content {
    overflow: hidden;
    position: relative;
}

.section-gallery__slider-content .swiper-slide {
    opacity: 1 !important;
    transition: transform 0.3s ease-in-out !important;
    height: auto;
}

.section-gallery__slider-content .swiper-slide-active {
    z-index: 2;
}

.section-gallery__slider-content .swiper-slide-next,
.section-gallery__slider-content .swiper-slide-prev {
    z-index: 1;
}

.section-gallery__slider-content .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.section-gallery__slider-content .swiper-slide[style*="display: none"] {
    opacity: 0 !important;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.section-gallery__slider-content .swiper-wrapper {
    will-change: transform;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

/* Responsive styles */
@media screen and (max-width: 767px) {
    .imp-ui-navigator {
        display: none !important;
    }
    
    .vh-masterplan-wrapper {
        position: static !important;
        width: 100% !important;
        margin: 15px 0;
        padding: 0;
        float: none !important;
        order: 999;
    }
    
    .section-floor-plan-image {
        min-height: 150px;
        max-height: 50vh;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .vh-masterplan-wrapper {
        position: static !important;
        width: 100% !important;
        margin: 20px 0;
        padding: 0;
        float: none !important;
        order: 999;
    }
} 