.village-lot-detail-page {
  background: #fff;
}

.page-village-lot-detail .adaptive_outer_full .content_adaptive_full.max_size {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.village-lot-detail-gallery__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 430px;
  border: 1px solid #dfe8e1;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(22, 134, 58, .16), rgba(255, 255, 255, .9)),
    #f6faf6;
  color: #3e5c46;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 24px;
}

.village-lot-detail-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.village-lot-detail-features span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef6ef;
  color: #226638;
  font-size: 13px;
  font-weight: 700;
}

.village-lot-detail-buy-card .realty-wb-object-num {
  align-items: baseline;
  gap: 8px;
}

.village-lot-detail-buy-card.has-installment-offer {
  padding: 20px;
  border-color: #d8e6dc;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(20, 63, 44, .11);
}

.village-lot-detail-buy-card.has-installment-offer .realty-wb-buy-meta {
  margin-bottom: 14px;
}

.village-lot-detail-buy-card.has-installment-offer .realty-wb-price {
  margin-bottom: 16px;
}

.village-lot-detail-price-note {
  margin-top: -6px;
  color: #607068;
  font-size: 15px;
}

.village-lot-detail-order {
  justify-content: center;
  margin-top: 10px;
  border-radius: 10px;
  text-decoration: none;
}

.village-lot-detail-order__mobile {
  display: none;
}

.village-lot-detail-installment-offer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #d8e8dc;
  border-radius: 10px;
  background: #f4f9f5;
  color: #254b34;
}

.village-lot-detail-installment-offer img {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
}

.village-lot-detail-installment-offer div {
  min-width: 0;
}

.village-lot-detail-installment-offer span,
.village-lot-detail-installment-offer b {
  display: block;
}

.village-lot-detail-installment-offer span {
  margin-bottom: 2px;
  color: #718078;
  font-size: 11px;
  line-height: 1.15;
}

.village-lot-detail-installment-offer b {
  font-size: 14px;
  line-height: 1.25;
}

.village-lot-detail-installment-trigger {
  min-height: 46px;
  margin-top: 10px;
  border-color: #9dbba5;
  border-radius: 10px;
  background: #fff;
  color: #226638;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}

.village-lot-detail-installment-trigger:hover,
.village-lot-detail-installment-trigger:focus {
  border-color: #6f9d7b;
  background: #eef6ef;
  color: #174d2e;
}

.village-lot-detail-installment-trigger:focus-visible {
  outline: 2px solid #16863a;
  outline-offset: 2px;
}

.village-lot-detail-installment-trigger__mobile {
  display: none;
}

.village-lot-detail-contact {
  display: block;
  margin-top: 12px;
  color: #226638;
  font-size: 15px;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.village-lot-detail-contact_phone {
  color: #2f3437;
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
}

.village-lot-detail-buy-card.has-installment-offer .village-lot-detail-contact_phone {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e3ebe6;
}

.village-lot-detail-buy-card.has-installment-offer .realty-print-link {
  min-height: 40px;
  margin-top: 18px;
  border-radius: 10px;
  background: #fff;
}

#check_lot.village-lot-detail-modal {
  border: 1px solid #d7e5db;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 72px rgba(19, 55, 35, .24);
}

.village-lot-modal-header {
  min-width: 0;
  padding-right: 56px;
}

.village-lot-modal-header__eyebrow {
  display: block;
  margin-bottom: 4px;
  color: #6b7b71;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

#check_lot.village-lot-detail-modal .village-lot-modal-header .h2 {
  margin: 0;
  padding: 0;
  color: #1f382a;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.16;
}

.village-lot-detail-modal .village-lot-installment-note {
  max-width: 650px;
  margin: 16px auto;
  padding: 10px 12px;
  border: 1px solid #d8e8dc;
  border-radius: 8px;
  background: #f4f9f5;
  color: #254b34;
  font-weight: 700;
}

#check_lot.village-lot-detail-modal .close-reveal-modal {
  z-index: 5;
  top: 18px;
  right: 18px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #d8e5dc;
  border-radius: 50%;
  background: #f4f8f5;
  box-shadow: 0 4px 14px rgba(20, 63, 44, .08);
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

#check_lot.village-lot-detail-modal .close-reveal-modal:hover {
  border-color: #b9d0bf;
  background: #eaf3ec;
  transform: translateY(-1px);
}

#check_lot.village-lot-detail-modal .close-reveal-modal:focus-visible {
  outline: 2px solid #16863a;
  outline-offset: 2px;
}

#check_lot.village-lot-detail-modal .close-reveal-modal img {
  width: 16px;
  height: 16px;
  opacity: .72;
  filter: brightness(.34);
}

#check_lot.village-lot-detail-modal.has-installment {
  width: 880px;
  height: 640px;
  max-width: calc(100% - 30px);
  max-height: calc(100vh - 30px);
  max-height: calc(100dvh - 30px);
  padding: 0;
  overflow: hidden;
}

#check_lot.village-lot-detail-modal.has-installment .fly_wind_content,
#check_lot.village-lot-detail-modal.has-installment .inner_fly {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#check_lot.village-lot-detail-modal.has-installment .inner_fly {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 20px 24px 22px;
}

html.check-lot-modal-open .fly_wrap_fixed.check-lot-modal-wrap {
  z-index: 2147483647 !important;
}

.village-lot-installment-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  flex: 0 0 auto;
  margin: 16px 0 0;
  padding: 4px;
  border: 1px solid #e0eae3;
  border-radius: 11px;
  background: #eef3ef;
}

.village-lot-installment-tabs__tab {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 44px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #53645a;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.1;
  box-sizing: border-box;
  cursor: pointer;
}

.village-lot-installment-tabs__tab:hover {
  color: #1e5e34;
}

.village-lot-installment-tabs__tab:focus-visible {
  outline: 2px solid #16863a;
  outline-offset: 1px;
}

.village-lot-installment-tabs__tab.is-active {
  border-color: #d7e5da;
  background: #fff;
  color: #174d2e;
  box-shadow: 0 3px 10px rgba(24, 72, 42, .09);
}

.village-lot-installment-panel[hidden] {
  display: none !important;
}

.village-lot-installment-panel {
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 16px;
  padding: 2px 4px 4px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.village-lot-installment-panel[data-village-lot-installment-panel="details"] {
  width: 100%;
  max-width: none;
}

.village-lot-order-form {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  color: #263a2f;
}

.village-lot-order-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.village-lot-order-form__field {
  display: block;
  margin: 0;
  color: #405148;
  font-size: 13px;
  line-height: 1.2;
}

.village-lot-order-form__field > span {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.village-lot-order-form__field > span small {
  color: #7b8981;
  font-size: 11px;
  font-weight: 400;
}

.village-lot-order-form__field_email {
  grid-column: 1 / -1;
}

#check_lot.village-lot-detail-modal .village-lot-order-form__field input[type="text"],
#check_lot.village-lot-detail-modal .village-lot-order-form__field textarea,
#check_lot.village-lot-detail-modal .village-lot-order-form__captcha input[type="text"] {
  display: block;
  width: 100% !important;
  margin: 0;
  padding: 0 13px;
  border: 1px solid #d4e1d8;
  border-radius: 9px;
  background: #fff;
  color: #263a2f;
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.25;
  box-sizing: border-box;
  box-shadow: inset 0 1px 2px rgba(20, 63, 44, .03);
  transition: border-color .18s ease, box-shadow .18s ease;
}

#check_lot.village-lot-detail-modal .village-lot-order-form__field input[type="text"] {
  height: 46px;
}

#check_lot.village-lot-detail-modal .village-lot-order-form__field textarea {
  min-height: 76px;
  padding-top: 11px;
  padding-bottom: 11px;
  resize: vertical;
}

#check_lot.village-lot-detail-modal .village-lot-order-form__field input[type="text"]:focus,
#check_lot.village-lot-detail-modal .village-lot-order-form__field textarea:focus,
#check_lot.village-lot-detail-modal .village-lot-order-form__captcha input[type="text"]:focus {
  border-color: #16863a;
  outline: none;
  box-shadow: 0 0 0 3px rgba(22, 134, 58, .11);
}

#check_lot.village-lot-detail-modal .village-lot-order-form input.error,
#check_lot.village-lot-detail-modal .village-lot-order-form textarea.error {
  border-color: #c94d43;
  box-shadow: 0 0 0 3px rgba(201, 77, 67, .1);
}

.village-lot-order-form__field_textarea {
  margin-top: 12px;
}

.village-lot-installment-choice {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #d8e6dc;
  border-radius: 11px;
  background: #f5f9f6;
  transition: border-color .18s ease, background-color .18s ease;
}

.village-lot-installment-choice.is-selected {
  border-color: #a8cdb1;
  background: #eef7f0;
}

.village-lot-installment-choice__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.village-lot-installment-choice__toggle {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  color: #263a2f;
  cursor: pointer;
}

#check_lot.village-lot-detail-modal .village-lot-installment-choice__toggle {
  display: flex;
  margin-bottom: 0;
}

.village-lot-installment-choice__toggle input {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  accent-color: #16863a;
}

.village-lot-installment-choice__toggle span,
.village-lot-installment-choice__toggle strong,
.village-lot-installment-choice__toggle small {
  display: block;
}

.village-lot-installment-choice__toggle strong {
  color: #244332;
  font-size: 14px;
  line-height: 1.2;
}

.village-lot-installment-choice__toggle small {
  margin-top: 2px;
  color: #6c7b72;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.25;
}

.village-lot-installment-choice__open {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid #9cbca5;
  border-radius: 8px;
  background: #fff;
  color: #21623a;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.village-lot-installment-choice__open:hover,
.village-lot-installment-choice__open:focus-visible {
  border-color: #6f9d7b;
  background: #eaf4ec;
  outline: none;
}

.village-lot-installment-choice__open:focus-visible {
  box-shadow: 0 0 0 3px rgba(22, 134, 58, .12);
}

.village-lot-installment-choice__summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: baseline;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #d6e6db;
}

.village-lot-installment-choice__summary[hidden] {
  display: none !important;
}

.village-lot-installment-choice__summary span {
  color: #5f7066;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.village-lot-installment-choice__summary strong {
  color: #1e5132;
  font-size: 14px;
  text-align: center;
}

.village-lot-installment-choice__summary small {
  color: #1c6437;
  font-size: 12px;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.village-lot-order-form__footer {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 12px;
}

#check_lot.village-lot-detail-modal .village-lot-order-form__captcha.table_confirm {
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
}

.village-lot-order-form__captcha > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.village-lot-order-form__captcha img {
  display: block;
  flex: 0 0 auto;
  width: 80px;
  height: 32px;
  border: 1px solid #d6e1d9;
  border-radius: 7px;
  object-fit: contain;
}

#check_lot.village-lot-detail-modal .village-lot-order-form__captcha input[type="text"] {
  width: 78px !important;
  height: 36px;
  padding: 0 8px;
  text-align: center;
  letter-spacing: .12em;
}

#check_lot.village-lot-detail-modal .village-lot-order-form__consent {
  margin: 0;
}

.village-lot-order-form__consent label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: #607068;
  font-size: 11px;
  line-height: 1.28;
}

#check_lot.village-lot-detail-modal .village-lot-order-form__consent label {
  display: flex;
  margin-bottom: 0;
}

.village-lot-order-form__consent label.error {
  color: #b83f37;
}

.village-lot-order-form__consent input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #16863a;
}

#check_lot.village-lot-detail-modal .village-lot-order-form__consent input {
  margin: 0 !important;
}

.village-lot-order-form__consent a {
  color: #2b6e43;
  text-underline-offset: 2px;
}

#check_lot.village-lot-detail-modal .village-lot-order-form > input[type="submit"].button_site {
  width: 100%;
  height: 48px;
  margin: 14px 0 0;
  padding: 0 18px;
  border: 1px solid #16863a;
  border-radius: 10px;
  background: #16863a;
  color: #fff;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

#check_lot.village-lot-detail-modal .village-lot-order-form > input[type="submit"].button_site:hover,
#check_lot.village-lot-detail-modal .village-lot-order-form > input[type="submit"].button_site:focus-visible {
  border-color: #0f7530;
  background: #0f7530;
  outline: none;
}

#check_lot.village-lot-detail-modal .village-lot-order-form > input[type="submit"].button_site:focus-visible {
  box-shadow: 0 0 0 3px rgba(22, 134, 58, .16);
}

.village-lot-order-form__unavailable {
  display: flex;
  min-height: 220px;
  padding: 28px;
  border: 1px solid #d7e5da;
  border-radius: 13px;
  background: #f4f8f5;
  color: #52635a;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.village-lot-order-form__unavailable strong {
  color: #244332;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 22px;
  line-height: 1.2;
}

.village-lot-order-form__unavailable span {
  max-width: 430px;
  font-size: 14px;
  line-height: 1.45;
}

.village-lot-installment-calculator {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(270px, .88fr);
  min-height: 100%;
  overflow: hidden;
  border: 1px solid #dbe5df;
  border-radius: 13px;
  background: #fff;
  color: #263a2f;
}

.village-lot-installment-calculator__controls,
.village-lot-installment-calculator__summary {
  min-width: 0;
  padding: 24px 26px;
  box-sizing: border-box;
}

.village-lot-installment-calculator h3 {
  margin: 0 0 22px;
  color: #253a2f;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 22px;
  line-height: 1.15;
}

.village-lot-installment-calculator__value-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  color: #68786f;
  font-size: 14px;
  line-height: 1.25;
}

.village-lot-installment-calculator__value-row strong {
  flex: 0 0 auto;
  color: #22362b;
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
}

.village-lot-installment-calculator__range {
  display: block;
  margin-top: 26px;
}

.village-lot-installment-calculator__range input[type="range"] {
  --range-progress: 0%;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 44px;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  accent-color: #16863a;
  cursor: pointer;
}

.village-lot-installment-calculator__range input[type="range"]:focus-visible {
  outline: 2px solid #16863a;
  outline-offset: 3px;
}

.village-lot-installment-calculator__range input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(to right, #16863a 0, #16863a var(--range-progress), #7c8f83 var(--range-progress), #7c8f83 100%);
  box-shadow: inset 0 1px 2px rgba(20, 63, 44, .08);
}

.village-lot-installment-calculator__range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin-top: -8px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #16863a;
  box-shadow: 0 0 0 1px #16863a, 0 4px 10px rgba(20, 70, 37, .26);
}

.village-lot-installment-calculator__range input[type="range"]::-moz-range-track {
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: #7c8f83;
}

.village-lot-installment-calculator__range input[type="range"]::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: #16863a;
}

.village-lot-installment-calculator__range input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #16863a;
  box-shadow: 0 0 0 1px #16863a, 0 4px 10px rgba(20, 70, 37, .26);
}

.village-lot-installment-calculator__range-hints {
  display: flex;
  justify-content: space-between;
  margin-top: -1px;
  color: #829088;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.2;
}

.village-lot-installment-calculator__range_term {
  margin-top: 18px;
}

.village-lot-installment-calculator__range_term .village-lot-installment-calculator__value-row > span:first-child {
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
}

.village-lot-installment-calculator__range_term .village-lot-installment-calculator__value-row strong {
  font-size: 15px;
  font-weight: 500;
}

.village-lot-installment-calculator__summary {
  display: flex;
  flex-direction: column;
  border-left: 1px solid #dbe5df;
  background: #f5f8f6;
}

.village-lot-installment-calculator__summary-label {
  color: #6d7b73;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.village-lot-installment-calculator__monthly {
  display: block;
  margin-top: 8px;
  color: #16863a;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 38px;
  line-height: 1;
  white-space: nowrap;
}

.village-lot-installment-calculator__summary dl {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid #d9e3dc;
}

.village-lot-installment-calculator__summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
}

.village-lot-installment-calculator__summary dl div:first-child {
  margin-top: 0;
}

.village-lot-installment-calculator__summary dt,
.village-lot-installment-calculator__summary dd {
  margin: 0;
  line-height: 1.25;
}

.village-lot-installment-calculator__summary dt {
  color: #68786f;
  font-size: 13px;
}

.village-lot-installment-calculator__summary dd {
  color: #22362b;
  font-size: 14px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.village-lot-installment-calculator__summary .village-lot-installment-calculator__rate {
  color: #16863a;
}

.village-lot-installment-calculator__summary p {
  margin: auto 0 0;
  padding-top: 20px;
  color: #1d5d33;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.village-lot-installment-calculator__summary small {
  display: block;
  margin-top: 8px;
  color: #5f6f66;
  font-size: 11px;
  line-height: 1.35;
  text-align: center;
}

.village-lot-installment-calculator__request {
  min-height: 46px;
  margin-top: 16px;
  padding: 8px 14px;
  border: 1px solid #16863a;
  border-radius: 9px;
  background: #16863a;
  color: #fff;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.village-lot-installment-calculator__request:hover,
.village-lot-installment-calculator__request:focus-visible {
  background: #0f7530;
  outline: 2px solid #0a5f27;
  outline-offset: 2px;
}

@media (min-width: 768px) and (min-height: 630px) {
  #check_lot.village-lot-detail-modal.has-installment,
  #check_lot.village-lot-detail-modal.has-installment .fly_wind_content,
  #check_lot.village-lot-detail-modal.has-installment .inner_fly {
    height: auto;
  }

  #check_lot.village-lot-detail-modal.has-installment .inner_fly {
    max-height: calc(100vh - 30px);
    max-height: calc(100dvh - 30px);
  }

  #check_lot.village-lot-detail-modal.has-installment .village-lot-installment-panel {
    flex: 1 1 auto;
    height: auto;
    min-height: 380px;
  }
}

@media (max-width: 900px) {
  .village-lot-detail-gallery__placeholder {
    min-height: 320px;
    font-size: 20px;
  }

  .village-lot-detail-order__desktop {
    display: none;
  }

  .village-lot-detail-order__mobile {
    display: inline;
  }

  .village-lot-detail-installment-offer {
    display: none;
  }

  .village-lot-detail-buy-card.has-installment-offer {
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .village-lot-detail-buy-card.has-installment-offer .realty-wb-price {
    margin-bottom: 0;
  }

  .village-lot-detail-buy-card.has-installment-offer .village-lot-detail-contact_phone {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .village-lot-detail-buy-card.has-installment-offer .realty-print-link {
    margin-top: 0;
    border-radius: 8px;
  }

  .village-lot-detail-buy-card .realty-wb-print.village-lot-detail-installment-trigger {
    order: 4;
    display: inline-flex;
    flex: 1 1 calc((100% - 20px) / 3);
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 0 6px;
    border-color: #9dbba5;
    background: #fff;
    color: #226638;
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
  }

  .village-lot-detail-installment-trigger__desktop {
    display: none;
  }

  .village-lot-detail-installment-trigger__mobile {
    display: inline;
  }

  body.page-realty-show .village-lot-detail-buy-card.has-installment-offer button.realty-print-link {
    flex: 1 1 calc((100% - 20px) / 3);
    padding-right: 6px;
    padding-left: 6px;
    font-size: 13px;
    min-height: 44px;
  }

  .village-lot-detail-buy-card.has-installment-offer .village-lot-detail-order {
    order: 5;
    flex: 1 1 calc((100% - 20px) / 3);
    padding-right: 6px;
    padding-left: 6px;
    font-size: 13px;
    min-height: 44px;
  }
}

@media (max-height: 600px) and (max-width: 1024px) {
  #check_lot.village-lot-detail-modal {
    top: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    left: 10px !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    transform: none !important;
  }

  #check_lot.village-lot-detail-modal.has-installment .fly_wind_content,
  #check_lot.village-lot-detail-modal.has-installment .inner_fly {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
}

@media (max-width: 767px) {
  #check_lot.village-lot-detail-modal {
    top: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    left: 10px !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    transform: none !important;
  }

  #check_lot.village-lot-detail-modal .fly_wind_content {
    width: 100%;
    height: 100%;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
  }

  #check_lot.village-lot-detail-modal .inner_fly,
  #check_lot.village-lot-detail-modal.has-installment .inner_fly {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 14px;
  }

  #check_lot.village-lot-detail-modal.has-installment .inner_fly {
    height: 100%;
    min-height: 0;
  }

  #check_lot.village-lot-detail-modal.has-installment .fly_wind_content {
    overflow: hidden;
  }

  #check_lot.village-lot-detail-modal .close-reveal-modal {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
  }

  #check_lot.village-lot-detail-modal .close-reveal-modal img {
    width: 15px;
    height: 15px;
  }

  .village-lot-modal-header {
    padding-right: 52px;
  }

  .village-lot-modal-header__eyebrow {
    margin-bottom: 3px;
    font-size: 10px;
  }

  #check_lot.village-lot-detail-modal .village-lot-modal-header .h2 {
    font-size: 19px;
    line-height: 1.18;
  }

  .village-lot-installment-tabs {
    margin-top: 12px;
  }

  .village-lot-installment-tabs__tab {
    height: 44px;
    padding: 7px 8px;
    font-size: 14px;
  }

  .village-lot-installment-panel {
    margin-top: 12px;
    padding: 2px 2px 4px;
  }

  .village-lot-detail-gallery__placeholder {
    min-height: 230px;
    border-radius: 0;
  }

  .village-lot-detail-features {
    margin-top: 12px;
  }

  .village-lot-detail-buy-card .realty-wb-object-num {
    justify-content: flex-start;
  }

  .village-lot-order-form__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .village-lot-order-form__field_textarea,
  .village-lot-installment-choice,
  .village-lot-order-form__footer {
    margin-top: 10px;
  }

  #check_lot.village-lot-detail-modal .village-lot-order-form__field input[type="text"] {
    height: 44px;
  }

  #check_lot.village-lot-detail-modal .village-lot-order-form__field textarea {
    min-height: 72px;
  }

  .village-lot-installment-choice__row {
    flex-wrap: wrap;
  }

  .village-lot-installment-choice__open {
    margin-left: 29px;
  }

  .village-lot-installment-choice__summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .village-lot-installment-choice__summary strong {
    text-align: right;
  }

  .village-lot-installment-choice__summary small {
    grid-column: 1 / -1;
  }

  .village-lot-order-form__footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .village-lot-order-form__consent {
    order: -1;
  }

  .village-lot-installment-calculator {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .village-lot-installment-calculator__controls,
  .village-lot-installment-calculator__summary {
    padding: 18px;
  }

  .village-lot-installment-calculator__summary {
    border-top: 1px solid #dbe5df;
    border-left: 0;
  }

  .village-lot-installment-calculator__summary p {
    margin-top: 20px;
    padding-top: 0;
  }

  .village-lot-installment-calculator__monthly {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .village-lot-installment-tabs {
    margin-top: 10px;
    padding: 3px;
  }

  .village-lot-installment-tabs__tab {
    height: 44px;
    padding: 7px 8px;
    font-size: 13px;
  }

  #check_lot.village-lot-detail-modal .inner_fly,
  #check_lot.village-lot-detail-modal.has-installment .inner_fly {
    padding: 12px;
  }

  #check_lot.village-lot-detail-modal .village-lot-modal-header .h2 {
    font-size: 18px;
  }

  .village-lot-installment-choice {
    padding: 11px 12px;
  }

  .village-lot-installment-choice__row {
    flex-wrap: nowrap;
  }

  .village-lot-installment-choice__toggle strong {
    font-size: 13px;
  }

  .village-lot-installment-choice__open {
    width: auto;
    margin-left: 0;
  }

  .village-lot-installment-choice__summary {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 3px 8px;
    margin-top: 8px;
    padding-top: 8px;
  }

  .village-lot-installment-choice__summary strong {
    text-align: left;
  }

  .village-lot-installment-choice__summary small {
    grid-column: 1 / -1;
    text-align: left;
  }

  #check_lot.village-lot-detail-modal .village-lot-order-form > input[type="submit"].button_site {
    margin-top: 12px;
  }

  .village-lot-installment-calculator__controls,
  .village-lot-installment-calculator__summary {
    padding: 10px;
  }

  .village-lot-installment-calculator h3 {
    margin-bottom: 10px;
    font-size: 21px;
  }

  .village-lot-installment-calculator__range {
    margin-top: 12px;
  }

  .village-lot-installment-calculator__monthly {
    font-size: 30px;
  }

  .village-lot-installment-calculator__summary dl {
    margin-top: 10px;
    padding-top: 10px;
  }

  .village-lot-installment-calculator__summary dl div {
    margin-top: 6px;
  }

  .village-lot-installment-calculator__summary p {
    margin-top: 8px;
  }

  .village-lot-installment-calculator__summary small {
    margin-top: 5px;
  }

  .village-lot-installment-calculator__request {
    margin-top: 8px;
    min-height: 44px;
  }
}

@media (max-width: 767px) and (max-height: 720px) {
  #check_lot.village-lot-detail-modal .inner_fly,
  #check_lot.village-lot-detail-modal.has-installment .inner_fly {
    padding: 10px 12px;
  }

  .village-lot-installment-tabs {
    margin-top: 8px;
  }

  .village-lot-installment-panel {
    margin-top: 8px;
  }

  #check_lot.village-lot-detail-modal .village-lot-order-form__field textarea {
    min-height: 58px;
  }

  .village-lot-order-form__field_textarea,
  .village-lot-installment-choice,
  .village-lot-order-form__footer {
    margin-top: 8px;
  }

  .village-lot-installment-choice {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .village-lot-order-form__footer {
    gap: 8px;
  }

  #check_lot.village-lot-detail-modal .village-lot-order-form > input[type="submit"].button_site {
    height: 44px;
    margin-top: 10px;
  }

  .village-lot-installment-calculator h3 {
    margin-bottom: 8px;
    font-size: 19px;
  }

  .village-lot-installment-calculator__range {
    margin-top: 8px;
  }

  .village-lot-installment-calculator__summary p {
    display: none;
  }
}
