.sbc-section {
    padding: 30px 0 72px;
    background: #fff;
    overflow: hidden;
}

/* ── Container ────────────────────────────────────────── */
.sbc-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ── Header ───────────────────────────────────────────── */
.sbc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.sbc-title {
    font-size: clamp(20px, 2.5vw, 30px);
    font-weight: 700;
    color: #111;
    margin: 0;
}

/* ── Nav Controls ─────────────────────────────────────── */
.sbc-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.sbc-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #d4d4d4;
    background: #fff;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background .2s, border-color .2s, color .2s;
    flex-shrink: 0;
}

.sbc-nav-btn:hover:not(:disabled) {
    background: #111;
    border-color: #111;
    color: #fff;
}

.sbc-nav-btn:disabled {
    opacity: .38;
    cursor: default;
}

.sbc-nav-count {
    font-size: 13px;
    font-weight: 500;
    color: #999;
    min-width: 40px;
    text-align: center;
    user-select: none;
}

/* ── Track wrapper ────────────────────────────────────── */
.sbc-track-wrap {
    overflow: hidden;
    margin-right: -20px;
    padding-right: 20px;
}

/* ── Sliding track ────────────────────────────────────── */
.sbc-track {
    display: flex;
    gap: 20px;
    transition: transform .48s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
    align-items: stretch;
}

/* ── Card ─────────────────────────────────────────────── */
.sbc-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 0;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    background: #ebebea;
    transition: transform .32s ease, box-shadow .32s ease;
}

.sbc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 48px rgba(0,0,0,.12);
}

/* ── Image wrapper ────────────────────────────────────── */
.sbc-img-wrap {
    width: 100%;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    display: block;
    position: relative;
    background: #ebebea
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Crect width='80' height='80' fill='%23ebebea'/%3E%3Crect x='22' y='16' width='36' height='28' rx='4' fill='%23d8d8d6'/%3E%3Ccircle cx='32' cy='26' r='5' fill='%23ccccc9'/%3E%3Cpolygon points='22,44 34,30 44,40 52,32 58,44' fill='%23d0d0ce'/%3E%3Crect x='20' y='52' width='40' height='5' rx='2.5' fill='%23d8d8d6'/%3E%3Crect x='25' y='61' width='30' height='4' rx='2' fill='%23e0e0de'/%3E%3C/svg%3E")
        center 35% / 72px no-repeat;
}

.sbc-img-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    z-index: 1;
    transition: transform .52s ease;
}

.sbc-card:hover .sbc-img-wrap img {
    transform: scale(1.05);
}

/* When image fails to load — hide broken img, show bg placeholder */
.sbc-img-wrap.sbc-img-error img,
.sbc-no-image .sbc-img-wrap img {
    display: none;
}

/* ── Card footer ──────────────────────────────────────── */
.sbc-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px 16px;
    background: #f5f5f3;
    flex-shrink: 0;
}

.sbc-card-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.sbc-cat-name {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    text-transform:uppercase;
}

.sbc-cat-count {
    font-size: 14px;
    color: #888;
    font-weight: 400;
    display: block;
}

/* ── Arrow circle ─────────────────────────────────────── */
.sbc-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    flex-shrink: 0;
    padding: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,.07);
    transition: background .22s, border-color .22s, color .22s, transform .22s;
}

.sbc-card:hover .sbc-arrow {
    background: #111;
    border-color: #111;
    color: #fff;
    transform: translateX(3px);
}

/* ── Mobile dots ──────────────────────────────────────── */
.sbc-dots {
    display: none;
    justify-content: center;
    gap: 7px;
    margin-top: 22px;
}

.sbc-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d4d4d4;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.sbc-dot.active {
    background: #111;
    transform: scale(1.35);
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1099px) {
    .sbc-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 799px) {
    .sbc-section    { padding: 44px 0 52px; }
    .sbc-container  { padding: 0 20px; }
    .sbc-card       { flex: 0 0 calc(50% - 10px); }
    .sbc-dots       { display: flex; }
    .sbc-cat-name   { font-size: 14px; }
    .sbc-card-foot  { padding: 11px 13px 13px; }
}

@media (max-width: 767px) {
    .sbc-container {
        padding: 0 15px;
    }

    .sbc-track-wrap {
        margin-right: 0;
        padding-right: 0;
    }
}

@media (max-width: 559px) {
    .sbc-title      { font-size: 19px; }
    .sbc-nav-btn    { width: 28px; height: 28px; }
    .sbc-nav-count  { font-size: 12px; }
    .sbc-card       { flex: 0 0 calc(50% - 8px); }
}