/* ==== Holders Styling ============================*/
.holderDiv {
    margin-top: 0px;
    width: 100%;
    top: 0px;
    display: none;
    left: 0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    position: absolute;
    z-index: 60;
    opacity: 0;
    overflow: hidden;
    justify-content: start;
    visibility: hidden;
    flex-wrap: wrap;
    pointer-events: none;
    padding: 10px 10px 30px;
    max-height: 0px;
}

.holderDiv.listHolder {
    margin: 0 auto;
    overflow: visible;
}

.listActive .listHolder,
.cardsActive .cardsHolder,
.plansActive .plansHolder {
    position: relative;
    pointer-events: auto;
    opacity: 1;
    display: flex;
    visibility: inherit;
    max-height: 100000px !important;
} 

.holderDiv.cardsHolder {
    display: flex;
    padding: 5px 30px 30px;
} 
@media (max-width: 834px) {
    .holderDiv.cardsHolder {
        display: flex;
        padding: 5px 0px 30px;
    } 
}

.holderDiv.plansHolder {
    margin-top: 0px;
    overflow: visible;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* ==== Floor Plans Styling ============================*/
.floorPlansHolder {
    position: relative;
    width: calc(62% - 20px);
    text-align: left;
    margin-right: 10px;
    opacity: 1;
    transition: all 0.4s;
}
.plansHolder.activeSideLarge .floorPlansHolder {
    width: calc(40% - 0px);
    overflow: hidden;
    margin-right: 0px;
    padding: 0px;
}
@media (max-width: 834px) {
    .floorPlansHolder {
        width: calc(100%);
        margin-right: 0px;
    }
}

.floorWrap {
    position: relative;
    margin: 7px;
    margin-top: 0px;
    display: inline-block;
    background-color: rgb(255 255 255);
    color: #000;
    width: calc(50% - 20px);
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0px 0px 15px -3px #00000070;
    overflow: hidden;
}
@media (max-width: 834px) {
    .floorWrap {
        width: calc(100% - 15px);
    }
}

.floorWrap h2 {
    font-size: 18px;
    color: var(--primary-color);
    text-transform: uppercase;
    text-align: left;
    margin-top: 10px;
    padding-left: 15px;
    margin-bottom: 0px;
    font-weight: 600;
    font-family: inherit;
}

.plansHolder.activeFloors .floorWrap,
.plansHolder .floorWrap.deActive {
    opacity: 0;
    visibility: hidden;
    display: none;
}

.plansHolder .floorWrap.active  {
    position: relative;
    width: 95%;
    height: auto;
    margin: 0 auto;
    display: block;
}
@media (max-width: 768px) {
    .plansHolder .floorWrap.active  {
        width: 100%;
    }
}

.floorWrap .floorPlanInner {
    position: relative;
    display: flex;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    /* transform: rotateY(180deg) rotateX(180deg); */
}

.floorWrap .floorPlanInner ul.unitTypeWrap{
    position: absolute;
    top: 0px;
    right: 5px;
    margin: 0px;
    padding: 0px;
}

.floorWrap .floorPlanInner ul.unitTypeWrap li {
    position: relative;
    display: flex;
    margin-bottom: 5px;
    font-size: 12px;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.floorWrap .floorPlanInner ul.unitTypeWrap li span {
    position: relative;
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 5px;
}

.floorWrap .floorPlanInner ul.unitTypeWrap li.legend-typeA span {
    background-color: #ede9e0;
}

.floorWrap .floorPlanInner ul.unitTypeWrap li.legend-typeB span {
    background-color: #97d3c1;
}

.floorWrap .floorPlanInner ul.unitTypeWrap li.legend-typeC span {
    background-color: #99bfbd;
}

.floorWrap .floorPlanInner ul.unitTypeWrap li.legend-typeD span {
    background-color: #2a7e7d;
}

.floorWrap .floorPlanInner ul.unitTypeWrap li.legend-typeE1 span {
    background-color: #d1d1d1;
}

.floorWrap .floorPlanInner ul.unitTypeWrap li.legend-typeE2 span {
    background-color: #9e9e9e;
}

.floorWrap .floorPlanInner ul.unitTypeWrap li.legend-typeF span {
    background-color: #777777;
}

.floorWrap .floorPlanInner .floorImgFigure {
    position: absolute;
    margin: 0px;
    width: 100%;
}

.floorWrap.active .floorPlanInner .floorImgFigure {
    position: absolute;
    margin: 0px;
    width: 90%;
    left: 5%;
}
@media (max-width: 768px) {
    .floorWrap.active .floorPlanInner .floorImgFigure {
        width: 100%;
        left: 0%;
    }
}

.floorWrap .floorPlanInner .floorImgFigure img {
    position: relative;
    width: 100%;
}

.propertyMarketPage svg.svgParent {
    position: relative;
    z-index: 12;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.propertyMarketPage .floorWrap.active svg.svgParent {
    margin: 0 auto;
    width: 90%;
    left: 0%;
    transform: translateX(0%);
}
@media (max-width: 768px) {
    .propertyMarketPage .floorWrap.active svg.svgParent {
        width: 100%;
    }
}
.floorWrap .less.flooorSlected,
.floorWrap.active .less,
.floorWrap .enlarge-btn.active {
    opacity:1;
    z-index: 10;
    visibility: visible;
}

.floorWrap .less,
.floorWrap .enlarge-btn{
    position: absolute;
    border: 0px;
    background-color: transparent !important;
    color: var(--text-color);
    right: 0px;
    outline: none !important;
    top: 9px;
    padding: 1px 20px;
    font-size: 14px;
    font-style: italic;
    transition: all 0s;
    transition-delay: 0s;
    opacity: 0;
    /* pointer-events: none; */
    z-index: -1;
    visibility: hidden;
    width: 16px;
    height: 16px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
@media (max-width: 834px) {
    .floorWrap .less,
    .floorWrap .enlarge-btn{
        display: none;
    }
}

.floorWrap .less:hover,
.floorWrap .enlarge-btn:hover {
    width: 18px;
    height: 18px;
}

.floorWrap .enlarge-btn{
    background-image: url('../blinc-assets/icons/zoom-in.svg');
}

.floorWrap .less {
    position: absolute;
}

.floorWrap .less .minimizeFloor,
.floorWrap .less.flooorSlected .resetMinus {
    display: block;
}

.floorWrap .less.flooorSlected .minimizeFloor,
.floorWrap .less .resetMinus {
    display: none;
}

.floorWrap .less .resetMinus,
.floorWrap .less .minimizeFloor{
    position: absolute;
    background-color: transparent !important;
    color: var(--text-color);
    right: 0px;
    outline: none !important;
    top: 9px;
    padding: 1px 20px;
    width: 16px;
    height: 16px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.floorWrap .less .resetMinus,
.floorWrap .less .minimizeFloor{
    background-image: url('../blinc-assets/icons/zoom-out.svg');
}

.plansHolder .buildingVisual {
    width: 38%;
    position: sticky;
    top: 150px;
    height: 100%;
    margin-top: 0px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0px 0px 5px 0px #00000078;
    transition: width 0.4s;
}

.plansHolder.activeSideLarge .buildingVisual {
    width: 60%;
}

.plansHolder .buildingVisual .enlargeBtnSide,
.plansHolder.activeSideLarge .buildingVisual .minimiseBtnSide {
    opacity: 1;
    visibility: visible;
    z-index: 100;
    pointer-events: auto;
}

.plansHolder.activeSideLarge .buildingVisual .enlargeBtnSide, 
.plansHolder .buildingVisual .minimiseBtnSide {
    opacity: 0;
    visibility: hidden;
    z-index: 0;
    pointer-events: none;
}

.plansHolder.activeSideLarge .floorWrap {
    width: calc(100% - 25px);
}

.plansHolder .buildingVisual .zoomSideBtns {
    position: absolute;
    left: 5px;
    top: 5px;
    height: 29px;
    width: 29px;
    z-index: 100;
    color: #fff;
    border-radius: 4px;
    letter-spacing: 0.05em;
    font-weight: 300;
    border: 0px;
    line-height: 14px;
    border-radius: 50%;
    font-size: 14px;
    font-style: normal;
    outline: none !important;
    padding: 7px;
    background-color: var(--secondary-color) !important;
    transition: all 0.4s;
}

.plansHolder .buildingVisual .zoomSideBtns img {
    height: 15px;
}

.plansHolder .buildingVisual .zoomSideBtns:hover {
    background-color: var(--primary-color) !important;
}
@media (max-width: 834px) {
    .plansHolder .buildingVisual {
        display: none;
    }
}

.plansHolder .buildingVisual svg {
    position: absolute;
    width: 100%;
    top: 0px;
    z-index: 10;
    left: 0px;
}

.plansHolder .buildingVisual svg a {
    cursor: pointer;
}

.plansHolder .buildingVisual svg .floorLevel .siteMapPoints {
    fill: rgb(50 154 210 / 0%);
    stroke: rgb(255 255 255 / 0%);
    stroke-width: 3px;
    /* cursor: pointer; */
    transition: all 0.4s;
}

.plansHolder .buildingVisual svg .floorLevel.active .siteMapPoints {
    fill: rgb(0 0 0 / 35%);
    /* stroke: rgb(240 22 0); */
    stroke-width: 2px;
}

.plansHolder .buildingVisual svg .floorLevel.unit-highlighted .siteMapPoints {
    fill: color-mix(in srgb, var(--accent-color) 38%, transparent);
    stroke: rgb(255 255 255);
    stroke-width: 2px;
    transition: all 0.2s ease;
}

/* Child floor level paths - hidden by default */
.plansHolder .buildingVisual svg .floorLevel.floorLevelChild {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

.plansHolder .buildingVisual svg .floorLevel.floorLevelChild .siteMapPoints {
    fill: rgb(50 154 210 / 0%);
    stroke: rgb(255 255 255 / 0%);
    stroke-width: 0px;
    cursor: default;
    pointer-events: none;
}

/* Active child floor level - shown via URL parameter */
.plansHolder .buildingVisual svg .floorLevel.floorLevelChild.active {
    opacity: 1;
    visibility: visible;
    pointer-events: none;
}

.plansHolder .buildingVisual svg .floorLevel.floorLevelChild.active .siteMapPoints {
    fill: rgba(255, 213, 0, 0.746);
    stroke: white;
    stroke-width: 3px;
    animation: pulse-floor 2s ease-in-out infinite;
}

/* Subtle pulse animation for active floor */
@keyframes pulse-floor {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.plansHolder .buildingVisual svg .siteMapPoints.noLink {
    fill: rgb(255 255 255 / 19%);
    cursor: auto;
}
.plansHolder .buildingVisual svg .siteMapPoints.noLink:hover {
    fill: rgb(18 82 95 / 4%);
}

.plansHolder .buildingVisual svg .siteMapPoints.activeSVG.active:hover,
.plansHolder .buildingVisual svg .siteMapPoints:hover {
    fill: color-mix(in srgb, var(--accent-color) 60%, transparent);
    stroke: rgb(255 255 255);
    stroke-width: 2px;
}

.plansHolder .buildingVisual svg .siteMapPoints.activeLevel,
.plansHolder .buildingVisual svg .siteMapPoints.activeFloor,
.plansHolder .buildingVisual svg .siteMapPoints.activeSVG.active {
    fill: var(--accent-color);
    stroke: rgb(255 255 255 / 100%);
    stroke-width: 1px;
    cursor: pointer;
    pointer-events: auto;
}

.plansHolder .buildingVisual figure {
    margin-bottom: 0px;
}

.plansHolder .buildingVisual svg.sideSvgMap,
.plansHolder.activeSideLarge .buildingVisual svg.sideSvgMapLarge,
.plansHolder.activeSideLarge .buildingVisual figure.siteMapLarge,
.plansHolder .buildingVisual figure.siteMap {
    opacity: 1;
    visibility: visible;
    z-index: 10;
    display: block;
}

.plansHolder.activeSideLarge .buildingVisual svg.sideSvgMapLarge {
    z-index: 50;
}

.plansHolder.activeSideLarge .buildingVisual svg.sideSvgMap,
.plansHolder .buildingVisual svg.sideSvgMapLarge,
.plansHolder.activeSideLarge .buildingVisual figure.siteMap,
.plansHolder .buildingVisual figure.siteMapLarge {
    opacity: 0;
    visibility: hidden;
    display: none;
}
.plansHolder .buildingVisual figure img {
    position: relative;
    width: 100%;
    border-radius: 15px;
    /* box-shadow: 0px 0px 5px 0px #00000078; */
}
.plansHolder .buildingVisual figure.siteMapLarge {
    position: relative;
    width: 100%;
    left: 0px;
    top: 0px;
}
.plansHolder .buildingVisual svg.sideSvgMapLarge,
.plansHolder .buildingVisual figure.sideSvgMapLarge img {
    z-index: -1;
}
/* 
.floorPlansHolder:has(.floorWrap.active) {
    width: 100%;
}

.plansHolder:has(.floorWrap.active) .buildingVisual {
    width: 0%;
} */

.compass-wrapper {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 5.5vw;
    min-width: 60px;
}

.buildingVisual .compass-wrapper {
    transform: rotateZ(33deg);
}

.unitSideMap,
.unitSideMapLarge {
    opacity: 0;
    pointer-events: none;
    fill: rgba(30, 255, 0, 0.695);
    stroke: white;
    stroke-width: 2;
    transition: opacity 0.3s ease;
}

.unitSideMap.active,
.unitSideMapLarge.active {
    opacity: 1;
}

.holderDiv .plansHolder .activeSideLarge .floorPlansHolder {
    width: calc(35% - 0px);
}