    .main-cat-div {
        margin: 0 auto;
        padding: 20px;
        direction:ltr;
        padding-top:0px;

    }

    .breadcrumb{
        margin: 0 !important;
        padding: 20px;
        direction:ltr;
        padding-bottom: 5px;
    }


    .results-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
        padding: 10px 0;
        border-bottom: 1px solid #ddd;
    }

    .applied-filters {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 15px;
    }

    .filter-tag {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 5px 10px;
        background: #f5f5f5;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 13px;
    }

    .filter-tag.active-tag {
        background: #e3f2fd;
        border-color: #2196F3;
    }

    .delete-tag {
        cursor: pointer;
        color: #666;
        font-weight: bold;
    }

    .delete-tag:hover {
        color: #f44336;
    }

    .filter-panels {
        background: #f9f9f9;
        border: 1px solid #ddd;
        border-radius: 4px;
        padding: 15px;
        margin-bottom: 20px;
         
    }

    .filter-grid {
        display: flex;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
        margin-bottom: 15px;
        overflow: auto;
        /* Firefox */
        scrollbar-width: thin;
    }

    .filter-column {
        min-width: fit-content;
    }

    .filter-column label {
        display: block;
        font-weight: bold;
        margin-bottom: 5px;
        font-size: 13px;
    }

    .filter-select {
        width: 100%;
        min-height: 120px;
        border: 1px solid #ccc;
        border-radius: 4px;
        padding: 5px;
    }

    .filter-actions {
        display: flex;
        gap: 10px;
        margin-top: 15px;
    }

    .search-section {
        border-top: 1px solid #ddd;
        padding-top: 15px;
    }

    .search-section h4 {
        margin: 0 0 10px 0;
        font-size: 14px;
    }

    .search-input {
        width: 100%;
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 4px;
        margin-bottom: 10px;
    }

    .search-checkboxes {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }

    .search-checkboxes label {
        font-size: 13px;
    }

    .action-bar {
        display: flex;
        gap: 10px;
        margin-bottom: 15px;
        overflow: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;          
    }

    .table-wrapper {
        overflow-x: auto;
        overflow-y: auto !important; 
        max-height: 70vh;
        border: 1px solid #ddd;
        border-radius: 4px;
    }

    .product-table {
        width: 100%;
        /*border-collapse: collapse;*/
        font-size: 13px;
        border-collapse: separate; 
        border-spacing: 0;        
    }

    .product-table thead th {
        white-space: normal !important; 
        word-wrap: break-word;
        min-width: unset; 
        max-width: 150px;

        position: sticky;
        top: 0px;
        z-index: 10;
        vertical-align: middle; 
    }    

    .product-table th {
        background: #f5f5f5;
        padding: 10px 8px;
        text-align: left;
        font-weight: bold;
        border-bottom: 2px solid #ddd;
        border-left: 1px solid #ddd;
        white-space: nowrap;
    }

    .product-table td {
        padding: 10px 8px;
        border: 1px solid #eee;
        vertical-align: top;
        background-color: #fff; 
    }

    .product-table tr:hover {
        background: #f9f9f9;
    }

    .product-image {
        width: 120px;
        height: 120px;
        object-fit: contain;
        margin: auto;
    }

    .part-number {
        color: #2196F3;
        text-decoration: none;
        font-weight: bold;
    }

    .part-number:hover {
        text-decoration: underline;
    }

    .price-box {
        background: #fff3cd;
        border-radius: 3px;
        text-wrap: nowrap;
    }

    .incoming-box {
        background: #fff3cd;
        border-radius: 6px;
        font-size: 0.75rem;
        padding: 2px 5px;
        margin-top: 2px;
    }
    
    .price-box td {
        background: #fff3cd;
        direction: rtl;
        font-size: 0.8rem;
    }

    .rohs-compliant {
        color: #4CAF50;
        font-size: 11px;
    }

    .datasheet-link{
        position: absolute;
        color: var(--accent);
        font-size: 1rem;
        z-index:5;
    }



    .pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin: 20px 0;
        padding: 15px;
    }

    .pagination a, .pagination span {
        padding: 8px 12px;
        border: 1px solid #ddd;
        border-radius: 4px;
        text-decoration: none;
        color: #333;
    }

    .pagination a:hover {
        background: #f5f5f5;
    }

    .pagination .current {
        background: #2196F3;
        color: white;
        border-color: #2196F3;
    }

    .pagination .disabled {
        color: #ccc;
        cursor: not-allowed;
    }

    /* Custom utility classes for the accent color */
    .has-text-accent {
        color: var(--accent) !important;
    }
    .button.is-accent {
        background-color: var(--accent);
        color: #fff;
        border-color: transparent;
    }
    .button.is-accent:hover {
        filter: brightness(0.9);
        color: #fff;
    }    





.table-scroll-outer {
    overflow-y: visible;  
}

.table-wrapper {
    overflow-x: auto;
    overflow-y: visible;  
    border: 1px solid #ddd;
}

.product-table {
    width: max-content;
    min-width: 100%;
}






.product-table th:nth-child(1),
.product-table td:nth-child(1) { width: 30px;  position: sticky; left: 0px;    z-index: 5; }

.product-table th:nth-child(2),
.product-table td:nth-child(2) { width: 150px; position: sticky; left: 30px;   z-index: 5; }

.product-table th:nth-child(3),
.product-table td:nth-child(3) { width: 150px; position: sticky; left: 180px;  z-index: 5; }

.product-table th:nth-child(4),
.product-table td:nth-child(4) { width: 100px; position: sticky; left: 330px;  z-index: 5; }

.product-table th:nth-child(5),
.product-table td:nth-child(5) { width: 100px; position: sticky; left: 430px;  z-index: 5; }

.product-table th:nth-child(6),
.product-table td:nth-child(6) { width: 200px; position: sticky; left: 530px;  z-index: 5; }

.product-table th:nth-child(7),
.product-table td:nth-child(7) { width: 50px;  position: sticky; left: 730px;  z-index: 5; }

.product-table th:nth-child(8),
.product-table td:nth-child(8) { width: 150px;  position: sticky; left: 780px;  z-index: 5; }

.product-table th:nth-child(9),
.product-table td:nth-child(9) { width: 200px;  position: sticky; left: 930px;  z-index: 5; }

.product-table th:nth-child(10),
.product-table td:nth-child(10) { width: 80px; position: sticky; left: 1130px;  z-index: 5; }



.product-table thead th:nth-child(1),
.product-table thead th:nth-child(2),
.product-table thead th:nth-child(3),
.product-table thead th:nth-child(4),
.product-table thead th:nth-child(5),
.product-table thead th:nth-child(6),
.product-table thead th:nth-child(7),
.product-table thead th:nth-child(8),
.product-table thead th:nth-child(9),
.product-table thead th:nth-child(10) { z-index: 15; }

/* Each column sizes to its content */
.filter-column {
	width: fit-content;
	min-width: unset;
	background: white;
	border-radius: 5px;
	padding: 5px 10px;
}

.filter-search-input {
    width: 100%;
    padding: 5px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 6px;
    width: 100%;
    box-sizing: border-box;    
}

.filter-checkbox-list {
    /*width: max-content;*/
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px;    
    height: 120px;
    overflow-x: hidden;    
    /* Firefox */
    scrollbar-width: thin;
}

.filter-checkbox-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: normal;
    cursor: pointer;
    white-space: nowrap;
}

.filter-checkbox-item:hover {
    color: var(--accent);
}

.filter-checkbox-item span{
    padding-left: 5px;
    padding-right: 30px;
}

.filter-column .label-container {
    /* Center vertically and fit content width */
    display: inline-flex;
    align-items: center; 
    min-height: 2.7em; /* Approximate height for 2 lines */
    max-width: 100%;
}


.filter-column .label-container > label {
    /* Line clamp logic */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    
    width: fit-content;
    line-height: 1.2; /* Adjust line spacing */
}

