/* --- RESET & LAYOUT --- */
.tabulator {
    border: none !important;
    background: transparent !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    width: 100% !important;
}

/* FORCE ROWS HORIZONTAL */
.tabulator-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100% !important;
    background-color: #fff !important;
    border-bottom: 1px solid #f0f0f0 !important;
    min-height: 50px; 
}

/* Improve iOS scrolling */
.tabulator .tabulator-tableHolder {
    -webkit-overflow-scrolling: touch;
}

/* HEADER STYLE */
.tabulator-header {
    border-bottom: 2px solid #e0e0e0 !important;
    border-top: none !important;
    background-color: #fff !important;
}
.tabulator-col {
    background-color: #fff !important;
    border: none !important;
}
.tabulator-col-content { padding: 12px 6px !important; }
.tabulator-col-title {
    font-size: 11px; 
    text-transform: uppercase; 
    color: #555; 
    font-weight: 800; 
    letter-spacing: 0.5px;
}

/* CELL STYLE */
.tabulator-cell {
    display: flex !important;
    align-items: center !important; 
    padding: 6px 4px !important;
    border: none !important;
    height: auto !important;
}

/* --- 1. STORE NAME --- */
.store-text {
    font-size: 9px;
    font-weight: 800;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.1;
    text-align: center; 
    width: 100%;
    
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
}

/* --- 2. PRODUCT LINK --- */
.prod-link, .prod-link:visited, .prod-link:active {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    line-height: 1.3;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #4a5568 !important; 
}
.prod-link:hover { 
    color: #000 !important; 
    text-decoration: underline; 
}

/* PRICE */
.price-text {
    font-size: 13px;
    font-weight: 700;
    color: #10b981;
    width: 100%;
    text-align: right;
}

/* --- 3. INPUT VISIBILITY (Header Filters) --- */
.tabulator-header-filter input {
    border: 1px solid #999 !important; 
    background: #fff !important;       
    color: #333 !important;
    border-radius: 4px;
    padding: 6px;
    font-size: 11px;
}
.tabulator-header-filter input:focus {
    border-color: #000 !important;
    background: #fff !important;
}

/* Hide Spinners */
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }
