/* ================================
REGION SWIPER
=================================== */
.swiper.swiperRegion {
  margin-bottom: 30px;
}
.swiper.swiperRegion .swiper-slide {
  width: 15%;
}
.swiper.swiperRegion .swiper-slide .region {
  margin: 0;
  text-align: center;
  padding-bottom: 20px;
}
.swiper.swiperRegion .swiper-slide .region.active:after {
  content: "";
  position: absolute;

  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 13px solid #a96844;

  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;

  width: 0px;
  height: 0px;
}

/* ================================
PROYEK WRAPPER
=================================== */
.proyek-wrapper {
  padding-bottom: 50px;
}
.loading p {
  margin-block: 90px;
  text-align: center;
}

/* ================================
SWIPER PROYEK
=================================== */
.swiperProyek {
  padding-bottom: 45px;
}
.swiper.swiperProyek .swiper-slide {
  height: auto;
}

/* Navigation */
.swiperProyek ~ .swiper-button-next:after,
.swiperProyek ~ .swiper-button-prev:after {
  width: 100%;
  height: 100%;
}
.swiperProyek ~ .swiper-button-next,
.swiperProyek ~ .swiper-button-prev {
  top: 40% !important;
}
.swiperProyek ~ .swiper-button-next {
  right: -45px;
}
.swiperProyek ~ .swiper-button-prev {
  left: -45px;
}

/* ================================
PROYEK CARD
=================================== */
.swiper.swiperProyek .card {
  display: flex;
  flex-direction: column;

  height: 100%;
  border: 1px solid #062d65;
  border-radius: 10px;
  padding: 20px;
}
.swiper.swiperProyek .card p {
  margin-bottom: 0;
}

/* Image */
.swiper.swiperProyek .card .card-image-wrapper img {
  border-radius: 5px;
  aspect-ratio: 210/190;
  object-fit: cover;
}
.swiper.swiperProyek .card .card-image-wrapper .image-placeholder {
  border-radius: 5px;
  aspect-ratio: 210/190;
  background-color: lightgray;
}

/* Detail */
.swiper.swiperProyek .card .card-room {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-size: 11px;
  text-align: right;
  margin-top: 5px;
  color: #505050;
  display: none;
}
.swiper.swiperProyek .card .card-title {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 24px;
  color: #062d65;
  margin-top: 10px;
}
.swiper.swiperProyek .card .card-address {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  margin-bottom: 10px;
  color: #505050;
}

/* Products */
.swiper.swiperProyek .card .products-wrapper {
  margin-top: auto;
  display: none;
}
.swiper.swiperProyek .card .products-wrapper .product {
  flex-basis: 50%;
  text-align: left;
}
.swiper.swiperProyek .card .products-wrapper .product:not(:first-child) {
  border-left: 1px solid #999999;
  padding-left: 10px;
}

.swiper.swiperProyek .card .products-wrapper .product .size {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  color: #062d65;
}
.swiper.swiperProyek .card .products-wrapper .product .quantity {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-size: 11px;
  color: #062d65;
}

@media only screen and (max-width: 849px) {
  /* ================================
    REGION SWIPER
    =================================== */
  .swiper.swiperRegion .swiper-slide {
    width: 18%;
  }

  /* ================================
  SWIPER PROYEK
  =================================== */
  /* Navigation */
  .swiperProyek ~ .swiper-button-next {
    right: -10px;
  }
  .swiperProyek ~ .swiper-button-prev {
    left: -10px;
  }
}

@media only screen and (max-width: 430px) {
  /* ================================
    REGION SWIPER
    =================================== */
  .swiper.swiperRegion .swiper-slide {
    width: fit-content;
  }
}
