/**
 * Public-site overrides. Keep Webflow export CSS untouched;
 * put project-specific changes here.
 */

/* Document list for each group: near-full window, with original overlay spacing/shadow.
   Grouping sidebar stays as-is. */
.sales_info_item_popup {
  z-index: 131;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  padding: 6vh 48px;
  justify-content: center;
  align-items: center;
}

.sales_info_item_popup_close_area {
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--black67);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.sales_info_item_popup_in {
  z-index: 3;
  width: 100%;
  max-width: none;
  height: auto;
  max-height: 100%;
  margin: 0;
  padding: 60px 90px;
  box-sizing: border-box;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.sales_info_item_popup_content {
  flex: none;
  width: 100%;
  overflow: auto;
}

/* Remarks popup: keep panel within viewport and scroll long content */
.corner_disclaimer_popup .sales_info_item_popup_in {
  max-height: 100%;
  overflow: hidden;
}

.corner_disclaimer_popup .sales_info_item_popup_content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.sales_info_item_popup_btn {
  display: block;
  width: 100%;
  color: var(--black67);
  text-align: center;
  padding: 12px 0;
  font-size: 19.5px;
  font-weight: 300;
  line-height: 28px;
  text-decoration: none;
  border-bottom: 1px solid var(--gold33);
}

.sales_info_item_popup_btn:hover {
  color: var(--blue);
}

@media screen and (max-width: 991px) {
  .sales_info_item_popup {
    max-width: none;
    padding: 5vh 30px;
  }

  .sales_info_item_popup_in {
    max-height: 100%;
    padding: 48px 63px;
  }
}

@media screen and (max-width: 767px) {
  .sales_info_item_popup {
    max-width: none;
    padding: 4vh 21px;
  }

  .sales_info_item_popup_in {
    max-height: 100%;
    padding: 42px 36px 36px;
  }

  .sales_info_item_popup_btn {
    font-size: 18px;
    line-height: 24px;
  }
}

@media screen and (max-width: 479px) {
  .sales_info_item_popup {
    max-width: none;
    padding: 3vh 16px;
  }

  .sales_info_item_popup_in {
    max-height: 100%;
    padding: 36px 24px 24px;
  }

  .sales_info_item_popup_btn {
    font-size: 16px;
    line-height: 22px;
  }
}
