﻿
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

:root {
    --vs-accent: #f97316;
    --vs-accent-dark: #c2410c;
    --vs-accent-soft: #fff7ed;
    --vs-ink: #111827;
    --vs-ink-soft: #374151;
    --vs-muted: #6b7280;
    --vs-muted-soft: #9ca3af;
    --vs-line: #e5e7eb;
    --vs-line-soft: #f3f4f6;
    --vs-bg: #f8f9fb;
    --vs-radius-sm: 8px;
    --vs-radius-md: 12px;
    --vs-radius-lg: 16px;
    --vs-shadow-sm: 0 1px 6px rgba(0,0,0,.06);
    --vs-shadow-md: 0 4px 18px rgba(0,0,0,.10);
    --vs-container-max: 1360px;
}
.container {
    max-width: 85%;
}
h3 {
    margin-top: 20px;
    margin-bottom: 20px;
}
.vs-container {
    width: 100%;
    max-width: var(--vs-container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(16px, 4vw, 32px);
    padding-right: clamp(16px, 4vw, 32px);
}

.sp-wrap {
    padding: 2.5rem 0 2.5rem 0;
    min-height: 60vh;
}

.vendor-header {
    border-bottom: 1px solid #e8eaed;
    margin-bottom: 28px;
}

.vendor-banner-wrap {
    position: relative;
    width: 100%;
    height: 320px;
    background: #f0f2f5;
    overflow: hidden;
}

    .vendor-banner-wrap img.vendor-banner-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    .vendor-banner-wrap.no-banner {
        background: linear-gradient(135deg, #e8edf5 0%, #d1dae8 100%);
    }

.vendor-info-strip {
    position: relative;
    padding: 0 0 16px;
}

.vendor-logo-wrap {
    position: relative;
    margin-top: -44px;
    margin-bottom: 10px;
    display: inline-block;
}
.vc-cc-hours-row {
    position: relative;
    padding-top: 4px;
    padding-right: 90px; /* keeps text from colliding with badge on small widths */
}

.vc-cc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.vc-cc-open-badge {
    font-weight: 500;
    font-size: 0.75rem;
    white-space: nowrap;
    padding: 4px 10px;
    border-radius: 20px;
}
.vc-cc-hours-line {
    white-space: nowrap;
    overflow-x: auto;
    font-size: 0.9rem;
    color: #212529;
    margin: 4px 0;
}

    .vc-cc-hours-line strong {
        font-weight: 600;
    }

/* Mobile: badge wraps below heading if card is narrow */
@media (max-width: 360px) {
    .vc-cc-header {
        justify-content: flex-start;
    }
}
.vc-cc-hours-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

    .vc-cc-hours-inner .vc-cc-val {
        white-space: nowrap;
    }

    .vc-cc-hours-inner strong {
        font-weight: 600;
    }
@media (max-width: 400px) {
    .vc-cc-hours-row {
        padding-right: 0;
        padding-top: 28px; /* pushes text below the badge */
    }

    .vc-cc-hours-inner {
        flex-direction: column;
        gap: 4px;
    }

    .vc-cc-open-badge {
        top: 0;
    }
}
    .vendor-logo-wrap img {
        width: 88px;
        height: 88px;
        object-fit: contain;
        border-radius: var(--vs-radius-md);
        border: 3px solid #fff;
        background: #fff;
        box-shadow: 0 2px 12px rgba(0,0,0,.10);
        display: block;
    }

.vendor-logo-placeholder {
    width: 88px;
    height: 88px;
    border-radius: var(--vs-radius-md);
    border: 3px solid #fff;
    background: #e8edf5;
    box-shadow: 0 2px 12px rgba(0,0,0,.10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: #8b97b0;
    letter-spacing: -1px;
}

.vendor-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 4px;
}

.vendor-meta-left {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    min-width: 0;
}

.vendor-meta-text {
    padding-bottom: 4px;
    min-width: 0;
}

    .vendor-meta-text h2 {
        font-size: clamp(1.05rem, 2.4vw, 1.25rem);
        font-weight: 700;
        margin: 0 0 2px;
        color: var(--vs-ink);
        line-height: 1.2;
        overflow-wrap: break-word;
    }

    .vendor-meta-text p {
        font-size: .875rem;
        color: var(--vs-muted);
        margin: 0;
    }

.vendor-meta-right {
    display: flex;
    align-items: center;
    gap: 22px;
    padding-bottom: 4px;
}

.vendor-stat {
    text-align: right;
}

    .vendor-stat .stat-value {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--vs-ink);
        display: block;
        line-height: 1.2;
    }

    .vendor-stat .stat-label {
        font-size: .78rem;
        color: var(--vs-muted-soft);
        text-transform: uppercase;
        letter-spacing: .04em;
    }

.vendor-stat-divider {
    width: 1px;
    height: 32px;
    background: var(--vs-line);
}

@media (max-width: 991.98px) {
    .vendor-banner-wrap {
        height: 260px;
    }
}

@media (max-width: 767.98px) {
    .vendor-banner-wrap {
        height: 190px;
    }

    .vendor-logo-wrap {
        margin-top: -34px;
    }

        .vendor-logo-wrap img,
        .vendor-logo-placeholder {
            width: 64px;
            height: 64px;
        }

    .vendor-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .vendor-meta-left {
        gap: 12px;
    }

    .vendor-meta-right {
        gap: 14px;
        width: 100%;
        justify-content: flex-start;
    }

    .vendor-stat {
        text-align: left;
    }
}

@media (max-width: 420px) {
    .vendor-meta-text h2 {
        font-size: 1rem;
    }
}

.sp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    font-size: 12px;
    flex-wrap: wrap;
}

    .sp-breadcrumb li {
        display: flex;
        align-items: center;
        gap: 6px;
    }

        .sp-breadcrumb li::after {
            content: '/';
            color: #d1d5db;
        }

        .sp-breadcrumb li:last-child::after {
            display: none;
        }

    .sp-breadcrumb a {
        color: var(--vs-muted);
        text-decoration: none;
        transition: color .2s;
    }

        .sp-breadcrumb a:hover {
            color: var(--vs-accent);
        }

    .sp-breadcrumb li:last-child a {
        color: var(--vs-ink);
        font-weight: 600;
        pointer-events: none;
    }

.vc-info-card {
    display: grid;
    grid-template-columns: 2fr auto 1fr;
    gap: 0;
    background: #fff;
    border: 1px solid var(--vs-line);
    border-radius: var(--vs-radius-md);
    padding: clamp(14px, 2.5vw, 20px);
    margin-bottom: 16px;
}

.vc-info-divider {
    width: 1px;
    background: var(--vs-line-soft);
    align-self: stretch;
    margin: 0 20px;
}

.vc-info-heading {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--vs-muted-soft);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.vc-desc-text {
    font-size: 13px;
    color: var(--vs-muted);
    line-height: 1.7;
    margin: 0;
    overflow-wrap: break-word;
}

.vc-cc-rows {
    display: flex;
    flex-direction: column;
}

.vc-cc-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid var(--vs-line-soft);
    font-size: 12px;
}

    .vc-cc-row:last-of-type {
        border-bottom: none;
    }

    .vc-cc-row > i {
        font-size: 13px;
        color: var(--vs-muted-soft);
        margin-top: 2px;
        flex-shrink: 0;
    }

.vc-cc-row-inner {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.vc-cc-lbl {
    font-size: 10px;
    color: var(--vs-muted-soft);
    font-weight: 600;
}

.vc-cc-val {
    font-size: 12px;
    font-weight: 600;
    color: var(--vs-ink);
    overflow-wrap: break-word;
}
.vc-date {
  color: #f97316;
}

.vc-cc-phone-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.vc-cc-show-btn {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border: 1px solid var(--vs-line);
    border-radius: 5px;
    background: #fff;
    color: var(--vs-ink-soft);
    cursor: pointer;
}

    .vc-cc-show-btn:hover {
        background: var(--vs-line-soft);
    }

.vc-cc-actions {
    display: flex;
    gap: 6px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.vc-cc-btn {
    display: block;
    padding: 9px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    border-radius: var(--vs-radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: background .18s, color .18s;
    border: none;
}

.vc-info-card .vc-cc-actions .vc-cc-btn {
    flex: 1 1 120px;
    padding: 7px 10px;
    font-size: 12px;
}

.vc-cc-btn-solid {
    background: var(--vs-ink-soft);
    color: #fff !important;
}

    .vc-cc-btn-solid:hover {
        background: var(--vs-ink);
    }

.vc-cc-btn-outline {
    background: #fff;
    color: var(--vs-ink-soft) !important;
    border: 1.5px solid var(--vs-line);
}

    .vc-cc-btn-outline:hover {
        background: var(--vs-line-soft);
    }

@media (max-width: 767.98px) {
    .vc-info-card {
        grid-template-columns: 1fr;
    }

    .vc-info-divider {
        width: 100%;
        height: 1px;
        margin: 14px 0;
    }
}

.sp-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    background: #fff;
    border-radius: var(--vs-radius-md);
    padding: 10px 14px;
    margin-bottom: 1.1rem;
    box-shadow: var(--vs-shadow-sm);
    overflow: visible; 
}

.sp-toolbar-count {
    font-size: 13px;
    color: var(--vs-muted);
    margin: 0;
}

    .sp-toolbar-count strong {
        color: var(--vs-ink);
        font-weight: 700;
    }

.sp-toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    overflow: visible;
}

.sp-clear-btn {
    font-size: 12px;
    padding: 5px 12px;
    border-radius: var(--vs-radius-sm);
    border: 1.5px solid var(--vs-line);
    background: #fff;
    color: var(--vs-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all .2s;
    white-space: nowrap;
}

    .sp-clear-btn:hover {
        border-color: #ef4444;
        color: #ef4444;
        background: #fef2f2;
    }

.sp-sort-select {
    font-size: 12px;
    padding-left: 18px;
    padding-right: 30px;
    border: solid 1px #e8e8e8;
    border-radius: 5px;
    background: #fff;
    color: var(--vs-ink-soft);
    max-width: 100%;
}

@media (max-width: 767.98px) {
    .sp-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .sp-toolbar-right {
        width: 100%;
        justify-content: space-between;
    }
}

.vc-prow-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
    margin-bottom: 1rem;
}

.vc-prow {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--vs-shadow-sm);
    overflow: hidden;
    transition: box-shadow .22s, transform .22s;
}

    .vc-prow:hover {
        box-shadow: var(--vs-shadow-md);
        transform: translateY(-2px);
    }

@media (min-width: 576px) {
    .vc-prow {
        flex-direction: row;
        align-items: center;
        padding: 14px 18px;
        gap: 18px;
    }
}

.vc-prow-img {
    position: relative;
    display: block;
    width: 100%;
    height: 190px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--vs-line-soft);
}

    .vc-prow-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .35s;
    }

.vc-prow:hover .vc-prow-img img {
    transform: scale(1.05);
}

.vc-prow-noimg {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #d1d5db;
    font-size: 1.6rem;
}

.vc-prow-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 50px;
    z-index: 2;
}

@media (min-width: 576px) {
    .vc-prow-img {
        width: 120px;
        height: 120px;
        border-radius: 12px;
    }
}

.vc-prow-body {
    flex: 1;
    min-width: 0;
    padding: 14px 16px;
}

@media (min-width: 576px) {
    .vc-prow-body {
        padding: 0;
    }
}

.vc-prow-name {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--vs-ink);
    text-decoration: none;
    line-height: 1.35;
    margin-bottom: 4px;
}

    .vc-prow-name:hover {
        color: var(--vs-accent);
    }

.vc-prow-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 11px;
    color: #d1d5db;
    margin-bottom: 6px;
}

    .vc-prow-stars .fs,
    .vc-prow-stars .hs {
        color: #f59e0b;
    }

    .vc-prow-stars .rc {
        color: var(--vs-muted-soft);
        font-size: 11px;
        margin-left: 4px;
    }

.vc-prow-desc {
    font-size: 12.5px;
    color: var(--vs-muted);
    line-height: 1.6;
    margin: 0 0 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vc-prow-side {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px 16px;
}

@media (min-width: 576px) {
    .vc-prow-side {
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        gap: 10px;
        padding: 0;
        margin-left: auto;
        flex-shrink: 0;
    }
}

.vc-prow-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.vc-prow-cur {
    font-size: 17px;
    font-weight: 700;
    color: var(--vs-accent);
    white-space: nowrap;
}

.vc-prow-old {
    font-size: 12px;
    color: var(--vs-muted-soft);
    text-decoration: line-through;
}

.vc-prow-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vc-prow-wish {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--vs-line-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vs-muted-soft);
    text-decoration: none;
    transition: all .2s;
}

    .vc-prow-wish:hover,
    .vc-prow-wish.active {
        background: #fee2e2;
        color: #ef4444;
    }

.vc-prow-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--vs-ink);
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
    border-radius: 9px;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s;
}

    .vc-prow-btn:hover {
        background: var(--vs-accent);
        color: #fff !important;
    }

@media (max-width: 420px) {
    .vc-prow-side {
        align-items: center;
    }

    .vc-prow-actions {
        gap: 6px;
    }

    .vc-prow-btn {
        padding: 7px 12px;
        font-size: 11px;
    }
}

.sp-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 2rem;
    list-style: none;
    padding: 0;
}

    .sp-pagination li a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 36px;
        height: 36px;
        border-radius: 9px;
        border: 1.5px solid var(--vs-line);
        background: #fff;
        color: var(--vs-ink-soft);
        font-size: 13px;
        font-weight: 500;
        text-decoration: none;
        transition: all .2s;
        padding: 0 10px;
    }

        .sp-pagination li a:hover {
            border-color: var(--vs-accent);
            color: var(--vs-accent);
            background: var(--vs-accent-soft);
        }

        .sp-pagination li a.current {
            background: var(--vs-accent);
            border-color: var(--vs-accent);
            color: #fff;
            font-weight: 700;
        }

        .sp-pagination li a.disabled {
            opacity: .35;
            pointer-events: none;
        }

.sp-empty {
    grid-column: 1 / -1;
    padding: 4rem 1.25rem;
    text-align: center;
    color: var(--vs-muted-soft);
}

    .sp-empty i {
        font-size: 3rem;
        color: var(--vs-line);
        display: block;
        margin-bottom: 12px;
    }

    .sp-empty p {
        font-size: 14px;
    }

.sp-sidebar {
    background: #fff;
    border-radius: var(--vs-radius-lg);
    box-shadow: var(--vs-shadow-sm);
    position: sticky;
    top: 80px;
    overflow: visible;
}

.sp-sidebar-block {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--vs-line-soft);
}

    .sp-sidebar-block:last-child {
        border-bottom: none;
    }

.sp-sidebar-heading {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--vs-ink);
    margin-bottom: .85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .sp-sidebar-heading i {
        color: var(--vs-accent);
        font-size: 13px;
    }

.sp-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .sp-cat-list > li {
        margin-bottom: 4px;
    }

    .sp-cat-list .category-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 7px 10px;
        border-radius: 9px;
        font-size: 13px;
        font-weight: 500;
        color: var(--vs-ink-soft);
        text-decoration: none;
        cursor: pointer;
        transition: background .18s, color .18s;
        user-select: none;
    }

        .sp-cat-list .category-link:hover {
            background: var(--vs-accent-soft);
            color: var(--vs-accent);
        }

        .sp-cat-list .category-link i {
            font-size: 10px;
            color: var(--vs-muted-soft);
        }

.sp-subcat-list {
    display: none;
}

    .sp-subcat-list.show,
    .sp-subcat-list.collapse.show {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
    }

    .sp-subcat-list.collapse {
        display: none !important;
    }

    .sp-subcat-list li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 5px 10px;
        border-radius: 8px;
        font-size: 12px;
        color: var(--vs-muted);
        text-decoration: none;
        transition: background .18s, color .18s;
    }

        .sp-subcat-list li a:hover {
            background: var(--vs-line-soft);
            color: var(--vs-ink-soft);
        }

        .sp-subcat-list li a.active {
            background: var(--vs-accent-soft);
            color: var(--vs-accent);
            font-weight: 600;
        }

        .sp-subcat-list li a span {
            font-size: 10px;
            color: var(--vs-muted-soft);
            background: var(--vs-line-soft);
            padding: 1px 6px;
            border-radius: 50px;
        }

.sp-brand-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
    scrollbar-width: thin;
}

    .sp-brand-list li a {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 5px 8px;
        border-radius: 8px;
        font-size: 12px;
        color: var(--vs-muted);
        text-decoration: none;
        transition: background .18s, color .18s;
    }

        .sp-brand-list li a:hover {
            background: var(--vs-line-soft);
            color: var(--vs-ink-soft);
        }

        .sp-brand-list li a.active {
            background: var(--vs-accent-soft);
            color: var(--vs-accent);
            font-weight: 600;
        }

        .sp-brand-list li a::before {
            content: '';
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #d1d5db;
            flex-shrink: 0;
            transition: background .18s;
        }

        .sp-brand-list li a.active::before,
        .sp-brand-list li a:hover::before {
            background: var(--vs-accent);
        }

.sp-range-wrap {
    padding: 4px 0 8px;
}

#slider-range {
    margin-bottom: 10px;
}

#amount {
    font-size: 12px;
    color: var(--vs-ink-soft);
    background: none;
    border: none;
    width: 100%;
    padding: 0;
}

.sp-recent-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--vs-line-soft);
    text-decoration: none;
}

    .sp-recent-item:last-child {
        border-bottom: none;
    }

.sp-recent-thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--vs-line-soft);
}

.sp-recent-name {
    font-size: 12px;
    font-weight: 500;
    color: var(--vs-ink-soft);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 3px;
    transition: color .2s;
}

.sp-recent-item:hover .sp-recent-name {
    color: var(--vs-accent);
}

.sp-recent-price {
    font-size: 12px;
    font-weight: 700;
    color: var(--vs-accent);
}

.sp-recent-old {
    font-size: 11px;
    color: var(--vs-muted-soft);
    text-decoration: line-through;
    margin-left: 4px;
}

.sp-flash-price {
    font-size: 12px;
    font-weight: 700;
    color: #ef4444;
}

.sp-filter-toggle-btn {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: var(--vs-ink);
    color: #fff;
    border: none;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}

    .sp-filter-toggle-btn:hover {
        background: var(--vs-accent);
    }

@media (max-width: 991.98px) {
    .sp-filter-toggle-btn {
        display: inline-flex;
    }
}

#sp-filter-offcanvas .offcanvas-header {
    background: var(--vs-ink);
    padding: 14px 18px;
}

#sp-filter-offcanvas .offcanvas-title {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

#sp-filter-offcanvas .btn-close-white {
    filter: invert(1);
}

#sp-filter-offcanvas .offcanvas-body {
    padding: 0;
    background: var(--vs-bg);
    overflow-y: auto;
}

#sp-filter-offcanvas .sp-sidebar {
    position: static;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
    overflow-y: visible;
}

.sp-vendors-wrap {
    background: #fff;
    border-radius: 14px;
    padding: 12px 16px;
    margin-bottom: 1rem;
    box-shadow: var(--vs-shadow-sm);
}

.sp-vendor-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    background: #f9fafb;
    border: 1.5px solid var(--vs-line);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    color: var(--vs-ink-soft);
    text-decoration: none;
    cursor: pointer;
    transition: all .2s;
}

    .sp-vendor-tag:hover {
        border-color: var(--vs-accent);
        background: var(--vs-accent-soft);
        color: var(--vs-accent);
        transform: translateY(-1px);
    }

    .sp-vendor-tag.active {
        background: var(--vs-accent);
        border-color: var(--vs-accent);
        color: #fff;
        box-shadow: 0 4px 14px rgba(249,115,22,.3);
    }

.sp-active-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.sp-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.4;
    cursor: pointer;
    transition: opacity .15s;
}

    .sp-chip:hover {
        opacity: .8;
        text-decoration: none;
    }

.sp-chip--vendor {
    background: #fff3ed;
    color: var(--vs-accent-dark);
    border: 1.5px solid #fed7aa;
}

.sp-chip--area {
    background: #f0f9ff;
    color: #0369a1;
    border: 1.5px solid #bae6fd;
}

.sp-vendor-tags {
    display: none;
}

    .sp-vendor-tags.active {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
    }

.sp-combo {
    position: relative;
    width: 180px;
    flex-shrink: 0;
    z-index: 100;
}

    .sp-combo.open {
        z-index: 200;
    }

.sp-combo-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
    padding: 6px 10px;
    border: 1.5px solid var(--vs-line);
    border-radius: 9px;
    background: #fff;
    font-size: 12px;
    font-weight: 500;
    color: var(--vs-ink-soft);
    cursor: pointer;
    transition: border-color .18s, background .18s;
    user-select: none;
    white-space: nowrap;
    overflow: hidden;
}

    .sp-combo-trigger:hover {
        border-color: var(--vs-accent);
        background: var(--vs-accent-soft);
        color: var(--vs-accent);
    }

.sp-combo.has-value .sp-combo-trigger {
    border-color: var(--vs-accent);
    background: var(--vs-accent-soft);
    color: var(--vs-accent-dark);
    font-weight: 600;
}

.sp-combo-caret {
    font-size: 10px;
    color: var(--vs-muted-soft);
    flex-shrink: 0;
    transition: transform .2s;
}

.sp-combo.open .sp-combo-caret {
    transform: rotate(180deg);
}

.sp-combo-value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.sp-combo-clear {
    display: none;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fed7aa;
    color: var(--vs-accent-dark);
    font-size: 9px;
    font-weight: 700;
    flex-shrink: 0;
    cursor: pointer;
    transition: background .15s;
    line-height: 1;
}

.sp-combo.has-value .sp-combo-clear {
    display: inline-flex;
}

.sp-combo-clear:hover {
    background: var(--vs-accent);
    color: #fff;
}

.sp-combo-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    min-width: 200px;
    background: #fff;
    border: 1.5px solid var(--vs-line);
    border-radius: var(--vs-radius-md);
    box-shadow: 0 8px 28px rgba(0,0,0,.12);
    overflow: hidden;
    z-index: 9999;
}

.sp-combo.open .sp-combo-dropdown {
    display: block;
    animation: spComboFadeIn .15s ease;
}

@keyframes spComboFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sp-combo-search-wrap {
    padding: 8px 10px 6px;
    border-bottom: 1px solid var(--vs-line-soft);
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}

.sp-combo-search {
    width: 100%;
    padding: 5px 10px 5px 28px;
    border: 1.5px solid var(--vs-line);
    border-radius: 7px;
    font-size: 12px;
    color: var(--vs-ink-soft);
    background: #f9fafb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat 9px center;
    transition: border-color .18s;
    outline: none;
}

    .sp-combo-search:focus {
        border-color: var(--vs-accent);
        background-color: #fff;
    }

.sp-combo-list {
    list-style: none;
    margin: 0;
    padding: 4px 0;
    max-height: 220px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--vs-line) transparent;
}

    .sp-combo-list::-webkit-scrollbar {
        width: 4px;
    }

    .sp-combo-list::-webkit-scrollbar-thumb {
        background: var(--vs-line);
        border-radius: 4px;
    }

.sp-combo-option {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    font-size: 12px;
    color: var(--vs-ink-soft);
    cursor: pointer;
    transition: background .15s, color .15s;
}

    .sp-combo-option::before {
        content: '';
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #d1d5db;
        flex-shrink: 0;
        transition: background .15s;
    }

    .sp-combo-option:hover {
        background: var(--vs-line-soft);
        color: var(--vs-ink);
    }

        .sp-combo-option:hover::before {
            background: var(--vs-accent);
        }

    .sp-combo-option.selected {
        background: var(--vs-accent-soft);
        color: var(--vs-accent-dark);
        font-weight: 600;
    }

        .sp-combo-option.selected::before {
            background: var(--vs-accent);
        }

    .sp-combo-option.sp-combo-disabled {
        opacity: .35;
        pointer-events: none;
        cursor: default;
    }

.sp-combo-empty {
    padding: 12px 14px;
    font-size: 12px;
    color: var(--vs-muted-soft);
    text-align: center;
    display: none;
}

@media (max-width: 767.98px) {
    .sp-combo {
        width: 140px;
    }
}

.vs-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--vs-ink);
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--vs-radius-sm);
    text-decoration: none;
    white-space: nowrap;
    transition: background .18s, transform .15s;
}

    .vs-back-btn:hover {
        background: var(--vs-accent);
        transform: translateY(-1px);
    }

.vc-em-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--vs-ink-soft);
    margin-bottom: 5px;
}

.vc-em-input {
    width: 100%;
    padding: 8px 12px;
    font-size: 13px;
    border: 1.5px solid var(--vs-line);
    border-radius: var(--vs-radius-sm);
    outline: none;
    transition: border-color .18s;
    color: var(--vs-ink);
    background: #fff;
}

    .vc-em-input:focus {
        border-color: var(--vs-accent);
    }

.vc-em-textarea {
    resize: vertical;
    min-height: 90px;
}

.vc-em-error {
    margin-top: 10px;
    font-size: 12px;
    color: #dc2626;
    padding: 8px 12px;
    background: #fef2f2;
    border-radius: 6px;
    border: 1px solid #fecaca;
}

@media (max-width: 480px) {
    #vendorEmailModal .modal-dialog {
        max-width: calc(100% - 24px) !important;
        margin: 12px auto;
    }

    #vendorEmailModal .row.g-2 {
        row-gap: 8px;
    }

    #vendorEmailModal .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

#productContainer.grid-view .list-item {
    display: none !important;
}

#productContainer.list-view .grid-item {
    display: none !important;
}

#productContainer.list-view .list-item {
    display: block !important;
}

#productContainer {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr);
    width: 100% !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 16px !important;
    margin: 0 !important;
    margin-left: 0 !important;
    margin-right: 15px !important;
    padding-right: 0 !important;
}

@media (max-width: 991.98px) {
    #productContainer {
        margin-right: 10px !important;
    }
}

@media (max-width: 575.98px) {
    #productContainer {
        margin-right: 5px !important;
    }
}
.vc-pc, .sp-list-card {
    transition: all 0.25s ease;
}

    .vc-pc:hover, .sp-list-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

.vs-container {
    width: 100%;
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(16px, 4vw, 32px);
    padding-right: clamp(16px, 4vw, 32px);
}

.container {
    max-width: none !important;
}

@media (min-width: 1200px) {
    #productContainer {
        grid-template-columns: repeat(5, 1fr) !important;
    }
}

@media (max-width: 991.98px) {
    #productContainer {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 575.98px) {
    #productContainer {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

.vendor-header .container,
.sp-wrap .container,
.vc-info-card,
.sp-toolbar {
    max-width: none !important;
    padding-left: clamp(16px, 4vw, 32px);
    padding-right: clamp(16px, 4vw, 32px);
    margin-left: 0;
    margin-right: 0;
}

.vs-container, .container[style*="max-width:85%"] {
    max-width: 85% !important;
    margin-left: auto;
    margin-right: auto;
}
.vendor-banner-wrap {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.vendor-banner-img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
}
.vendor-header, .sp-wrap {
    width: 100%;
}
.sp-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: #fff;
    border-radius: var(--vs-radius-md);
    padding: 12px 16px;
    margin-bottom: 1.1rem;
    box-shadow: var(--vs-shadow-sm);
}

.sp-toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-left: auto;
}

.sp-toolbar-left {
    display: flex;
    align-items: center;
}

@media (max-width: 767.98px) {
    .sp-toolbar {
        flex-direction: row;
        justify-content: space-between;
    }

    .sp-toolbar-right {
        margin-left: auto;
        justify-content: flex-end;
    }
}

.sp-wrap {
    padding: 2rem 0 4rem;
    min-height: 60vh;
}

.sp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    font-size: 12px;
    flex-wrap: wrap;
}

    .sp-breadcrumb li {
        display: flex;
        align-items: center;
        gap: 6px;
    }

        .sp-breadcrumb li::after {
            content: '/';
            color: #d1d5db;
        }

        .sp-breadcrumb li:last-child::after {
            display: none;
        }

    .sp-breadcrumb a {
        color: #6b7280;
        text-decoration: none;
        transition: color .2s;
    }

        .sp-breadcrumb a:hover {
            color: #f97316;
        }

    .sp-breadcrumb li:last-child a {
        color: #111827;
        font-weight: 600;
        pointer-events: none;
    }

/* ── Sidebar ─────────────────────────────────────────── */
.sp-sidebar {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    position: sticky;
    top: 80px;
    overflow: visible;
}

.sp-sidebar-block {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid #f3f4f6;
}

    .sp-sidebar-block:last-child {
        border-bottom: none;
    }

.sp-sidebar-heading {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #111827;
    margin-bottom: .85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .sp-sidebar-heading i {
        color: #f97316;
        font-size: 13px;
    }

/* Category list */
.sp-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .sp-cat-list > li {
        margin-bottom: 4px;
    }

    .sp-cat-list .category-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 7px 10px;
        border-radius: 9px;
        font-size: 13px;
        font-weight: 500;
        color: #374151;
        text-decoration: none;
        cursor: pointer;
        transition: background .18s, color .18s;
        user-select: none;
    }

        .sp-cat-list .category-link:hover {
            background: #fff7ed;
            color: #f97316;
        }

        .sp-cat-list .category-link i {
            font-size: 10px;
            color: #9ca3af;
        }

/* Sub-category list */
.sp-subcat-list {
    display: none;
}

    .sp-subcat-list.show {
        display: block;
    }

    .sp-subcat-list.collapse {
        display: none !important;
    }

        .sp-subcat-list.collapse.show {
            display: block !important;
        }

    .sp-subcat-list.show {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
    }

    .sp-subcat-list li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 5px 10px;
        border-radius: 8px;
        font-size: 12px;
        color: #6b7280;
        text-decoration: none;
        transition: background .18s, color .18s;
    }

        .sp-subcat-list li a:hover {
            background: #f3f4f6;
            color: #374151;
        }

        .sp-subcat-list li a.active {
            background: #fff7ed;
            color: #f97316;
            font-weight: 600;
        }

        .sp-subcat-list li a span {
            font-size: 10px;
            color: #9ca3af;
            background: #f3f4f6;
            padding: 1px 6px;
            border-radius: 50px;
        }

.sp-brand-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
    scrollbar-width: thin;
}

    .sp-brand-list li a {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 5px 8px;
        border-radius: 8px;
        font-size: 12px;
        color: #6b7280;
        text-decoration: none;
        transition: background .18s, color .18s;
    }

        .sp-brand-list li a:hover {
            background: #f3f4f6;
            color: #374151;
        }

        .sp-brand-list li a.active {
            background: #fff7ed;
            color: #f97316;
            font-weight: 600;
        }

        .sp-brand-list li a::before {
            content: '';
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #d1d5db;
            flex-shrink: 0;
            transition: background .18s;
        }

        .sp-brand-list li a.active::before,
        .sp-brand-list li a:hover::before {
            background: #f97316;
        }

/* Price range */
.sp-range-wrap {
    padding: 4px 0 8px;
}

#slider-range {
    margin-bottom: 10px;
}

#amount {
    font-size: 12px;
    color: #374151;
    background: none;
    border: none;
    width: 100%;
    padding: 0;
}

.sp-recent-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    text-decoration: none;
}

    .sp-recent-item:last-child {
        border-bottom: none;
    }

.sp-recent-thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #f3f4f6;
}

.sp-recent-name {
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 3px;
    transition: color .2s;
}

.sp-recent-item:hover .sp-recent-name {
    color: #f97316;
}

.sp-recent-price {
    font-size: 12px;
    font-weight: 700;
    color: #f97316;
}

.sp-recent-old {
    font-size: 11px;
    color: #9ca3af;
    text-decoration: line-through;
    margin-left: 4px;
}

.sp-flash-price {
    font-size: 12px;
    font-weight: 700;
    color: #ef4444;
}

.sp-vendors-wrap {
    background: #fff;
    border-radius: 14px;
    padding: 12px 16px;
    margin-bottom: 1rem;
    box-shadow: 0 1px 6px rgba(0,0,0,.05);
}

.sp-vendor-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s;
}

    .sp-vendor-tag:hover {
        border-color: #f97316;
        background: #fff7ed;
        color: #f97316;
        transform: translateY(-1px);
    }

    .sp-vendor-tag.active {
        background: #f97316;
        border-color: #f97316;
        color: #fff;
        box-shadow: 0 4px 14px rgba(249,115,22,.3);
    }

.sp-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    background: #fff;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 1.1rem;
    box-shadow: 0 1px 6px rgba(0,0,0,.05);
    overflow: visible;
}

.sp-toolbar-count {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

    .sp-toolbar-count strong {
        color: #111827;
        font-weight: 700;
    }

.sp-toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: visible;
}

.sp-clear-btn {
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 8px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    color: #6b7280;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all .2s;
}

    .sp-clear-btn:hover {
        border-color: #ef4444;
        color: #ef4444;
        background: #fef2f2;
    }

.sp-view-btns {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sp-view-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
}

    .sp-view-btn:hover, .sp-view-btn.active {
        background: #111827;
        border-color: #111827;
        color: #fff;
    }

    #productContainer > .sp-grid-card,
    #productContainer > .sp-list-card {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        min-width: 0;
    }

@media (max-width: 991.98px) {
    #productContainer {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 575.98px) {
    #productContainer {
        grid-template-columns: repeat(2, 1fr);
    }
}

.sp-grid-card .vc-pc {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 6px rgba(0,0,0,.06);
    overflow: hidden;
    transition: box-shadow .25s, transform .25s;
}

    .sp-grid-card .vc-pc:hover {
        box-shadow: 0 6px 24px rgba(0,0,0,.12);
        transform: translateY(-3px);
    }

.sp-grid-card .vc-pc-img {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f3f4f6;
    flex-shrink: 0;
}

    .sp-grid-card .vc-pc-img img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .4s;
    }

.sp-grid-card .vc-pc:hover .vc-pc-img img {
    transform: scale(1.06);
}

.sp-grid-card .vc-pc-noimg {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #d1d5db;
    font-size: 10px;
    gap: 4px;
}

    .sp-grid-card .vc-pc-noimg i {
        font-size: 1.4rem;
    }

.sp-grid-card .vc-pc-badge {
    position: absolute;
    top: 7px;
    left: 8px;
    right: auto !important;
    background: #ef4444;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 50px;
    z-index: 2;
}

.sp-grid-card .vc-pc-wish {
    position: absolute;
    top: 7px;
    right: 7px;
    z-index: 2;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(4px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    box-shadow: 0 1px 5px rgba(0,0,0,.1);
    text-decoration: none;
    transition: all .22s;
    cursor: pointer;
}

    .sp-grid-card .vc-pc-wish:hover,
    .sp-grid-card .vc-pc-wish.active {
        background: #fee2e2;
        color: #ef4444;
        transform: scale(1.1);
    }

    .sp-grid-card .vc-pc-wish i {
        font-size: 12px;
    }

.sp-grid-card .vc-pc-body {
    padding: 8px 9px 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sp-grid-card .vc-pc-stars {
    display: flex;
    align-items: center;
    gap: 1px;
    font-size: 9px;
    color: #d1d5db;
    margin-bottom: 3px;
}

    .sp-grid-card .vc-pc-stars .fs,
    .sp-grid-card .vc-pc-stars .hs {
        color: #f59e0b;
    }

    .sp-grid-card .vc-pc-stars .rc {
        color: #9ca3af;
        font-size: 9px;
        margin-left: 2px;
    }

.vc-pc-stars .hs {
    color: #f59e0b;
}

.sp-grid-card .vc-pc-name {
    font-size: 11px;
    font-weight: 600;
    color: #111827;
    line-height: 1.35;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
    flex: 1;
}

    .sp-grid-card .vc-pc-name:hover {
        color: #f97316;
    }

/* Price */
.sp-grid-card .vc-pc-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: auto;
}

.sp-grid-card .vc-pc-cur {
    font-size: 13px;
    font-weight: 700;
    color: #f97316;
}

.sp-grid-card .vc-pc-old {
    font-size: 10px;
    color: #9ca3af;
    text-decoration: line-through;
}

.sp-list-card {
    display: none;
}

#productContainer.list-view {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
}

    #productContainer.list-view .sp-grid-card {
        display: none !important;
    }

    #productContainer.list-view .sp-list-card {
        display: flex !important;
    }

.sp-list-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 6px rgba(0,0,0,.06);
    overflow: hidden;
    align-items: stretch;
    transition: box-shadow .25s;
    gap: 0;
}

    .sp-list-card:hover {
        box-shadow: 0 4px 18px rgba(0,0,0,.1);
    }

.sp-list-img {
    position: relative;
    overflow: hidden;
    background: #f3f4f6;
    width: 140px;
    min-width: 140px;
    flex-shrink: 0;
}

    .sp-list-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s;
        display: block;
    }

.sp-list-card:hover .sp-list-img img {
    transform: scale(1.05);
}

.sp-list-body {
    position: relative;
    flex: 1;
    padding-right: 170px;
    padding: 12px 150px 12px 0;
}

.sp-list-name {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    line-height: 1.35;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

    .sp-list-name:hover {
        color: #f97316;
    }

.sp-list-desc {
    margin-bottom: 0;
    margin-top: 0;
}

.sp-list-price {
    position: absolute;
    top: 12px;
    right: 10px;
    width: 120px;
    text-align: right;
}

.sp-list-cur {
    font-size: 16px;
    font-weight: 700;
    color: #f97316;
}

.sp-list-old {
    font-size: 12px;
    color: #9ca3af;
    text-decoration: line-through;
}

.sp-list-stars {
    margin-bottom: 8px;
}

    .sp-list-stars .fs {
        color: #f59e0b;
    }

    .sp-list-stars .hs {
        color: #f59e0b;
    }

    .sp-list-stars .rc {
        color: #9ca3af;
        font-size: 11px;
        margin-left: 3px;
    }

.sp-list-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    background: #111827;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background .22s;
    align-self: flex-start;
    margin-top: auto;
}

    .sp-list-btn:hover {
        background: #f97316;
        color: #fff;
    }

.sp-list-badge {
    display: inline-block;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
    margin-bottom: 6px;
    align-self: flex-start;
}

@media (max-width: 575.98px) {
    .sp-list-img {
        width: 100px;
        min-width: 100px;
    }

    .sp-list-body {
        padding: 10px 12px;
    }

    .sp-list-name {
        font-size: 13px;
    }

    .sp-list-cur {
        font-size: 14px;
    }
}

.sp-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 2rem;
    list-style: none;
    padding: 0;
}

    .sp-pagination li a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 36px;
        height: 36px;
        border-radius: 9px;
        border: 1.5px solid #e5e7eb;
        background: #fff;
        color: #374151;
        font-size: 13px;
        font-weight: 500;
        text-decoration: none;
        transition: all .2s;
        padding: 0 10px;
    }

        .sp-pagination li a:hover {
            border-color: #f97316;
            color: #f97316;
            background: #fff7ed;
        }

        .sp-pagination li a.current {
            background: #f97316;
            border-color: #f97316;
            color: #fff;
            font-weight: 700;
        }

        .sp-pagination li a.disabled {
            opacity: .35;
            pointer-events: none;
        }

.sp-empty {
    grid-column: 1 / -1;
    padding: 4rem 2rem;
    text-align: center;
    color: #9ca3af;
}

    .sp-empty i {
        font-size: 3rem;
        color: #e5e7eb;
        display: block;
        margin-bottom: 12px;
    }

    .sp-empty p {
        font-size: 14px;
    }

.sp-filter-toggle-btn {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: #111827;
    color: #fff;
    border: none;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}

    .sp-filter-toggle-btn:hover {
        background: #f97316;
    }

@media (max-width: 991.98px) {
    .sp-filter-toggle-btn {
        display: inline-flex;
    }
}

#sp-filter-offcanvas .offcanvas-header {
    background: #111827;
    padding: 14px 18px;
}

#sp-filter-offcanvas .offcanvas-title {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

#sp-filter-offcanvas .btn-close-white {
    filter: invert(1);
}

#sp-filter-offcanvas .offcanvas-body {
    padding: 0;
    background: #f8f9fb;
    overflow-y: auto;
}

#sp-filter-offcanvas .sp-sidebar {
    position: static;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
    overflow-y: visible;
}

@media (max-width: 575.98px) {
    .sp-grid-card .vc-pc-body {
        padding: 6px 7px 8px;
    }

    .sp-grid-card .vc-pc-name {
        font-size: 10px;
    }

    .sp-grid-card .vc-pc-cur {
        font-size: 11px;
    }

    .sp-grid-card .vc-pc-old {
        font-size: 9px;
    }

    .sp-grid-card .vc-pc-stars {
        font-size: 8px;
    }

    .sp-grid-card .vc-pc-badge {
        font-size: 8px;
        padding: 2px 5px;
    }
}

@media (max-width: 767.98px) {
    .sp-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .sp-toolbar-right {
        width: 100%;
        justify-content: space-between;
    }
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

.sp-active-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.sp-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.4;
    cursor: pointer;
    transition: opacity .15s;
}

    .sp-chip:hover {
        opacity: .8;
        text-decoration: none;
    }

.sp-chip--vendor {
    background: #fff3ed;
    color: #c2410c;
    border: 1.5px solid #fed7aa;
}

.sp-chip--area {
    background: #f0f9ff;
    color: #0369a1;
    border: 1.5px solid #bae6fd;
}

.sp-vendor-tags {
    display: none;
}

    .sp-vendor-tags.active {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
    }

.sp-combo {
    position: relative;
    width: 180px;
    flex-shrink: 0;
    z-index: 100;
}

    .sp-combo.open {
        z-index: 200;
    }

.sp-combo-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
    padding: 6px 10px;
    border: 1.5px solid #e5e7eb;
    border-radius: 9px;
    background: #fff;
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: border-color .18s, background .18s;
    user-select: none;
    white-space: nowrap;
    overflow: hidden;
}

    .sp-combo-trigger:hover {
        border-color: #f97316;
        background: #fff7ed;
        color: #f97316;
    }

.sp-combo.has-value .sp-combo-trigger {
    border-color: #f97316;
    background: #fff7ed;
    color: #c2410c;
    font-weight: 600;
}

.sp-combo-caret {
    font-size: 10px;
    color: #9ca3af;
    flex-shrink: 0;
    transition: transform .2s;
}

.sp-combo.open .sp-combo-caret {
    transform: rotate(180deg);
}

.sp-combo-value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.sp-combo-clear {
    display: none;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fed7aa;
    color: #c2410c;
    font-size: 9px;
    font-weight: 700;
    flex-shrink: 0;
    cursor: pointer;
    transition: background .15s;
    line-height: 1;
}

.sp-combo.has-value .sp-combo-clear {
    display: inline-flex;
}

.sp-combo-clear:hover {
    background: #f97316;
    color: #fff;
}

.sp-combo-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    min-width: 200px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0,0,0,.12);
    overflow: hidden;
    z-index: 9999;
}

.sp-combo.open .sp-combo-dropdown {
    display: block;
    animation: spComboFadeIn .15s ease;
}

@keyframes spComboFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sp-combo-search-wrap {
    padding: 8px 10px 6px;
    border-bottom: 1px solid #f3f4f6;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}

.sp-combo-search {
    width: 100%;
    padding: 5px 10px 5px 28px;
    border: 1.5px solid #e5e7eb;
    border-radius: 7px;
    font-size: 12px;
    color: #374151;
    background: #f9fafb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat 9px center;
    transition: border-color .18s;
    outline: none;
    box-sizing: border-box;
}

    .sp-combo-search:focus {
        border-color: #f97316;
        background-color: #fff;
    }

.sp-combo-list {
    list-style: none;
    margin: 0;
    padding: 4px 0;
    max-height: 220px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e5e7eb transparent;
}

    .sp-combo-list::-webkit-scrollbar {
        width: 4px;
    }

    .sp-combo-list::-webkit-scrollbar-thumb {
        background: #e5e7eb;
        border-radius: 4px;
    }

.sp-combo-option {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    font-size: 12px;
    color: #374151;
    cursor: pointer;
    transition: background .15s, color .15s;
}

    .sp-combo-option::before {
        content: '';
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #d1d5db;
        flex-shrink: 0;
        transition: background .15s;
    }

    .sp-combo-option:hover {
        background: #f3f4f6;
        color: #111827;
    }

        .sp-combo-option:hover::before {
            background: #f97316;
        }

    .sp-combo-option.selected {
        background: #fff7ed;
        color: #c2410c;
        font-weight: 600;
    }

        .sp-combo-option.selected::before {
            background: #f97316;
        }

    .sp-combo-option.sp-combo-disabled {
        opacity: .35;
        pointer-events: none;
        cursor: default;
    }

.sp-combo-empty {
    padding: 12px 14px;
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
    display: none;
}

@media (max-width: 767.98px) {
    .sp-combo {
        width: 140px;
    }
}
.sp-store-search {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sp-store-search-inner {
    position: relative;
    display: flex;
    align-items: center;
}

    .sp-store-search-inner i.bi-search {
        position: absolute;
        left: 10px;
        color: #9ca3af;
        font-size: 13px;
        pointer-events: none;
    }

    .sp-store-search-inner input[type="text"] {
        padding: 7px 30px 7px 30px;
        border: 1px solid #e5e7eb;
        border-radius: 6px;
        min-width: 200px;
        font-size: 13px;
    }

.sp-store-search-clear {
    position: absolute;
    right: 8px;
    color: #9ca3af;
    font-size: 11px;
}

.sp-store-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 6px;
    background: #1f2937; 
    color: #fff; 
    font-size: 14px;
    flex-shrink: 0;
}

    .sp-store-search-btn:hover {
        background: #111827;
    }
    .sp-store-search-btn:focus-visible {
        outline: 2px solid #fff;
        outline-offset: 2px;
    }