/* Trang /bo-san-pham — lưới + lọc trái */
.bsp-page {
    background: var(--bg-page);
}

.bsp-hero {
    color: var(--ink);
    padding: 28px 0 24px;
}

.bsp-kicker {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand);
    margin: 0 0 8px;
    padding: 3px 8px;
    background: var(--mist);
    border-left: 3px solid var(--brand);
}

.bsp-title {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.4vw, 30px);
    color: var(--ink);
    margin: 0 0 8px;
}

.bsp-lead {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink-soft);
    max-width: 56ch;
}

.bsp-shop {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 28px;
    padding-top: 24px;
    padding-bottom: 56px;
    align-items: start;
}

.bsp-filters {
    position: sticky;
    top: 88px;
    border: 1px solid rgba(0, 65, 144, 0.12);
    background: #fff;
    padding: 16px 14px 18px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.bsp-filters-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.bsp-filters-title {
    font-family: var(--font-display);
    font-size: 15px;
    margin: 0;
    color: var(--ink);
}

.bsp-filters-reset {
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    color: var(--brand);
    cursor: pointer;
}
.bsp-filters-reset:hover {
    color: var(--brand-deep);
    text-decoration: underline;
}

.bsp-filter-group {
    margin-bottom: 16px;
}
.bsp-filter-group:last-child {
    margin-bottom: 0;
}

.bsp-filter-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 8px;
}

.bsp-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--ink-soft);
    margin-bottom: 7px;
    cursor: pointer;
}
.bsp-check:last-child { margin-bottom: 0; }
.bsp-check input {
    width: 15px;
    height: 15px;
    accent-color: var(--brand);
}

.bsp-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.bsp-count {
    margin: 0;
    font-size: 14px;
    color: var(--ink-soft);
}
.bsp-count strong {
    color: var(--ink);
    font-family: var(--font-display);
}

.bsp-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
}
.bsp-sort select {
    font: inherit;
    font-size: 14px;
    color: var(--ink);
    border: 1px solid var(--line);
    background: #fff;
    padding: 7px 10px;
}

.bsp-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.bsp-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    background: #fff;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.bsp-card:hover {
    border-color: var(--brand);
    box-shadow: 0 10px 28px rgba(0, 65, 144, 0.08);
    transform: translateY(-2px);
}
.bsp-card-price {
    transition: color 0.2s ease;
}
.bsp-card:hover .bsp-card-price {
    color: var(--brand-deep);
}

.bsp-card-media {
    position: relative;
    display: block;
    height: 170px;
    overflow: hidden;
    background: var(--mist);
    text-decoration: none !important;
}
.bsp-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bsp-card-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
    background: var(--grad-brand);
    padding: 4px 8px;
}

.bsp-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 14px 14px 16px;
}

.bsp-card-cat {
    margin: 0 0 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.bsp-card-name {
    font-family: var(--font-display);
    font-size: 16px;
    margin: 0 0 6px;
    line-height: 1.3;
}
.bsp-card-name a {
    color: var(--ink) !important;
    text-decoration: none !important;
}
.bsp-card-name a:hover {
    color: var(--brand) !important;
}

.bsp-card-text {
    margin: 0 0 10px;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--ink-soft);
    flex: 1;
}

.bsp-card-linkmeta {
    margin: 0 0 14px;
    font-size: 12.5px;
    line-height: 1.4;
}
.bsp-card-linkmeta a {
    color: var(--brand) !important;
    font-weight: 600;
    text-decoration: none;
}
.bsp-card-linkmeta a:hover {
    text-decoration: underline;
}

.bsp-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.bsp-card-price {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--brand);
}

.bsp-btn {
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    color: #fff !important;
    background: var(--grad-brand);
    border: 1px solid transparent;
    padding: 8px 12px;
    text-decoration: none !important;
}
.bsp-btn:hover {
    background: var(--grad-brand-hover);
    color: #fff !important;
}

.bsp-empty {
    margin: 24px 0 0;
    padding: 18px;
    border: 1px dashed var(--line);
    color: var(--ink-soft);
    font-size: 14px;
    text-align: center;
}

@media (max-width: 1100px) {
    .bsp-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .bsp-shop {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .bsp-filters {
        position: static;
    }
    .bsp-grid {
        grid-template-columns: 1fr;
    }
    .bsp-toolbar {
        flex-wrap: wrap;
    }
}
