/**
 * PropertySoft Property Details Layout
 *
 * Scoped and intentionally assertive so WordPress themes/page builders do not
 * distort the component. Fonts are inherited from the active site.
 */

.ps-property-layout {
    --ps-max-width: 1380px;
    --ps-ink: #222827;
    --ps-muted: #66716f;
    --ps-soft: #f5f2ec;
    --ps-panel: #ffffff;
    --ps-line: #ddd8cf;
    --ps-accent: var(--propertysoft-accent, #385f59);
    --ps-accent-dark: var(--propertysoft-accent-dark, #203d38);
    --ps-success: #45ad72;
    --ps-warning: #c78a2d;
    --ps-danger: #c04f43;
    --ps-radius: 8px;
    --ps-shadow: 0 18px 44px rgba(34, 40, 39, 0.11);
    --ps-shadow-soft: 0 10px 28px rgba(34, 40, 39, 0.08);
    --ps-gap: clamp(18px, 2.4vw, 32px);

    box-sizing: border-box !important;
    width: min(100%, var(--ps-max-width)) !important;
    max-width: var(--ps-max-width) !important;
    margin: 0 auto !important;
    padding: clamp(18px, 3vw, 38px) clamp(14px, 3vw, 34px) clamp(54px, 5vw, 90px) !important;
    color: var(--ps-ink) !important;
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: 1.55 !important;
    isolation: auto !important;
}

.ps-property-layout *,
.ps-property-layout *::before,
.ps-property-layout *::after {
    box-sizing: border-box !important;
}

.ps-property-layout :where(h1, h2, h3, h4, h5, h6, p, a, span, strong, button, input, textarea, select, label, li, dt, dd) {
    font-family: inherit !important;
}

.ps-property-layout :where(a) {
    color: inherit;
}

.ps-property-layout :where(img, svg, iframe) {
    max-width: 100% !important;
}

.ps-property-layout.ps-error {
    padding: 2rem !important;
    border: 1px solid var(--ps-line) !important;
    border-radius: var(--ps-radius) !important;
    background: var(--ps-soft) !important;
    text-align: center !important;
}

.ps-property-layout .ps-topbar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 1rem !important;
    margin: 0 0 clamp(14px, 2vw, 24px) !important;
    padding: 0 !important;
}

.ps-property-layout .ps-back-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    color: var(--ps-accent) !important;
    text-decoration: none !important;
    font-size: 0.96rem !important;
    font-weight: 600 !important;
}

.ps-property-layout .ps-back-link:hover {
    color: var(--ps-accent-dark) !important;
}

.ps-property-layout .ps-share-buttons {
    display: flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
}

.ps-property-layout .ps-share-btn {
    display: inline-grid !important;
    place-items: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: transform 180ms ease, opacity 180ms ease !important;
}

.ps-property-layout .ps-share-btn:hover {
    opacity: 0.9 !important;
    transform: translateY(-1px) !important;
}

.ps-property-layout .ps-share-btn:active {
    transform: translateY(0) scale(0.98) !important;
}

.ps-property-layout .ps-share-facebook {
    background: #1877f2 !important;
}

.ps-property-layout .ps-share-whatsapp {
    background: #25d366 !important;
}

.ps-property-layout .ps-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(220px, auto) !important;
    gap: clamp(20px, 3vw, 42px) !important;
    align-items: end !important;
    margin: 0 0 clamp(18px, 2.5vw, 30px) !important;
    padding: 0 0 clamp(18px, 2.2vw, 26px) !important;
    border-bottom: 1px solid var(--ps-line) !important;
}

.ps-property-layout .ps-kicker-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.55rem !important;
    margin: 0 0 0.7rem !important;
}

.ps-property-layout .ps-kicker {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 28px !important;
    margin: 0 !important;
    padding: 0.34rem 0 !important;
    color: var(--ps-accent) !important;
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
}

.ps-property-layout .ps-title {
    max-width: 900px !important;
    margin: 0 !important;
    color: var(--ps-ink) !important;
    font-size: 1.55rem !important;
    font-weight: 560 !important;
    letter-spacing: 0 !important;
    line-height: 1.18 !important;
    text-wrap: balance;
}

.ps-property-layout .ps-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.45rem 1rem !important;
    margin: 1rem 0 0 !important;
    padding: 0 !important;
    color: var(--ps-muted) !important;
    font-size: 0.96rem !important;
    line-height: 1.35 !important;
}

.ps-property-layout .ps-meta-location {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.42rem !important;
}

.ps-property-layout .ps-meta-location svg {
    flex: 0 0 17px !important;
    width: 17px !important;
    height: 17px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.ps-property-layout .ps-price-summary {
    display: grid !important;
    justify-items: end !important;
    gap: 0.35rem !important;
    min-width: 0 !important;
    text-align: right !important;
}

.ps-property-layout .ps-price-label {
    color: var(--ps-muted) !important;
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
}

.ps-property-layout .ps-price {
    color: var(--ps-accent-dark) !important;
    font-size: 1.55rem !important;
    font-weight: 600 !important;
    font-variant-numeric: tabular-nums !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.ps-property-layout .ps-gallery {
    position: relative !important;
    overflow: hidden !important;
    margin: 0 0 1rem !important;
    border-radius: 10px !important;
    background: var(--ps-soft) !important;
    box-shadow: var(--ps-shadow) !important;
}

.ps-property-layout .ps-gallery .fotorama,
.ps-property-layout .ps-gallery .fotorama__wrap {
    width: 100% !important;
    max-width: 100% !important;
}

.ps-property-layout .ps-gallery .fotorama__stage {
    overflow: hidden !important;
    border-radius: 10px 10px 0 0 !important;
    background: var(--ps-soft) !important;
}

.ps-property-layout .ps-gallery .fotorama__stage__shaft,
.ps-property-layout .ps-gallery .fotorama__stage__frame {
    overflow: hidden !important;
    border-radius: 10px 10px 0 0 !important;
}

.ps-property-layout .ps-gallery .fotorama:not(.fotorama--fullscreen) .fotorama__img {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
}

.ps-property-layout .ps-gallery .fotorama__nav-wrap {
    padding: 8px 9px 10px !important;
    background: rgba(255, 255, 255, 0.94) !important;
}

.ps-property-layout .ps-gallery .fotorama__thumb {
    border-radius: 7px !important;
    background: var(--ps-soft) !important;
}

.ps-property-layout .ps-gallery .fotorama__thumb-border {
    border-color: var(--ps-accent) !important;
    border-radius: 7px !important;
}

.ps-property-layout .ps-gallery .fotorama__arr {
    border-radius: 999px !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 8px 20px rgba(34, 40, 39, 0.16) !important;
}

.ps-property-layout .ps-no-images {
    display: grid !important;
    place-items: center !important;
    min-height: 360px !important;
    padding: 3rem 1.5rem !important;
    color: var(--ps-muted) !important;
    text-align: center !important;
}

.ps-property-layout .ps-no-images img {
    width: 180px !important;
    opacity: 0.55 !important;
}

.ps-property-layout .ps-no-images p {
    margin: 1rem 0 0 !important;
}

.ps-property-layout .ps-gallery-mosaic {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 2.35fr) minmax(190px, 0.78fr) !important;
    gap: 14px !important;
    height: clamp(320px, 34vw, 470px) !important;
    margin: 0 0 clamp(18px, 2vw, 26px) !important;
}

.ps-property-layout .ps-gallery-mosaic--single {
    grid-template-columns: 1fr !important;
}

.ps-property-layout .ps-gallery-button {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: var(--ps-soft) !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

.ps-property-layout .ps-gallery-button img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    transition: transform 420ms ease, filter 420ms ease !important;
}

.ps-property-layout .ps-gallery-button:hover img,
.ps-property-layout .ps-gallery-button:focus-visible img {
    transform: scale(1.025) !important;
    filter: saturate(1.04) !important;
}

.ps-property-layout .ps-gallery-main {
    min-height: 0 !important;
}

.ps-property-layout .ps-gallery-side {
    display: grid !important;
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    min-height: 0 !important;
}

.ps-property-layout .ps-gallery-side .ps-gallery-button:only-child {
    grid-row: 1 / -1 !important;
}

.ps-property-layout .ps-photo-count {
    position: absolute !important;
    right: clamp(14px, 2vw, 22px) !important;
    bottom: clamp(14px, 2vw, 22px) !important;
    z-index: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 1rem !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    border-radius: 7px !important;
    background: rgba(17, 24, 23, 0.86) !important;
    color: #ffffff !important;
    font: inherit !important;
    font-size: 0.96rem !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22) !important;
    cursor: pointer !important;
}

.ps-property-layout .ps-photo-count svg,
.ps-property-layout .ps-lightbox svg,
.ps-property-layout .ps-note-icon svg {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.ps-property-layout .ps-photo-count svg {
    flex: 0 0 18px !important;
    width: 18px !important;
    height: 18px !important;
}

.ps-property-layout .ps-no-images--mosaic {
    grid-column: 1 / -1 !important;
    min-height: 100% !important;
    border: 1px solid var(--ps-line) !important;
    border-radius: 8px !important;
}

.ps-lightbox-open {
    overflow: hidden !important;
}

.ps-property-layout .ps-lightbox[hidden] {
    display: none !important;
}

.ps-property-layout .ps-lightbox {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483647 !important;
    display: grid !important;
    place-items: center !important;
    padding: 18px !important;
    background: #101615 !important;
}

.ps-property-layout .ps-lightbox-shell {
    position: relative !important;
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) auto !important;
    gap: 12px !important;
    width: min(100%, 1240px) !important;
    height: min(100%, 86vh) !important;
    max-height: 860px !important;
}

.ps-property-layout .ps-lightbox-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    min-width: 0 !important;
    color: #ffffff !important;
}

.ps-property-layout .ps-lightbox-top div {
    display: grid !important;
    gap: 0.16rem !important;
    min-width: 0 !important;
}

.ps-property-layout .ps-lightbox-top strong {
    overflow: hidden !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.ps-property-layout .ps-lightbox-top span {
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 0.86rem !important;
}

.ps-property-layout .ps-lightbox-close,
.ps-property-layout .ps-lightbox-nav {
    display: inline-grid !important;
    place-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    cursor: pointer !important;
}

.ps-property-layout .ps-lightbox-close {
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
}

.ps-property-layout .ps-lightbox-close svg,
.ps-property-layout .ps-lightbox-nav svg {
    width: 22px !important;
    height: 22px !important;
}

.ps-property-layout .ps-lightbox-frame {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    background: #050807 !important;
}

.ps-property-layout .ps-lightbox-frame img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
}

.ps-property-layout .ps-lightbox-nav {
    position: absolute !important;
    top: 50% !important;
    z-index: 2 !important;
    width: 48px !important;
    height: 48px !important;
    transform: translateY(-50%) !important;
}

.ps-property-layout .ps-lightbox-prev {
    left: 14px !important;
}

.ps-property-layout .ps-lightbox-next {
    right: 14px !important;
}

.ps-property-layout .ps-lightbox-thumbs {
    display: flex !important;
    gap: 8px !important;
    min-height: 76px !important;
    overflow-x: auto !important;
    padding: 0 2px 4px !important;
    scrollbar-width: thin !important;
}

.ps-property-layout .ps-lightbox-thumbs button {
    flex: 0 0 94px !important;
    width: 94px !important;
    height: 70px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 2px solid transparent !important;
    border-radius: 7px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    cursor: pointer !important;
    opacity: 0.68 !important;
}

.ps-property-layout .ps-lightbox-thumbs button[aria-current="true"] {
    border-color: #ffffff !important;
    opacity: 1 !important;
}

.ps-property-layout .ps-lightbox-thumbs img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.ps-property-layout .ps-specs-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 0.55rem !important;
    margin: 1rem 0 clamp(24px, 4vw, 42px) !important;
}

.ps-property-layout .ps-spec-item {
    display: flex !important;
    align-items: center !important;
    gap: 0.72rem !important;
    min-width: 0 !important;
    min-height: 76px !important;
    padding: 0.86rem !important;
    border: 1px solid var(--ps-line) !important;
    border-radius: var(--ps-radius) !important;
    background: rgba(255, 255, 255, 0.86) !important;
    box-shadow: none !important;
    color: var(--ps-ink) !important;
}

.ps-property-layout .ps-spec-icon {
    display: grid !important;
    place-items: center !important;
    flex: 0 0 36px !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 999px !important;
    background: rgba(var(--propertysoft-accent-rgb), 0.08) !important;
}

.ps-property-layout .ps-spec-icon img {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    object-fit: contain !important;
}

.ps-property-layout .ps-spec-info {
    display: grid !important;
    gap: 0.28rem !important;
    min-width: 0 !important;
}

.ps-property-layout .ps-spec-value {
    overflow-wrap: normal !important;
    word-break: normal !important;
    color: var(--ps-accent-dark) !important;
    font-size: 1.08rem !important;
    font-weight: 600 !important;
    font-variant-numeric: tabular-nums !important;
    line-height: 1.05 !important;
}

.ps-property-layout .ps-spec-label {
    color: var(--ps-muted) !important;
    font-size: 0.68rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.07em !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
}

.ps-property-layout .ps-detail-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 360px) !important;
    gap: clamp(24px, 4vw, 46px) !important;
    align-items: start !important;
}

.ps-property-layout .ps-detail-main {
    min-width: 0 !important;
}

.ps-property-layout .ps-detail-side {
    position: sticky !important;
    top: 24px !important;
    min-width: 0 !important;
}

.ps-property-layout .ps-section {
    margin: 0 !important;
    padding: clamp(24px, 3.5vw, 34px) 0 !important;
    border-top: 1px solid var(--ps-line) !important;
}

.ps-property-layout .ps-section:first-child {
    padding-top: 0 !important;
    border-top: 0 !important;
}

.ps-property-layout .ps-section h2,
.ps-property-layout .ps-contact-card h2 {
    margin: 0 0 1rem !important;
    color: var(--ps-ink) !important;
    font-size: clamp(1.3rem, 2vw, 1.7rem) !important;
    font-weight: 650 !important;
    letter-spacing: -0.015em !important;
    line-height: 1.1 !important;
}

.ps-property-layout .ps-description-text {
    max-width: 72ch !important;
    color: #505957 !important;
    font-size: 1.02rem !important;
    line-height: 1.78 !important;
    text-wrap: pretty;
}

.ps-property-layout .ps-description-text :where(p, ul, ol) {
    margin-top: 0 !important;
    margin-bottom: 1.2rem !important;
}

.ps-property-layout .ps-description-text :where(p:last-child, ul:last-child, ol:last-child) {
    margin-bottom: 0 !important;
}

.ps-property-layout .ps-features-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.72rem !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.ps-property-layout .ps-features-list li {
    margin: 0 !important;
    padding: 0.9rem 1rem !important;
    border: 0 !important;
    border-radius: var(--ps-radius) !important;
    background: var(--ps-soft) !important;
    color: #505957 !important;
    font-size: 0.98rem !important;
    line-height: 1.45 !important;
}

.ps-property-layout .ps-features-list strong {
    color: var(--ps-ink) !important;
    font-weight: 600 !important;
}

.ps-property-layout .ps-fees-list {
    display: grid !important;
    gap: 0 !important;
    margin: 0 !important;
}

.ps-property-layout .ps-fee-item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    gap: 1rem !important;
    padding: 0.9rem 0 !important;
    border-bottom: 1px solid var(--ps-line) !important;
    color: var(--ps-muted) !important;
    font-size: 1rem !important;
}

.ps-property-layout .ps-fee-item:last-child {
    border-bottom: 0 !important;
}

.ps-property-layout .ps-fee-item strong {
    color: var(--ps-ink) !important;
    font-weight: 600 !important;
    font-variant-numeric: tabular-nums !important;
    white-space: nowrap !important;
}

.ps-property-layout .ps-section-heading {
    display: grid !important;
    gap: 0.4rem !important;
    margin: 0 0 1rem !important;
}

.ps-property-layout .ps-section-heading h2,
.ps-property-layout .ps-section-heading p {
    margin: 0 !important;
}

.ps-property-layout .ps-section-heading p {
    max-width: 70ch !important;
    color: var(--ps-muted) !important;
}

.ps-property-layout .ps-place-tabs {
    display: inline-grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.35rem !important;
    margin: 0 0 1rem !important;
    padding: 0.35rem !important;
    border: 1px solid var(--ps-line) !important;
    border-radius: 999px !important;
    background: #ffffff !important;
}

.ps-property-layout .ps-place-tab {
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0.55rem 0.9rem !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: var(--ps-muted) !important;
    font: inherit !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
}

.ps-property-layout .ps-place-tab.is-active {
    background: var(--ps-accent) !important;
    color: #ffffff !important;
}

.ps-property-layout .ps-place-panel {
    display: none !important;
}

.ps-property-layout .ps-place-panel.is-active {
    display: block !important;
}

.ps-property-layout .ps-place-note {
    margin: 0 0 1rem !important;
    color: var(--ps-muted) !important;
}

.ps-property-layout .ps-place-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
}

.ps-property-layout .ps-place-card {
    display: grid !important;
    gap: 0.35rem !important;
    margin: 0 !important;
    padding: 1rem !important;
    border: 1px solid rgba(var(--propertysoft-accent-rgb), 0.16) !important;
    border-radius: var(--ps-radius) !important;
    background: rgba(var(--propertysoft-accent-rgb), 0.06) !important;
}

.ps-property-layout .ps-place-head {
    display: flex !important;
    align-items: center !important;
    gap: 0.62rem !important;
    min-width: 0 !important;
}

.ps-property-layout .ps-place-icon {
    display: grid !important;
    place-items: center !important;
    flex: 0 0 34px !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 999px !important;
    background: rgba(var(--propertysoft-accent-rgb), 0.1) !important;
    color: var(--ps-accent) !important;
}

.ps-property-layout .ps-place-icon svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
}

.ps-property-layout .ps-place-type {
    min-width: 0 !important;
    color: var(--ps-accent) !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

.ps-property-layout .ps-place-card h3 {
    margin: 0 !important;
    color: var(--ps-ink) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
}

.ps-property-layout .ps-place-card p,
.ps-property-layout .ps-place-card small {
    margin: 0 !important;
    color: var(--ps-muted) !important;
}

.ps-property-layout .ps-place-grid--live {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.ps-property-layout .ps-place-card--group {
    align-content: start !important;
    gap: 0.85rem !important;
    background: #ffffff !important;
}

.ps-property-layout .ps-place-list {
    display: grid !important;
    gap: 0.78rem !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.ps-property-layout .ps-place-list li {
    display: grid !important;
    gap: 0.18rem !important;
    margin: 0 !important;
    padding: 0.78rem 0 0 !important;
    border-top: 1px solid rgba(var(--propertysoft-accent-rgb), 0.13) !important;
}

.ps-property-layout .ps-place-list li:first-child {
    padding-top: 0 !important;
    border-top: 0 !important;
}

.ps-property-layout .ps-place-list a,
.ps-property-layout .ps-place-list strong {
    color: var(--ps-ink) !important;
    font-size: 0.98rem !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
}

.ps-property-layout .ps-place-list a:hover {
    color: var(--ps-accent) !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

.ps-property-layout .ps-place-list span {
    color: var(--ps-muted) !important;
    font-size: 0.9rem !important;
    line-height: 1.35 !important;
}

.ps-property-layout .ps-places-attribution {
    margin: 0.85rem 0 0 !important;
    color: var(--ps-muted) !important;
    font-size: 0.82rem !important;
}

.ps-property-layout .ps-map-container {
    position: relative !important;
    overflow: hidden !important;
    min-height: 420px !important;
    border: 1px solid var(--ps-line) !important;
    border-radius: 10px !important;
    background: var(--ps-soft) !important;
}

.ps-property-layout .ps-map-container iframe {
    display: block !important;
    width: 100% !important;
    min-height: 420px !important;
}

.ps-property-layout .ps-map-area-circle {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    z-index: 2 !important;
    width: var(--ps-map-area-size, 52%) !important;
    aspect-ratio: 1 !important;
    border: 2px solid color-mix(in srgb, var(--ps-accent) 68%, white) !important;
    border-radius: 999px !important;
    background: color-mix(in srgb, var(--ps-accent) 18%, transparent) !important;
    box-shadow: 0 0 0 9999px rgba(255, 255, 255, 0.08) !important;
    pointer-events: none !important;
    transform: translate(-50%, -50%) !important;
}

.ps-property-layout .ps-map-caption {
    margin: 0.6rem 0 0 !important;
    color: var(--ps-muted) !important;
    font-size: 0.86rem !important;
    font-weight: 500 !important;
}

.ps-property-layout .ps-contact-card {
    display: grid !important;
    gap: 1rem !important;
    padding: clamp(18px, 2.2vw, 24px) !important;
    border: 1px solid var(--ps-line) !important;
    border-radius: 10px !important;
    background: var(--ps-panel) !important;
    box-shadow: var(--ps-shadow) !important;
}

.ps-property-layout .ps-contact-card p {
    margin: -0.35rem 0 0 !important;
    color: var(--ps-muted) !important;
    line-height: 1.55 !important;
}

.ps-property-layout .ps-contact-actions {
    display: grid !important;
    gap: 0.65rem !important;
}

.ps-property-layout .ps-action-btn,
.ps-property-layout .ps-submit-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 48px !important;
    width: 100% !important;
    padding: 0.78rem 1rem !important;
    border-radius: 7px !important;
    border: 1px solid transparent !important;
    font: inherit !important;
    font-size: 0.98rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: transform 180ms ease, opacity 180ms ease, background-color 180ms ease, border-color 180ms ease !important;
}

.ps-property-layout .ps-action-btn svg,
.ps-property-layout .ps-submit-btn svg {
    display: block !important;
    flex: 0 0 18px !important;
    width: 18px !important;
    height: 18px !important;
}

.ps-property-layout .ps-action-btn:hover,
.ps-property-layout .ps-submit-btn:hover {
    transform: translateY(-1px) !important;
}

.ps-property-layout .ps-action-btn:active,
.ps-property-layout .ps-submit-btn:active {
    transform: translateY(0) scale(0.99) !important;
}

.ps-property-layout .ps-action-primary,
.ps-property-layout .ps-submit-btn {
    background: var(--ps-accent) !important;
    color: #ffffff !important;
}

.ps-property-layout .ps-action-primary:hover,
.ps-property-layout .ps-submit-btn:hover {
    background: var(--ps-accent-dark) !important;
}

.ps-property-layout .ps-action-secondary {
    border-color: rgba(var(--propertysoft-accent-rgb), 0.22) !important;
    background: rgba(var(--propertysoft-accent-rgb), 0.07) !important;
    color: var(--ps-accent-dark) !important;
}

.ps-property-layout .ps-action-text {
    min-height: auto !important;
    padding: 0.2rem 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--ps-accent) !important;
}

.ps-property-layout .ps-summary-list {
    display: grid !important;
    gap: 0.72rem !important;
    margin: 0 !important;
    padding: 1rem 0 0 !important;
    border-top: 1px solid var(--ps-line) !important;
}

.ps-property-layout .ps-summary-list div {
    display: flex !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    margin: 0 !important;
}

.ps-property-layout .ps-summary-list dt,
.ps-property-layout .ps-summary-list dd {
    margin: 0 !important;
    font-size: 0.92rem !important;
    line-height: 1.3 !important;
}

.ps-property-layout .ps-summary-list dt {
    color: var(--ps-muted) !important;
}

.ps-property-layout .ps-summary-list dd {
    color: var(--ps-ink) !important;
    font-weight: 600 !important;
    text-align: right !important;
}

.ps-property-layout .ps-enquiry-form {
    display: grid !important;
    gap: 1rem !important;
    max-width: 780px !important;
    margin: 0 !important;
}

.ps-property-layout .ps-form-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem !important;
}

.ps-property-layout .ps-form-group {
    display: grid !important;
    gap: 0.35rem !important;
    min-width: 0 !important;
}

.ps-property-layout .ps-form-group label {
    color: var(--ps-ink) !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
}

.ps-property-layout .ps-form-group input[type="text"],
.ps-property-layout .ps-form-group input[type="email"],
.ps-property-layout .ps-form-group textarea {
    display: block !important;
    width: 100% !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 0.8rem 0.9rem !important;
    border: 1px solid var(--ps-line) !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    color: var(--ps-ink) !important;
    font: inherit !important;
    font-size: 1rem !important;
    line-height: 1.35 !important;
    box-shadow: none !important;
}

.ps-property-layout .ps-form-group textarea {
    min-height: 150px !important;
    resize: vertical !important;
}

.ps-property-layout .ps-form-group input:focus,
.ps-property-layout .ps-form-group textarea:focus {
    border-color: var(--ps-accent) !important;
    outline: 3px solid rgba(var(--propertysoft-accent-rgb), 0.18) !important;
    outline-offset: 0 !important;
}

.ps-property-layout .ps-form-group input.ps-field-invalid,
.ps-property-layout .ps-form-group textarea.ps-field-invalid {
    border-color: var(--ps-danger) !important;
}

.ps-property-layout .ps-field-error {
    min-height: 1.1rem !important;
    color: var(--ps-danger) !important;
    font-size: 0.86rem !important;
}

.ps-property-layout .ps-hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
}

.ps-property-layout .ps-submit-btn {
    width: fit-content !important;
    min-width: 180px !important;
}

.ps-property-layout .ps-submit-btn:disabled {
    opacity: 0.62 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.ps-property-layout .ps-form-message {
    display: none !important;
    margin-top: 1rem !important;
    padding: 1rem !important;
    border-radius: var(--ps-radius) !important;
    font-weight: 600 !important;
}

.ps-property-layout .ps-form-message.ps-message-success {
    display: block !important;
    border: 1px solid rgba(69, 173, 114, 0.25) !important;
    background: rgba(69, 173, 114, 0.12) !important;
    color: #1d6d42 !important;
}

.ps-property-layout .ps-form-message.ps-message-error {
    display: block !important;
    border: 1px solid rgba(192, 79, 67, 0.25) !important;
    background: rgba(192, 79, 67, 0.11) !important;
    color: #8e342d !important;
}

.ps-property-layout .ps-noscript {
    margin: 0 0 1rem !important;
    padding: 1rem !important;
    border: 1px solid var(--ps-line) !important;
    border-radius: var(--ps-radius) !important;
    background: var(--ps-soft) !important;
}

.ps-property-layout .ps-mobile-actions {
    display: none !important;
}

.ps-property-layout a:focus-visible,
.ps-property-layout button:focus-visible,
.ps-property-layout input:focus-visible,
.ps-property-layout textarea:focus-visible {
    outline: 3px solid rgba(var(--propertysoft-accent-rgb), 0.32) !important;
    outline-offset: 3px !important;
}

@media (max-width: 1160px) {
    .ps-property-layout .ps-specs-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .ps-property-layout .ps-detail-grid {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 330px) !important;
    }
}

@media (max-width: 920px) {
    .ps-property-layout .ps-hero,
    .ps-property-layout .ps-detail-grid {
        grid-template-columns: 1fr !important;
    }

    .ps-property-layout .ps-gallery-mosaic {
        grid-template-columns: minmax(0, 1fr) !important;
        height: auto !important;
    }

    .ps-property-layout .ps-gallery-main {
        aspect-ratio: 16 / 10 !important;
        height: auto !important;
    }

    .ps-property-layout .ps-gallery-side {
        display: none !important;
    }

    .ps-property-layout .ps-price-summary {
        justify-items: start !important;
        text-align: left !important;
    }

    .ps-property-layout .ps-detail-side {
        position: static !important;
        order: -1 !important;
    }

    .ps-property-layout .ps-contact-card {
        box-shadow: var(--ps-shadow-soft) !important;
    }
}

@media (max-width: 700px) {
    .ps-property-layout {
        padding-right: 12px !important;
        padding-left: 12px !important;
        padding-bottom: 92px !important;
    }

    .ps-property-layout .ps-topbar {
        align-items: flex-start !important;
    }

    .ps-property-layout .ps-title {
        font-size: 1.35rem !important;
        line-height: 1.2 !important;
    }

    .ps-property-layout .ps-price {
        font-size: 1.45rem !important;
    }

    .ps-property-layout .ps-gallery-mosaic {
        gap: 0 !important;
        margin-bottom: 1.25rem !important;
    }

    .ps-property-layout .ps-gallery-main {
        aspect-ratio: 16 / 10.5 !important;
    }

    .ps-property-layout .ps-photo-count {
        right: 12px !important;
        bottom: 12px !important;
        min-height: 40px !important;
        padding: 0 0.8rem !important;
        font-size: 0.88rem !important;
    }

    .ps-property-layout .ps-lightbox {
        padding: 10px !important;
        align-items: start !important;
        justify-items: center !important;
    }

    .ps-property-layout .ps-lightbox-shell {
        grid-template-rows: auto auto auto !important;
        height: auto !important;
        max-height: calc(100vh - 20px) !important;
        gap: 8px !important;
    }

    .ps-property-layout .ps-lightbox-frame img {
        position: static !important;
        width: auto !important;
        height: auto !important;
        max-width: 100% !important;
        max-height: 64vh !important;
    }

    .ps-property-layout .ps-lightbox-nav {
        width: 42px !important;
        height: 42px !important;
    }

    .ps-property-layout .ps-lightbox-thumbs {
        min-height: 60px !important;
    }

    .ps-property-layout .ps-lightbox-thumbs button {
        flex-basis: 76px !important;
        width: 76px !important;
        height: 56px !important;
    }

    .ps-property-layout .ps-specs-grid,
    .ps-property-layout .ps-features-list,
    .ps-property-layout .ps-place-grid,
    .ps-property-layout .ps-place-grid--live,
    .ps-property-layout .ps-form-row {
        grid-template-columns: 1fr !important;
    }

    .ps-property-layout .ps-spec-item {
        min-height: 72px !important;
    }

    .ps-property-layout .ps-place-tabs {
        width: 100% !important;
    }

    .ps-property-layout .ps-fee-item {
        align-items: flex-start !important;
    }

    .ps-property-layout .ps-submit-btn {
        width: 100% !important;
    }

    .ps-property-layout .ps-mobile-actions {
        position: fixed !important;
        z-index: 30 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr)) !important;
        gap: 0.55rem !important;
        padding: 0.65rem !important;
        border-top: 1px solid var(--ps-line) !important;
        background: rgba(250, 249, 246, 0.96) !important;
        box-shadow: 0 -10px 28px rgba(34, 40, 39, 0.12) !important;
        backdrop-filter: blur(10px) !important;
    }

    .ps-property-layout .ps-mobile-actions .ps-action-btn {
        min-height: 46px !important;
    }
}

@media (max-width: 460px) {
    .ps-property-layout .ps-share-btn {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
    }

    .ps-property-layout .ps-price {
        white-space: normal !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ps-property-layout *,
    .ps-property-layout *::before,
    .ps-property-layout *::after {
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }
}
