.page .availability-pattern {
  background-color: #FFFDF6;
  padding-inline: 12px;
}
.page .availability-pattern .floorplan-data {
  display: none;
}
.page .availability-pattern .fl-row-content-wrap {
  max-width: 1300px;
  margin-inline: auto;
  padding: 32px 16px;
  box-sizing: content-box;
  gap: 32px;
}
.page .availability-pattern__search {
  width: 100%;
  flex-wrap: nowrap;
  flex-direction: column;
  align-items: stretch;
}
.page .availability-pattern__search .omg_search_bar {
  display: none;
}
.page .availability-pattern__search-results {
  margin-top: 32px;
  flex-wrap: nowrap;
  flex-direction: column;
  align-items: stretch;
}
.page .availability-pattern__search-results .omg-results-card {
  position: relative;
  cursor: pointer;
  border-top: 1px solid #d4d4d4;
  padding-block: 32px;
  transition: background-color 0.3s ease;
}
.page .availability-pattern__search-results .omg-results-card:hover {
  background-color: #f9f9f9;
}
.page .availability-pattern__search-results .omg-results-card .fade-on-active {
  transition: opacity 0.3s ease;
}
.page .availability-pattern__search-results .omg-results-card::after {
  content: "+";
  font-size: 11px;
  font-weight: 500;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  align-content: center;
}
.page .availability-pattern__search-results .omg-results-card.active .fade-on-active {
  opacity: 0;
}
.page .availability-pattern__search-results .omg-results-card.active .omg-results-card-footer {
  grid-template-rows: 1fr;
}
.page .availability-pattern__search-results .omg-results-card.active::after {
  content: "-";
}
.page .availability-pattern__search-results .mobile-links {
  display: flex;
  gap: 16px;
}
.page .availability-pattern__search-results .floor-plan-link,
.page .availability-pattern__search-results .apartment-inquire {
  color: #757575;
}
.page .availability-pattern__search-results .floor-plan-link:hover,
.page .availability-pattern__search-results .apartment-inquire:hover {
  text-decoration: underline;
}
.page .availability-pattern__search-results .omg-results-card-body {
  --column-count: 4;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
}
.page .availability-pattern__search-results .omg-results-card-body > * {
  flex: 1 1 calc(100% / var(--column-count));
  text-align: start;
  overflow-wrap: anywhere;
}
@media (min-width: 1024px) {
  .page .availability-pattern__search-results .omg-results-card-body {
    --column-count: 6;
  }
  .page .availability-pattern__search-results .omg-results-card-body > * {
    text-align: center;
  }
}
.page .availability-pattern__search-results .omg-results-card-body-element {
  color: #757575;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.875;
  letter-spacing: 1.56px;
  text-transform: uppercase;
  text-wrap: nowrap;
}
.page .availability-pattern__search-results .omg-results-card-body-element a:focus {
  outline: none;
}
.page .availability-pattern__search-results .omg-results-card-body-element a:focus-visible {
  outline: 2px solid #757575;
  outline-offset: 2px;
}
.page .availability-pattern__search-results .omg-results-card-footer {
  margin-left: calc(25% - 2px);
  display: grid;
  grid-template-rows: 0fr;
  overflow: clip;
  transition: grid-template-rows 0.3s ease;
}
.page .availability-pattern__search-results .omg-results-card-footer > .omg-results-card-footer-element {
  padding-left: 2px;
}
.page .availability-pattern__search-results .omg-results-card-footer-element {
  min-height: 0;
  color: #757575;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.875;
  letter-spacing: 1.56px;
  text-transform: uppercase;
  text-wrap: nowrap;
}
.page .availability-pattern__search-results .omg-results-card-footer-element a:focus {
  outline: none;
}
.page .availability-pattern__search-results .omg-results-card-footer-element a:focus-visible {
  outline: 2px solid #757575;
  outline-offset: 2px;
}
.page .availability-pattern__search-results .hide-on-mobile {
  display: none;
}
.page .availability-pattern__table-headers {
  --column-count: 4;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
}
.page .availability-pattern__table-headers > * {
  flex: 1 1 calc(100% / var(--column-count));
  text-align: start;
  overflow-wrap: anywhere;
}
@media (min-width: 1024px) {
  .page .availability-pattern__table-headers {
    --column-count: 6;
  }
  .page .availability-pattern__table-headers > * {
    text-align: center;
  }
}
.page .availability-pattern__table-headers--desktop {
  display: none;
}
.page .availability-pattern__table-headers .sort {
  cursor: pointer;
}
.page .availability-pattern__table-headers .sort:hover {
  text-decoration: underline;
}
.page .availability-pattern .page_links_container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
.page .availability-pattern .page_link {
  color: #757575;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.875;
  letter-spacing: 1.56px;
  text-transform: uppercase;
  text-wrap: nowrap;
}
.page .availability-pattern .page_link a:focus {
  outline: none;
}
.page .availability-pattern .page_link a:focus-visible {
  outline: 2px solid #757575;
  outline-offset: 2px;
}
.page .availability-pattern .page_link {
  cursor: pointer;
}
.page .availability-pattern .page_link:hover {
  text-decoration: underline;
}
.page .availability-pattern .page_link.active {
  pointer-events: none;
}
.page .availability-pattern .no-results-message {
  color: #757575;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.875;
  letter-spacing: 1.56px;
  text-transform: uppercase;
  text-wrap: nowrap;
}
.page .availability-pattern .no-results-message a:focus {
  outline: none;
}
.page .availability-pattern .no-results-message a:focus-visible {
  outline: 2px solid #757575;
  outline-offset: 2px;
}
@media (min-width: 768px) {
  .page .availability-pattern {
    padding: 64px 32px;
  }
}
@media (min-width: 1024px) {
  .page .availability-pattern {
    gap: 40px;
    justify-content: center;
  }
  .page .availability-pattern__search-results .omg-results-card::after {
    content: unset !important;
  }
  .page .availability-pattern__search-results .hide-on-mobile {
    display: revert;
  }
  .page .availability-pattern__search-results .hide-on-desktop {
    display: none;
  }
  .page .availability-pattern__search-results .fade-on-active {
    opacity: 1 !important;
  }
  .page .availability-pattern__table-headers--mobile {
    display: none;
  }
  .page .availability-pattern__table-headers--desktop {
    display: flex;
  }
}

.availabilities-table {
  display: none;
}

.dx-modal__container {
  /* Add container-specific styles here if needed */
}
.dx-modal__content {
  /* Add content wrapper styles here if needed */
}

.omg-modal {
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.8s;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .omg-modal {
    align-items: flex-start;
    padding-top: 3vh;
  }
}

.omg-modal.active {
  opacity: 1;
}

.omg-modal__content {
  position: relative;
  background: var(--orange);
  max-height: 80vh;
  padding: 20px;
}

.omg-modal__close {
  position: absolute;
  right: 44px;
  top: 44px;
  cursor: pointer;
  z-index: 10;
}

.floorplan-modal {
  display: flex;
  background: white;
  max-width: 1200px;
  width: 90vw;
  max-height: 85vh;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .floorplan-modal {
    flex-direction: column;
    width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
  }
}

.floorplan-modal__left {
  background: #f5f3ed;
  padding: 60px 50px;
  flex: 0 0 46%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
}
@media screen and (max-width: 768px) {
  .floorplan-modal__left {
    padding: 40px 30px;
    flex: none;
  }
}

.floorplan-modal__header {
  font-family: "Cormorant SC", serif;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.floorplan-modal__unit-container {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 20px;
}
@media screen and (max-width: 768px) {
  .floorplan-modal__unit-container {
    gap: 20px;
  }
}

.floorplan-modal__unit {
  font-family: "Cormorant SC", serif;
  font-size: 120px;
  line-height: 1;
  font-weight: 300;
  color: #6b8e7f;
}
@media screen and (max-width: 768px) {
  .floorplan-modal__unit {
    font-size: 80px;
  }
}

.floorplan-modal__unit-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.floorplan-modal__unit-info {
  font-size: 16px;
  color: #6b8e7f;
}

.floorplan-modal__unit-sqft {
  font-size: 16px;
  color: #6b8e7f;
}

.floorplan-modal__description {
  margin-top: 20px;
}
.floorplan-modal__description p {
  margin: 20px 0;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.3px;
}
.floorplan-modal__description p strong {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.floorplan-modal__footer {
  color: #6b8e7f;
  margin-top: auto;
  padding-top: 30px;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.floorplan-modal__right {
  flex: 1;
  background: white;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
@media screen and (max-width: 768px) {
  .floorplan-modal__right {
    padding: 40px 30px;
    min-height: 400px;
  }
}

.floorplan-modal__image {
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.floorplan-modal__image img {
  max-width: 100%;
  height: auto;
  max-height: 60vh;
  -o-object-fit: contain;
     object-fit: contain;
}
