/* Same-category business scroller (business-profile.aspx + business-profile2.aspx) */
.bp-category-scroller-wrap {
    overflow: hidden;
}

.bp-cs-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.bp-cs-title {
    margin: 0 0 4px;
    font-size: 1.05rem;
    font-weight: 700;
}

.bp-cs-sub {
    font-size: 0.82rem;
}

.bp-cs-nav {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.bp-cs-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, border-color 0.15s;
}

.bp-cs-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.bp-category-scroller {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 2px 12px;
    margin: 0 -2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #94a3b8 transparent;
}

.bp-category-scroller::-webkit-scrollbar {
    height: 6px;
}

.bp-category-scroller::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

.bp-cs-card {
    flex: 0 0 min(280px, 78vw);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.bp-cs-card:hover {
    transform: translateY(-3px);
    border-color: #a5b4fc;
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.15);
}

.bp-cs-img-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    background: linear-gradient(145deg, #1e293b, #334155);
    overflow: hidden;
}

.bp-cs-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bp-cs-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 108px;
}

.bp-cs-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bp-cs-meta {
    font-size: 0.8rem;
    color: #64748b;
}

.bp-cs-meta i {
    margin-right: 4px;
    color: #6366f1;
}

.bp-cs-cat {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6366f1;
}

.bp-cs-desc {
    margin: 2px 0 0;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bp-cs-views {
    margin-top: auto;
    font-size: 0.75rem;
    color: #94a3b8;
}

.bp-cs-views i {
    margin-right: 4px;
}

.bp2-page .bp-category-scroller-wrap.bp2-card {
    padding-bottom: 18px;
}

@media (max-width: 575.98px) {
    .bp-cs-head {
        flex-wrap: wrap;
    }

    .bp-cs-card {
        flex: 0 0 82vw;
    }
}
