/* ============================================================
   Best Sellers Block — bestsellersblock.css
   ============================================================ */

.bsb-section {
    margin: 2rem 0 1rem;
    padding: 1.5rem 0 0;
    border-top: 2px solid #f0f0f0;
    clear: both;
}

.bsb-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bsb-title-icon {
    font-size: 1.2rem;
}

/* Grille 4 colonnes */
.bsb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

/* Carte produit */
.bsb-item {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.2s ease;
    background: #fff;
}

.bsb-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10);
    transform: translateY(-2px);
}

.bsb-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Zone image */
.bsb-img-wrap {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    overflow: hidden;
}

.bsb-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.bsb-item:hover .bsb-img {
    transform: scale(1.04);
}

.bsb-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: #f5f5f5;
    color: #ccc;
}

/* Zone texte */
.bsb-info {
    padding: 10px 12px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bsb-name {
    font-size: 0.82rem;
    color: #444;
    margin: 0;
    line-height: 1.35;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.bsb-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: #e00;
    margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .bsb-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bsb-img-wrap {
        height: 130px;
    }
}

@media (max-width: 480px) {
    .bsb-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    .bsb-img-wrap {
        height: 110px;
    }
    .bsb-name {
        font-size: 0.78rem;
    }
}
