.bsell {
    background: #fff;
    padding-bottom: 28px;
}
.bsell-hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 42px 16px 8px;
    min-height: 128px;
    background:
        radial-gradient(circle at 12% 30%, rgba(239, 57, 78, 0.08), transparent 28%),
        radial-gradient(circle at 88% 20%, rgba(239, 57, 78, 0.07), transparent 26%),
        #fff;
}
.bsell-hero h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #ef394e;
    font-weight: 800;
    font-size: 34px;
}
.bsell-deco {
    position: absolute;
    color: #ef394e;
    opacity: 0.18;
    font-size: 22px;
    line-height: 1;
}
.bsell-deco.d1 { top: 22%; right: 8%; }
.bsell-deco.d2 { top: 62%; right: 18%; font-size: 16px; }
.bsell-deco.d3 { top: 24%; left: 11%; }
.bsell-deco.d4 { top: 66%; left: 7%; font-size: 18px; }
.bsell-deco.d5 { top: 30%; right: 27%; font-size: 15px; }
.bsell-deco.d6 { top: 70%; left: 26%; font-size: 14px; }
.bsell-cats {
    position: static;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: auto;
    margin: 0;
    padding: 22px 0 18px;
    background: transparent;
}
.bsell-cats a {
    display: inline-flex;
    align-items: center;
    float: none;
    border: 1px solid #e0e0e6;
    background: #fff;
    color: #3f4064;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    text-decoration: none;
    white-space: nowrap;
}
.bsell-cats a:hover,
.bsell-cats a.is-active {
    border-color: #ef394e;
    color: #ef394e;
    text-decoration: none;
    background: #fff;
    box-shadow: inset 0 0 0 1px #ef394e;
}
.bsell-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
}
.bsell-card {
    position: relative;
    display: block;
    min-width: 0;
    height: 100%;
    padding: 12px 12px 16px;
    color: #3f4064;
    background: #fff;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f1;
    border-left: 1px solid #f0f0f1;
}
.bsell-card:hover,
.bsell-card:focus { color: #3f4064; text-decoration: none; }
.bsell-card img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #fff;
    margin: 0 0 10px;
}
.bsell-rank {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #19bfd3;
    color: #fff;
    border-radius: 8px;
    font-weight: 800;
    font-size: 15px;
    line-height: 1;
}
.bsell-off {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    max-width: calc(100% - 64px);
    background: #ef394e;
    color: #fff;
    border-radius: 999px;
    font-size: 12px;
    padding: 3px 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bsell-off.out { background: #62666d; }
.bsell-card h2 {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.8;
    height: 3.6em;
    overflow: hidden;
    color: #3f4064;
}
.bsell-meta {
    min-height: 18px;
    margin-bottom: 8px;
    color: #81858b;
    font-size: 12px;
}
.bsell-rate { color: #f9a825; font-weight: 700; white-space: nowrap; }
.bsell-price { font-weight: 800; color: #3f4064; font-size: 15px; min-width: 0; }
.bsell-price del,
.bsell-price span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bsell-price del {
    color: #c0c2c5;
    font-weight: 500;
    font-size: 12px;
}
.bsell-empty { padding: 24px 0 40px; }
#bsell-results.is-loading { opacity: 0.45; pointer-events: none; }
@media (max-width: 991px) {
    .bsell-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .bsell-card img { height: 180px; }
}
@media (max-width: 767px) {
    .bsell-hero { min-height: 96px; padding: 28px 12px 4px; }
    .bsell-hero h1 { font-size: 26px; }
    .bsell-cats {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 14px 0 12px;
    }
    .bsell-cats::-webkit-scrollbar { display: none; }
    .bsell-cats a { flex: 0 0 auto; font-size: 13px; padding: 6px 12px; }
    .bsell-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bsell-card { padding: 8px 8px 12px; }
    .bsell-card img { height: 140px; }
    .bsell-card h2 { font-size: 12px; height: 3.6em; }
    .bsell-rank { top: 8px; left: 8px; min-width: 24px; height: 24px; font-size: 13px; }
    .bsell-off { top: 8px; right: 8px; font-size: 10px; max-width: calc(100% - 48px); }
    .bsell-price { font-size: 13px; }
}
