.category-filter-shell{
    margin:14px 14px 8px;
    background:#fff;
    border-radius:16px;
    padding:12px;
    box-shadow:0 6px 20px rgba(0,0,0,.06);
    border:1px solid var(--card-border);
}

.category-filter-form{display:block}
.category-filter-row{display:flex;gap:8px}

.category-filter-select{
    width:100%;
    height:46px;
    border:1px solid var(--card-border);
    border-radius:14px;
    padding:0 12px;
    font-size:14px;
    font-weight:800;
    outline:none;
    background:#fff;
    color:#111827;
}

.category-total-row{
    margin:10px 14px 0;
    display:flex;
    gap:10px;
    align-items:stretch;
}

.selected-category-title,
.total-listings-box{
    flex:1;
    padding:12px 14px;
    background:var(--brand-light);
    color:var(--brand);
    border-radius:14px;
    font-weight:1000;
    font-size:15px;
    border:1px solid var(--card-border);
}

.total-listings-box{text-align:right}

.listing-grid{
    display:grid;
    gap:14px;
    margin:14px;
    scroll-behavior:smooth;
}

.card{
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 6px 20px rgba(0,0,0,.08);
    display:flex;
    flex-direction:column;
    position:relative;
    border:1px solid var(--card-border);
}

.seller-bar{
    display:flex;
    align-items:center;
    gap:10px;
    padding:12px 14px;
    border-bottom:1px solid var(--card-border);
    background:var(--brand-soft);
    cursor:pointer;
    text-decoration:none;
    color:inherit;
}

.seller-pic{
    width:42px;
    height:42px;
    border-radius:50%;
    object-fit:cover;
    border:1px solid var(--brand);
}

.seller-name{
    font-weight:900;
    color:var(--brand);
    font-size:14px;
    display:inline-flex;
    align-items:center;
    gap:6px;
    flex-wrap:wrap;
}

.mobile-jd-row{
    display:grid;
    grid-template-columns:150px 1fr;
    gap:12px;
    padding:12px;
}

.listing-link{
    display:flex;
    gap:12px;
    text-decoration:none;
    color:inherit;
}

.slider{
    width:150px;
    height:150px;
    min-width:150px;
    max-width:150px;
    border-radius:14px;
    overflow:hidden;
    background:#eee;
}

.slider img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.listing-info .m-title{
    font-size:12px;
    font-weight:900;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.listing-info .m-price{
    font-size:12px;
    font-weight:900;
    color:var(--brand);
    margin-top:4px;
}

.listing-info .m-details{
    font-size:12px;
    color:#444;
    overflow:hidden;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    margin-top:6px;
}

.mobile-actions{
    display:flex;
    gap:8px;
    padding:12px;
    border-top:1px solid var(--card-border);
    background:var(--brand-soft);
    flex-wrap:wrap;
}

.mobile-actions a{
    flex:1;
    text-align:center;
    padding:10px 0;
    border-radius:999px;
    font-weight:900;
    white-space:nowrap;
    text-decoration:none;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
}

.mobile-actions .svg-icon{width:16px;height:16px}

.call{background:var(--brand-light);color:var(--brand)}
.wa{background:#e8f5e9;color:#1b5e20}
.view{background:var(--brand-light);color:var(--brand)}
.boost-plan{background:var(--brand);color:#fff}

.listing-badges{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-top:4px;
}

.listing-badges .badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    padding:4px 8px;
    font-size:12px;
    font-weight:700;
    color:var(--brand);
    background:var(--brand-light);
    border-radius:12px;
    white-space:nowrap;
}

.listing-badges .badge .svg-icon{width:14px;height:14px}

.listing-empty{
    margin:14px;
    padding:20px;
    background:#fff;
    border-radius:16px;
    font-weight:900;
}

.listing-load-state{
    margin:10px 14px 18px;
    text-align:center;
    font-weight:800;
    color:#667085;
}

.featured-badges{
    display:flex;
    flex-wrap:wrap;
    gap:5px;
    margin-top:6px;
}

.featured-badge{
    width:20px;
    height:20px;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#fff;
}

.featured-badge .svg-icon{width:12px;height:12px}
.featured-badge.p1{background:#f59e0b}
.featured-badge.p2{background:var(--brand)}
.featured-badge.p3{background:#dc2626}

.verified-plan-row{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:7px;
    margin-top:6px;
}

.verified-green{
    display:inline-flex;
    align-items:center;
    gap:5px;
    font-size:13px;
    font-weight:1000;
    color:#168a3a;
    background:#e8f5e9;
    padding:3px 8px;
    border-radius:999px;
}

.verified-green .svg-icon{width:14px;height:14px}

.listings-flash-wrap{margin:14px}

.listings-flash{
    padding:14px;
    border-radius:14px;
    font-weight:800;
    border:1px solid;
}

.flash-success{
    background:#ecfdf3;
    color:#166534;
    border-color:#bbf7d0;
}

.flash-error{
    background:#fff1f2;
    color:#b91c1c;
    border-color:#fecdd3;
}

@media (min-width:640px){
    .listing-grid{grid-template-columns:repeat(2,1fr)}
}

@media (min-width:1024px){
    .listing-grid{grid-template-columns:repeat(3,1fr)}
}

@media(max-width:520px){
    .category-total-row{gap:8px}

    .selected-category-title,
    .total-listings-box{
        font-size:13px;
        padding:10px;
    }
}