/* Seller index: desktop parity, compact mobile layout under 1024px. */

.listing-metrics-2026,
.listing-meta-2026,
.listing-status-inline-2026,
.listing-advisor-name-2026,
.listing-controls-mobile-2026 {
    display: none;
}

.listing-save-btn-2026.listing-save-inline-2026 {
    display: none;
    position: static;
    top: auto;
    right: auto;
}

.listings-feed-2026 .listing-cta-2026 {
    background: var(--listing-primary, #004c98);
}

.listings-feed-2026 .listing-cta-2026:hover {
    background: var(--listing-primary-hover, #003366);
}

.listings-feed-2026 .listing-call-now-2026 {
    background: var(--listing-call, #6f591f);
}

.listings-feed-2026 .listing-call-now-2026:hover {
    background: var(--listing-call-hover, #5a4819);
}

.listings-feed-2026 .listing-card-2026.hidden {
    display: none !important;
}

.listing-headline-2026 {
    margin: 0;
}

.listing-tags-2026 {
    margin: 0 0 8px;
}

@media (min-width: 1024px) {
    .listings-feed-2026 .listing-tags-2026:not(:has(.listing-tag-stay-2026)) {
        display: none;
    }
}

.listing-tag-2026 {
    display: inline-block;
    margin: 0 6px 0 0;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.listing-tag-2026.listing-status-inline-2026 {
    display: none;
}

.listing-tag-stay-2026 {
    background: #e6c98f;
    color: #000034;
}

.listing-advisor-prompt-2026 {
    margin: 0;
}

@media (max-width: 1023px) {
    .listing-search-panel-2026,
    .listing-controls-desktop-2026 {
        display: none !important;
    }

    .listing-controls-mobile-2026 {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
        margin: 0 0 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .listing-mobile-apply-2026,
    .listing-mobile-quick-2026,
    .listing-controls-mobile-2026 .listing-sort-select-2026 {
        min-height: 44px;
        font-size: 12px;
    }

    .listing-mobile-apply-2026,
    .listing-mobile-quick-2026 {
        flex: 0 0 auto;
        border-radius: 4px;
        padding: 8px 10px;
        font-weight: 600;
        cursor: pointer;
        touch-action: manipulation;
    }

    .listing-mobile-apply-2026 {
        border: 1px solid var(--listing-primary, #004c98);
        background: var(--listing-primary, #004c98);
        color: #fff;
    }

    .listing-mobile-quick-2026 {
        border: 1px solid #ddd;
        background: #fff;
        color: #000034;
    }

    .listing-mobile-quick-2026.active,
    .listing-mobile-quick-2026[aria-pressed="true"] {
        border-color: var(--listing-primary, #004c98);
        background: var(--listing-primary, #004c98);
        color: #fff;
    }

    .listing-mobile-field-2026 {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        flex: 0 0 auto;
        margin: 0;
    }

    .listing-mobile-field-label-2026 {
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        color: var(--listing-navy, #000034);
        white-space: nowrap;
    }

    .listing-controls-mobile-2026 .listing-sort-select-2026 {
        max-width: 92px;
        padding: 6px;
    }

    .listing-mobile-saved-cluster-2026 {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        flex: 0 0 auto;
    }

    .listing-saved-badge-2026 {
        flex: 0 0 auto;
        margin: 0;
        padding: 8px 10px;
        border: 1px solid var(--listing-bronze, #8e815c);
        border-radius: 999px;
        background: #fff;
        color: var(--listing-navy, #000034);
        font-size: 13px;
        font-weight: 600;
        white-space: nowrap;
    }

    .listings-feed-2026 {
        padding-bottom: 120px;
    }

    .listings-feed-2026 .listing-card-2026 {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        grid-template-areas:
            "metrics metrics"
            "region headline"
            "description description"
            "advisor advisor"
            "actions actions";
        align-items: start;
        margin-bottom: 16px;
        overflow: hidden;
    }

    .listings-feed-2026 .listing-content-2026 {
        display: contents;
    }

    .listings-feed-2026 .listing-metrics-2026 {
        display: grid;
        grid-area: metrics;
        grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
        gap: 6px 10px;
        margin: 0;
        padding: 10px 76px 10px 12px;
        background: #f3f6fa;
        border-bottom: 1px solid #e0e0e0;
    }

    .listings-feed-2026 .listing-metrics-2026 dt {
        margin: 0;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: #555;
    }

    .listings-feed-2026 .listing-metrics-2026 dd {
        margin: 2px 0 0;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.3;
        color: var(--listing-navy, #000034);
        overflow-wrap: anywhere;
    }

    .listings-feed-2026 .listing-image-2026 {
        grid-area: region;
        width: 112px;
        min-width: 112px;
        height: auto;
        min-height: 0;
        padding: 8px;
        align-self: stretch;
        justify-content: flex-start;
    }

    .listings-feed-2026 .listing-location-image-2026 {
        max-width: 100%;
        max-height: 72px;
        margin-bottom: 4px;
    }

    .listings-feed-2026 .listing-location-text-below-2026 {
        margin-top: 4px;
        padding-bottom: 0;
        font-size: 10px;
        line-height: 1.25;
        letter-spacing: 0.04em;
    }

    .listings-feed-2026 .listing-location-text-below-2026.fallback {
        min-height: 0;
        padding: 0;
    }

    .listings-feed-2026 .listing-image-2026 .listing-location-image-2026 {
        order: 1;
    }

    .listings-feed-2026 .listing-image-2026 .listing-location-text-below-2026,
    .listings-feed-2026 .listing-image-2026 .listing-image-placeholder-2026 {
        order: 2;
    }

    .listings-feed-2026 .listing-image-2026 .listing-save-btn-2026 {
        position: static;
        order: 3;
        width: 100%;
        min-height: 44px;
        margin-top: 8px;
        justify-content: center;
    }

    .listings-feed-2026 .listing-image-2026 .listing-status-badge-2026 {
        display: none;
    }

    .listings-feed-2026 .listing-price-2026,
    .listings-feed-2026 .listing-ref-2026,
    .listings-feed-2026 .listing-stats-2026 {
        display: none;
    }

    .listings-feed-2026 .listing-headline-2026 {
        grid-area: headline;
        min-width: 0;
        padding: 10px 12px 4px 4px;
    }

    .listings-feed-2026 .listing-title-2026 {
        font-size: 16px;
        line-height: 1.35;
        margin-bottom: 6px;
    }

    .listings-feed-2026 .listing-title-2026 a {
        overflow-wrap: anywhere;
    }

    .listings-feed-2026 .listing-meta-2026 {
        display: flex;
        flex-wrap: wrap;
        gap: 4px 8px;
        margin: 0 0 6px;
        font-size: 12px;
        line-height: 1.4;
        color: #555;
    }

    .listings-feed-2026 .listing-status-inline-2026 {
        display: inline-block;
    }

    .listings-feed-2026 .listing-description-2026 {
        grid-area: description;
        margin: 0;
        padding: 0 12px 8px;
    }

    .listings-feed-2026 .listing-footer-2026 {
        grid-area: advisor;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        margin-top: 0;
        padding: 12px 12px 8px;
    }

    .listings-feed-2026 .listing-contact-info-2026 {
        align-items: flex-start;
    }

    .listings-feed-2026 .listing-advisor-name-2026 {
        display: block;
        margin: 0 0 4px;
        font-size: 14px;
        font-weight: 700;
        color: var(--listing-navy, #000034);
    }

    .listings-feed-2026 .listing-advisor-ask-2026 {
        display: none;
    }

    .listings-feed-2026 .listing-advisor-prompt-2026 {
        font-size: 13px;
        line-height: 1.45;
        color: #333;
    }

    .listings-feed-2026 .listing-footer-buttons-2026 {
        grid-area: actions;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        width: auto;
        margin: 0;
        padding: 0 76px 12px 12px;
    }

    .listings-feed-2026 .listing-save-btn-2026.listing-save-inline-2026,
    .listings-feed-2026 .listing-cta-2026,
    .listings-feed-2026 .listing-call-now-2026 {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 44px;
        padding: 10px 8px;
        font-size: 12px;
        line-height: 1.2;
        text-align: center;
        white-space: normal;
        touch-action: manipulation;
    }
}
