
.carousel {
  position: relative;
  width: 100%;
  height: 100vh;
}

.full-carousel {
  width: 100%;
}

/* Full-width sliders (Swiper): slides at the photos' aspect ratio
   (--slide-ratio, set by the carousel component). */
.full-carousel .carousel-image {
  width: 100%;
  height: auto;
  float: none;
  aspect-ratio: var(--slide-ratio, 3 / 2);
  /* Slide + controls never taller than the screen; past that the photo crops
     to fit (object-fit: cover). svh ignores mobile browser toolbars. */
  max-height: calc(100vh - var(--carousel-controls-height, 80px));
  max-height: calc(100svh - var(--carousel-controls-height, 80px));
}

/* Swiper's pagination CSS makes the dots full width; keep them sized to fit
   between the arrows as before. */
.carousel-controls .carousel-pips.swiper-pagination-horizontal {
  width: auto;
}

/* Floorplan slides (Swiper). The slider is as tall as the floorplan. */
#floor-carousel .carousel-outer {
  height: auto;
}
.floorplan-image {
  display: block;
  width: 100%;
  height: auto;
}

#floor-carousel {
  padding: 80px 0;
}
#floor-carousel img {
}

.carousel-outer {
  width: 100%;
  height: calc(100% - 160px);
  position: relative;
  overflow: hidden;
}

.carousel-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  width: 100vw;
  height: 100%;
  float: left;
}

.carousel-controls {
  text-align: center;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
  justify-content: center;
}
.carousel-button {
  position: relative;
  width: 23px;
  height: 44px;
  border: none;
  padding: 0;
  transition: 0.2s;
  background-color: transparent;
}
.carousel-button-right {
  transform: scaleX(-1);
}
.carousel-button img {
  width: 100%;
  height: 100%;
}

.carousel-button:active {
  transition: 0.2;
  opacity: 0.6;
}

.carousel-pips {
  display: flex;
  justify-content: center;
  margin: 0 100px;
}
.carousel-pip {
  width: 14px;
  height: 14px;
  border: 1px solid var(--darkgreen);
  background-color: transparent;
  margin: 0 6px;
  border-radius: 100%;
  transition: 0.2s;
  padding: 0;
}
.carousel-pip.active {
  background-color: var(--limegreen);
}

#floor-carousel .carousel-button {
  position: absolute;
  top: 50%;
}
#floor-carousel .carousel-button-left {
  left: -20px;
}
#floor-carousel .carousel-button-right {
  right: -20px;
}
.floor-carousel-detail-container {
  position: absolute;
  width: 230px;
  font-size: 15px;
}
.floor-carousel-detail {
  position: absolute;
  transition: 0.3s;
  width: 100%;
  opacity: 0;
}
.floor-carousel-detail.active {
  opacity: 1;
}
.floor-carousel-detail-icon {
  height: 109px;
  margin-bottom: 40px;
}
.floor-carousel-detail-icon img {
  height: 100%;
}
.floor-carousel-detail-sub {
  font-weight: var(--bold);
  margin-bottom: 25px;
}
.floor-carousel-detail-line-sub {
  font-size: 12px;
  margin-top: 5px;
}
.floor-carousel-detail-line-star {
  font-size: 12px;
  text-align: right;
}
.floor-carousel-detail-line {
  display: flex;
  flex-wrap: wrap;
}
.floor-carousel-detail-line-right,
.floor-carousel-detail-line-left {
}
.floor-carousel-detail-line-left {
  text-align: left;
  flex: 0 0 60%;
}
.floor-carousel-detail-line-right {
  text-align: right;
  flex: 0 0 40%;
}
.floor-carousel-detail-line-sub {
  width: 100%;
}

.accomm-floors-section-container {
  display: flex;
  max-width: 930px;
  margin: 0 auto;
}
.accomm-floors-section {
  font-size: 16px;
}
.accomm-floor {
  display: flex;
  height: 56px;
  width: 100%;
}
.accomm-floor-left {
  display: flex;
  cursor: pointer;
  width: 65%;
}
.accomm-floor-blank {
  width: 65%;
}
.accomm-floor-right {
  padding-left: 20px;
  font-size: 20px;
  width: 35%;
}
.accomm-floor-right-inner {
  width: 100%;
  display: flex;
  height: 56px;
  border-top: 1px solid var(--darkgreen);
  display: flex;
  align-items: center;
}
.accomm-floor-right-nia {
  text-align: right;
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}
.accomm-floor-right-nia .retail {
  font-size: 15px;
}
.accomm-floor-office {
  text-align: right;
  background-color: var(--darkgreen);
  color: var(--white);
  border: 1px solid #fff;
  font-weight: var(--bold);
  box-sizing: border-box;
  line-height: 56px;
  padding: 0 10px;
}
.accomm-floor-office-left {
  text-align: left;
}
.accomm-floor-terrace {
  background-image: url(https://gulojoshua.com/beta/graphicks/metropolis-full/wp-content/uploads/2023/07/accomm_terrace.jpg);
  background-repeat: repeat-x;
  background-position: bottom;
  background-size: auto 8px;
}
.accomm-floor-terrace-small {
  font-size: 14px;
}

.accomm-title,
.accomm-total {
  display: flex;
  font-weight: var(--bold);
}
.accomm-floor-blank {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.accomm-disclaim {
  text-align: right;
  width: auto;

  float: right;
  font-size: 14px;
  font-weight: var(--regular);
}
.accomm-title .accomm-floor-right-inner {
  border-top: none;
}
.accomm-floor-lime {
  background-color: var(--limegreen);
  border: 1px solid #fff;
  text-align: center;
  font-weight: var(--bold);
  position: relative;
}
.accomm-floor-mid-text {
  position: relative;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
}
.accomm-floor-atrium {
  text-align: center;
  line-height: 56px;
  font-weight: var(--bold);
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
  background-color: var(--palegreen);
}
.accomm-floor-right-floor {
  font-weight: var(--bold);
  width: auto;
}
.accomm-floor-active:hover > .accomm-floor-left {
  opacity: 0.7;
}

@media (max-width: 1199.98px) {
  .floor-carousel-detail-icon {
    height: 100px;
    margin-bottom: 20px;
  }
  .accomm-floor-terrace-small {
    font-size: 12px;
  }
}

@media (max-width: 991.98px) {
  .floor-carousel-detail-container {
    position: relative;
    height: 320px;
    margin: 0 auto;
  }
  .floor-carousel-detail-icon {
    height: 100px;
    margin-bottom: 20px;
  }
  .floor-carousel-detail-sub {
    margin-bottom: 15px;
  }
  .accomm-floor-right-nia .retail {
    font-size: 14px;
  }
  .floor-carousel-detail-container hr {
    margin: 10px 0;
  }
  /* Room below the floorplan for the arrows. */
  #floor-carousel .carousel-outer {
    width: calc(100% - 1.5rem);
    margin-left: 0.75rem;
    margin-bottom: 90px;
  }
  #floor-carousel .carousel-button {
    top: auto;
    bottom: 30px;
  }
  #floor-carousel .carousel-button-left {
    left: 30%;
  }
  #floor-carousel .carousel-button-right {
    right: 30%;
  }
}

@media (max-width: 767.98px) {
  .carousel-pips {
    margin: 0 70px;
  }

  .carousel-outer {
    height: calc(100% - 62px);
  }
  .carousel-controls {
    height: 62px;
  }
  .full-carousel {
    --carousel-controls-height: 62px;
  }
  /* Stacked: as tall as the active floor's panel (--detail-height, set by
     FloorCarousel in main.js), animating between floors. */
  .floor-carousel-detail-container {
    position: relative;
    height: var(--detail-height, 320px);
    margin: 0 auto 40px;
    transition: height 0.3s ease;
  }
  .floor-carousel-detail-icon {
    height: 80px;
    margin-bottom: 20px;
  }
  .floor-carousel-detail-sub {
    margin-bottom: 15px;
  }
  .floor-carousel-detail-container hr {
    margin: 10px 0;
  }
  /* Stacked: the arrows sit either side of the floor details panel (230px
     wide, 320px tall, centred), positioned against the whole section. */
  #floor-carousel {
    --floor-pad-top: 80px;
  }
  #floor-carousel .floor-plan-col {
    position: static;
  }
  #floor-carousel .carousel-outer {
    width: calc(100% - 1.5rem);
    margin-left: 0.75rem;
    margin-bottom: 0;
  }
  #floor-carousel .carousel-button {
    top: calc(var(--floor-pad-top) + var(--detail-height, 320px) / 2 - 22px);
    bottom: auto;
    transition: top 0.3s ease, opacity 0.2s;
  }
  #floor-carousel .carousel-button-left {
    left: max(8px, calc(50% - 115px - 47px));
  }
  #floor-carousel .carousel-button-right {
    right: max(8px, calc(50% - 115px - 47px));
  }
  .accomm-floor {
    height: 38px;
    font-size: 12px;
  }
  .accomm-floor-right-nia .retail,
  .accomm-floor-right {
    font-size: 12px;
  }
  .accomm-floor-right {
    padding-left: 10px;
  }

  .accomm-floor-right-nia {
    flex-direction: column;
    gap: 0;
    align-items: flex-end;
    justify-content: center;
  }
  .accomm-floor-atrium,
  .accomm-floor-office {
    line-height: 38px;
  }
  .accomm-floor-right-inner {
    height: 38px;
  }
  .accomm-disclaim {
    font-size: 11px;
  }
  .accomm-floor-right-floor {
    width: auto;
  }
}
@media (max-width: 575.98px) {
  .accomm-floors-section-container {
    display: flex;
  }
  #floor-carousel {
    padding: 40px 0;
    --floor-pad-top: 40px;
  }
  .accomm-floor-terrace-small {
    font-size: 8px;
  }
}

@media (hover: hover) {
  .carousel-pip:hover,
  .carousel-button:hover {
    opacity: 0.6;
  }
}

.carousel-pip:active,
.carousel-button:active {
  opacity: 0.4;
}

@media (prefers-reduced-motion: reduce) {
  .floor-carousel-detail-container,
  #floor-carousel .carousel-button {
    transition: none;
  }
}
