.category-products-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 17px;
    font-family: Roboto, sans-serif;
}

.category-products-table th {
    background-color: #f9f9f9; /* Couleur marron comme dans l'image */
    color: rgba(0,0,0,.5);
    padding: 10px;
    text-align: center;
    font-weight: 500;
    border: 0;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    line-height: 28px;
}

.category-products-table td {
    padding: 10px;
    border: 0;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
    text-align: center;
}

.category-products-table .quantity-input {
    width: 50px;
    text-align: center;
    padding: 5px;
}

.category-products-table .b2bking_bulkorder_form_container_content_line_qty {
    min-width: 50px;
    position: relative;
    z-index: 5;
}

.category-products-table .quantity-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-products-table .quantity-btn {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background-color: #f0f0f0;
    cursor: pointer;
    user-select: none;
    margin: 0 5px;
}

.category-products-table .add-to-cart-btn {
    background-color: #5b231a;
    display: block;
    color: white;
    border: none;
    padding: 1px 10px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 700;
    font-size: 17px;
    line-height: 25px;
    font-family: Roboto, sans-serif;
    min-height: 42px;
    margin: auto;
    width: 100%;
    min-width: 137px;
    text-transform: unset;
}
.category-products-table a.add-to-cart-btn {
    padding: 8px 10px;
}
.category-products-table .add-to-cart-btn.not-available:disabled {
    background-color: rgba(0,0,0,.5);
}

.category-products-table .in-stock {
    color: green;
    font-size: 22px;
    text-align: center;
}

.category-products-table .limited-stock {
    color: orange;
}

.category-products-table .out-of-stock {
    color: red;
}

.category-products-table .add-to-wishlist {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
    text-decoration: none;
}
.category-products-table .hide-prices-text .b2bking_both_prices_text {
    display: none;
}
.category-products-table .span-pvc-uv .b2bking_b2b_price_price {
    display: none;
}
.category-products-table .span-price-html .b2bking_retail_price_price {
    display: none;
}
.category-products-table .hide-this {
    display: none;
}
.category-products-table .b2bking_bulkorder_form_container_content_line_qty {
    padding: 0 !important;
}
body:has(.category-products-table.not-has-children) .section-cat-child {
    display: none;
}
body:has(.category-products-table:not(.not-has-children)) .section-table {
    display: none;
}

/* Styles responsifs */
@media screen and (max-width: 992px) {
    .category-products-table {
        display: block;
        overflow-x: auto;
    }
}

@media screen and (max-width: 768px) {
    .category-products-table th,
    .category-products-table td {
        padding: 8px 5px;
        font-size: 13px;
    }

    .category-products-table .quantity-input {
        width: 40px;
    }
}
