.instant-search {
    max-width: 1080px;
    margin: 0 auto;
    padding: 80px 1rem 1rem;
    background: transparent;
    border-radius: 5px;
}

.instant-search__form {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.instant-search__label {
    display: none;
}

.instant-search__input {
    width: min(720px, 100%);
    padding: 0.85rem 1.1rem;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #fff;
    font-size: 1rem;
    font-family: "Akrobat-SemiBold", sans-serif;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.instant-search__input:focus {
    outline: none;
    border-color: #b58a19;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.instant-search__results {
    margin-top: 0.5rem;
    display: grid;
    gap: 1rem;
    justify-items: center;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(300px, 320px));
}

.instant-search__message {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0.5rem 0;
    text-align: center;
}

.instant-search__loading {
    color: #2563eb;
}

.instant-search__loader {
    width: 32px;
    height: 32px;
    border: 3px solid #d1d5db;
    border-top-color: #b58a19;
    border-radius: 50%;
    animation: ps-spin 0.9s linear infinite;
    margin: 12px auto;
}

@keyframes ps-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ps-card {
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    color: #111;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    width: 320px;
    max-width: 100%;
    text-decoration: none;
}

.ps-card__media {
    position: relative;
    overflow: hidden;
    border-radius: 5px 5px 0 0;
    aspect-ratio: 4 / 3;
}

.ps-card__image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: #e5e7eb;
    transition: transform 0.35s ease;
}

.ps-card__body {
    padding: 18px 18px 14px;
}

.ps-card__title {
    display: block;
    font-size: 1.08rem;
    font-weight: 700;
    color: #b58a19;
    text-decoration: underline;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.ps-card__title:hover {
    color: #8a6a14;
}

.ps-card__subtitle {
    color: #6b7280;
    font-size: 0.95rem;
}

.ps-card__community,
.ps-card__location {
    color: #374151;
    font-size: 1rem;
    line-height: 1.4;
}

.ps-card__divider {
    border-bottom: 1px solid #bcbcbc;
    margin: 14px 0;
}

.ps-card__stats {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    color: #4b5563;
    margin-bottom: 10px;
    align-items: center;
}

.ps-card__stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1rem;
}

.ps-card__stat strong {
    color: #b58a19;
    font-weight: 700;
}

.ps-card__icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
}

.ps-card__icon svg {
    width: 100%;
    height: 100%;
}

.ps-card__sqft {
    color: #4b5563;
    font-size: 0.98rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ps-card__sqft strong {
    color: #b58a19;
}

.ps-card__footer {
    background: #b58a19;
    color: #f9f7ee;
    padding: 14px 16px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: none;
}

.ps-card__price {
    display: inline-block;
    margin-left: 8px;
    color: #f9f7ee;
    font-weight: 700;
}

.ps-card--loading {
    pointer-events: none;
    box-shadow: none;
    border-color: #e5e7eb;
}

.ps-card--loading .ps-card__image,
.ps-card--loading .ps-card__footer {
    background: #e5e7eb;
}

.ps-skel {
    display: block;
    background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 37%, #e5e7eb 63%);
    background-size: 400% 100%;
    animation: ps-shimmer 1.4s ease infinite;
    border-radius: 5px;
}

.ps-skel--title { height: 18px; width: 80%; margin-bottom: 10px; }
.ps-skel--line { height: 14px; width: 60%; margin-bottom: 8px; }
.ps-skel--line.short { width: 40%; }
.ps-skel--stat { height: 16px; width: 50%; margin-top: 8px; }
.ps-skel--price { height: 16px; width: 50%; display: inline-block; }

.ps-card--loading .ps-card__body,
.ps-card--loading .ps-card__footer {
    background: #fff;
}

@keyframes ps-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.ps-card:hover {
    box-shadow: 0 10px 28px rgba(0,0,0,0.14);
    transform: translateY(-2px);
}

.ps-card:hover .ps-card__image {
    transform: scale(1.03);
}

@media (min-width: 720px) {
    .instant-search__results {
        grid-template-columns: repeat(auto-fit, minmax(300px, 320px));
    }
}
