.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;
    grid-template-columns:1fr;
    gap:14px;
    margin:14px;
    scroll-behavior:smooth;
}

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

.seller-directory-card{
    border-radius:18px;
    overflow:hidden;
    display:flex;
    flex-direction:column;
}

.seller-directory-card.featured{
    border:2px solid #f59e0b;
}

/* Facebook Profile Header */
.seller-fb-head{
    display:flex;
    align-items:center;
    gap:12px;
    padding:12px 14px;
    text-decoration:none;
    color:inherit;
    background:#fff;
}

.seller-fb-photo{
    width:54px;
    height:54px;
    min-width:54px;
    border-radius:50%;
    object-fit:cover;
    border:2px solid var(--brand-light);
    background:#fff;
}

.seller-fb-info{
    flex:1;
    min-width:0;
}

.seller-fb-name{
    display:flex;
    align-items:center;
    gap:6px;
    flex-wrap:wrap;
    font-size:16px;
    font-weight:1000;
    color:#111827;
    line-height:1.2;
}

.seller-fb-name .verified{
    color:var(--brand);
    display:inline-flex;
}

.seller-fb-name .svg-icon{
    width:17px;
    height:17px;
}

.seller-fb-meta{
    margin-top:4px;
    display:flex;
    align-items:center;
    gap:4px;
    color:#64748b;
    font-size:12px;
    font-weight:800;
    line-height:1.35;
}

.seller-fb-meta .svg-icon{
    width:13px;
    height:13px;
    color:var(--brand);
}

/* 1:1 Image Left + Details Right */
.seller-preview-box{
    display:grid;
    grid-template-columns:42% 58%;
    text-decoration:none;
    color:inherit;
    border-top:1px solid var(--card-border);
    background:#fff;
}

.seller-preview-img{
    position:relative;
    width:100%;
    aspect-ratio:1/1;
    overflow:hidden;
    background:#f3f4f6;
}

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

.seller-preview-badge{
    position:absolute;
    top:10px;
    right:10px;   /* જમણી બાજુ */
    left:auto;    /* ડાબી બાજુ દૂર */
    display:flex;
    align-items:center;
    gap:4px;
    padding:5px 10px;
    border-radius:999px;
    background:#f59e0b;
    color:#fff;
    font-size:11px;
    font-weight:900;
    box-shadow:0 8px 18px rgba(245,158,11,.25);
    z-index:5;
}

.seller-preview-badge .svg-icon{
    width:12px;
    height:12px;
}

.seller-preview-info{
    padding:10px 10px 8px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-width:0;
}

.seller-preview-title{
    font-size:14px;
    font-weight:1000;
    color:#111827;
    line-height:1.35;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.seller-preview-price{
    margin-top:7px;
    color:var(--brand);
    font-size:17px;
    font-weight:1000;
}

.seller-preview-location{
    margin-top:7px;
    display:flex;
    align-items:center;
    gap:5px;
    color:#64748b;
    font-size:12px;
    font-weight:800;
    line-height:1.3;
}

.seller-preview-location .svg-icon{
    width:13px;
    height:13px;
    color:var(--brand);
}

/* Bottom 3 Buttons Side By Side */
.mobile-actions,
.seller-directory-actions{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:8px;
    padding:10px;
    border-top:1px solid var(--card-border);
    background:var(--brand-soft);
    flex-wrap:nowrap;
}

.mobile-actions a,
.seller-directory-actions a{
    min-height:38px;
    padding:0 6px;
    border-radius:12px;
    font-weight:900;
    white-space:nowrap;
    text-decoration:none;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    font-size:12px;
    min-width:0;
    text-align:center;
}

.mobile-actions .svg-icon,
.seller-directory-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;
}

.seller-directory-actions .share-btn{
    grid-column:auto !important;
}

.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;
}

.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;
    }

    .seller-fb-head{
        padding:11px 12px;
        gap:10px;
    }

    .seller-fb-photo{
        width:48px;
        height:48px;
        min-width:48px;
    }

    .seller-fb-name{
        font-size:15px;
    }

    .seller-preview-box{
        grid-template-columns:42% 58%;
    }

    .seller-preview-title{
        font-size:14px;
    }

    .seller-preview-price{
        font-size:16px;
    }

    .mobile-actions,
    .seller-directory-actions{
        gap:6px;
        padding:9px;
        grid-template-columns:repeat(3,1fr);
    }

    .mobile-actions a,
    .seller-directory-actions a{
        font-size:11px;
        min-height:36px;
        padding:0 4px;
    }

    .seller-directory-actions .share-btn{
        grid-column:auto !important;
    }
}