/* ============ GENERAL ==============================================================================
====================================================================================================*/

/* Adobe Fonts - loaded via link in header.php */
:root {
  --font-bogart: "bogart", sans-serif;
  --font-figtree: 'figtree', sans-serif;
}

@font-face {
  font-family: 'figtree';
  src: url('../blinc-assets/fonts/NotoSans-VariableFont_wdth,wght.ttf') format('true-type');
  font-weight: 400;
  font-style: normal;
}

/* Ensure the page layout uses flexbox for sticky footer */
.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--primary-color);
}

.site-main {
  flex: 1;
}

.dwnBrochure {
  position: absolute;
  left: 20px;
  font-size: 12px;
  padding: 4px 7px 4px 28px;
  color: var(--text-color);
  background-color: var(--button-color);
  z-index: 99;
  text-decoration: none;
  font-weight: 700;
  border-radius: 5px;
  transition: all 0.4s
}

.dwnBrochure:hover {
  background-color: var(--button-hover-color);
  color: var(--text-color);
}

.dwnBrochure::before {
  position: absolute;
  content: "";
  top: 4px;
  left: 4px;
  width: 15px;
  height: 15px;
  display: block;
  background-image: url('https://thevanderbilt.co.za/wp-content/uploads/2025/09/pdf-file-free-3-svgrepo-com-1.svg');
  background-repeat: no-repeat;
  background-size: 100%;
}

@media (max-width: 767px) {
  .dwnBrochure {
    /* display: none; */
    left: 50%;
    top: -33px;
    transform: translateX(-50%);
    padding: 3px 10px 2px 22px;
    font-weight: 500;
    color: var(--text-color);
  }

  .dwnBrochure::before {
    width: 13px;
    height: 13px;
    background-image: url('https://thevanderbilt.co.za/wp-content/uploads/2025/09/pdf-file-free-3-svgrepo-com-2.svg');
  }
}


.dontShow {
  display: none !important;
}

html :where(img) {
  height: auto;
  max-width: 100%;
}

html {
  height: 100% !important;
  margin: 0px !important;
}

body,
html {
  /* height: 100%; */
  position: relative;
  margin: 0px;
  background-color: var(--primary-color);
  scrollbar-width: none;
  scroll-behavior: smooth;
}

button.defualtBTN {
  background: transparent;
  border: none;
  box-shadow: none;
  outline: none;
}

.countdownWrap {
  position: absolute;
  right: 50px;
  top: 162px;
  text-align: center;
}

.countdownWrap h2 {
  position: relative;
  text-align: center;
  font-size: 15px;
  margin: 0px 0px 5px;
  font-family: var(--font-bogart);
  text-transform: uppercase;
  color: var(--accent-color);
}

.countdownWrap h2 span,
.countdownWrap h2 sup {
  text-transform: none;
}

#countdown {
  font-size: 15px;
  font-weight: bold;
  font-family: var(--font-figtree);
  color: var(--text-color);
  background: var(--primary-color);
  padding: 2px 39px;
  border-radius: 12px;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#countdown span {
  margin: 0 5px;
}

@media (max-width: 1024px) {
  .countdownWrap {
    
  }

  .countdownWrap h2 {
    font-size: 12px;
  }

  #countdown {
    
  }

  #countdown span {
    font-size: 12px;
  }
}

@media (max-width: 767px) {

  .countdownWrap {
    position: absolute;
    top: 112px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .countdownWrap h2 {
    position: relative;
    width: 100%;
    margin-bottom: 2px;
  }

  #countdown {
    position: relative;
    background: #c2bbb2;
    padding: 0px 38px;
  }

  #countdown span {
    position: relative;
  }
}


.marketPlaceWrap {
  padding-top: 145px;
  position: relative;
  background-color: var(--background-color);
}

.marketPlaceWrap::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  background-attachment: fixed;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  background-repeat: no-repeat;
  filter: blur(0px);
  z-index: 0;
  background-size: 100%;
  
  /* Multiple background images */
  background-image: url("../blinc-assets/imagery/beach.webp");
}

@media (max-width: 767px) {
  .marketPlaceWrap {
    margin-top: 33px;
    padding-top: 210px;
  }
}

@media (max-width: 1024px) {
  .marketPlaceWrap::before {
    background-size: cover;
  }
}


@media (max-width: 767px) {
  .siteWrap.propertyMarketPage {
    margin-top: 110px;
  }
}

/* ============ SVG PROPERTIES =====================================================================
====================================================================================================*/

svg .svgUnits {
  fill: transparent;
  stroke: white;
  stroke-width: 14px;
  transition: all 0.4s;
  will-change: fill, stroke;
  pointer-events: auto;
}

.UnitFloorLrg .svgUnits {
  fill: rgba(33, 165, 0, 0.52);
  stroke: white;
  stroke-width: 14px;
  transition: all 0.4s;
  will-change: fill, stroke;
  pointer-events: none;
}

.UnitFloorSmall .svgUnits {
  fill: rgba(33, 165, 0, 0.52);
  stroke: white;
  stroke-width: 10px;
  transition: all 0.4s;
  will-change: fill, stroke;
  pointer-events: none;
}

svg .svgUnits.reservedSvg {
  fill: rgba(220, 180, 22, 0.499) !important;
  transition: all 0.4s !important;
}

svg .svgUnits.reservedSvg:hover {
  fill: rgba(220, 180, 22, 0.734);
  transition: all 0.4s;
}

svg .svgUnits.activeSVG:hover,
svg .svgUnits:hover {
  fill: rgb(0 0 0 / 55%);
  transition: all 0.4s;
}

svg .svgUnits.activeSVG {
  fill: rgb(106 241 0 / 41%);
  stroke: #ffffff;
  stroke-width: 20px;
  transition: all 0.4s;
}

svg .svgUnits.outofstock.confirmSold-no {
  fill: #d73905c2 !important;
}

svg .svgUnits.outofstock.confirmSold-no:hover {
  fill: rgb(255 0 0 / 86%) !important;
}

svg .svgUnits.outofstock {
  fill: rgb(232 16 16 / 46%) !important;
}

svg .svgUnits.outofstock:hover {
  fill: rgb(255 0 0 / 65%) !important;
}

svg .svgUnits.unavailable {
  fill: rgb(105 105 105 / 60%) !important;
}

svg .svgUnits.unavailable:hover {
  fill: rgb(105 105 105 / 60%) !important;
}

/* ============ IMAGE PROPERTIES =====================================================================
====================================================================================================*/

img[data-object-fit="contain"] {
  -o-object-fit: contain;
  object-fit: contain;
  height: 100%;
  width: 100%;
}

img[data-object-fit*="cover"] {
  -o-object-fit: cover;
  object-fit: cover;
  height: 100%;
  width: 100%;
}



/* ============ HOT SPOT IMAGES =====================================================================
====================================================================================================*/

.hotspotsWrap {
  overflow: hidden;
  position: absolute;
  padding-top: calc(452 / 829 * 100%);
  z-index: auto;
  top: 0px;
  overflow: hidden;
  left: 0px;
  width: 100%;
  display: none;
  opacity: 0;
  transition: all 0.4s;
}

.activeSideLarge .hotspotsWrap.active {
  opacity: 1;
  display: block;
}

.buildingVisual {
  overflow: hidden;
}

.hotspot {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  padding: 0;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  transform-origin: center;
  transition: transform 200ms ease, filter 200ms ease;
  z-index: 100;
  overflow: hidden;
  /* clip thumbnail */
}

.hotspot img.thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  padding: 0px;
  transition: opacity 200ms ease;
  display: block;
  border-radius: 50%;
  border: 0px solid #d8ae0d;
  /* box-shadow: 0px 0px 0px 3px #fff; */
}

.hotspot:hover,
.hotspot:focus-visible {
  transform: scale(1.77);
  /* 23px Ã¢â€ â€™ ~105px */
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .25));
  z-index: 110;
  border: 1px solid #fff;
}

.hotspot:hover img.thumb,
.hotspot:focus-visible img.thumb {
  opacity: 1;
}

/* Prevent modal jump */
#modalImage {
  aspect-ratio: var(--aspect-w, 16) / var(--aspect-h, 9);
}

/* ==== Position each hotspot here ==== */
.hotspotsWrap .hotspot:nth-child(1) {
  top: 54%;
  left: 23%;
}

.hotspotsWrap .hotspot:nth-child(2) {
  top: 54%;
  left: 70.5%;
}

.hotspotsWrap .hotspot:nth-child(3) {
  top: 73%;
  left: 7%;
}

.hotspotsWrap .hotspot:nth-child(4) {
  top: 71%;
  left: 58%;
}

#imageModal .modal-dialog {
  max-width: 900px;
}

#imageModal .modal-dialog .modal-content {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid #fff;
}

#imageModal .modal-dialog .btn-close {
  position: absolute;
  right: 10px;
  top: 10px;
  height: 16px;
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  width: 16px;
  opacity: 1;
  border-radius: 50%;
  z-index: 10;
  outline: none !important;
  color: var(--text-color);
  /* background-image: url('../blinc-assets/icons/close.svg'); */
  background-color: white;
}

#imageModal .modal-dialog .btn-close:hover {
  background-color: var(--button-hover-color);
}

.rsp-countdown-wrapper {
  z-index: 1000 !important;
}

/* Stock loading state styles */
.stock-loading {
  position: relative;
  opacity: 0.7;
  pointer-events: none;
}

.stock-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #333;
  border-radius: 50%;
  animation: stock-loading-spin 1s linear infinite;
  z-index: 10;
}

/* For button elements specifically */
.stock-btn.stock-loading {
  color: transparent;
  background-color: var(--background-color);
  cursor: not-allowed;
}

.stock-btn.stock-loading::after {
  border-top-color: var(--secondary-color);
}

/* For SVG polygons */
.svgUnits.stock-loading {
  fill: var(--accent-color);
  stroke: var(--primary-color);
  opacity: 0.6;
}

/* For unit blocks */
.unitBlock.stock-loading {
  filter: grayscale(50%);
}

/* For table rows */
tr.stock-loading {
  background-color: var(--background-color);
}

tr.stock-loading .status-text {
  font-style: italic;
  color: var(--text-color);
}

/* Spinning animation */
@keyframes stock-loading-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Remove loading state when updated */
.inStock,
.outOfStock,
.currentlyReserved,
.instock,
.outofstock,
.reservedSvg {
  opacity: 1;
  pointer-events: auto;
  filter: none;
}

.inStock::after,
.outOfStock::after,
.currentlyReserved::after,
.instock::after,
.outofstock::after,
.reservedSvg::after {
  display: none;
}

.watchTutVideo {
  left: 185px;
  top: 105px;
  background-color: #ffffff;
  border: 1px solid red;
  color: #ff0000;
}

.watchTutVideo:hover {
  background-color: #b8b8b8;
}

.watchTutVideo::before {
  position: absolute;
  content: "";
  top: 4.5px;
  left: 7px;
  width: 15px;
  height: 15px;
  display: block;
  background-image: url('https://rmmstaging.co.za/vb_staging_2/wp-content/uploads/2025/10/youtube-icon.png');
  background-repeat: no-repeat;
  background-size: 100%;
}

@media (max-width: 767px) {
  .watchTutVideo {
    left: 286px;
    top: 66px;
    background-color: #ffffff;
    border: 1px solid red;
    color: #ff0000;
    text-decoration: none;
  }

  .watchTutVideo:hover {
    background-color: #b8b8b8;
  }

  .watchTutVideo::before {
    position: absolute;
    content: "";
    top: 5px;
    left: 4px;
    width: 15px;
    height: 15px;
    display: block;
    background-image: url('https://rmmstaging.co.za/vb_staging_2/wp-content/uploads/2025/10/youtube-icon.png');
    background-repeat: no-repeat;
    background-size: 100%;
  }

  .refreshMsg {
    font-size: 10px !important;
    padding: 0px 35px;
    padding-top: 15px;
  }
}

.refreshMsg {
  display: flex;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  margin: 10px 0;
  font-weight: bold;
}

.rsp-countdown-wrapper {
    background-color: var(--primary-color);
    border-radius: 10px;
}

.rsp-countdown-wrapper a {
    color: white;
}