.filter-panel, .card-panel, .empty-state {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 12px 22px rgba(18, 25, 21, 0.04);
}

.filter-panel h3, .card-panel h3 {
    font-weight: 800;
    margin-bottom: 1rem;
}

.main-image {
    width: 100%;
    border-radius: 26px;
    object-fit: cover;
    max-height: 520px;
}

.property-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}

.property-gallery-item {
    margin: 0;
    min-width: 0;
}

.property-gallery-item img {
    width: 100%;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
}

.property-gallery-item figcaption {
    margin-top: 0.35rem;
    color: var(--text-muted, #6c757d);
    font-size: 0.85rem;
}

.property-video-item {
    margin: 0;
}

.property-video {
    display: block;
    width: 100%;
    max-height: 420px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    background: #111;
}

.property-video-item figcaption {
    margin-top: 0.35rem;
    color: var(--text-muted, #6c757d);
    font-size: 0.9rem;
}

.detail-content {
    padding: 2rem;
}

.detail-price-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: grid;
    gap: 0.7rem;
}

.detail-placeholder {
    min-height: 460px;
    border-radius: 26px;
}

.sticky-panel {
    position: sticky;
    top: 110px;
}

.empty-state {
    text-align: center;
    padding: 3rem 2rem;
}

.signup-section {
    background:
        radial-gradient(ellipse at 8% 8%, rgba(33, 134, 83, 0.1), transparent 38%),
        var(--light-bg, #f7f8f5);
}

.signup-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    max-width: 1040px;
    min-height: 640px;
    margin: 0 auto;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(22, 75, 53, 0.1);
}

.signup-image-panel {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    isolation: isolate;
    min-height: 100%;
    background: #164b35;
}

.signup-image-panel::after {
    position: absolute;
    z-index: 1;
    background: linear-gradient(155deg, rgba(22, 75, 53, 0.12), rgba(11, 42, 30, 0.3));
    content: "";
    inset: 0;
}

.signup-intro-image {
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    inset: 0;
    object-fit: cover;
}

.signup-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    color: var(--forest);
    font-size: 1.25rem;
    font-weight: 800;
}

.signup-brand:hover {
    color: var(--forest);
}

.signup-brand .brand-mark {
    color: #fff;
}

.signup-brand .brand-dot {
    color: #f0cc75;
}

.signup-card {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    padding: clamp(2rem, 5vw, 3.5rem);
}

.signup-card-heading {
    margin-bottom: 1.75rem;
}

.signup-card-heading h2 {
    margin: 0.4rem 0;
    color: var(--forest);
    font-size: 1.9rem;
    font-weight: 800;
}

.signup-card-heading h1 {
    margin: 0.4rem 0 0.65rem;
    color: var(--forest);
    font-size: clamp(1.7rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1.15;
}

.signup-card-heading p {
    margin: 0;
    color: var(--muted);
}

.signup-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.signup-field {
    min-width: 0;
}

.signup-field-wide {
    grid-column: 1 / -1;
}

.signup-field .form-label {
    margin-bottom: 0.4rem;
    color: #34443b;
    font-size: 0.88rem;
    font-weight: 700;
}

.signup-field .form-control {
    min-height: 48px;
    border-color: #dce5df;
    border-radius: 12px;
    background-color: #fbfcfb;
}

.signup-field .form-control:focus {
    border-color: var(--primary);
    background-color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(33, 134, 83, 0.12);
}

.signup-help {
    margin-top: 0.4rem;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.5;
}

.signup-help ul {
    margin: 0.35rem 0 0;
    padding-left: 1rem;
}

.signup-error {
    margin-top: 0.4rem;
    color: #b42318;
    font-size: 0.82rem;
}

.signup-submit {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1.5rem;
    border-radius: 12px;
    font-weight: 800;
}

.signup-login-prompt {
    margin: 1.2rem 0 0;
    text-align: center;
    font-size: 0.9rem;
}

.signup-login-prompt a {
    color: var(--forest);
    font-weight: 800;
}

.signup-terms {
    margin: 1.25rem 0 0;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 767.98px) {
    .signup-layout {
        grid-template-columns: 1fr;
        min-height: 0;
        border-radius: 22px;
    }

    .signup-image-panel {
        grid-column: 1;
        grid-row: 1;
        min-height: 220px;
    }

    .signup-card {
        grid-column: 1;
        grid-row: 2;
        padding: 1.75rem;
    }
}

@media (max-width: 479.98px) {
    .signup-fields {
        grid-template-columns: 1fr;
    }

    .signup-field-wide {
        grid-column: auto;
    }
}
