.sensoreal-property-single .property-information {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sensoreal-property-single .property-information .price {
  font-size: 24px;
  font-weight: 600;
  color: var(--sensoreal-color-primary);
}

.sensoreal-property-single .property-details-wrapper {
  background: #fff;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
}

.sensoreal-property-single .property-gallery {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  max-height: 480px;
}

/* Single image: full width, no thumbnails */
.sensoreal-property-single .property-gallery--single .main-image-container {
  width: 100%;
}

.sensoreal-property-single .main-image-container {
  position: relative;
  height: 600px;
  aspect-ratio: 16 / 9;
  margin-bottom: 20px;
  max-height: 480px;
  object-fit: contain;
  text-align: center;
  width: calc(100% - 180px);
}

.sensoreal-property-single .main-image-container img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  max-height: 480px;
  max-width: 100%;
  object-fit: cover;
}

.sensoreal-property-single .thumbnails-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 480px;
  overflow-y: auto;
  width: 160px;
}

.sensoreal-property-single .thumbnail {
  width: 100%;
  height: 120px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 5px;
  transition: opacity 0.3s ease;
  opacity: 0.75;
}

.sensoreal-property-single .thumbnail:hover {
  opacity: 1;
}

.sensoreal-property-single .thumbnail-link.is-active .thumbnail {
  opacity: 1;
  box-shadow: 0 0 0 2px currentColor;
}

/* Simple lightbox (no library) */
.sensoreal-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.sensoreal-lightbox[hidden] {
  display: none !important;
}

.sensoreal-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}

.sensoreal-lightbox__content {
  position: relative;
  z-index: 2;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sensoreal-lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 40px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.sensoreal-lightbox__close,
.sensoreal-lightbox__prev,
.sensoreal-lightbox__next {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  padding: 12px 16px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.sensoreal-lightbox__close:hover,
.sensoreal-lightbox__prev:hover,
.sensoreal-lightbox__next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.sensoreal-lightbox__close:disabled,
.sensoreal-lightbox__prev:disabled,
.sensoreal-lightbox__next:disabled {
  opacity: 0.4;
  cursor: default;
}

.sensoreal-lightbox__close {
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
}

.sensoreal-lightbox__close-icon {
  display: block;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.sensoreal-lightbox__prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  padding: 16px 12px;
}

.sensoreal-lightbox__next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  padding: 16px 12px;
}

.sensoreal-lightbox--open {
  animation: sensoreal-lightbox-fade-in 0.2s ease;
}

@keyframes sensoreal-lightbox-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.sensoreal-property-single .property-features {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.sensoreal-property-single .property-features-list {
  display: flex;
  flex-direction: row;
  column-gap: 20px;
  row-gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.sensoreal-property-single .property-features-list li {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.sensoreal-property-single .property-features-list li svg,
.sensoreal-property-single .property-features-list li img {
  height: 15px;
  width: 15px;
}

.sensoreal-property-single .property-features-list li .feature-value {
  font-weight: 500;
}

.sensoreal-property-single .property-features-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.sensoreal-property-single .property-features-grid .feature-item {
  align-items: center;
  display: flex;
  gap: 10px;
}

.sensoreal-property-single .property-features-grid .feature-item svg,
.sensoreal-property-single .property-features-grid .feature-item img {
  height: 24px;
  width: 24px;
}

.sensoreal-property-single .property-status-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.sensoreal-property-single .property-status-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  gap: 0.5rem;
}

.sensoreal-property-single .property-status-list .property-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.sensoreal-property-single .property-status-list .status-content {
  display: flex;
  flex-direction: row;
  gap: 0.25rem;
}

.sensoreal-property-single .property-map {
  border-bottom: 1px solid #e0e0e0;
  border-top: 1px solid #e0e0e0;
  padding: 20px 0;
}

.sensoreal-property-single .location-search-container {
  position: relative;
  margin-top: 20px;
}

.sensoreal-property-single .location-search-form {
  position: relative;
  display: flex;
  width: 100%;
  gap: 10px;
  align-items: center;
}

.sensoreal-property-single .location-search-label {  
  position: relative;
  display: block;
  font-family: var(--sensoreal-body-font);
  font-size: 18px;
  font-weight: 500;
  color: var(--sensoreal-heading-color);
  text-align: left;
  margin-bottom: 15px;
}

.sensoreal-property-single .sensoreal-global-input {
  position: relative;
  display: inline-block;
  padding: 10px;
  font-family: var(--sensoreal-body-font);
  font-weight: 400;
  font-size: 14px;
  line-height: 23px;
  color: var(--sensoreal-heading-color);
  text-align: left;
  transition: all 0.3s ease;
  border: 1px solid var(--sensoreal-button-bg-color, #cccccc);
  border-radius: var(--sensoreal-button-border-radius, 4px);
  box-sizing: border-box;
}

.sensoreal-property-single .sensoreal-global-button {
  position: relative;
  font-family: var(--sensoreal-body-font);
  line-height: 23px;
  font-weight: 400;
  width: 200px;
  background-color: var(--sensoreal-button-bg-color, #000000);
  color: var(--sensoreal-button-text-color, #ffffff);
  font-size: 14px;
  padding: var(--sensoreal-button-padding, 10px 20px);
  border-radius: var(--sensoreal-button-border-radius, 4px);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  border: 1px solid var(--sensoreal-button-bg-color, #000000);
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.sensoreal-property-single .sensoreal-global-button:hover {
  border: 1px solid var(--sensoreal-button-hover-bg-color, #333333);
  background-color: transparent;
  color: var(--sensoreal-button-hover-bg-color, #333333);
}

.sensoreal-property-single .location-search-form .sensoreal-global-input {
  flex: 1;
  width: auto;
}

.sensoreal-property-single .location-search-form .sensoreal-global-button {
  flex: 0 0 auto;
  padding: 10px 20px;
}

.sensoreal-property-single .location-search-result {
  position: relative;
  font-family: var(--sensoreal-body-font);
  font-size: 20px;
  font-weight: 500;
  color: var(--sensoreal-body-color);
  text-align: left;
  margin-top: 15px;
}

.sensoreal-property-single .location-search-result p {
  font: inherit;
  color: inherit;
  margin: 0;
}

#sensoreal-gravity-form {
  width: 80%;
  margin: 0 auto;
}

#sensoreal-gravity-form .gform_wrapper {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
}

#sensoreal-gravity-form .gform_wrapper textarea, 
#sensoreal-gravity-form .gform_wrapper input[type=email], 
#sensoreal-gravity-form .gform_wrapper input[type=tel], 
#sensoreal-gravity-form .gform_wrapper input[type=text], 
#sensoreal-gravity-form .gform_wrapper input[type=url], 
#sensoreal-gravity-form .gform_wrapper input[type=week] {
    background-color: transparent;
    border: 0;
    border-bottom: 2px solid #2f4a5b;
    width: 100%;
    padding: 5px 12px;
    transition: border-color 0.3s ease;
    height: 44px;
    color: #2f4a5b;
}

#sensoreal-gravity-form .gform_wrapper textarea::placeholder, 
#sensoreal-gravity-form .gform_wrapper input[type=email]::placeholder, 
#sensoreal-gravity-form .gform_wrapper input[type=tel]::placeholder, 
#sensoreal-gravity-form .gform_wrapper input[type=text]::placeholder, 
#sensoreal-gravity-form .gform_wrapper input[type=url]::placeholder, 
#sensoreal-gravity-form .gform_wrapper input[type=week]::placeholder {    
    color: #2f4a5b;
    font-family: var(--sensoreal-body-font);
    font-weight: bold;
    text-align: center;
}

#sensoreal-gravity-form .gform_wrapper input:focus,
#sensoreal-gravity-form .gform_wrapper textarea:focus {
  border-color: #000;
  outline: none;
}

#sensoreal-gravity-form .ginput_container.ginput_container_consent {
    display: flex;
    gap: 10px;
    align-items: center;
}

#sensoreal-gravity-form label.gform-field-label.gform-field-label--type-inline.gfield_consent_label {
    padding-bottom: 0;
    margin-bottom: 0;
    color: #2f4a5b;
}

#sensoreal-gravity-form .gform_wrapper .gfield {
  margin-bottom: 20px;
}

#sensoreal-gravity-form .gform_wrapper .ginput_complex label,
#sensoreal-gravity-form .gform_wrapper .ginput_complex legend,
#sensoreal-gravity-form .gform_wrapper .gfield_label {
  display: none;
}

#sensoreal-gravity-form .gform_wrapper .gfield_required {
  color: #790000;
  margin-left: 4px;
}

#sensoreal-gravity-form .gform_wrapper .gfield_checkbox li {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

#sensoreal-gravity-form .gform_wrapper .gfield_checkbox input[type="checkbox"] {
  margin-right: 8px;
  width: 18px;
  height: 18px;
}

#sensoreal-gravity-form .gform_wrapper .gform_footer {
  text-align: left;
  margin-top: 30px;
}

#sensoreal-gravity-form .gform_wrapper .gform_button {
  background-color: var(--sensoreal-button-hover-bg-color, #333333);
  color: var(--sensoreal-button-hover-text-color, #ffffff);
  font-size: var(--sensoreal-button-font-size, 16px);
  padding: var(--sensoreal-button-padding, 10px 20px);
  border-radius: var(--sensoreal-button-border-radius, 4px);
  border: 1px solid var(--sensoreal-button-hover-bg-color, #333333);
  cursor: pointer;
  transition: all 0.3s ease;
  width: auto;
  min-width: 150px;
  text-align: center;
  line-height: 23px;
  font-family: var(--sensoreal-body-font);
  font-weight: 400;
  font-size: 14px;  
  margin: 0 auto;
}

#sensoreal-gravity-form .gform_wrapper .gform_button:hover {
  border: 1px solid var(--sensoreal-button-hover-bg-color, #333333);
  background-color: transparent;
  color: var(--sensoreal-button-hover-bg-color, #333333);
}

#sensoreal-gravity-form .gform_wrapper .validation_error {
  color: #790000;
  border: 1px solid #790000;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
}

#sensoreal-gravity-form .gform_wrapper .validation_message {
  color: #790000;
  font-size: 14px;
  margin-top: 5px;
}

.sensoreal-property-single .form-section-title {
  margin-bottom: 1rem;
  width: 100%;
  font-family: var(--sensoreal-body-font);
}

.sensoreal-property-single .form-section-description {
  margin-bottom: 2rem;
  width: 100%;
  font-family: var(--sensoreal-body-font);
}

.sensoreal-property-single .brxe-container {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  font-family: var(--sensoreal-body-font);
}

#enquiry-form-section .content-align-left,
.sensoreal-property-single .content-align-left {
  align-items: flex-start;
}

#enquiry-form-section .content-align-center,
.sensoreal-property-single .content-align-center {
  align-items: center;
}

.sensoreal-property-single .content-align-center .form-section-title,
.sensoreal-property-single .content-align-center .form-section-description,
#enquiry-form-section .content-align-center .form-section-title,
#enquiry-form-section .content-align-center .form-section-description {
  text-align: center;
}

#enquiry-form-section .content-align-right,
.sensoreal-property-single .content-align-right {
  align-items: flex-end;
}

.sensoreal-property-single .content-align-right .form-section-title,
.sensoreal-property-single .content-align-right .form-section-description {
  text-align: right;
}

.sensoreal-property-single .thumbnails-container::-webkit-scrollbar {
  width: 6px;
}

.sensoreal-property-single .thumbnails-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.sensoreal-property-single .thumbnails-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.sensoreal-property-single .thumbnails-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.sensoreal-property-single .marketing-status-label {
  color: #fff;
  width: auto;
  display: inline-flex;
  padding: 5px 10px;
  text-align: center;
  justify-content: center;
  border-radius: 3px;
  font-weight: 500;
  font-size: 12px;
  line-height: 15px;
  background: #00a499;
}

.sensoreal-property-single .marketing-label-wrapper {
  display: flex;
}

.sensoreal-property-single .document-link {
  color: #000;
  text-decoration: none;
  background: #f1f1f1;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 12px;
  line-height: 15px;
  font-weight: 500;
}

.property-features-and-price-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media screen and (min-width: 768px) {
  .sensoreal-property-single .property-features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .sensoreal-property-single .property-gallery {
    display: flex;
    flex-direction: column;
    max-height: 400px;
  }

  .sensoreal-property-single .main-image-container {
    max-height: 240px;
    width: 100%;
    margin-bottom: 0;
  }

  .sensoreal-property-single .main-image-container img {
    max-height: 240px;
  }

  .sensoreal-property-single .thumbnails-container a {
    width: 120px;
    min-width: 120px;
  }

  .sensoreal-property-single .thumbnail {
    width: 120px;
    object-fit: cover;
  }

  .sensoreal-property-single .thumbnails-container a,
  .sensoreal-property-single .thumbnails-container,
  .sensoreal-property-single .thumbnail {
    max-height: 120px;
    height: 120px;
  }

  .sensoreal-property-single .thumbnails-container {
    flex-direction: row;
    overflow-x: scroll;
    overflow-y: hidden;
    width: 100%;
  }

  .sensoreal-property-single .brxe-container {
    padding: 1rem;
  }

  .sensoreal-property-single .content-align-right,
  .sensoreal-property-single .content-align-center {
    align-items: flex-start;
  }

  .sensoreal-property-single .content-align-right .form-section-title,
  .sensoreal-property-single .content-align-right .form-section-description,
  .sensoreal-property-single .content-align-center .form-section-title,
  .sensoreal-property-single .content-align-center .form-section-description {
    text-align: left;
  }

  #sensoreal-gravity-form .gform_wrapper {
    padding: 15px;
    font-family: var(--sensoreal-body-font);
  }

  #sensoreal-gravity-form .gform_wrapper input[type="text"],
  #sensoreal-gravity-form .gform_wrapper input[type="email"],
  #sensoreal-gravity-form .gform_wrapper input[type="tel"],
  #sensoreal-gravity-form .gform_wrapper textarea {
    padding: 10px;
    font-size: 14px;
    font-family: var(--sensoreal-body-font);
  }

  #sensoreal-gravity-form .gform_wrapper .gform_button {
    width: 100%;
    padding: 12px 20px;
    font-family: var(--sensoreal-body-font);
  }
	
	.property-features-and-price-wrapper {
		flex-direction: column;
		justify-content: flex-start;
    align-items: flex-start;
	}
  .sensoreal-property-single .property-information h1 {
    font-size: 30px;
  }
  .sensoreal-property-single .property-information h2 {
    font-size: 24px;
  }
  .sensoreal-property-single .location-search-form {
    flex-wrap: wrap;
    gap: 15px;
    max-width: 100%;
  }
  .sensoreal-property-single .location-search-form .sensoreal-global-input {
    flex: 0 0 100%;
    width: 100%;
  }
  .sensoreal-property-single .location-search-form .sensoreal-global-button {
    flex: 0 0 100%;
    width: 100%;
  }
}

#sensoreal-gravity-form p.gform_required_legend {
    display: none;
}

/* Make the container position relative */
/* Ensure the container is positioned relatively */
#sensoreal-gravity-form .ginput_container {
  position: relative;
}

/* Base styles for the floating label */
#sensoreal-gravity-form .floating-label {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 0 4px;
  transition: all 0.2s ease;
  pointer-events: none;
}

/* When the floating label has the "filled" class, lift it up */
#sensoreal-gravity-form .ginput_container .floating-label.filled {
  top: -10px;
}

.single.single-property_listing .pswp img {
  object-fit: contain;
}

/* Single template: content wrapper (replaces inline flex styles) */
.sensoreal-property-content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 20px;
  background: #fff;
}

.sensoreal-single-section-title {
  margin: 1.25rem 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
}

.sensoreal-property-single .property-information > .sensoreal-single-section-title:first-of-type {
  margin-top: 0.5rem;
}

/* Lot & land definition list */
.sensoreal-land-details__row {
  display: flex;
}

.sensoreal-land-details__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

/* Floor plans grid (replaces inline styles) */
.sensoreal-floor-plans-section .floor-plans-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.sensoreal-floor-plans-section .floor-plan-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.sensoreal-description-sections .property-description {
  margin-bottom: 1.25rem;
}

.sensoreal-description-sections .property-description--empty {
  color: #646970;
  font-style: italic;
}

@media screen and (max-width: 600px) {
  .sensoreal-land-details__row {
    grid-template-columns: 1fr;
  }
}

.sensoreal-property-single .property-info-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  justify-content: space-around;
}


.sensoreal-property-single .property-features {
  display: flex;
  justify-content: space-between;
  color: var(--sensoreal-body-color);
  font-size: 0.9em;
}

.sensoreal-property-single .property-features-right__wrapper,
.sensoreal-property-single .property-features-left__wrapper,
.property-features-left__wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--sensoreal-body-font);
}

.sensoreal-property-single .property-features-left__items {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
  font-family: var(--sensoreal-body-font);
}


.sensoreal-property-single .property-price__wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: max-content;
}

.sensoreal-property-single .property-price__wrapper .property-price__label {
  font-size: 14px;
  font-weight: 400;
  color: var(--sensoreal-button-bg-color);
  font-family: var(--sensoreal-body-font);
}

.sensoreal-property-single .property-price__wrapper .property-price__value {
  font-size: 28px;
  font-weight: 600;
  color: var(--sensoreal-button-bg-color);
  font-family: var(--sensoreal-body-font);
}

.sensoreal-property-single .property-features-left__item-label {
  font-weight: 300;
  color: var(--sensoreal-body-color);
  font-family: var(--sensoreal-body-font);
}

.sensoreal-property-single .property-features-left__item-value {
  font-weight: 600;
  color: var(--sensoreal-body-color);
  font-family: var(--sensoreal-body-font);
}

.sensoreal-property-single .property-features-right__items {
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: center;
  color: var(--sensoreal-body-color);
  font-family: var(--sensoreal-body-font);
}

.sensoreal-property-single .property-features-right__icon {
  padding: 6px;
  border-radius: 25px;
  background-color: var(--sensoreal-button-bg-color);
  height: 30px;
  width: 30px;
  font-family: var(--sensoreal-body-font);
}

.sensoreal-property-single .property-features-right__icon path {
  fill: #fff;
}

.sensoreal-property-single .property-features-right__icon svg {
  width: 18px;
  height: 18px;
}

.sensoreal-property-single .back-to-listings-link {
  text-decoration: none;
  color: var(--sensoreal-button-bg-color);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.sensoreal-property-single .back-to-listings-link:hover {
  color: var(--sensoreal-button-bg-color);
}