@media (max-width: 899px) {
  .property-container {
    padding: 0;
  }
  .property-nav {
    padding: 0 20px;
  }
}

.property {
  background: var(--white);
  padding: 20px;
}

@media (min-width: 900px) {
  .property {
    border-radius: 30px;
  }
}

@media (min-width: 900px) {
  .property {
    padding: 40px;
  }
}

.property-gallery {
  display: flex;
  grid-gap: 10px;
}

.property-gallery-thumbnail {
  height: auto;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  aspect-ratio: 1.6;
}

.property-gallery-other-images {
  display: none;
}

@media (min-width: 1000px) {
  .property-gallery-thumbnail {
    flex-basis: 50%;
  }

  .property-gallery-other-images {
    flex-basis: 50%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
  }
}

.property-gallery-other-images > button {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.property-description h2 {
  font-family: 'Nanum Myeongjo', 'Times New Roman', serif;
  font-weight: 700;
}

.property-map iframe {
  width: 100%;
  height: auto;
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 1.6;
}

.property-metadata {
  position: sticky;
  top: 120px;
  padding: 30px 20px;
  background: var(--pearl);
  align-self: flex-start;
  margin-top: 20px;
  margin-bottom: 40px;
}

.price {
  text-wrap: nowrap;
}

.property-details li {
  padding: 5px;
}

.property-detail-icon svg {
  width: 20px;
  height: 20px;
}

.property-detail-icon {
  margin-right: 10px;
}

button.open-gallery-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 5px 15px !important;
  border-radius: 2px;
  background: var(--white);
  color: var(--fg);
}

button.open-gallery-btn:hover {
  background: var(--bg);
  color: var(--fg);
}

.open-gallery-btn svg {
  margin-left: 5px;
  fill: var(--orange);
}

.property-full-gallery.hidden {
  visibility: hidden;
}

.property-full-gallery {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100vw;
  height: 100vh;
  background: var(--fg);
  color: var(--bg);
  padding: 20px;
}

.property-full-gallery-header {
  padding: 0 5px 10px 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.close-gallery-btn {
  background: none;
  border-radius: 10px;
  padding: 10px;
}

.close-gallery-btn svg {
  fill: var(--white);
  height: 30px;
  width: 30px;
}

.close-gallery-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.property-full-gallery-current-image {
  width: 100%;
  height: 55vh;
  margin-top: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.navigate-gallery-btn {
  border: 1px solid var(--white);
  background: none;
  width: 60px;
  height: 60px;
  padding: 0;
  align-items: center;
  justify-content: center;
  top: 50%;
}

.navigate-gallery-btns {
  margin-top: 20px;
  background: var(--fg);
}

.navigate-gallery-btn.prev {
  left: 40px;
}

.navigate-gallery-btn.next {
  right: 40px;
}

.navigate-gallery-btn svg {
  fill: var(--white);
}

@media (min-width: 900px) {
  .property-gallery {
    margin-bottom: 40px;
  }

  .property-description {
    padding-right: 40px;
    margin-bottom: 40px;
  }

  .property-metadata {
    margin-top: 0;
  }

  .property-full-gallery-current-image {
    height: 70vh;
  }
}

#booking-iframe {
  height: 545px;
  width: 320px;
  padding: 0;
  background: var(--white);
  border-radius: 20px;
}
