@mixin mobile {
  @media (max-width: 600px) {
    @content;
  }
}
.lofty-listing-detail-page {
  width: 100%;
}
.lofty-listing-detail {
  position: relative;
}
.lofty-detail-info {
  width: 90%;
  margin: auto;
  position: unset;
  .lofty-detail-address {
    font-size: 24px;
    font-weight: 600;
    line-height: 34px;
    text-align: left;
    margin-top: 40px;
    color: #111111;
    display: flex;
    align-items: center;
    gap: 10px;
    .lofty-address-text {
      word-break: break-word;
      .lofty-city-address {
        font-weight: 400;
        color: #282828;
      }
    }
    .lofty-status-tag {
      height: 22px;
      padding: 0 8px;
    }
  }
  .lofty-update-time {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    text-align: left;
    color: #aaaaaa;
    .lofty-house-market-text {
      margin-left: 10px;
    }
  }
  .lofty-mls-info {
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
    text-align: left;
    margin-top: 12px;
    color: #555555;
  }
  .lofty-price-box {
    margin-top: 28px;
    display: flex;
    gap: 15px;
    @include mobile {
      margin-top: 20px;
    }
  }
  .lofty-mls-price {
    font-size: 48px;
    font-family: var(--lofty-font-bold);
    line-height: 58px;
    text-align: left;
    color: #111111;
    margin-top: 25px;
  }
  .lofty-initial-price {
    color: #a8a8a8;
    font-size: 20px;
    display: flex;
    align-items: center;
    margin-top: 15px;
    .lofty-trend-rate {
      text-decoration: none;
      font-weight: 600;
      display: inline-flex;
      margin-left: 12px;
      align-items: center;
      &.lofty-down-color {
        color: #fd3131;
      }
      &.lofty-up-color {
        color: #25c44e;
      }
      .lofty_iconfont {
        margin-right: 5px;
        font-size: 12px;
      }
    }
  }
  .lofty-baseinfo-detail {
    margin-top: 20px;
    span {
      font-size: 14px;
      font-weight: 500;
      line-height: 18px;
      text-align: center;
      color: #555555;
      padding: 0 10px;
      &:first-child {
        padding-left: 0px;
      }
      border-right: 1px solid rgba(85, 85, 85, 0.1);
      &:last-child {
        border: none;
      }
    }
  }
  .lofty-detail-wrapper {
    display: flex;
    margin-top: 15px;
    justify-content: space-between;
    border-bottom: 1px solid rgba($color: #111, $alpha: 0.1);
    flex-wrap: wrap;
    .lofty-detail-key-detail-item {
      font-size: 14px;
      font-weight: 400;
      line-height: 24px;
      text-align: left;
      color: #555555;
      padding: 10px 0;
      border-top: 1px solid rgba($color: #111, $alpha: 0.1);
      flex: none;
      width: 50%;
      display: flex;
      .lofty-key {
        display: inline-block;
        width: 150px;
        margin-right: 22px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .lofty-value {
        display: inline-block;
        max-width: 270px;
        word-break: break-word;
        padding-right: 15px;
        .up-rate, .down-rate {
          display: none;
        }
      }
    }
  }
  .lofty-mls-desc {
    margin-top: 30px;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: #aaaaaa;
  }
  @include mobile {
    width: 100%;
    padding: 0 15px 0;
    .lofty-detail-address {
      margin-top: 20px;
      font-size: 18px;
      line-height: 24px;
      flex-wrap: wrap;
    }
    .lofty-update-time {
      font-size: 12px;
      line-height: 14px;
    }
    .lofty-mls-info {
      margin-top: 10px;
      line-height: 1.5;
    }
    .lofty-mls-price {
      font-size: 24px;
      line-height: 40px;
      font-weight: 700;
    }
    .lofty-initial-price{
      font-size: 16px;
      margin-top: 0;
    }
    .lofty-baseinfo-detail {
      margin-top: 10px;
    }
    .lofty-key-detail {
      .lofty-detail-wrapper {
        flex-wrap: wrap;
        .lofty-detail-key-detail-item {
          width: 100%;
          align-items: center;
          .lofty-key,
          .lofty-value {
            display: inline-block;
            white-space: break-spaces;
            &.lofty-key {
              width: 100px;
              flex: none;
            }
            &.lofty-value {
              flex: 1;
            }
          }
        }
      }
    }
    .lofty-detail-content {
      line-height: 20px;
    }
    .lofty-mls-desc {
      margin-top: 20px;
      line-height: 20px;
    }
  }
}
.lofty-detail-info-content {
  width: calc(100% - 400px);
  @include mobile {
    width: 100%;
  }
}
.lofty-flex {
  display: flex;
  #lofty-request-tour {
    width: 350px;
    margin-left: auto;
    @include mobile {
      width: unset;
      margin-left: unset;
    }
  }
}
.lofty-detail-title {
  margin-top: 80px;
  font-family: var(--lofty-font-play-bold);
  font-size: 34px;
  @include mobile {
    margin-top: 40px;
    font-size: 20px;
  }
}
.lofty-info-title{
  font-size: 16px;
  font-family: var(--lofty-font-bold);
  line-height: 20px;
  margin-top: 40px;
  @include mobile {
    margin-top: 20px;
  }
}
.lofty-open-other-fields {
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 36px;
  cursor: pointer;
  margin-top: 20px;
  .lofty_iconfont {
    display: inline-block;
    transform: rotate(90deg);
    font-size: 14px;
    &.lofty-arrow-up {
      transform: rotate(-90deg);
    }
  }
  &:hover {
    background: #1111110d;
  }
  &:active {
    background: #1111110d;
  }
  @include mobile {
    &:hover,
    &:active {
      background: none;
    }
  }
}
.lofty-line {
  width: 100%;
  margin-top: 40px;
  height: 1px;
  background-color: rgba(17, 17, 17, 0.1);
  @include mobile {
    margin-top: 20px;
  }
}
.lofty-detail-content {
  margin-top: 15px;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  color: #505050;
  .lofty-detail-mls-logo {
    height: 30px;
  }
  > span {
    display: block;
    color: #aaa;
    margin-top: 15px;
  }
}

#lofty-listing-pictures {
  position: relative;
  overflow: hidden;
}
#lofty-listing-pictures .swiper-wrapper {
  width: 100%;
  display: flex;
  height: 350px;
}
#lofty-listing-pictures .swiper-wrapper .swiper-slide {
  cursor: pointer;
  flex: none;
}
#lofty-listing-pictures .swiper-wrapper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lofty-detail-btns {
  position: absolute;
  width: max-content;
  top: 20px;
  right: 50px;
  display: flex;
  align-items: center;
  column-gap: 10px;
  z-index: 10000;

  .lofty-btn-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
    width: max-content;
    padding: 10px 20px;
    height: 37px;
    border: 1px solid rgba(218, 218, 218, 0.5);
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    background-color: white;
    color: #191919;
    &.lofty-save {
      .lofty-icon-heart-fill {
        color: #f0454c;
      }
    }
  }
}
.lofty-tour-btns {
  position: absolute;
  width: max-content;
  left: 15px;
  bottom: 15px;
  z-index: 10;
  display: flex;
  align-items: center;
  column-gap: 10px;
  .lofty-btn-item {
    background: #191919;
    color: #fff;
    font-size: 12px;
    height: 22px;
    font-family: var(--lofty-font-mon-bold);
    border: none;
    padding: 4px 8px;
    line-height: 12px;
    .lofty_iconfont {
      font-size: 12px;
    }
  }
}

@include mobile {
  .lofty-detail-btns {
    right: 15px;
  }
}