/* GGHomes Patch 04 public Developments category and listing styles. */
.patch04-home-category-grid {
    grid-template-columns: minmax(0, 1fr);
}

.patch04-category-tabs {
    max-width: 100%;
    flex-wrap: nowrap;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,90,31,.65) rgba(255,255,255,.05);
}

.patch04-category-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    border: 1px solid transparent;
    padding: .48rem .9rem;
    color: #a7a39c;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.patch04-category-tab:hover {
    color: #f5f1e8;
    border-color: rgba(255,255,255,.12);
}

.patch04-category-tab.is-active {
    color: #101010;
    border-color: #ff5a1f;
    background: #ff5a1f;
    font-weight: 800;
}

.patch04-listing-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.07);
    background: #191919;
    transition: border-color .25s ease, transform .25s ease;
}

.patch04-listing-card:hover {
    border-color: rgba(255,90,31,.48);
    transform: translateY(-3px);
}

.patch04-listing-link {
    display: flex;
    height: 100%;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.patch04-listing-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #101010;
}

.patch04-listing-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}

.patch04-listing-card:hover .patch04-listing-media img {
    transform: scale(1.045);
}

.patch04-listing-status {
    position: absolute;
    top: 1rem;
    left: 1rem;
    max-width: calc(100% - 2rem);
    padding: .35rem .6rem;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(16,16,16,.88);
    color: #f5f1e8;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.patch04-listing-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: .7rem;
    padding: 1.25rem;
}

.patch04-listing-location {
    overflow: hidden;
    color: #a7a39c;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.patch04-listing-title {
    color: #f5f1e8;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    line-height: 1.3;
}

.patch04-listing-price {
    color: #ff8050;
    font-size: 13px;
    font-weight: 800;
}

.patch04-listing-description {
    color: #a7a39c;
    font-size: 11px;
    line-height: 1.7;
}

.patch04-listing-facts {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem 1rem;
    margin-top: auto;
    padding-top: .8rem;
    border-top: 1px solid rgba(255,255,255,.07);
    color: #c0bbb3;
    font-size: 10px;
}

.patch04-listing-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: .8rem;
    color: #ff9a72;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.patch04-empty-state,
.patch04-loading-state {
    grid-column: 1 / -1;
    width: 100%;
    padding: clamp(2rem, 5vw, 4.25rem) 1.5rem;
    border: 1px dashed rgba(255,255,255,.16);
    background: rgba(255,255,255,.025);
    text-align: center;
}

.patch04-empty-eyebrow {
    display: inline-block;
    margin-bottom: .7rem;
    color: #ff9a72;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.patch04-empty-title {
    color: #f5f1e8;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
}

.patch04-empty-copy {
    max-width: 38rem;
    margin: .7rem auto 0;
    color: #a7a39c;
    font-size: 12px;
    line-height: 1.8;
}

.patch04-empty-link {
    display: inline-flex;
    margin-top: 1.3rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,90,31,.5);
    padding: .7rem 1.1rem;
    color: #ff9a72;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .18s ease, color .18s ease;
}

.patch04-empty-link:hover {
    background: #ff5a1f;
    color: #101010;
}

.patch04-loading-state {
    color: #a7a39c;
    font-size: 12px;
}

@media (min-width: 768px) {
    .patch04-home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 540px) {
    .patch04-category-tab {
        padding-inline: .7rem;
        font-size: 9px;
    }
}
